/* Red-language concept.
   The production homepage stays intact; these are small brand accents only. */

.red-language {
  --orano-red: #f04438;
  --platinum: #e5e1dc;
}

.red-language ::selection {
  background: var(--orano-red);
  color: #fff;
}

.red-language .nav {
  border-bottom-color: rgba(240, 68, 56, 0.18);
}

.red-language .nav::after {
  content: "";
  position: absolute;
  left: var(--gutter);
  bottom: -1px;
  width: clamp(46px, 6vw, 88px);
  height: 1px;
  background: var(--orano-red);
}

.red-language .nav-links a:hover,
.red-language .footer-links a:hover {
  color: var(--orano-red);
}

.red-language .hero-glow {
  background: radial-gradient(circle, rgba(240, 68, 56, 0.10), transparent 62%);
}

.red-language .hero-promise .dim,
.red-language .cta h2 span {
  color: var(--orano-red) !important;
}

.red-language .kicker,
.red-language .step-num,
.red-language .step-num-mobile {
  color: var(--orano-red);
}

.red-language .story-rail {
  background: rgba(240, 68, 56, 0.15);
}

.red-language .story-rail .fill {
  background: var(--orano-red);
  box-shadow: 0 0 16px rgba(240, 68, 56, 0.34);
}

.red-language .stage::before {
  background: rgba(240, 68, 56, 0.35);
}

.red-language .stage.active::before {
  background: var(--orano-red);
  box-shadow: 0 0 0 5px rgba(240, 68, 56, 0.10);
}

.red-language .feature .f-icon {
  color: var(--orano-red);
}

.red-language .fv-bars span:nth-child(4) {
  background: var(--orano-red);
}

.red-language .fv-steps .step.on .chk {
  background: var(--orano-red);
  border-color: var(--orano-red);
}

.red-language .fv-steps {
  gap: 12px;
}

.red-language .fv-agents {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.red-language .showcase-item .label {
  color: #8f7471;
}

.red-language .footer {
  border-top-color: rgba(240, 68, 56, 0.18);
}

.red-language .footer-top {
  position: relative;
}

.red-language .footer-top::after {
  content: "";
  width: 42px;
  height: 2px;
  margin-top: 8px;
  background: var(--orano-red);
}

@media (max-width: 720px) {
  .red-language .nav::after {
    left: 20px;
  }

  .red-language .step-num-mobile {
    border-color: rgba(240, 68, 56, 0.20);
  }
}

/* Preserve the compact landscape/tablet treatment used on the production
   homepage. It prevents the four feature cells from becoming tall empty
   panels on short, medium-width viewports. */
@media (min-width: 721px) and (max-width: 1100px),
       (min-width: 721px) and (max-height: 650px) {
  .red-language .feature {
    min-height: 250px;
    padding: 32px;
    gap: 16px;
  }

  .red-language .feature .f-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
  }

  .red-language .feature .f-icon svg {
    width: 32px;
    height: 32px;
  }

  .red-language .feature h3 {
    font-size: 21px;
  }

  .red-language .fv-bars {
    height: 52px;
  }

  .red-language .fv-socials img {
    max-width: 250px;
  }

  .red-language .fv-steps {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .red-language .story-rail .fill {
    box-shadow: none;
  }
}
