:root {
  --steel-dark: #1a202c;
  --gunmetal: #2d3748;
  --tech-blue: #3182ce;
  --narda-gold: #ed8936;
  --light-steel: #f7fafc;
  --accent-red: #e53e3e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  background: #ffffff;
  background-image:
    linear-gradient(rgba(26, 32, 44, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 32, 44, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--steel-dark);
  line-height: 1.7;
  font-size: 1.0625rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

section {
  padding: 5.5rem 6vw;
}

.section-break {
  position: relative;
}

.section-break::before {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 130, 206, 0.35), transparent);
}

.alt-tint {
  background: #f5f8ff;
}

.soft-tint {
  background: #f8fafc;
}

.section-bg-image {
  background-image: url("../images/tdx10.jpg");
  background-size: cover;
  background-position: center;
}

.section-bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
}

.section-bg-image > * {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  background-image: url("../images/hero-tester.jpg");
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.hero-main,
.nav,
.cta.sticky {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 6vw;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: var(--tech-blue);
  box-shadow: 0 0 20px rgba(49, 130, 206, 0.4);
}

.logo-top {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(26, 32, 44, 0.6);
}

.logo-bottom {
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: rgba(26, 32, 44, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--tech-blue);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(26, 32, 44, 0.2);
  background: transparent;
  color: var(--steel-dark);
  padding: 0.4rem 0.6rem;
  border-radius: 0;
}

.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  padding: 3rem 0 40vh;
  min-height: calc(100vh - 84px);
}

.hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40vh;
  min-height: 360px;
  background: linear-gradient(180deg, rgba(26, 32, 44, 0.2), rgba(26, 32, 44, 0.75));
  backdrop-filter: blur(6px);
  padding: 1.5rem 6vw 2.5rem;
  display: flex;
  align-items: flex-start;
}

.hero-overlay .hero-content {
  max-width: 720px;
}

.hero-content h1 {
  font-size: clamp(1.05rem, 2.1vw, 1.89rem);
  font-weight: 700;
  color: #ffffff;
  margin-top: 1rem;
  letter-spacing: -0.01em;
}

.hero-content h2 {
  font-size: clamp(0.98rem, 2.1vw, 1.54rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
  letter-spacing: -0.005em;
}

.hero-text {
  margin-top: 1.2rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.narda-badge {
  display: inline-flex;
  padding: 0.5rem 1.2rem;
  border-radius: 0;
  background: var(--tech-blue);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 0;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn.primary {
  background: var(--tech-blue);
  color: white;
  box-shadow: 0 12px 30px rgba(49, 130, 206, 0.35);
}

.btn.primary:hover {
  background: var(--accent-red);
  transform: translateY(-2px);
}

.btn.ghost {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--tech-blue);
}

.btn.ghost:hover {
  background: #ffffff;
  border-color: var(--tech-blue);
  color: var(--tech-blue);
  box-shadow: 0 12px 24px rgba(49, 130, 206, 0.2);
  transform: translateY(-2px);
}


.cta.sticky {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 0;
  border: none;
  background: var(--tech-blue);
  color: white;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(49, 130, 206, 0.4);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 20;
}

.cta.sticky.show {
  opacity: 1;
  transform: translateY(0);
}

.cta.sticky:hover {
  background: var(--accent-red);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
  position: relative;
  padding-top: 0.75rem;
}

.section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--tech-blue);
}

.section-head h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 0.8rem;
  color: var(--steel-dark);
  letter-spacing: -0.01em;
}

.section-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--tech-blue);
}

.section-sub {
  color: rgba(26, 32, 44, 0.7);
}

.products {
  background: #ffffff;
}

.products-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 32, 44, 0.1);
  box-shadow: 0 15px 40px rgba(26, 32, 44, 0.12);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: rgba(26, 32, 44, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
  backdrop-filter: blur(8px);
}

.specs {
  padding: 0.8rem 1rem;
  width: 100%;
  font-family: 'Inconsolata', monospace;
  font-size: 0.85rem;
  color: rgba(26, 32, 44, 0.9);
  background: rgba(255, 255, 255, 0.9);
}

.product-card h4 {
  padding: 1rem 1rem 0.2rem;
  font-size: 1.2rem;
  color: var(--steel-dark);
}

.product-sub {
  padding: 0 1rem 0.6rem;
  color: rgba(26, 32, 44, 0.6);
}

.product-cta {
  display: inline-block;
  padding: 0 1rem 1.2rem;
  color: var(--tech-blue);
  font-weight: 600;
}

.product-cta:hover {
  color: var(--accent-red);
}

.industries {
  background: #ffffff;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.industry-card {
  background: #ffffff;
  border: 1px solid rgba(26, 32, 44, 0.1);
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 160px 1fr;
  box-shadow: 0 12px 30px rgba(26, 32, 44, 0.08);
}

.industry-image {
  background-size: cover;
  background-position: center;
  min-height: 160px;
}

.industry-body {
  padding: 1.2rem 1.5rem 1.5rem;
}

.industry-card h4 {
  margin-top: 0.7rem;
  color: var(--steel-dark);
}

.industry-card p {
  margin-top: 0.5rem;
  color: rgba(26, 32, 44, 0.7);
  font-size: 0.95rem;
}

.industry-power {
  background-image: url("../images/elektrownie.jpeg");
}

.industry-transformers {
  background-image: url("../images/transformatory.jpeg");
}

.industry-cables {
  background-image: url("../images/kable%20hvmv.jpeg");
  background-position: center;
  background-size: 145%;
}

.industry-offshore {
  background-image: url("../images/offshore%20+%20ev.jpeg");
}

.stats {
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.8rem 1rem;
  border-radius: 0;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.stat-card p {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact {
  background: #ffffff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-details {
  margin-top: 1.5rem;
  color: rgba(247, 250, 252, 0.7);
  display: grid;
  gap: 0.5rem;
}

.lead-form {
  display: grid;
  gap: 1rem;
  background: #ffffff;
  padding: 1.6rem;
  border-radius: 0;
  border: 1px solid rgba(26, 32, 44, 0.1);
}

.lead-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(26, 32, 44, 0.65);
}

.lead-form input,
.lead-form select {
  padding: 0.8rem 0.9rem;
  border-radius: 0;
  border: 1px solid rgba(26, 32, 44, 0.2);
  background: #ffffff;
  color: var(--steel-dark);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--tech-blue);
}

.form-success {
  display: none;
  background: rgba(229, 62, 62, 0.08);
  border: 1px solid rgba(229, 62, 62, 0.35);
  padding: 0.8rem 1rem;
  border-radius: 0;
  color: var(--steel-dark);
  font-size: 0.9rem;
}

footer {
  margin-top: 3rem;
  text-align: center;
  color: rgba(26, 32, 44, 0.6);
  font-size: 0.9rem;
}

.company-info {
  padding: 4rem 6vw 6rem;
  background: var(--tech-blue);
  color: #ffffff;
}

.info-card {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2rem;
}

.info-card h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.info-grid {
  display: grid;
  gap: 1.5rem;
}

.info-grid p {
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

@media (max-width: 1024px) {
  .products-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 6vw;
    top: 72px;
    flex-direction: column;
    gap: 0.8rem;
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 0;
    border: 1px solid rgba(26, 32, 44, 0.1);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  section {
    padding: 4rem 6vw;
  }

  .products-grid,
  .industries-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta.sticky {
    right: 1rem;
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

.reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.slide-left {
  transform: translate3d(-40px, 0, 0);
}

.slide-right {
  transform: translate3d(40px, 0, 0);
}

.slide-up {
  transform: translate3d(0, 40px, 0);
}

.fade-in {
  transform: none;
}
.brand-section {
  background: var(--tech-blue);
  color: #ffffff;
}

.brand-section .section-kicker {
  color: rgba(255, 255, 255, 0.8);
}

.brand-section .section-head h3 {
  color: #ffffff;
}
.narda {
  background: #ffffff;
}

.narda-wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.narda-logo {
  max-width: 220px;
}

.narda-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.narda-content h3 {
  font-size: 2rem;
  color: var(--steel-dark);
  margin-bottom: 0.8rem;
}

.narda-content p {
  color: rgba(26, 32, 44, 0.75);
  font-size: 1.05rem;
}
