/* ═══════════════════════════════════════════════════════════
   HOME — every section used on the front page, in the order
   they appear: hero, about, product categories, design
   principles, industries, challenges, RFQ close. Merged from
   seven separate files on 2026-09-14 — none of them
   ever load anywhere except together, on the front page.
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   HERO — fullscreen looping video + tagline + "View products" CTA
   ═══════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 912px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}


/* ─── Background video ───────────────────────────────────────── */

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: transparent;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(10, 20, 28, 0.25);
  background-image: linear-gradient(to top, rgba(10, 20, 28, 0.55) 0%, transparent 12%);
  pointer-events: none;
}


/* ─── Decorative rule lines ──────────────────────────────────── */

.hero-rule {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.28);
}
.hero-rule--h1 {
  left: 0;
  right: 0;
  top: var(--nav-h, 96px);
  height: 1px;
}
.hero-rule--v {
  top: var(--nav-h, 96px);
  bottom: 0;
  width: 1px;
  left: clamp(300px, calc(100vw - var(--page-pad) - 475px), calc(50vw + 217px));
}


/* ─── Content stack ──────────────────────────────────────────── */

.hero .wrap {
  position: relative;
  z-index: 3;
  min-height: 912px;
  padding-top: 100px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;   /* oli: center */
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;   /* oli: center */
  text-align: left;          /* oli: center */
}

.hero-aside {
  display: flex;
  flex-direction: column;
  max-width: 560px;
  align-items: flex-start;   /* oli: center */
}

.hero-slides {
  display: grid;
  justify-items: start;      /* oli: center — see rida lisandus minu rotatsiooni-versioonis, unustasin selle vasakjoonduse alla viia */
}

.hero-tagline {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--white);
  max-width: 560px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-tagline.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-tagline strong {
  color: var(--white);
  font-weight: 700;
}


/* ─── "View products" CTA (pill + circle, merge on hover) ────── */

.hero-cta-zone {
  padding-top: 40px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.hero-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  background: var(--white);
  border-radius: 100px;
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--black-deep);
  white-space: nowrap;
  transition:
    border-top-right-radius 0.35s var(--ease-out),
    border-bottom-right-radius 0.35s var(--ease-out),
    background 0.25s var(--ease-out),
    color 0.2s var(--ease);
}

.hero-cta-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--rust);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition:
    border-top-left-radius 0.35s var(--ease-out),
    border-bottom-left-radius 0.35s var(--ease-out);
}

.hero-cta:hover .hero-cta-pill {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--rust);
  color: var(--white);
}
.hero-cta:hover .hero-cta-icon {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .hero-tagline { font-size: clamp(18px, 4vw, 28px); }
}

@media (max-width: 1060px) {
  .hero-rule--v { display: none; }
  .hero .wrap { padding-top: 96px; }
  .hero-content { gap: 16px; }
  .hero-cta-zone { display: none; }
}

@media (max-width: 760px) {
  .hero { min-height: 480px; }
  .hero .wrap {
    padding-top: 88px;
    padding-bottom: 56px;
    min-height: 480px;
  }
  .hero-aside { max-width: none; }
  .hero-tagline {
    max-width: none;
    font-size: clamp(16px, 5vw, 22px);
  }
}


/* ─── Reduced motion — pause + hide video, show solid bg ─────── */

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
  .hero {
    background:
      radial-gradient(120% 90% at 100% 40%, rgba(70, 104, 124, 0.38), transparent 58%),
      linear-gradient(158deg, #0b161b 0%, #050F13 56%, #04090c 100%);
  }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT US — two-column intro after hero
   ═══════════════════════════════════════════════════════════ */

:root {
  --glow-x:  86%;
  --glow-x2: 92%;
}

.about-us,
.advantage,
.challenges {
  /* Retoned 26.08 around #101B29, a dark navy, instead of the near-black base
     used before. The top layer used to end on opaque #000000, which was fine
     over near-black but would swallow the navy. Its last stop is now
     translucent, so it reads as a vignette and the base colour stays visible
     through it. Both glow layers are held back so the panel stays dark and the
     hue reads as navy rather than as a lit blue. */
  --dark-panel-bg:
    radial-gradient(ellipse 140% 150% at var(--glow-x) 55%,
      rgba(62,90,120,0.38) 0%,
      rgba(40,64,93,0.24) 25%,
      rgba(20,36,55,0.10) 45%,
      rgba(5,10,18,0.52) 70%),
    radial-gradient(120% 90% at var(--glow-x2) 28%, rgba(70,104,124,0.26), transparent 58%),
    linear-gradient(158deg, #121F2F 0%, #101B29 56%, #0C151F 100%);
}

   .about-us {
  background: var(--dark-panel-bg);
  padding: 64px 0;
  color: var(--white);
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: start;
}
.about-left { padding-right: 32px; }
.about-acc-col {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 32px;
}

.about-statement strong { font-weight: 700; }
.about-statement {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 20px;
}
.about-detail {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0 0 20px;
}
.about-detail:last-child { margin-bottom: 0; }

.about-features {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-feature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 18px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.about-feature:first-child { padding-left: 0; border-left: 0; }
.about-feature:last-child { padding-right: 0; }
.about-feature-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.about-feature-text {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}

.about-col-title,
.about-acc-title {
  font-family: var(--display);
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.about-col-title::after,
.about-acc-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 16px;
  background: var(--rust);
}

.about-acc { background: none; border: 0; border-radius: 0; padding: 0; }
.about-acc-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
.about-acc-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--white);
}
.about-acc-name {
  font-family: var(--display);
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.15s;
}
.about-acc-item.open .about-acc-name { color: var(--rust); }
.about-acc-chev {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s, transform 0.28s ease;
}
.about-acc-chev svg { width: 20px; height: 20px; stroke-width: 3; }
.about-acc-row:hover .about-acc-chev { color: rgba(255,255,255,0.7); }
.about-acc-item.open .about-acc-chev {
  transform: rotate(180deg);
  color: var(--rust);
}
.about-acc-body {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  opacity: 0;
  transition:
    grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
}
.about-acc-item.open .about-acc-body {
  grid-template-rows: minmax(0, 1fr);
  opacity: 1;
}
.about-acc-inner { min-height: 0; overflow: hidden; padding-bottom: 12px; }
.about-acc-inner p {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 12px;
}
.about-acc-inner p:last-child { margin-bottom: 0; }
.about-acc-inner ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.55);
}
.about-acc-inner li + li { margin-top: 4px; }
.about-acc-inner ul:last-child { margin-bottom: 0; }
.about-acc-inner a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-acc-inner a:hover { color: #e8694d; }
@media (prefers-reduced-motion: reduce) {
  .about-acc-body, .about-acc-chev { transition: none; }
}



/* ═══════════════════════════════════════════════════════════
   CAT SHOWCASE V5 — full-width divider-separated category rows
   Each row: title, description+products on left, thumbs, see-all,
   and a big product card with sliding-track gallery + callout.
   ═══════════════════════════════════════════════════════════ */

.cat-showcase {
  background: var(--white);
  padding: 64px 0 80px;
}

#cat-showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cat-showcase-empty {
  padding: 48px 0;
  font-size: 16px;
  color: var(--gray-500);
  text-align: center;
}

/* Section title — short rust rule under "Product categories", replaces the
   generic .section-head-split divider for this section only. */
.cat-showcase .section-head-split {
  margin-bottom: 20px;
}
.cat-showcase .section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 24px;
  background: var(--rust);
}
@media (max-width: 640px) {
  .cat-showcase .section-title::after {
    width: 40px;
    height: 3px;
    margin-top: 18px;
  }
}


/* ─── Row layout ─────────────────────────────────────────────── */

.catv5-divider {
  border: none;
  border-top: 1px solid #e2e5e7;
  margin: 0;
}

.catv5-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  grid-template-areas:
    "title  right"
    "left   right"
    "thumbs right"
    "seeall right";
  column-gap: 64px;
  row-gap: 24px;
  padding: 56px 0;
}
.catv5-title   { grid-area: title; }
.catv5-left    { grid-area: left; }
.catv5-thumbs  { grid-area: thumbs; align-self: start; }
.catv5-right   { grid-area: right; }
.catv5-see-all { grid-area: seeall; align-self: end; }


/* ─── Left column ────────────────────────────────────────────── */

.catv5-title {
  font-family: var(--display);
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: -10px;
}

.catv5-desc {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.catv5-prod-label {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.catv5-prod-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}
.catv5-prod-list li {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  color: var(--gray-700);
  padding-left: 14px;
  position: relative;
}
.catv5-prod-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gray-400);
}


/* ─── Thumbnails ─────────────────────────────────────────────── */

.catv5-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.catv5-thumb {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background: #F5F5F5;
  padding: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s;
  flex-shrink: 0;
}
.catv5-thumb:hover { border-color: var(--gray-300); }
.catv5-thumb.is-active { border-color: var(--rust); }
.catv5-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* ─── "View all" link ────────────────────────────────────────── */

.catv5-see-all {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}
.catv5-see-all:hover { color: var(--rust-deep); }


/* ─── Right: product view card ───────────────────────────────── */

.catv5-card {
  background: var(--img-bg);
  border: 1px solid #e2e5e7;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  height: 460px;
}
.catv5-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img-scrim);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

/* Sliding-track gallery — same mechanism as the product page gallery and the
   lightbox, so images move on translateX instead of swapping src in place. */
.catv5-viewport {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}
.catv5-viewport:active { cursor: grabbing; }
.catv5-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
}
.catv5-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.catv5-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  display: block;
  transform: scale(1.35);
  transform-origin: center;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .catv5-track { transition-duration: 0ms !important; }
}


/* ─── Prev/next arrows ───────────────────────────────────────── */

.catv5-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #e2e5e7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.catv5-arrow:hover {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}
.catv5-arrow--prev { left: 12px; }
.catv5-arrow--next { right: 12px; }
.catv5-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}


/* ─── Callout overlay — full-width glass panel at the bottom ─── */

.catv5-callout {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(128,122,119,0.38);
  border-radius: 0 0 15px 15px;
  padding: 16px 22px 17px;
  z-index: 4;
  box-shadow: 0 -6px 18px rgba(17,29,44,0.04);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name link"
    "label link"
    "price link";
  column-gap: 24px;
  row-gap: 2px;
}
.catv5-callout-name {
  grid-area: name;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
  text-transform: uppercase;
}
.catv5-callout-label {
  grid-area: label;
  font-family: var(--display);
  font-size: 11px;
  color: var(--black);
  letter-spacing: 0.03em;
}
.catv5-callout-price {
  grid-area: price;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
}
.catv5-price--on-request {
  font-size: 15px;
  font-weight: 400;
}
.catv5-callout-link {
  grid-area: link;
  align-self: center;
  justify-self: end;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  height: 44px;
  padding: 0 20px;
  border: 1px solid var(--rust);
  border-radius: 999px;
  background: var(--rust);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.15s, border-color 0.15s;
}
.catv5-callout-link:hover {
  background: var(--rust-deep);
  border-color: var(--rust-deep);
  color: var(--white);
}
.catv5-callout-link:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}
.catv5-callout-link svg { flex-shrink: 0; }


/* ─── Custom CTA row at the bottom ───────────────────────────── */

.cat-custom-cta {
  border-top: 1px solid #e2e5e7;
  padding: 56px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cat-custom-left { flex: 1; max-width: 640px; }
.cat-custom-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 12px;
}
.cat-custom-text {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  color: var(--gray-700);
}
.cat-custom-link {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  transition: color 0.15s;
}
.cat-custom-link:hover { color: var(--rust-deep); }


/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .catv5-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "right"
      "thumbs"
      "left"
      "seeall";
    row-gap: 24px;
    padding: 40px 0;
  }
  .catv5-thumbs { margin-bottom: 0; }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .catv5-row { padding: 48px 0; }
}

@media (max-width: 760px) {
  .cat-custom-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .catv5-card { height: 360px; }
  .catv5-thumb { width: 72px; height: 72px; }

  .about-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .about-acc-col {
    border-left: none;
    padding-left: 0;
  }
 .sectors .wrap {
  padding: 0 1em !important;
 }
}

@media (max-width: 520px) {
  #cat-showcase { gap: 16px; }
  .catv5-row { padding: 28px 0; }
  .catv5-thumbs { margin-bottom: 0; }
  .catv5-callout {
    padding: 14px 12px 15px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name link"
      "label link"
      "price link";
    column-gap: 6px;
    row-gap: 2px;
  }
  .catv5-callout-link {
    justify-self: end;
    font-size: 16px;
    height: 40px;
    padding: 0 16px;
    margin-top: 0;
    white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════════════════════
   ADVANTAGE — 3-panel horizontal accordion. Active panel
   expands (flex: 3.5), others collapse (flex: 1).
   JS toggles .is-active class on hover + click.
   ═══════════════════════════════════════════════════════════ */

.advantage {
    background: var(--dark-panel-bg);
  padding: 80px 0 96px;
      --glow-x: 14%;
    --glow-x2: 8%;
}
.advantage .section-title { color: var(--white); }
.advantage .section-title .accent { color: var(--white); }


/* ─── Accordion container ────────────────────────────────────── */

.adv-accordion {
  display: flex;
  height: 540px;
  gap: 6px;
  max-width: 1384px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}


/* ─── Individual panel ───────────────────────────────────────── */

.adv-panel {
  position: relative;
  flex: 1;
  min-width: 80px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s var(--ease-out);
  isolation: isolate;
  border-radius: 16px;
  background: transparent;
  text-align: left;
  padding: 0;
}
.adv-panel.is-active { flex: 3.5; }

.adv-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s var(--ease-out);
  z-index: 0;
}
.adv-panel.is-active .adv-panel-bg { transform: scale(1.04); }

/* Dark gradient overlay */
.adv-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(5, 15, 19, 0.94) 0%,
    rgba(5, 15, 19, 0.60) 40%,
    rgba(5, 15, 19, 0.20) 100%
  );
}


/* ─── Collapsed state ────────────────────────────────────────── */

.adv-c {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 12px 28px;
  opacity: 1;
  gap: 6px;
  pointer-events: none;
  transition: opacity 0.22s var(--ease);
}
.adv-panel.is-active .adv-c { opacity: 0; }

.adv-c-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.adv-c-label {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  line-height: 1.15;
}


/* ─── Expanded state ─────────────────────────────────────────── */

.adv-e {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 36px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.adv-panel.is-active .adv-e {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 0.40s var(--ease) 0.22s,
    transform 0.40s var(--ease) 0.22s;
}

.adv-e-num {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}
.adv-e-title {
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 16px;
  max-width: 480px;
}
.adv-e-text {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 460px;
}


/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .adv-accordion { height: 460px; }
  .adv-panel.is-active { flex: 3; }
}

@media (max-width: 760px) {
  .advantage { padding: 56px 0; }
  .adv-accordion {
    flex-direction: column;
    height: auto;
    border-radius: 16px;
    gap: 8px;
  }
  .adv-panel {
    min-height: 160px;
    min-width: auto;
    flex: none;
    border-radius: 12px;
  }
  .adv-panel.is-active {
    flex: none;
    min-height: 400px;
  }
  .adv-c {
    flex-direction: row;
    padding: 24px;
    gap: 12px;
    justify-content: flex-start;
  }
  .adv-c-num { margin-bottom: 0; }
  .adv-c-label {
    writing-mode: horizontal-tb;
    transform: none;
    text-align: left;
  }
  .adv-e { padding: 24px; }
  .adv-e-title { font-size: 20px; }
}


/* ═══════════════════════════════════════════════════════════
   SECTORS — horizontal scroll-snap row of 4 industry cards
   + "custom builds" note below
   ═══════════════════════════════════════════════════════════ */

.sectors {
  background: transparent;   /* follows the page background */
  padding: 48px 0 56px;
}


/* ─── Grid (scroll-snap row) ─────────────────────────────────── */

.sectors-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 0 0 16px;
  scrollbar-width: none;
}
.sectors-grid::-webkit-scrollbar { display: none; }


/* ─── Card ───────────────────────────────────────────────────── */

.sector-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  position: relative;
  min-height: 408px;
  overflow: hidden;
  background: #111D2C;   /* fallback tone while the photo loads */
  color: var(--white);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: transform 0.3s var(--ease);
  isolation: isolate;
}
.sector-card:hover { transform: translateY(-4px); }

.sector-card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  transition: transform 0.6s var(--ease);
}
.sector-card:hover .sector-card-bg { transform: scale(1.06); }

/* Bottom-weighted dark scrim: title/description sit at the bottom and need
   the contrast; the top of the photo stays readable. */
.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top,
    rgba(17, 29, 44, 0.85) 0%,
    rgba(17, 29, 44, 0.45) 45%,
    rgba(17, 29, 44, 0.10) 100%);
  border-radius: 16px;
}


/* ─── Card copy (pushed to bottom) ───────────────────────────── */

.sector-copy { margin-top: auto; }

.sector-name {
  font-family: var(--display);
  font-size: 20px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 12px;
}

.sector-text {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: var(--white);
  max-width: 286px;
  margin: 0;
}


/* ─── Custom builds row (below grid) ─────────────────────────── */

.custom-builds-row {
  max-width: 1384px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.custom-builds-row p {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  color: var(--black);
  max-width: 535px;
  margin: 0;
}


/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .sectors-grid { gap: 12px; }
}

@media (max-width: 760px) {
  .sectors { padding: 56px 0; padding-left: 0; padding-right: 0; }
  .sectors .wrap { padding: 0; max-width: 100%; }
  .sectors-grid { padding: 0 var(--page-pad) 16px; }
  .custom-builds-row { padding: 0 var(--page-pad); margin-top: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   CHALLENGES — left: 5-row accordion. Right: shared image swaps
   when an item is opened, top-aligned with the title.
   ═══════════════════════════════════════════════════════════ */

.challenges {
  background: var(--dark-panel-bg);
  padding: 80px 0 96px;
}
.challenges .section-title { color: var(--white); }
.challenges .section-title .accent { color: var(--white); }


/* ─── Two-column grid ────────────────────────────────────────── */

.challenges-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  row-gap: 0;
  align-items: start;
  max-width: 1384px;
  margin: 0 auto;
}
.challenges-grid .section-head-split { grid-column: 1 / -1; grid-row: 1; align-self: start; }
.challenges-list  { grid-column: 1; grid-row: 2; }
.challenges-image { grid-column: 2; grid-row: 1 / span 2; align-self: start; }


/* ─── List items ─────────────────────────────────────────────── */

.challenges-list {
  display: flex;
  flex-direction: column;
}

.challenge-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  cursor: pointer;
}
.challenge-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.challenge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.challenge-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.challenge-name {
  font-family: var(--display);
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--white);
}
.challenge-item.open .challenge-name { color: var(--rust); }

.challenge-chev {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s, transform 0.28s ease;
  flex-shrink: 0;
}
.challenge-chev svg {
  width: 20px;
  height: 20px;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.challenge-item.open .challenge-chev {
  transform: rotate(180deg);
  color: var(--rust);
}


/* ─── Expandable body ────────────────────────────────────────── */

.challenge-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding-top 0.3s var(--ease);
  padding-left: 0;
}
.challenge-item.open .challenge-body {
  max-height: 240px;
  padding-top: 12px;
  padding-bottom: 8px;
}
.challenge-body p {
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 620px;
  margin: 0;
}

/* Always hidden — the shared side image is used at every breakpoint, phone
   included, so this per-row image never actually shows. */
.challenge-body-img { display: none; }


/* ─── Right column image — no frame, no crop ─────────────────── */

.challenges-image {
  position: relative;
}
.challenges-image img,
.challenges-image video {
  display: block;
  max-width: 100%;
  max-height: 470px;
  width: auto;
  height: auto;
  margin: 0 auto;
}


/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1180px) {
  /* One column: title, image, list. Explicit row placement from the two-column
     layout has to be undone or the image would sit on top of them. */
  .challenges-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 40px; }
  .challenges-grid .section-head-split { grid-column: 1; grid-row: auto; order: -2; margin-bottom: 0; }
  .challenges-image { grid-column: 1; grid-row: auto; order: -1; }
  .challenges-list  { grid-column: 1; grid-row: auto; order: 1; }
}

@media (max-width: 760px) {
  .challenges { padding: 56px 0; }
  .challenge-item.open .challenge-body { max-height: 700px; }
  .challenge-body p { max-width: none; }
}

/* ═══════════════════════════════════════════════════════════
   RFQ — bottom-of-homepage contact CTA over looping video
   ═══════════════════════════════════════════════════════════ */

.rfq {
  position: relative;
  padding: 80px 0 96px;
  background: var(--black-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}


/* ─── Background video + scrim ───────────────────────────────── */

.rfq-bg-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rfq::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 26, 31, 0.60);
}


/* ─── CTA stack (centered, no form) ──────────────────────────── */

.rfq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0;
}

.rfq-info-title {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.143;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 16px;
  max-width: none;
}
.rfq-info-title .accent { font-weight: 600; }

.rfq-info-note {
  font-family: var(--display);
  font-size: 18px;
  line-height: 32px;
  color: var(--gray-400);
  margin: 0 0 28px;
  max-width: 600px;
}
.rfq-info-note strong { color: var(--white); font-weight: 700; }
.rfq-info-note a { color: var(--rust); }
.rfq-info-note a:hover { color: var(--rust-deep); }


/* ─── Submit/CTA button (also reused on the contact form) ────── */

.rfq-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--rust);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: var(--display);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.rfq-submit:hover { background: var(--rust-deep); }
.rfq-submit svg { width: 20px; height: 20px; }

.rfq-cta-btn { align-self: center; }


/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 760px) {
  .rfq { padding: 56px 0; }
  .rfq-info-title { font-size: clamp(28px, 7vw, 40px); }
  .rfq-info-note { font-size: 16px; line-height: 28px; }
}
