:root {
  --ink: #101820;
  --muted: #66727c;
  --soft: #f3f7f7;
  --white: #ffffff;
  --line: #dfe8e8;
  --blue: #0f6faa;
  --green: #0aa374;
  --lime: #d8ef49;
  --dark: #0d1a20;
  --red: #df5a55;
  --shadow: 0 28px 70px rgba(16, 24, 32, 0.14);
  --shadow-hover: 0 34px 86px rgba(16, 24, 32, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 232, 232, 0.9);
  backdrop-filter: blur(18px);
  transition: min-height 260ms var(--ease), box-shadow 260ms var(--ease), background 260ms var(--ease);
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 40px rgba(16, 24, 32, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 28px rgba(15, 111, 170, 0.24);
  transition: transform 240ms var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-5deg) scale(1.04);
}

.brand strong,
.brand em {
  display: block;
  font-style: normal;
}

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.site-footer a:hover { color: var(--blue); }

.nav-links a,
.site-footer a {
  position: relative;
  transition: color 180ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease), border-color 220ms var(--ease);
}

.button::after,
.header-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-130%);
  transition: transform 620ms var(--ease);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 111, 170, 0.18);
}

.button:hover::after,
.header-cta:hover::after {
  transform: translateX(130%);
}

.primary,
.header-cta {
  color: var(--white);
  background: var(--blue);
}

.primary:hover,
.header-cta:hover { background: #0b5583; }

.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.ghost:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--dark);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 26, 32, 0.92) 0%, rgba(13, 26, 32, 0.72) 38%, rgba(13, 26, 32, 0.12) 100%);
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 16s var(--ease) infinite alternate;
}

.hero-panel {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: clamp(76px, 10vw, 140px) clamp(20px, 5vw, 72px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow { color: var(--lime); }

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.hero-badge {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 56px);
  z-index: 3;
  width: min(320px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(13, 26, 32, 0.66);
  backdrop-filter: blur(12px);
  animation: badgeFloat 5.8s ease-in-out infinite;
}

.hero-badge strong,
.hero-badge span { display: block; }

.hero-badge strong {
  margin-bottom: 4px;
  font-size: 22px;
}

.hero-badge span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.logo-strip span {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: color 220ms ease, background 220ms ease;
}

.logo-strip span:last-child { border-right: 0; }

.logo-strip span:hover {
  color: var(--ink);
  background: #f7fbfb;
}

.section,
.image-led,
.factory-section,
.contact-section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker.compact {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-kicker p:not(.eyebrow) {
  color: var(--muted);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.62fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 16px;
}

.visual-card,
.spec-card {
  border-radius: 8px;
  overflow: hidden;
}

.visual-card {
  position: relative;
  grid-row: span 2;
  min-height: 580px;
  color: var(--white);
  background: var(--dark);
}

.visual-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 26, 32, 0.8), rgba(13, 26, 32, 0.04) 65%);
}

.visual-card div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

.visual-card span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-card h3 {
  max-width: 680px;
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 38px);
}

.visual-card:hover img {
  transform: scale(1.055);
}

.spec-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--soft);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.spec-card.accent {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.spec-card .number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 6px;
  color: var(--blue);
  background: var(--white);
  font-weight: 900;
}

.spec-card.accent .number {
  color: var(--dark);
  background: var(--lime);
}

.spec-card p,
.spec-card li {
  color: var(--muted);
}

.spec-card.accent p,
.spec-card.accent li {
  color: rgba(255, 255, 255, 0.78);
}

.spec-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
}

.spec-card li + li { margin-top: 8px; }

.spec-card:hover,
.mini-grid div:hover,
.quality-grid article:hover,
.channel-grid div:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(16, 24, 32, 0.12);
}

.image-led {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--soft);
}

.image-led img,
.factory-photo img,
.applications img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease), filter 420ms var(--ease);
}

.image-led img:hover,
.factory-photo img:hover,
.applications img:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-hover);
  filter: saturate(1.04) contrast(1.02);
}

.image-led-copy p,
.factory-copy p,
.quality p,
.contact-copy p {
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.mini-grid div {
  min-height: 112px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.mini-grid strong,
.mini-grid span {
  display: block;
}

.mini-grid strong {
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.1;
}

.mini-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.factory-section {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.86fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  background: #111d23;
  color: var(--white);
}

.factory-copy .eyebrow { color: var(--lime); }

.factory-copy p { color: rgba(255, 255, 255, 0.72); }

.factory-photo {
  position: relative;
}

.factory-photo::before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 38%;
  height: 38%;
  border: 1px solid rgba(216, 239, 73, 0.42);
  border-radius: 8px;
  pointer-events: none;
}

.capability-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.capability-list div {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.capability-list p {
  margin-bottom: 0;
}

.applications {
  background: var(--white);
}

.applications img {
  max-height: 520px;
  object-fit: cover;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.channel-grid div {
  display: grid;
  place-items: center;
  min-height: 94px;
  padding: 16px;
  border-radius: 8px;
  color: var(--blue);
  background: var(--soft);
  font-weight: 900;
  text-align: center;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background 260ms ease;
}

.channel-grid div:hover {
  background: #e7f6f1;
}

.quality {
  background: #edf5f3;
}

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

.quality-grid article {
  min-height: 260px;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.quality-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}

.quality-grid article:hover::before {
  transform: scaleX(1);
}

.quality-grid span {
  display: block;
  margin-bottom: 58px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  color: var(--white);
  background: linear-gradient(135deg, #0d1a20 0%, #0f6faa 55%, #0aa374 100%);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-details span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 15px;
  padding: 26px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.quote-form:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(15, 111, 170, 0.12);
}

.quote-form textarea { resize: vertical; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: #091014;
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 6px;
}

.site-footer p { margin-bottom: 0; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(18px, -10px, 0); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .section-kicker,
  .showcase-grid,
  .image-led,
  .factory-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .visual-card {
    min-height: 460px;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .header-cta {
    width: 100%;
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(13, 26, 32, 0.96) 0%, rgba(13, 26, 32, 0.74) 58%, rgba(13, 26, 32, 0.22) 100%);
  }

  .hero-panel {
    align-self: end;
    padding-top: 260px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-badge {
    display: none;
  }

  .logo-strip,
  .mini-grid,
  .quality-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .visual-card {
    min-height: 390px;
  }

  .factory-section {
    padding-top: 52px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
