/* ============================================
   INDUSTRIAL SEWING — Main Stylesheet
   industrialsewing.eu
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand blues — matching original #0C3C60 palette */
  --amber:        #1a7ab5;
  --amber-light:  #2d8fd0;
  --amber-glow:   rgba(12, 60, 96, 0.10);
  --dark:         #0C3C60;
  --charcoal:     #092e4d;
  --steel:        #0d4878;
  --mid:          #4A6175;
  --muted:        #7A8FA0;
  --border:       #E2E2E2;
  --light:        #EEF4F9;
  --off-white:    #F5F8FB;
  --white:        #FFFFFF;

  --font-display: 'Raleway', Helvetica, Arial, sans-serif;
  --font-body:    Helvetica, Arial, 'Open Sans', sans-serif;

  --nav-h:       76px;
  --topbar-h:    32px;
  --header-h:    calc(var(--nav-h) + var(--topbar-h));
  --section-pad: clamp(60px, 8vw, 112px);
  --container:   1240px;
  --gutter:      clamp(20px, 4vw, 40px);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.18);
  --radius: 2px;
  --ease: 0.25s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(52px, 8vw, 108px); font-weight: 900; }
h2 { font-size: clamp(34px, 4.5vw, 60px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: 17px; letter-spacing: 0.08em; }

.section-tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

.section-title { color: var(--dark); margin-bottom: 16px; }

.section-lead {
  font-size: 17px;
  color: var(--mid);
  max-width: 580px;
  line-height: 1.75;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn--amber:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,122,181,0.38);
}
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: var(--steel);
  border-color: var(--steel);
  transform: translateY(-2px);
}
.btn-arrow { transition: transform var(--ease); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* === NAVIGATION === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--ease);
}
.header__topbar {
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  height: 32px;
}
.header__contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--ease);
  white-space: nowrap;
}
.header__contact-item:hover {
  color: var(--white);
}
.header.scrolled {
  background: rgba(14,16,20,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 40px rgba(0,0,0,0.45);
}
.nav { height: var(--nav-h); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo-img {
  height: 44px;
  width: auto;
  display: block;
  /* logo has a white/transparent bg — invert for dark nav */
  filter: brightness(0) invert(1);
}
/* Fallback text logo (shown when img fails) */
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__logo-main {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--white);
}
.nav__logo-accent {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber);
}
.nav__logo-since {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 2px solid var(--amber);
  align-self: center;
  line-height: 1.4;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__links > li { position: relative; }
.nav__links > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius);
  transition: all var(--ease);
  white-space: nowrap;
}
.nav__links > li > a:hover,
.nav__links > li > a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav__links > li > a.active { color: var(--amber); }

.nav-arrow {
  font-size: 9px;
  opacity: 0.75;
  transition: transform var(--ease);
}
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
/* Bridge: invisible area that connects the nav item to the dropdown menu */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
  z-index: 999;
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 218px;
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--amber);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 998;
}
.has-dropdown:hover .dropdown,
.has-dropdown.dropdown-open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  border-left: 2px solid transparent;
  transition: all var(--ease);
}
.dropdown li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-left-color: var(--amber);
  padding-left: 24px;
}

.nav__cta-item .btn--amber { padding: 10px 18px; font-size: 12px; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-shrink: 0;
}
.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Hero video background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.55;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(9, 46, 77, 0.88) 0%,
    rgba(9, 46, 77, 0.72) 50%,
    rgba(9, 46, 77, 0.45) 100%
  );
  z-index: 1;
}
/* Ensure hero content sits above video + overlay */
.hero__bg, .hero__glow, .hero__diagonal, .hero__year,
.hero__content, .hero__wedge { z-index: 2; }
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent, transparent 59px,
      rgba(255,255,255,0.022) 59px,
      rgba(255,255,255,0.022) 60px),
    repeating-linear-gradient(90deg,
      transparent, transparent 59px,
      rgba(255,255,255,0.022) 59px,
      rgba(255,255,255,0.022) 60px);
}
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,124,10,0.08) 0%, transparent 70%);
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero__diagonal {
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 55%, rgba(43,50,64,0.25) 100%);
}
.hero__year {
  position: absolute;
  left: clamp(16px, 3vw, 44px);
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.1);
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vh, 48px) 0 clamp(28px, 4vh, 56px);
  max-width: 52%;
}
.hero__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.hero__tag::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--amber);
  flex-shrink: 0;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 82px);
  font-weight: 900;
  line-height: 0.93;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero__headline em {
  font-style: normal;
  color: var(--amber);
  display: block;
}
.hero__rule {
  width: 72px;
  height: 3px;
  background: var(--amber);
  margin-bottom: 16px;
}
.hero__sub {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255,255,255,0.55);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  flex-wrap: wrap;
}
.hero__stat {
  padding-right: 36px;
  padding-left: 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  margin-right: 36px;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-divider { display: none; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero__stat-num span { color: var(--amber); }
.hero__stat-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}
.hero__wedge {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* === SECTIONS === */
section { padding: var(--section-pad) 0; }

.section--dark { background: var(--dark); color: var(--white); }
.section--dark .section-title { color: var(--white); }
.section--dark .section-lead { color: rgba(255,255,255,0.5); }

.section--charcoal { background: var(--charcoal); color: var(--white); }
.section--charcoal .section-title { color: var(--white); }
.section--charcoal .section-lead { color: rgba(255,255,255,0.5); }

.section--light { background: var(--light); }
.section--white { background: var(--white); }
.section--compact { padding: 28px 0; }

.section__header { margin-bottom: clamp(40px, 6vw, 60px); }
.section__header--center { text-align: center; }
.section__header--center .section-tag { justify-content: center; }
.section__header--center .section-tag::before { display: none; }
.section__header--center .section-lead { margin: 0 auto; }

/* === PRODUCT CARDS === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  position: relative;
  transition: all var(--ease);
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(12,60,96,0.3); }
.card:hover::after { transform: scaleX(1); }
/* Card with image at top */
.card__img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--light);
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.card:hover .card__img img { transform: scale(1.04); }
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-glow);
  border: 1px solid rgba(12,60,96,0.18);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 26px;
}
/* Card inner padding when no image */
.card__img + .card__title,
.card__icon + .card__title { margin-top: 0; }
.card > .card__title:first-child,
.card > .card__icon:first-child { margin: 36px 30px 0; }
.card__title {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin: 20px 30px 10px;
}
.card__body { font-size: 14px; color: var(--mid); line-height: 1.7; margin: 0 30px 20px; }
.card__link {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--ease);
  margin: 0 30px 28px;
}
.card:hover .card__link { gap: 10px; }

/* === INDUSTRY GRID === */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
}
.industry-item {
  background: var(--charcoal);
  padding: 36px 28px;
  transition: background var(--ease);
  text-decoration: none;
  display: block;
}
.industry-item:hover { background: var(--steel); }
.industry-item__num {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--amber); text-transform: uppercase;
  margin-bottom: 16px;
}
.industry-item__icon { font-size: 28px; margin-bottom: 16px; display: block; }
.industry-item__name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 8px;
}
.industry-item__desc { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.6; }

/* === PILLARS === */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.pillar {
  background: var(--white);
  padding: 52px 40px;
  text-align: center;
}
.pillar__num {
  font-family: var(--font-display);
  font-size: 76px; font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}
.pillar__num sup { font-size: 32px; vertical-align: super; }
.pillar__title {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 12px;
}
.pillar__body { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* === VCI SECTION === */
.vci-section {
  background: var(--amber);
  position: relative;
  overflow: hidden;
}
.vci-section::before {
  content: 'VCI';
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 280px; font-weight: 900;
  color: rgba(0,0,0,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.vci-content {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.vci-content h2 { color: var(--white); margin-bottom: 18px; }
.vci-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  margin-bottom: 14px;
}
.vci-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vci-stat {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 28px 22px;
  border-radius: var(--radius);
}
.vci-stat__val {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.vci-stat__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* === TRUSTED BY STRIP (product pages) === */
.trusted-by {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.trusted-by__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.trusted-by__logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trusted-by__logo {
  height: 26px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: opacity 0.2s, filter 0.2s;
}
.trusted-by__logo:hover {
  opacity: 0.75;
  filter: grayscale(20%);
}

/* === REFERENCES PAGE === */
.ref-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ref-stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.ref-stat-item:last-child { border-right: none; }
.ref-stat-val {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}
.ref-stat-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.ref-category { padding: 8px 0; }
.ref-category__header { margin-bottom: 40px; }
.ref-category__tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 10px;
}
.ref-category__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800; text-transform: uppercase;
  color: var(--dark); margin-bottom: 12px; line-height: 1.2;
}
.ref-category__desc {
  font-size: 15px; color: var(--mid);
  line-height: 1.7; max-width: 680px;
}
.ref-client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.ref-client {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 16px 20px;
  border-radius: var(--radius);
  transition: box-shadow var(--ease), border-color var(--ease);
}
.section--white .ref-client { background: var(--light); }
.ref-client:hover {
  box-shadow: var(--shadow-sm);
  border-left-color: var(--amber-light);
}
.ref-client__name {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--dark); margin-bottom: 4px;
}
.ref-client__meta {
  font-size: 12px; color: var(--muted);
}
.ref-client__country {
  font-weight: 700; color: var(--amber);
}
.ref-client__logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
  filter: grayscale(15%);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}
.ref-client:hover .ref-client__logo {
  opacity: 1;
  filter: none;
}

@media (max-width: 600px) {
  .ref-stats { grid-template-columns: 1fr; }
  .ref-stat-item { border-right: none; border-top: 1px solid var(--border); }
  .ref-stat-item:first-child { border-top: none; }
}
@media (max-width: 480px) {
  .ref-stats { grid-template-columns: 1fr 1fr; }
  .ref-stat-val { font-size: 36px; }
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer__logo-main {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--white);
  text-transform: uppercase;
  display: block;
}
.footer__logo-accent {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.82); line-height: 1.65; max-width: 260px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a,
.footer__col ul li span { font-size: 13px; color: rgba(255,255,255,0.82); transition: color var(--ease); }
.footer__col ul li a:hover { color: var(--white); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em; flex-wrap: wrap; gap: 8px;
}
.footer__legal {
  font-size: 11px; color: rgba(255,255,255,0.6);
  line-height: 1.6; margin-top: 14px;
  max-width: 300px;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--dark);
  padding: calc(var(--header-h) + 56px) 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent, transparent 59px,
      rgba(255,255,255,0.018) 59px,
      rgba(255,255,255,0.018) 60px),
    repeating-linear-gradient(90deg,
      transparent, transparent 59px,
      rgba(255,255,255,0.018) 59px,
      rgba(255,255,255,0.018) 60px);
}
.page-hero__content { position: relative; z-index: 1; }
.page-hero__breadcrumb {
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero__breadcrumb a { color: var(--amber); }
.page-hero__breadcrumb a:hover { color: var(--amber-light); }
.page-hero__title { color: var(--white); margin-bottom: 16px; }
.page-hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  line-height: 1.7;
}
.page-hero__wedge {
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.page-hero__wedge--light { background: var(--light); }
.page-hero__wedge--white { background: var(--white); }

/* === FEATURE LIST === */
.feature-list { display: flex; flex-direction: column; }
.feature-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.feature-item:first-child { border-top: 1px solid var(--border); }
.feature-item__num {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); padding-top: 4px;
}
.feature-item__title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 8px;
}
.feature-item__body { font-size: 14px; color: var(--mid); line-height: 1.7; }
.feature-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-glow);
  border: 1px solid rgba(224,124,10,0.2);
  padding: 4px 10px;
  border-radius: 2px;
}

/* === MATERIALS GRID === */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.material-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  padding: 28px 26px;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: box-shadow var(--ease), transform var(--ease);
}
.material-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.material-card__name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark); margin-bottom: 5px;
}
.material-card__spec {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 12px;
}
.material-card__body { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* === MACHINE CARDS === */
.machines-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.machine-card {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color var(--ease);
}
.machine-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.machine-card__body-wrap {
  padding: 28px 32px 32px;
}
.machine-card:hover { border-color: rgba(224,124,10,0.3); }
.machine-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.machine-card:hover::before { transform: scaleX(1); }
.machine-card__cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.machine-card__name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 12px;
}
.machine-card__body { font-size: 14px; color: rgba(255,255,255,0.48); line-height: 1.65; }

/* === INLINE QUOTE FORM (homepage) === */
.inline-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.inline-form-intro { padding-top: 8px; }
.inline-form-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
}
.mini-form-group { margin-bottom: 16px; }
.mini-form-group label {
  display: block;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 7px;
}
.mini-form-group input,
.mini-form-group select,
.mini-form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  transition: border-color var(--ease);
  box-sizing: border-box;
}
.mini-form-group input::placeholder,
.mini-form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.mini-form-group select { color: rgba(255,255,255,0.75); }
.mini-form-group select option { background: var(--charcoal); color: var(--white); }
.mini-form-group input:focus,
.mini-form-group select:focus,
.mini-form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.mini-form-group textarea { resize: vertical; min-height: 90px; }

/* === CONTACT === */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: start;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--dark);
  transition: all var(--ease);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group input.field-error,
.form-group textarea.field-error {
  border-color: #d93025;
  box-shadow: 0 0 0 3px rgba(217,48,37,0.12);
}
.field-error-msg {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #d93025;
  font-weight: 500;
}

.contact-info-block {
  padding-top: 4px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.contact-info-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:first-child { border-top: 1px solid var(--border); }
.contact-info-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-glow);
  border: 1px solid rgba(224,124,10,0.2);
  border-radius: var(--radius);
  font-size: 18px; flex-shrink: 0;
}
.contact-info-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.contact-info-val { font-size: 15px; font-weight: 500; color: var(--dark); }

/* === ABOUT === */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-body p { font-size: 16px; color: var(--mid); line-height: 1.8; margin-bottom: 18px; }
.amber-bar { width: 64px; height: 3px; background: var(--amber); margin-bottom: 24px; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 0;
  width: 1px; background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--off-white);
  box-shadow: 0 0 0 3px var(--amber-glow);
}
.timeline-item__year {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 5px;
}
.timeline-item__title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  text-transform: uppercase;
  color: var(--dark); margin-bottom: 8px;
}
.timeline-item__body { font-size: 14px; color: var(--mid); line-height: 1.7; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.value-card {
  background: var(--light);
  border-top: 3px solid var(--amber);
  padding: 28px 24px;
}
.value-card__title {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--dark); margin-bottom: 8px;
}
.value-card__body { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* === PRODUCT PAGE === */
.product-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.product-intro__body p { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 14px; }
.product-visual {
  background: var(--charcoal);
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 80px; font-weight: 900;
  color: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
.product-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(224,124,10,0.06) 100%);
}
.applications-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.application-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px 18px;
  border-radius: var(--radius);
  display: flex; gap: 12px; align-items: flex-start;
}
.application-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.application-item p { font-size: 14px; color: var(--mid); line-height: 1.5; }

/* === INDUSTRIES PAGE === */
.industry-full {
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.industry-full:last-child { border-bottom: none; }
.industry-full__left { position: relative; }
.industry-full__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 20px;
}
.industry-full__img-placeholder {
  width: 100%;
  height: 220px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  margin-bottom: 20px;
}
.industry-full__label {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.15;
  white-space: nowrap;
}
.industry-full__icon {
  font-size: 28px; display: inline-block;
  margin-right: 10px; vertical-align: middle;
}
.industry-full__body p {
  font-size: 15px; color: var(--mid);
  line-height: 1.75; margin-bottom: 14px;
}
.industry-full__products { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* === PHOTO GALLERY === */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 6px;
}
.photo-grid--masonry {
  grid-template-columns: repeat(4, 1fr);
}
.photo-item {
  position: relative;
  overflow: hidden;
  background: var(--light);
  cursor: zoom-in;
}
.photo-item img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.photo-item:hover img { transform: scale(1.05); }
.photo-item--tall img { height: 300px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox__close {
  position: absolute; top: 20px; right: 24px;
  font-size: 36px; color: var(--white);
  cursor: pointer; line-height: 1;
  opacity: 0.7; transition: opacity var(--ease);
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev, .lightbox__next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 48px; color: var(--white);
  cursor: pointer; opacity: 0.6;
  transition: opacity var(--ease);
  user-select: none; padding: 20px;
}
.lightbox__prev:hover, .lightbox__next:hover { opacity: 1; }
.lightbox__prev { left: 8px; }
.lightbox__next { right: 8px; }

@media (max-width: 1024px) {
  .industry-full { grid-template-columns: 280px 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .industry-full { grid-template-columns: 1fr; gap: 24px; }
  .photo-grid--masonry { grid-template-columns: repeat(2, 1fr); }
  .hero__content { max-width: 80%; }
}
@media (max-width: 480px) {
  .photo-grid--masonry { grid-template-columns: 1fr; }
  .hero__content { max-width: 100%; }
}

/* === ANIMATE IN === */
.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }
.animate-in:nth-child(2) { transition-delay: 0.08s; }
.animate-in:nth-child(3) { transition-delay: 0.16s; }
.animate-in:nth-child(4) { transition-delay: 0.24s; }
.animate-in:nth-child(5) { transition-delay: 0.32s; }
.animate-in:nth-child(6) { transition-delay: 0.40s; }
.animate-in:nth-child(7) { transition-delay: 0.48s; }
.animate-in:nth-child(8) { transition-delay: 0.56s; }
.animate-in:nth-child(9) { transition-delay: 0.64s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .inline-form-layout { grid-template-columns: 1fr; gap: 40px; }
  .inline-form-box { padding: 24px; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .product-intro { grid-template-columns: 1fr; gap: 40px; }
  .vci-content { grid-template-columns: 1fr; gap: 40px; }
  .industry-full { grid-template-columns: 160px 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --topbar-h: 0px; }
  .header__topbar { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 16px 0 60px;
    z-index: 999;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links > li { width: 100%; }
  .nav__links > li > a { padding: 14px 24px; font-size: 14px; border-radius: 0; }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1; pointer-events: auto; transform: none;
    box-shadow: none; border: none; border-top: none;
    background: rgba(255,255,255,0.03);
    display: none; padding: 4px 0;
    min-width: unset;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 10px 24px 10px 44px; }
  .nav__cta-item { padding: 12px 24px; }
  .nav__cta-item .btn--amber { width: 100%; justify-content: center; }

  .hero__headline { font-size: clamp(48px, 13vw, 72px); }
  .hero__year { display: none; }
  .hero__stats { flex-direction: column; gap: 24px; }
  .hero__stat { border-right: none; padding-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,0.07); padding-bottom: 20px; }
  .hero__stat:last-child { border-bottom: none; }

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

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .industry-full { grid-template-columns: 1fr; gap: 16px; }
  .industry-full__label { font-size: 32px; }

  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .industry-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .vci-stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .materials-grid { grid-template-columns: 1fr; }
}
