/* ==========================================================================
   SRI RUTHRAVELAN INDUSTRIES — Precision Manufacturing & Aerospace UI
   Design System inspired by modern aerospace & CNC platforms (PennAero)
   ========================================================================== */

:root {
  /* Core Brand Palette (Harmonized with SRI Logo + Aerospace Precision) */
  --bg-deep: #060d1a;
  --bg-navy: #0b162a;
  --bg-slate: #111f38;
  --bg-light: #f5f7fb;
  --bg-white: #ffffff;
  --bg-card-dark: rgba(17, 31, 56, 0.72);

  /* Brand Accents from SRI Logo */
  --accent-cyan: #0099e5;
  --accent-cyan-bright: #22b8ff;
  --accent-orange: #f46b17;
  --accent-violet: #6d1b7b;
  --accent-magenta: #a3106a;

  /* Text Hierarchy */
  --text-dark: #0b162a;
  --text-muted-dark: #4b5b76;
  --text-light: #f8fafc;
  --text-muted-light: #9fb0c9;

  /* Borders & Hairlines */
  --border-light: rgba(11, 22, 42, 0.1);
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-cyan: rgba(0, 153, 229, 0.35);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 20px rgba(6, 13, 26, 0.06);
  --shadow-md: 0 12px 36px rgba(6, 13, 26, 0.12);
  --shadow-glow: 0 0 36px rgba(0, 153, 229, 0.18);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

main,
section,
header,
footer {
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Utility Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
  display: inline-block;
}

.eyebrow--light {
  color: var(--accent-cyan-bright);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  max-width: 680px;
}

.section-lead--light {
  color: var(--text-muted-light);
}

.section-pad {
  padding: 96px 0;
}

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

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

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

/* Technical Grid Background Overlay */
.tech-grid-bg {
  position: relative;
}

.tech-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.tech-grid-bg > .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TOP UTILITY BAR & STICKY NAVIGATION
   ========================================================================== */
.top-utility {
  background-color: var(--bg-deep);
  color: var(--text-muted-light);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  border-bottom: 1px solid var(--border-dark);
  padding: 8px 0;
}

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

.top-utility__group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-utility__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.top-utility__item:hover {
  color: var(--accent-cyan-bright);
}

.top-utility__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
  display: inline-block;
}

.top-utility__socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.top-utility__social {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--text-muted-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.top-utility__social:hover {
  color: #ffffff;
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(6, 13, 26, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo__img {
  height: 54px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.06) contrast(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.015em;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a svg {
  flex-shrink: 0;
  opacity: 0.72;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover svg,
.nav-links a.active svg {
  opacity: 1;
  color: var(--accent-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
  transition: width 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-cyan);
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-cyan), #0077c2);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 153, 229, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 153, 229, 0.4);
}

.btn--orange {
  background: linear-gradient(135deg, var(--accent-orange), #d95206);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(244, 107, 23, 0.28);
}

.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(244, 107, 23, 0.42);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn--outline-light:hover {
  border-color: var(--accent-cyan-bright);
  background: rgba(0, 153, 229, 0.14);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: 0.25s ease;
}

/* ==========================================================================
   HERO SECTION (PennAero-Grade Aerospace Impact)
   ========================================================================== */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background-color: var(--bg-deep);
  color: var(--text-light);
  overflow: hidden;
  padding: 40px 0 32px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
  transform: scale(1.03);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(0, 153, 229, 0.22), transparent 55%),
    linear-gradient(95deg, rgba(6, 13, 26, 0.96) 0%, rgba(6, 13, 26, 0.84) 55%, rgba(6, 13, 26, 0.65) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 13px;
  border: 1px solid rgba(0, 153, 229, 0.4);
  background: rgba(0, 153, 229, 0.1);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  margin-bottom: 14px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero__title span {
  background: linear-gradient(90deg, #ffffff 10%, var(--accent-cyan-bright) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 1.02rem;
  color: #cad6e8;
  max-width: 620px;
  margin-bottom: 22px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

/* Right Telemetry Card in Hero */
.hero__telemetry {
  background: rgba(11, 22, 42, 0.84);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.telemetry__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-cyan-bright);
  letter-spacing: 0.08em;
}

.telemetry__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
}

.telemetry__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.telemetry__list {
  display: grid;
  gap: 10px;
}

.telemetry__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.telemetry__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.telemetry__label {
  font-size: 0.82rem;
  color: var(--text-muted-light);
}

.telemetry__val {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
}

/* Bottom KPI Bar */
.hero__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.kpi-item__num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
}

.kpi-item__num span {
  color: var(--accent-orange);
}

.kpi-item__label {
  font-size: 0.82rem;
  color: var(--text-muted-light);
  margin-top: 4px;
}

/* ==========================================================================
   KEY CUSTOMERS / OEM PARTNERS SECTION
   ========================================================================== */
.customers-band {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  padding: 68px 0;
}

.customers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

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

.customer-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.customer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.customer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-cyan);
}

.customer-card:hover::before {
  opacity: 1;
}

.customer-card__monogram {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(11, 22, 42, 0.96), rgba(109, 27, 123, 0.9));
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  letter-spacing: 0.04em;
}

.customer-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.customer-card__sector {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   ABOUT, VISION & MISSION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.about-media__frame img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.about-media__callout {
  position: absolute;
  bottom: -22px;
  right: 24px;
  background: var(--bg-navy);
  color: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.about-media__callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.about-media__callout span {
  font-size: 0.8rem;
  color: var(--text-muted-light);
}

.vm-cards {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.vm-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.vm-card--orange {
  border-left-color: var(--accent-orange);
}

.vm-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vm-card p {
  font-size: 0.94rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   INDUSTRIES SERVED (Crisp Light Aerospace Architecture)
   ========================================================================== */
.industries-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #eef3fa 100%);
  color: var(--text-dark);
  border-top: 1px solid var(--border-light);
}

.industries-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 22, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 22, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.industries-section > .container {
  position: relative;
  z-index: 1;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.industry-card {
  background: var(--bg-white);
  border: 1px solid rgba(11, 22, 42, 0.09);
  border-top: 3px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, box-shadow 0.25s ease;
}

.industry-card:nth-child(even) {
  border-top-color: var(--accent-orange);
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.industry-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 153, 229, 0.1);
  border: 1px solid rgba(0, 153, 229, 0.24);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  margin-bottom: 18px;
}

.industry-card:nth-child(even) .industry-card__icon {
  background: rgba(244, 107, 23, 0.1);
  border-color: rgba(244, 107, 23, 0.24);
  color: var(--accent-orange);
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 0.92rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   CAPABILITIES TABS & COMPONENT PORTFOLIO
   ========================================================================== */
.cap-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 28px;
}

.cap-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-muted-dark);
  transition: all 0.2s ease;
}

.cap-tab:hover {
  border-color: var(--accent-cyan);
  color: var(--text-dark);
}

.cap-tab.active {
  background: var(--bg-navy);
  color: #ffffff;
  border-color: var(--bg-navy);
  box-shadow: var(--shadow-sm);
}

.cap-panel {
  display: none;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cap-panel.active {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  animation: fadeSlide 0.35s var(--ease-out);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cap-panel__media {
  position: relative;
  min-height: 360px;
}

.cap-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cap-panel__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan-bright);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(0, 153, 229, 0.35);
}

.cap-panel__body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cap-panel__body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.cap-panel__body p {
  color: var(--text-muted-dark);
  margin-bottom: 22px;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.spec-chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--text-dark);
}

.cap-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.cap-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
}

.cap-list li::before {
  content: '▸';
  color: var(--accent-orange);
  font-weight: 700;
}

/* Machined Components Filterable Grid */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 68px;
  margin-bottom: 28px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-muted-dark);
  transition: 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.comp-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.comp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-cyan);
}

.comp-card.is-hidden {
  display: none;
}

.comp-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.comp-card__mat {
  background: rgba(244, 107, 23, 0.1);
  color: var(--accent-orange);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.comp-card h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.comp-card p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

.comp-card__ops {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dark);
}

/* ==========================================================================
   MACHINERY FLEET & TECHNICAL SPECIFICATIONS
   ========================================================================== */
.banner-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
  max-width: 820px;
}

.banner-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.banner-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #ffffff;
}

.banner-stat span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fleet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.fleet-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.machine-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

.machine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-cyan);
}

.machine-card.is-hidden {
  display: none;
}

.machine-card__media {
  position: relative;
  height: 196px;
  overflow: hidden;
  background: var(--bg-navy);
}

.machine-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out);
}

.machine-card:hover .machine-card__media img {
  transform: scale(1.04);
}

.machine-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 26, 0.1) 35%, rgba(6, 13, 26, 0.65) 100%);
  pointer-events: none;
}

.machine-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(6, 13, 26, 0.84);
  backdrop-filter: blur(8px);
  color: var(--accent-cyan-bright);
  border: 1px solid rgba(0, 153, 229, 0.4);
}

.machine-card__badge--orange {
  color: #ff9c5e;
  border-color: rgba(244, 107, 23, 0.55);
}

.machine-card__qty {
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ffffff;
  background: rgba(0, 153, 229, 0.9);
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
}

.machine-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.machine-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.machine-card__type {
  font-size: 0.86rem;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
}

.machine-specs {
  display: grid;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.machine-specs__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.machine-specs__row span {
  color: var(--text-muted-dark);
}

.machine-specs__row strong {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--bg-navy);
  text-align: right;
}

/* VMC Work Envelope Visual Comparison */
.envelope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 44px;
}

.envelope-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.envelope-card:nth-child(2) {
  border-top-color: var(--accent-orange);
}

.envelope-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
}

.envelope-card__head h4 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--text-dark);
}

.envelope-card__head span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-orange);
  white-space: nowrap;
}

.axis-row {
  display: grid;
  gap: 6px;
  margin-bottom: 11px;
}

.axis-row:last-child {
  margin-bottom: 0;
}

.axis-row__meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dark);
  font-weight: 500;
}

.axis-bar {
  height: 7px;
  background: rgba(11, 22, 42, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.axis-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan-bright));
}

.axis-bar__fill--orange {
  background: linear-gradient(90deg, var(--accent-orange), #ff9c5e);
}

/* Complete Machinery Table */
.spec-table-wrap {
  margin-top: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--bg-navy);
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-light);
}

.spec-table td {
  padding: 15px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.spec-table tbody tr:hover {
  background: rgba(0, 153, 229, 0.04);
}

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

.spec-table td.mono {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--bg-navy);
  font-weight: 500;
}

/* ==========================================================================
   MATERIALS & QUALITY METROLOGY
   ========================================================================== */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.material-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.material-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.material-card__code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-orange);
  font-weight: 600;
  margin-bottom: 6px;
}

.material-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.material-card p {
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

.quality-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.quality-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.quality-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.metrology-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.metrology-table th {
  text-align: left;
  padding: 13px 18px;
  background: var(--bg-navy);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metrology-table td {
  padding: 11px 18px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}

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

.metrology-table td:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--bg-navy);
}

/* ==========================================================================
   RFQ & CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 36px;
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.contact-card--checklist {
  background: var(--bg-navy);
  color: var(--text-light);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  min-width: 0;
}

.contact-card--checklist h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.checklist-items {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: #dbe4f3;
}

.checklist-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checklist-items li::before {
  content: '✓';
  color: var(--accent-orange);
  font-weight: 700;
  flex-shrink: 0;
}

.contact-items {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-light);
  min-width: 0;
}

.contact-item > div:last-child {
  min-width: 0;
  flex: 1;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 153, 229, 0.1);
  border: 1px solid rgba(0, 153, 229, 0.22);
  color: var(--accent-cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  letter-spacing: 0.08em;
}

.contact-item__value {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-item__value a:hover {
  color: var(--accent-cyan);
}

.rfq-form {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.map-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-card__info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.map-card__frame {
  min-height: 340px;
  background: #e2e8f0;
}

.map-card__frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.rfq-form h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.rfq-form > p {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 153, 229, 0.14);
}

.rfq-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
  overflow-wrap: anywhere;
}

.rfq-status.is-visible {
  display: block;
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040913;
  color: var(--text-muted-light);
  padding: 64px 0 28px;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-grid > * {
  min-width: 0;
}

.footer-logo-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.footer-logo-wrap img {
  height: 46px;
  width: auto;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 0.88rem;
}

.footer-links li {
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--accent-cyan-bright);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ==========================================================================
   SUBPAGE BANNER & BREADCRUMB
   ========================================================================== */
.page-banner {
  position: relative;
  background-color: var(--bg-deep);
  color: var(--text-light);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 25%, rgba(0, 153, 229, 0.18), transparent 52%);
  pointer-events: none;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--accent-cyan-bright);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

/* Home Overview & CTA Strip */
.home-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.overview-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-cyan);
}

.overview-card__img {
  height: 210px;
  overflow: hidden;
}

.overview-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease-out);
}

.overview-card:hover .overview-card__img img {
  transform: scale(1.04);
}

.overview-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.overview-card__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.overview-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.overview-card__body p {
  font-size: 0.92rem;
  color: var(--text-muted-dark);
}

.overview-card__link {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-banner {
  background: linear-gradient(125deg, var(--bg-navy) 0%, #162447 60%, rgba(109, 27, 123, 0.85) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 8px;
}

.cta-banner p {
  color: #cad6e8;
  max-width: 600px;
}

/* Quality Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.process-step {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .customers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .fleet-cards,
  .industries-grid,
  .components-grid,
  .home-cards-3,
  .envelope-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .materials-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__grid,
  .about-grid,
  .quality-grid,
  .contact-grid,
  .map-card,
  .cap-panel.active {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__grid > *,
  .about-grid > *,
  .quality-grid > *,
  .contact-grid > *,
  .map-card > * {
    min-width: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .header__actions .btn {
    display: none;
  }
  .hero__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .customers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .top-utility {
    font-size: 0.7rem;
  }
  .top-utility__inner {
    gap: 8px;
  }
  .top-utility__group {
    gap: 8px 14px;
  }
  .top-utility__socials {
    padding-left: 0;
    border-left: none;
  }
  .header__inner {
    height: 68px;
  }
  .brand-logo__img {
    height: 44px;
  }
  .nav-links {
    top: 68px;
    padding: 16px;
  }
  .section-pad {
    padding: 52px 0;
  }
  .page-banner {
    padding: 44px 0 36px;
  }
  .customers-grid,
  .fleet-cards,
  .industries-grid,
  .components-grid,
  .materials-grid,
  .home-cards-3,
  .process-steps,
  .envelope-grid,
  .banner-stats,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__telemetry {
    padding: 18px 16px;
  }
  .telemetry__row {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .about-media__frame img,
  .quality-media img {
    height: 260px;
  }
  .about-media__callout {
    position: static;
    margin-top: 12px;
  }
  .contact-card,
  .contact-card--checklist,
  .rfq-form,
  .map-card__info {
    padding: 22px 16px;
  }
  .contact-item {
    gap: 10px;
  }
  .contact-item__icon {
    width: 36px;
    height: 36px;
  }
  .contact-item__value {
    font-size: 0.88rem;
  }
  .rfq-form .btn {
    width: 100%;
  }
  .metrology-table th,
  .metrology-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }
  .cta-banner {
    padding: 28px 20px;
  }
  .cap-panel__body {
    padding: 24px 18px;
  }
}
