@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Archivo+Black&family=Montserrat:wght@600;700;800;900&family=JetBrains+Mono:wght@400;500;600&family=Barlow+Condensed:wght@600;700;900&display=swap');

/* Horizon font is declared inline in app.blade.php to use asset() helper */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* ═══════════════════════════════════════
   CRIUS - BEM CSS SYSTEM
═══════════════════════════════════════ */
:root {
  /* Colors */
  --navy: #0A192F;
  --navy-deep: #020C1B;
  --navy-mid: #112240;
  --blue: #0052CC;
  --blue-light: #2684FF;
  --blue-pale: #DEEBFF;
  --accent: #00B8D9;
  --accent-dim: rgba(0, 184, 217, 0.15);
  
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --grey-50: #F1F5F9;
  --grey-100: #E2E8F0;
  --grey-200: #CBD5E1;
  --grey-300: #97A3B6;
  --grey-400: #94A3B8;
  --grey-500: #64748B;
  --grey-700: #334155;

  /* Spec font */
  --font-spec: 'Montserrat', 'JetBrains Mono', ui-monospace, monospace;

  /* Typography */
  --font: 'Inter', sans-serif;
  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;
  --w-black: 900;
  
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --danger-pale: #FDECEA;
  --danger: #C0392B;
  --warning-pale: #FFF8E6;
  --warning: #C47B00;
  --accent-deep: #008DA6;
  --blue-border: rgba(0,82,204,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--grey-700);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
.heading-xl {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: var(--w-black);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  
}
.heading-lg {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: var(--w-black);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  
}
.eyebrow {
  font-size: 13px;
  font-weight: var(--w-bold);
  letter-spacing: 0.15em;
  
  color: var(--blue-light);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: currentColor;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 24px; height: 2px;
  background: currentColor;
}
.eyebrow--accent { color: var(--accent); }

.text-blue { color: var(--blue-light); }
.text-accent { color: var(--accent); }

/* ═══════════════════════════════════════
   BUTTONS & BADGES
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--w-bold);
  letter-spacing: 0.08em;
  
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn--lg { padding: 18px 36px; font-size: 14px; }

.btn--primary { background: var(--blue-light); color: var(--white); }
.btn--primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(38,132,255,0.3); }

.btn--accent { background: var(--accent); color: var(--navy-deep); }
.btn--accent:hover { background: #008DA6; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,184,217,0.3); }

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

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--grey-100); }
.btn--ghost:hover { border-color: var(--blue-light); color: var(--blue-light); }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: var(--w-bold);
  letter-spacing: 0.1em;
  
  padding: 4px 10px;
  border-radius: 4px;
}
.badge--navy { background: var(--navy); color: var(--white); }
.badge--blue { background: var(--blue-pale); color: var(--blue); }
.badge--accent { background: var(--accent-dim); color: var(--accent); }

/* ═══════════════════════════════════════
   LAYOUT GRIDS
═══════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 14px; }
}

/* ═══════════════════════════════════════
   SECTION STYLES
═══════════════════════════════════════ */
.section { padding: 100px 0; }
.section--white { background: var(--white); }
.section--off { background: var(--off-white); }
.section--dark { background: var(--navy-deep); }

.section-header { margin-bottom: 50px; max-width: 600px; }
.section-header--center { margin: 0 auto 50px; text-align: center; }
.section-header p {
  font-size: var(--text-base);
  color: var(--grey-500);
  margin-top: 16px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   HEADER & NAV
═══════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}
.topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: var(--w-medium);
  letter-spacing: 0.05em;
  transition: height 0.3s, opacity 0.3s, padding 0.3s;
  overflow: hidden;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}
.topbar__items { display: flex; gap: 16px; flex-wrap: wrap; }
.topbar__item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item svg { width: 14px; height: 14px; color: var(--blue-light); flex-shrink: 0; }
.topbar__social { display: flex; gap: 16px; }
.topbar__social a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.topbar__social a:hover { color: var(--white); }
.topbar__social svg { width: 14px; height: 14px; }

/* Hide address on medium screens to save space */
@media (max-width: 1100px) { .topbar__item--address { display: none; } }
/* Hide email text (keep only phone) on small desktops */
@media (max-width: 820px) { .topbar__items { gap: 12px; } }

.nav {
  background: transparent;
  transition: all 0.3s ease;
}
.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: height 0.3s ease;
}

/* Scrolled State */
.header.scrolled .topbar { height: 0; opacity: 0; border: none; padding: 0; margin: 0; }
.header.scrolled {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header.scrolled .nav {
  background: rgba(2,12,27,0.95);
  backdrop-filter: blur(10px);
  border-bottom: none;
}
.header.scrolled .nav__inner { height: 73px; }

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--white);
  padding: 2px;
}
.nav__logo-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-family: 'Horizon', sans-serif;
  font-weight: 900;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.15);
}
.nav__logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nav__logo-name {
  font-family: 'Horizon', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.46em;
  line-height: 1;
  margin-bottom: 5px;
  margin-right: -0.46em; /* Compensate for tracking to ensure proper alignment */
  text-transform: uppercase;
}
.nav__logo-sub {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  margin-right: -0.1em;
  white-space: nowrap;
}

/* Links */
.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: var(--w-bold);
  color: rgba(255,255,255,0.7);
  
  letter-spacing: 0.1em;
  transition: color 0.2s;
  position: relative;
  padding: 8px 0;
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue-light);
}

.nav__actions { display: flex; align-items: center; gap: 20px; }

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  background: none; border: none;
  width: 30px; height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--white);
  transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Mobile Menu Box */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy-deep);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow-y: auto;
  padding: 40px 0;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.mobile-menu a {
  display: block;
  font-size: clamp(20px, 5vw, 28px);
  font-weight: var(--w-black);
  color: var(--white);
  text-align: center;
  margin: 12px 0;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--blue-light); }

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .hamburger { display: block; }
  .header .nav { background: var(--navy-deep); }
  .nav__inner { height: 70px; }
}

/* Mid-range: shrink nav gap on tablets */
@media (max-width: 1100px) and (min-width: 901px) {
  .nav__links { gap: 20px; }
  .nav__links a { font-size: 13px; }
  .nav__inner { height: 80px; }
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background: var(--navy-deep);
  min-height: 80vh;
  display: flex;
  align-items: center;
}
@media(max-width:768px){ .hero { min-height: 60vh; padding: 140px 0 80px; } }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-deep) 0%, rgba(2,12,27,0.7) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero__body {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero__content { max-width: 700px; }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: var(--w-bold);
  color: var(--white);
  letter-spacing: 0.1em;
  
  margin-bottom: 24px;
}
.hero__tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: var(--w-black);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  
  margin-bottom: 24px;
}
.hero__title span { color: var(--blue-light); }
.hero__desc {
  font-size: clamp(16px, 2vw, 18px);
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 580px;
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  
  margin-bottom: 48px;
}
.hero__meta span { color: var(--white); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(2,12,27,0.8);
  backdrop-filter: blur(10px);
}
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 0;
}
.hero__stat-num {
  font-size: 28px;
  font-weight: var(--w-black);
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.hero__stat-lbl {
  font-size: 14px;
  font-weight: var(--w-bold);
  letter-spacing: 0.15em;
  
  color: var(--blue-light);
}
@media (max-width: 768px) {
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); padding: 24px 0; }
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-wrap {
  background: var(--blue-light);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 4px solid var(--navy);
}
.marquee-track {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: var(--w-bold);
  color: var(--navy-deep);
  
  letter-spacing: 0.1em;
  padding-right: 30px;
}
.marquee-dot { color: var(--white); font-size: 8px; }
@keyframes marquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }

/* ═══════════════════════════════════════
   CATEGORY CARDS
═══════════════════════════════════════ */
.cat-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-light);
  box-shadow: 0 12px 30px rgba(0,82,204,0.08);
}
.cat-card__icon {
  width: 48px; height: 48px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s, color 0.3s;
}
.cat-card__icon svg { width: 24px; height: 24px; }
.cat-card:hover .cat-card__icon { background: var(--blue-light); color: var(--white); }
.cat-card__label {
  font-size: 14px;
  font-weight: var(--w-bold);
  letter-spacing: 0.15em;
  color: var(--grey-400);
  margin-bottom: 8px;
}
.cat-card__title {
  font-size: 20px;
  font-weight: var(--w-black);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
  
  letter-spacing: -0.01em;
}
.cat-card__desc {
  font-size: var(--text-sm);
  color: var(--grey-500);
  margin-bottom: 24px;
  line-height: 1.6;
}
.cat-card__cta {
  font-size: 13px;
  font-weight: var(--w-bold);
  letter-spacing: 0.1em;
  
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cat-card__cta span { transition: transform 0.2s; }
.cat-card:hover .cat-card__cta span { transform: translateX(4px); }

/* ═══════════════════════════════════════
   PRODUCT CARDS
═══════════════════════════════════════ */
.prod-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,82,204,0.12);
  border-color: rgba(38,132,255,0.35);
}
/* 3:2 aspect ratio image — always full, no gaps */
.prod-card__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--grey-50);
  overflow: hidden;
  flex-shrink: 0;
}
.prod-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.prod-card__visual svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px; height: 56px;
  color: var(--grey-300);
}
.prod-card:hover .prod-card__visual img { transform: scale(1.06); }
.prod-card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; }

.prod-card__body { padding: 18px 20px 20px; border-top: 1px solid var(--grey-100); flex: 1; display: flex; flex-direction: column; }
.prod-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: var(--w-bold);
  letter-spacing: 0.08em;
  color: var(--grey-400);
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.prod-card__series { color: var(--blue-light); font-family: ui-monospace, monospace; text-transform: uppercase; }
.prod-card__sep { color: var(--grey-300); }
.prod-card__brand { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey-400); }

.prod-card__title {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: var(--w-black);
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.prod-card__desc {
  font-size: 12px;
  color: var(--grey-500);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.prod-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-100);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  /* prevent grid from expanding card */
  min-width: 0;
  width: 100%;
}
.spec-item {
  flex: 1;
  background: var(--white);
  padding: 8px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background 0.15s;
  /* allow grid child to clip overflow */
  min-width: 0;
  overflow: hidden;
}
.spec-item:hover { background: var(--blue-pale); }
.spec-item__val {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  font-family: 'Montserrat', ui-monospace, monospace;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 100%;
  display: block;
}
.spec-item__unit {
  font-size: 8px;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 100%;
  display: block;
}
.prod-card .btn { width: 100%; margin-top: auto; }

/* ── PAGINATION ── */
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: var(--w-bold);
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--grey-200);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}
.page-btn:hover { background: var(--blue-pale); border-color: var(--blue-light); color: var(--blue); }
.page-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ═══════════════════════════════════════
   WHY US SECTION
═══════════════════════════════════════ */
.why-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.why-image-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  opacity: 0.6;
}
.why-certs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 12px;
}
.cert-item {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.cert-item__name {
  font-size: 15px;
  font-weight: var(--w-black);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.cert-item__label {
  font-size: 13px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  
  color: var(--grey-500);
  margin-top: 2px;
}

.why-items { display: flex; flex-direction: column; gap: 14px; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--off-white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.why-item:hover { border-color: var(--blue-light); }
.why-item__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-item__icon--blue { background: var(--blue-pale); color: var(--blue); }
.why-item__icon--accent { background: var(--accent-dim); color: var(--accent); }
.why-item__icon svg { width: 22px; height: 22px; }
.why-item__label {
  font-size: 14px;
  font-weight: var(--w-bold);
  letter-spacing: 0.14em;
  
  color: var(--blue);
  margin-bottom: 2px;
}
.why-item__label--accent { color: var(--accent); }
.why-item__title {
  font-size: var(--text-base);
  font-weight: var(--w-bold);
  color: var(--navy);
  
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.why-item__desc {
  font-size: var(--text-sm);
  color: var(--grey-500);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   SPECS TABLE
═══════════════════════════════════════ */
.table-outer {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-card);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}
@media(min-width:640px){ table { min-width: auto; } }
thead {
  background: var(--white);
  border-bottom: 2px solid var(--grey-100);
}
thead th {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: var(--w-bold);
  letter-spacing: 0.14em;
  
  color: var(--grey-700);
  text-align: left;
  white-space: nowrap;
}
tbody tr {
  border-bottom: 1px solid var(--grey-50);
  transition: background 0.15s;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--blue-pale); }
tbody td {
  padding: 14px 20px;
  font-size: var(--text-sm);
  color: var(--grey-700);
  white-space: nowrap;
}
.td-val {
  font-size: var(--text-base);
  font-weight: var(--w-black);
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════
   INDUSTRY GRID
═══════════════════════════════════════ */
.industry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.2s;
}
.industry-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.industry-card__icon {
  width: 40px; height: 40px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.industry-card__icon svg { width: 18px; height: 18px; }
.industry-card__title {
  font-size: var(--text-base);
  font-weight: var(--w-bold);
  color: var(--white);
  
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.industry-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testi-track-outer { overflow: hidden; padding: 30px 0; margin: -30px 0; }
.testi-track {
  display: flex;
  animation: marquee 34s linear infinite;
  will-change: transform;
}
.testi-track > * {
  margin-right: 20px;
}
.testi-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.testi-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.testi-card__stars svg { width: 13px; height: 13px; color: #F5A623; }
.testi-card__text {
  font-size: var(--text-sm);
  color: var(--grey-500);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}
.testi-card__text::before { content: '"'; }
.testi-card__text::after  { content: '"'; }
.testi-card__author {
  font-size: var(--text-sm);
  font-weight: var(--w-bold);
  color: var(--navy);
  
  letter-spacing: 0.03em;
}
.testi-card__role {
  font-size: 14px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  
  color: var(--grey-400);
  margin-top: 2px;
}

/* ═══════════════════════════════════════
   FAQ ACCORDION
═══════════════════════════════════════ */
.accordion { border: 1px solid var(--grey-100); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); }
.accordion-item { border-bottom: 1px solid var(--grey-50); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.accordion-btn:hover { background: var(--off-white); }
.accordion-btn__text {
  font-size: var(--text-base);
  font-weight: var(--w-semibold);
  color: var(--navy);
  line-height: 1.4;
}
.accordion-btn__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grey-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
}
.accordion-btn__icon svg { width: 13px; height: 13px; color: var(--grey-400); transition: transform 0.25s; }
.accordion-item.open .accordion-btn__icon { background: var(--blue); }
.accordion-item.open .accordion-btn__icon svg { color: var(--white); transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-body.open { max-height: 300px; }
.accordion-body__inner {
  padding: 0 24px 20px;
  font-size: var(--text-sm);
  color: var(--grey-500);
  line-height: 1.7;
  border-top: 1px solid var(--grey-50);
  padding-top: 16px;
}

/* ═══════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════ */
.contact-form {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:540px){ .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 14px;
  font-weight: var(--w-semibold);
  letter-spacing: 0.08em;
  
  color: rgba(255,255,255,0.5);
}
.form-label .req { color: var(--accent); }
.form-input,
.form-select,
.form-textarea {
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: var(--w-regular);
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-light);
  background: rgba(255,255,255,0.08);
}
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--navy-deep); color: var(--white); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(255,255,255,0.4);
  margin-top: 3px;
  pointer-events: none;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__top {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
@media(max-width:900px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media(max-width:540px){ .footer__top { grid-template-columns: 1fr; gap: 32px; } }

.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.footer__logo-img { 
  width: 40px; height: 40px; object-fit: contain; border-radius: 50%; 
  border: 1px solid rgba(255,255,255,0.15); background: var(--white); padding: 2px; 
}
.footer__logo-icon {
  width: 40px; height: 40px; background: var(--blue); display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--white); font-family: 'Horizon', sans-serif; font-weight: 900; font-size: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}
.footer__logo-text { display: flex; flex-direction: column; justify-content: center; }
.footer__logo-name {
  font-family: 'Horizon', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.46em;
  line-height: 1;
  margin-bottom: 5px;
  margin-right: -0.46em; /* Align text exactly with the left edge */
  text-transform: uppercase;
}
.footer__logo-sub {
  font-size: 7.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-right: -0.08em;
  white-space: nowrap;
}
.footer__about {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer__certs {
  display: flex;
  gap: 8px;
}
.footer__cert {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
  cursor: default;
}
.footer__cert:hover { color: var(--accent); border-color: rgba(0,184,217,0.3); }
.footer__cert svg { width: 16px; height: 16px; }

.footer__col-title {
  font-size: 14px;
  font-weight: var(--w-bold);
  letter-spacing: 0.14em;
  
  color: var(--white);
  margin-bottom: 20px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.38);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--blue-light); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.38);
  margin-bottom: 12px;
}
.footer__contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: var(--blue-light); }
.footer__contact-item a { color: inherit; }
.footer__contact-item a:hover { color: var(--blue-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 18px 0;
  text-align: center;
}
.footer__copy {
  font-size: 13px;
  font-weight: var(--w-medium);
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.2);
  
}
.footer__copy a { color: rgba(255,255,255,0.35); transition: color 0.15s; }
.footer__copy a:hover { color: var(--blue-light); }

/* ═══════════════════════════════════════
   SECTION: PRODUCTS HEADER FLEX
═══════════════════════════════════════ */
.products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
[x-cloak] { display: none !important; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--grey-700); border-radius: 10px; }

/* ═══════════════════════════════════════
   RESPONSIVE OVERRIDES — all pages
   ═══════════════════════════════════════ */

/* Stack all 2-column inline grids on tablet+phone */
@media(max-width:768px){
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns:1fr !important; }
  [style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns:repeat(2,1fr) !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns:repeat(2,1fr) !important; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns:repeat(2,1fr) !important; }

  /* Reduce massive inline gaps on mobile */
  [style*="gap:60px"] { gap: 30px !important; }
  [style*="gap:50px"] { gap: 24px !important; }
  [style*="gap:48px"] { gap: 24px !important; }
  [style*="gap:40px"] { gap: 20px !important; }
  [style*="gap:32px"] { gap: 16px !important; }

  /* Reduce huge inline padding on cards/sections */
  [style*="padding:40px"] { padding: 24px !important; }
  [style*="padding:32px"] { padding: 20px !important; }
  [style*="padding:28px"] { padding: 18px !important; }
  [style*="padding:24px"] { padding: 16px !important; }

  /* Hero sections get smaller */
  .hero { min-height: 50vh !important; padding: 130px 0 60px !important; }

  /* Featured blog post stacks on mobile */
  .grid-3, .grid-4 { gap: 16px !important; }
}
@media(max-width:480px){
  [style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns:1fr !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns:1fr !important; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns:1fr !important; }
  [style*="gap:24px"] { gap: 12px !important; }
  [style*="gap:20px"] { gap: 12px !important; }

  /* Blog featured post */
  [style*="height:300px"] { height: 180px !important; }
  [style*="height:340px"] { height: 220px !important; }
  [style*="height:250px"] { height: 180px !important; }

  /* Blog post card image */
  [style*="height:200px"] { height: 160px !important; }
  [style*="height:180px"] { height: 140px !important; }

  /* Info cards grid on contact page */
  .grid-3 { grid-template-columns:1fr !important; }

  /* Product grid items */
  .grid-4 { grid-template-columns:repeat(2,1fr) !important; gap:12px !important; }

  /* About stats grid on mobile */
  .hero__stats-inner { grid-template-columns:repeat(2,1fr) !important; gap:12px !important; }

  /* Careers: job cards stack full-width */
  [style*="min-width:160px"] { min-width: 100% !important; }

  /* Product detail tabs smaller */
  .tab-btn { padding: 10px 14px !important; font-size: 10px !important; }

  /* Contact form rows stack */
  .form-row { grid-template-columns:1fr !important; }

  /* Why-us cards */
  .why-certs { grid-template-columns:repeat(3,1fr) !important; gap:6px !important; }
  .cert-item { padding: 8px !important; }

  /* Brand partners in homepage */
  .why-image-wrap img { height: 220px !important; }
}