/* =========================================================
   DESIGN TOKENS — derived from the Elektrotechnik logo
   (ink-black wordmark + electric-green bolt). Green is kept
   as a minor accent; amber stands in as the energetic accent
   color for CTAs/links so the palette doesn't read "all green".
   ========================================================= */
:root {
  --ink: #15171b;
  --ink-soft: #5c6068;
  --paper: #ffffff;
  --paper-dim: #f4f5f7;

  --charcoal-900: #0d0e11;
  --charcoal-800: #1a1d22;
  --charcoal-700: #262a31;

  --bronze-900: #201409;
  --bronze-800: #4a3016;
  --bronze-600: #8a6530;

  --brand-green-700: #0f5c31;
  --brand-green-600: #146b39;
  --brand-green-500: #1f9c4d;
  --brand-green-100: #e6f6ec;

  --accent-500: #f0a828;
  --accent-600: #d38f18;
  --accent-700: #b06e0e;

  --gold-300: #f6dfa0;
  --gold-500: #e0ac4a;

  --green-600: #00a13d;
  --green-700: #178a3d;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
}

a {
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid var(--accent-500);
  outline-offset: 2px;
}

.container-xl {
  max-width: 1200px;
}

/* =========================================================
   HEADER
   Overlays the hero transparently (matches reference), then
   solidifies to a white bar once the page is scrolled so nav
   stays usable over the rest of the page.
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #fff;
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--paper);
  border-bottom: 1px solid #eceded;
  box-shadow: 0 6px 20px rgba(20, 20, 30, 0.05);
}

/* spacer so hero can render full-bleed while page content below
   the hero isn't hidden behind the fixed bar */
.header-spacer {
  height: 0;
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.brand-logo--white {
  display: block;
}
.brand-logo--color {
  display: none;
}
.site-header.is-scrolled .brand-logo--white {
  display: none;
}
.site-header.is-scrolled .brand-logo--color {
  display: block;
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: #000;
  padding: 0.5rem 0.9rem;
  transition: color 0.15s ease;
}

.site-header.is-scrolled .navbar-nav .nav-link {
  color: var(--ink);
}

.navbar-nav .nav-link:hover {
  color: var(--green-600);
}
.site-header.is-scrolled .navbar-nav .nav-link:hover {
  color: var(--green-600);
}

.header-icons {
  justify-content: flex-end;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #1565C0;
  font-size: 1.05rem;
  border-radius: 50%;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.site-header.is-scrolled .icon-btn {
  color: #1565C0;
}

.icon-btn:hover {
  background: #1565C0;
}

.icon-btn:hover i {
  color: #fff;
}
.site-header.is-scrolled .icon-btn:hover {
  background: #1565C0;
  color: #fff;
}

.icon-divider {
  width: 1px;
  height: 20px;
  background: rgba(182, 181, 181, 0.671);
}
.site-header.is-scrolled .icon-divider {
  background: #e2e3e6;
}

.foot-icons a {
  color: #1565C0;
  background: #fff;
  padding: 6px 8px 6px 8px;
  border-radius: 50%;
  font-size: 20px;
  transition: 0.3s ease;
}

.foot-icons a:hover {
  color: #fff;
  background: #1565C0;
  transition: 0.3s ease-in-out;
}

/* mobile collapse needs a solid backdrop since the header itself
   is transparent while over the hero */
@media (max-width: 991.98px) {
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    background: rgba(13, 14, 17, 0.97);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem 1.25rem;
    margin-top: 0.75rem;
  }
  .site-header.is-scrolled .navbar-collapse.show,
  .site-header.is-scrolled .navbar-collapse.collapsing {
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(20, 20, 30, 0.12);
  }
  .site-header.is-scrolled .navbar-nav .nav-link {
    color: var(--ink);
  }
  .navbar-nav .nav-link {
    color: #fff;
  }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-slide--award {
  background:
    radial-gradient(
      ellipse at 80% 55%,
      rgba(246, 223, 160, 0.4),
      transparent 55%
    ),
    linear-gradient(
      200deg,
      #241809 0%,
      #4a3016 32%,
      #8a6530 62%,
      #d3ac6c 88%,
      #e9d3a4 100%
    );
}

.hero-slide--launch {
  background:
    radial-gradient(
      ellipse at 80% 55%,
      rgba(246, 223, 160, 0.28),
      transparent 55%
    ),
    linear-gradient(200deg, #1d140b 0%, #4a3016 40%, #7a4f22 100%);
}

.hero-slide--training {
  background:
    radial-gradient(
      ellipse at 80% 55%,
      rgba(180, 205, 255, 0.28),
      transparent 55%
    ),
    linear-gradient(200deg, #0c142c 0%, #1c3562 55%, #2a4a8a 100%);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.55) 1px,
    transparent 1px
  );
  background-size: 46px 46px;
  opacity: 0.05;
  pointer-events: none;
}

.hero-award-copy {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.laurel {
  width: 46px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.9;
}
.laurel-right {
  transform: scaleX(-1);
}

.hero-award-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hero-year {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(
    180deg,
    var(--gold-300),
    var(--gold-500) 60%,
    #a9762c
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--gold-300);
  margin-top: 0.35rem;
}

.hero-trophy-wrap {
  position: relative;
  display: inline-block;
}
.hero-trophy-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(255, 235, 180, 0.5),
    transparent 65%
  );
  z-index: 0;
}
.hero-trophy {
  position: relative;
  z-index: 1;
  width: min(280px, 70%);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
}

.hero-eyebrow {
  color: var(--paper);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.hero-heading {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.89);
  max-width: 60ch;
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 1.5rem;
}

.hero-sheet {
  width: min(220px, 60%);
  opacity: 0.95;
}

.btn-hero-cta {
  background: var(--green-600);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.btn-hero-cta:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-1px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 5;
  opacity: 0.85;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.hero-arrow:hover {
  opacity: 1;
}
.hero-arrow--prev {
  left: 1rem;
}
.hero-arrow--prev:hover {
  transform: translateY(-50%) translateX(-3px);
}
.hero-arrow--next {
  right: 1rem;
}
.hero-arrow--next:hover {
  transform: translateY(-50%) translateX(3px);
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 5;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-dots button {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.hero-dots button.active {
  width: 34px;
  background: var(--accent-500);
}

.hero-play-pause {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0.9;
}
.hero-play-pause:hover {
  opacity: 1;
}

/* =========================================================
   SPLIT SECTIONS (text / image)
   ========================================================= */
.split-section {
  padding: 70px 0;
}

.split-heading {
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

.split-heading-h3 {
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  /* max-width: 22ch; */
}

.split-copy {
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.btn-dark-pill {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  display: inline-block;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.btn-dark-pill:hover {
  background: var(--green-700);
  color: #fff;
  transform: translateY(-1px);
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 7;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   BRANDS / PRODUCT SLIDER
   ========================================================= */
.brands-section {
  padding-block: 70px;
  background: #eff8fa96;
}

.brands-head {
  margin-bottom: 2.5rem;
}

.section-heading {
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  max-width: 26ch;
}

.btn-brand-cta {
  background: var(--green-600);
  color: var(--paper);
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  display: inline-block;
  transition: background 0.15s ease;
}
.btn-brand-cta:hover {
  background: var(--green-700);
  color: var(--paper);
}

.product-slider {
  overflow: hidden;
}

.product-track {
  display: flex;
  gap: 1.5rem;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 0.7, 0.32, 1);
}

.product-card {
  position: relative;
  flex: 0 0 clamp(240px, 27vw, 320px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid #ececee;
}

.product-card__top {
  padding: 0.95rem 1.1rem 0.8rem;
  background: #fff;
}

.product-card__brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 0.15rem;
}
.product-card__brand span {
  color: var(--accent-700);
}

.product-card__tagline {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0;
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-dim);
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

/* concave corner-cut, like the reference cards */
/* .product-card__notch {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: radial-gradient(
    circle at top left,
    transparent 34px,
    var(--paper) 35px
  );
  z-index: 1;
  pointer-events: none;
} */

.product-card__name {
  position: absolute;
  left: 1.1rem;
  bottom: 0.8rem;
  z-index: 1;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.6);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.product-card__overlay {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  z-index: 2;
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.8, 0.32, 1),
    opacity 0.25s ease;
}

.product-card:hover .product-card__overlay,
.product-card:focus-within .product-card__overlay {
  transform: translateY(0);
  opacity: 1;
}

.product-card:hover .product-card__name,
.product-card:focus-within .product-card__name {
  opacity: 0;
  transform: translateY(10px);
}

.product-card__overlay-title {
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.product-card__overlay-copy {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

.product-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.product-card__links a {
  color: #1565C0;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.15s ease;
}
.product-card__links a:hover {
  gap: 0.5rem;
  color: #0D3B66;
}

.product-slider__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.product-progress {
  flex: 1 1 auto;
  height: 3px;
  background: #eceded;
  border-radius: 999px;
  overflow: hidden;
}

.product-progress__bar {
  height: 100%;
  width: 20%;
  background: #1565C0;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.product-slider__buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.round-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #1565C0;
  background: #1565C0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
  background 0.15s ease,
  color 0.15s ease;
}
.round-btn:hover {
  background: #0D3B66;
  border: 1px solid #0D3B66;
  color: #fff;
}
.round-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* =========================================================
   VERACITY SECTION
   ========================================================= */
.veracity-section {
  /* background: linear-gradient(160deg, var(--charcoal-900), var(--charcoal-800)); */
  /* background-color: #0D3B66; */
  background: url(../images/why-choose-elektrotechnic.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-block: 70px;
}

.veracity-brand {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 2.4rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.veracity-brand span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.87);
  margin-top: 0.35rem;
}

.veracity-copy {
  color: rgba(255, 255, 255, 0.952);
  max-width: 38ch;
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 1.75rem;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-500);
  color: var(--ink);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background 0.15s ease;
}
.btn-learn-more:hover {
  background: var(--accent-600);
  color: var(--ink);
}

.veracity-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  height: 100%;
  color: #fff;
}
.veracity-card--dark {
  background: #fff;
}

.veracity-card i {
  font-size: 2rem;
  /* color: var(--brand-green-500); */
  color: #1565C0;
  margin-bottom: 1rem;
  display: inline-block;
}

.veracity-card h3 {
  font-size: 1.4rem;
  color: #000;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.veracity-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   CAREERS SECTION
   ========================================================= */
.career-section {
  background: #eff8fa96;
  padding-block: 70px;
}

.career-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(20, 20, 30, 0.06);
}

.career-copy {
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
}

.career-copy h2 {
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  margin-bottom: 1.1rem;
  max-width: 18ch;
}

.career-copy p {
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 40ch;
  margin-bottom: 1.75rem;
}

.btn-careers {
  background: var(--green-600);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  display: inline-block;
  transition: background 0.15s ease;
}
.btn-careers:hover {
  background: var(--green-700);
  color: #fff;
}

.career-media {
  position: relative;
  min-height: 340px;
  height: 100%;
  /* border-radius: 30% 0 0 30%; */
  overflow: hidden;
  /* clip-path: circle(60% at 60% 50%); */
  clip-path: ellipse(70% 70% at 75% 50%);
}
.career-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0D3B66;
  color: rgba(255, 255, 255, 0.897);
  padding: 4rem 0 1.5rem;
}

.footer-logo {
  margin-bottom: 0.9rem;
}
.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-copy {
  line-height: 28px;
  max-width: 45ch;
  font-size: 15px;
}

.footer-heading {
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.site-footer ul a {
  color: rgba(255, 255, 255, 0.815);
  font-size: 0.9rem;
  transition: color 0.15s ease;
}
.site-footer ul a:hover {
  color: var(--paper);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 15px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .hero-slide {
    min-height: 680px;
    padding: 3rem 0;
  }
  .hero-award-copy {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .hero-trophy-wrap {
    margin-top: 2rem;
  }
  .split-heading,
  .split-copy {
    max-width: none;
  }
  .career-media {
    border-radius: 0;
    min-height: 280px;
  }
  .veracity-brand {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .split-section,
  .brands-section,
  .veracity-section,
  .career-section {
    padding: 3.5rem 0;
  }
  .hero-slide {
    min-height: 620px;
  }
  .laurel {
    width: 32px;
  }
  .product-card {
    flex-basis: 78vw;
  }
  .career-copy {
    padding: 2.5rem 1.5rem;
  }
  .btn-brand-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .hero-award-copy {
    gap: 0.6rem;
  }
  .hero-year {
    font-size: 2.6rem;
  }
  .hero-title {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }
}
