/* ============================================================
   Detail pages (metal / market)
   Ported from the static `ofc-*` / `hsr-*` inline styles into a
   consolidated `det-*` design system shared across detail blocks.
   Loaded conditionally via inc/enqueue.php when any rautomead/detail-*
   block is present.
   ============================================================ */

/* ---- Shared eyebrow label ---- */
.det-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #CE4405;
  margin-bottom: 1rem;
}

.det-label__line {
  width: 2rem;
  height: 1px;
  background: #CE4405;
}

.det-label--center {
  justify-content: center;
}

/* light variant keeps the same orange text; included for clarity/hooks */
.det-label--light {
  color: #CE4405;
}

/* ---- Uploaded SVG icon, recoloured via CSS mask ---- */
/* Inherits its colour from the surrounding icon box's `color` (currentColor). */
.det-icon {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--icon-url) center / contain no-repeat;
          mask: var(--icon-url) center / contain no-repeat;
}

.det-spec-card__icon .det-icon {
  width: 18px;
  height: 18px;
}

.det-step-card__icon .det-icon {
  width: 16px;
  height: 16px;
}

.det-feature__prop-icon .det-icon {
  width: 20px;
  height: 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.det-hero {
  position: relative;
  min-height: min(90vh, 980px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0A0A0A;
}

.det-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.det-hero__bg video,
.det-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.det-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0.72) 30%,
    rgba(10, 10, 10, 0.32) 60%,
    rgba(10, 10, 10, 0.17) 100%
  );
}

.det-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.det-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #CE4405;
  margin-bottom: 1.5rem;
}

.det-hero__label-line {
  width: 2rem;
  height: 1px;
  background: #CE4405;
}

.det-hero__title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
}

/* Compact hero title (e.g. electrical-power-communications, longer title). */
.det-hero--title-compact .det-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.det-hero__body {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0;
}

/* ============================================================
   SPECIFICATIONS (light)
   ============================================================ */
.det-specs {
  background: #F5F3F0;
  padding: 8rem 2rem;
  position: relative;
}

.det-specs__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.det-specs__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 4rem;
  letter-spacing: -0.02em;
}

.det-specs__grid {
  display: grid;
  gap: 1.5rem;
}

.det-specs__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 1024px) {
  .det-specs__grid--4,
  .det-specs__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .det-specs__grid--4,
  .det-specs__grid--3 {
    grid-template-columns: 1fr;
  }
}

.det-spec-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.det-spec-card:hover {
  border-color: rgba(206, 68, 5, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.det-spec-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(206, 68, 5, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #CE4405;
}

.det-spec-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #1A1A1A;
  margin: 0 0 0.5rem;
}

.det-spec-card__value {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
  margin: 0;
}

.det-specs__cta {
  margin-top: 3rem;
  text-align: center;
}

.det-specs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #CE4405;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.det-specs__link:hover {
  gap: 0.75rem;
}

/* Statement box — matches the static `*-characteristics__statement` card. */
.det-specs__statement {
  margin-top: 3rem;
  padding: 2rem 2.5rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  text-align: center;
}

.det-specs__statement p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.det-specs__statement p:last-child {
  margin-bottom: 0;
}

.det-specs__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.det-specs__tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(206, 68, 5, 0.08);
  border: 1px solid rgba(206, 68, 5, 0.2);
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #CE4405;
}

/* ============================================================
   TRUSTED BY (dark)
   ============================================================ */
.det-trusted {
  background: #111111;
  padding: 6rem 2rem;
}

.det-trusted__inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.det-trusted__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 4rem;
  letter-spacing: -0.02em;
}

.det-trusted__grid {
  display: grid;
  grid-template-columns: repeat(var(--tg-cols, 3), 1fr);
  gap: 2rem;
  max-width: var(--tg-mw, none);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .det-trusted__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.det-trusted__card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.det-trusted__card:hover {
  border-color: rgba(206, 68, 5, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Per-page logo treatments (match each static page exactly):
   --fill      : logo stretched to the card (OFC, low-alloyed)
   --contained : natural-size logo, roomy card (brasses, silver-gold, + placeholder pages)
   --compact   : natural-size logo, tighter card (volatile elements) */
.det-trusted--fill .det-trusted__card {
  min-height: 160px;
  padding: 0;
}
.det-trusted--fill .det-trusted__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.det-trusted--contained .det-trusted__card {
  min-height: 140px;
  padding: 3rem 2rem;
}

.det-trusted--compact .det-trusted__card {
  min-height: 120px;
  padding: 1.5rem 2rem;
}

/* Constrained logo for contained/compact — per-page max dimensions come from
   the --tlogo-mw / --tlogo-mh CSS vars set inline on the section (matches the
   static, which sizes each logo bespoke, e.g. brasses 220x80, silver-gold
   280x120, volatile 300x140). */
.det-trusted--contained .det-trusted__logo,
.det-trusted--compact .det-trusted__logo {
  width: var(--tlogo-w, auto);
  max-width: var(--tlogo-mw, 220px);
  max-height: var(--tlogo-mh, 80px);
  object-fit: contain;
}

/* Text fallback when a card has a company name but no logo image (matches the
   static placeholder cards, e.g. brazing/soldering/ferrous/zinc). */
.det-trusted__logo--text {
  max-width: none;
  max-height: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

/* ============================================================
   EQUIPMENT (light)
   ============================================================ */
.det-equipment {
  background: #F5F3F0;
  padding: 6rem 2rem;
}

.det-equipment__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.det-equipment__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 3rem;
  letter-spacing: -0.02em;
}

.det-equipment__grid {
  display: grid;
  gap: 2rem;
}

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

.det-equipment__grid--4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .det-equipment__grid--2,
  .det-equipment__grid--4 {
    grid-template-columns: 1fr;
  }
}

/* A lone equipment card spans the full grid width (matches the static
   `style="grid-column: 1 / -1"` on single-card pages, e.g. brazing/zinc). */
.det-equipment__card:only-child {
  grid-column: 1 / -1;
}

.det-equipment__card {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.det-equipment__card:hover {
  border-color: rgba(206, 68, 5, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.det-equipment__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.det-equipment__caption {
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1A1A;
}

/* Dark theme variant */
.det-equipment--dark {
  background: #111111;
}

.det-equipment--dark .det-equipment__heading {
  color: #fff;
}

.det-equipment--dark .det-equipment__card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.det-equipment--dark .det-equipment__card:hover {
  border-color: rgba(206, 68, 5, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.det-equipment--dark .det-equipment__caption {
  color: #fff;
}

/* ============================================================
   PROCESS (dark, auto-numbered)
   ============================================================ */
.det-process {
  background: #111111;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.det-process__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.det-process__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 4rem;
  letter-spacing: -0.02em;
}

.det-process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.det-process__steps::before {
  content: '';
  position: absolute;
  top: 4.75rem;
  left: calc(33.333% / 2);
  right: calc(33.333% / 2);
  height: 1px;
  background: rgba(206, 68, 5, 0.2);
  z-index: 1;
}

.det-step-card {
  position: relative;
  padding: 2.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.4s ease, background 0.4s ease;
}

.det-step-card:hover {
  border-color: rgba(206, 68, 5, 0.25);
  background: rgba(206, 68, 5, 0.03);
}

.det-step-card__number {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  -webkit-text-stroke: 0;
  margin-bottom: 1.75rem;
}

.det-step-card:hover .det-step-card__number {
  color: #e8590c;
}

.det-step-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(206, 68, 5, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CE4405;
  margin-bottom: 1.25rem;
}

.det-step-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.75rem;
}

.det-step-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

@media (max-width: 900px) {
  .det-process__steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .det-process__steps::before {
    display: none;
  }
  .det-step-card__number {
    font-size: 3.5rem;
  }
}

/* ============================================================
   INTRO (light, card grid)
   ============================================================ */
.det-intro {
  background: #F5F3F0;
  padding: 8rem 2rem;
  position: relative;
}

.det-intro--white {
  background: #fff;
}

.det-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.det-intro__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 720px;
}

.det-intro__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 720px;
}

.det-intro__text p {
  margin: 0 0 1.5rem;
}

.det-intro__text--foot {
  margin-top: 3rem;
}

.det-intro__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.det-intro__cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 3-up grids collapse straight to 1 column on tablet (matches the static). */
@media (max-width: 768px) {
  .det-intro__cards:not(.det-intro__cards--4) {
    grid-template-columns: 1fr;
  }
}

/* 4-up grids (precious-metals industries) step 4 -> 2 -> 1. */
@media (max-width: 900px) {
  .det-intro__cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .det-intro__cards--4 {
    grid-template-columns: 1fr;
  }
}

/* SVG icon inside the intro card chip. */
.det-intro-card__icon .det-icon {
  width: 24px;
  height: 24px;
}

.det-intro-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.det-intro-card:hover {
  border-color: rgba(206, 68, 5, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.det-intro-card__glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(206, 68, 5, 0.04), transparent 50%);
  pointer-events: none;
}

.det-intro-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(206, 68, 5, 0.08);
  border-radius: 0.75rem;
  color: #CE4405;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.det-intro-card__icon span {
  font-size: 1.5rem;
  line-height: 1;
}

.det-intro-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 1;
}

.det-intro-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   ALLOYS (white, designation cards)
   ============================================================ */
.det-alloys {
  background: #fff;
  padding: 8rem 2rem;
  position: relative;
}

.det-alloys__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.det-alloys__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
}

.det-alloys__text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 720px;
}

.det-alloys__text p {
  margin: 0 0 1.5rem;
}

.det-alloys__text--foot {
  margin-top: 3rem;
}

.det-alloys__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .det-alloys__grid {
    grid-template-columns: 1fr;
  }
}

.det-alloy-card {
  background: #F5F3F0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.det-alloy-card:hover {
  border-color: rgba(206, 68, 5, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.det-alloy-card__glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(206, 68, 5, 0.03), transparent 50%);
  pointer-events: none;
}

.det-alloy-card__designation {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #CE4405;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.det-alloy-card__name {
  font-size: 1.375rem;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 1rem;
  position: relative;
  z-index: 1;
}

.det-alloy-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FEATURE (dark split over photo)
   ============================================================ */
.det-feature {
  background: #1A1A1A;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.det-feature__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.det-feature__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.det-feature__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.5) 50%,
    rgba(26, 26, 26, 0.7) 100%
  );
}

.det-feature__glow {
  position: absolute;
  top: 0;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(206, 68, 5, 0.1), transparent 70%);
  pointer-events: none;
}

.det-feature__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .det-feature__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.det-feature__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 2rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.det-feature__text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.det-feature__text p {
  margin: 0 0 1.25rem;
}

.det-feature__text p:last-child {
  margin-bottom: 0;
}

.det-feature__properties {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.det-feature__properties--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
  .det-feature__properties {
    grid-template-columns: 1fr;
  }
}

.det-feature__prop {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease;
}

.det-feature__prop:hover {
  border-color: rgba(206, 68, 5, 0.3);
}

.det-feature__prop-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(206, 68, 5, 0.12);
  border-radius: 0.625rem;
  color: #CE4405;
  margin: 0 auto 1rem;
}

.det-feature__prop-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.det-feature__prop-value {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.det-feature__image {
  border-radius: 1rem;
  overflow: hidden;
}

.det-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   CAPABILITIES (dark, stat cards — precious-metals)
   ============================================================ */
.det-capabilities {
  background: #1A1A1A;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.det-capabilities__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.det-capabilities__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.det-capabilities__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.5) 50%, rgba(26, 26, 26, 0.7) 100%);
}

.det-capabilities__glow {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(206, 68, 5, 0.08), transparent 70%);
  pointer-events: none;
}

.det-capabilities__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.det-capabilities__heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 3.5rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 640px;
}

.det-capabilities__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .det-capabilities__cards {
    grid-template-columns: 1fr;
  }
}

.det-cap-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  transition: border-color 0.4s ease, transform 0.4s ease;
  overflow: hidden;
}

.det-cap-card:hover {
  border-color: rgba(206, 68, 5, 0.35);
  transform: translateY(-3px);
}

.det-cap-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #CE4405, transparent);
  border-radius: 4px 0 0 4px;
}

.det-cap-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(206, 68, 5, 0.1);
  border-radius: 0.875rem;
  color: #CE4405;
  margin-bottom: 1.75rem;
}

.det-cap-card__icon .det-icon {
  width: 24px;
  height: 24px;
}

.det-cap-card__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.det-cap-card__stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.det-cap-card__stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: #CE4405;
  letter-spacing: -0.03em;
}

.det-cap-card__stat-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.det-cap-card__text {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ============================================================
   FORMATS (light, grouped item lists — precious-metals)
   ============================================================ */
.det-formats {
  background: #F5F3F0;
  padding: 8rem 2rem;
  position: relative;
}

.det-formats__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.det-formats__heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #1A1A1A;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.det-formats__intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 720px;
  margin: 0 0 3.5rem;
}

.det-formats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .det-formats__grid {
    grid-template-columns: 1fr;
  }
}

.det-format-group {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.det-format-group:hover {
  border-color: rgba(206, 68, 5, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.det-format-group__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.det-format-group__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(206, 68, 5, 0.08);
  border-radius: 0.75rem;
  color: #CE4405;
  flex-shrink: 0;
}

.det-format-group__icon .det-icon {
  width: 24px;
  height: 24px;
}

.det-format-group__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1A1A1A;
  margin: 0;
}

.det-format-group__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.det-format-group__list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(206, 68, 5, 0.2);
}

.det-format-group__item-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1A1A1A;
}

.det-format-group__item-spec {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.det-formats__closing {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 720px;
  margin-top: 3rem;
}
