/* Home page sections, copied from the old live site (HTML widgets built Oct 2026).
   Hero (.radi-hero-split), counters (.radi-stats-strip), partners, videos (.rvid),
   why Radi (.rpillars), how it works (.rsj), clients (.rcl). Only asset paths and
   the partner grid columns were changed. */

/* ---- Hero ---- */
.radi-hero-split { background: #1B2A4A; color: #ffffff; padding: 84px 28px 88px; width: 100%; overflow: hidden; position: relative; }
.radi-hero-split * { box-sizing: border-box; }
.radi-hero-split-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 42px; align-items: center; }
.radi-hero-split-content { max-width: 760px; position: relative; z-index: 2; }
.radi-hero-split-eyebrow { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.74); font-family: "Helvetica Neue", Arial, sans-serif; }
.radi-hero-split h1 { margin: 0 0 20px; max-width: 11ch; font-size: clamp(42px, 5.3vw, 74px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; color: #ffffff; font-family: "Helvetica Neue", Arial, sans-serif; }
.radi-hero-split p { margin: 0 0 30px; max-width: 60ch; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; color: rgba(255,255,255,0.88); font-family: "Helvetica Neue", Arial, sans-serif; }
.radi-hero-split-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.radi-hero-split-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 14px; text-decoration: none; font-size: 15px; font-weight: 700; font-family: "Helvetica Neue", Arial, sans-serif; transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.radi-hero-split-btn.primary { background: #c61f3a; color: #ffffff; border: 2px solid #c61f3a; }
.radi-hero-split-btn.primary:hover { transform: translateY(-2px); background: #ac1932; border-color: #ac1932; }
.radi-hero-split-btn.secondary { background: transparent; color: #ffffff; border: 2px solid rgba(255,255,255,0.30); }
.radi-hero-split-btn.secondary:hover { transform: translateY(-2px); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.44); }
.radi-hero-split-meta { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.72); font-family: "Helvetica Neue", Arial, sans-serif; }
.radi-hero-split-visual { display: flex; align-items: center; justify-content: center; min-height: 360px; position: relative; z-index: 1; }
.radi-hero-split-logo { display: block; width: min(430px, 100%); max-width: 100%; height: auto; opacity: 0; transform: translateX(34px) scale(0.98); transition: opacity 1.25s ease, transform 1.25s ease; filter: drop-shadow(0 20px 44px rgba(0,0,0,0.20)); }
.radi-hero-split-logo.is-visible { opacity: 1; transform: translateX(0) scale(1); }
.no-js .radi-hero-split-logo { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .radi-hero-split { padding: 64px 20px 68px; }
  .radi-hero-split-inner { grid-template-columns: 1fr; gap: 26px; }
  .radi-hero-split-content { max-width: 100%; }
  .radi-hero-split h1 { max-width: none; }
  .radi-hero-split-visual { min-height: auto; }
  .radi-hero-split-logo { width: min(280px, 68%); }
}
@media (max-width: 560px) {
  .radi-hero-split { padding: 54px 16px 58px; }
  .radi-hero-split h1 { font-size: clamp(34px, 9vw, 50px); }
  .radi-hero-split p { font-size: 17px; }
  .radi-hero-split-actions { flex-direction: column; align-items: stretch; }
  .radi-hero-split-btn { width: 100%; }
  .radi-hero-split-logo { width: min(220px, 64%); }
}

/* ---- Counters ---- */
.radi-stats-strip { background: #f3f3f1; padding: 40px 20px 38px; width: 100%; overflow: hidden; }
.radi-stats-strip * { box-sizing: border-box; }
.radi-stats-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.radi-stat { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; padding: 6px 6px; }
.radi-stat-number { display: block; width: 100%; margin: 0; text-align: center; font-size: clamp(42px, 5vw, 74px); line-height: 0.92; font-weight: 700; letter-spacing: -0.045em; color: #c61f3a; font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif; font-variant-numeric: tabular-nums; }
.radi-stat-label { display: block; width: 100%; margin-top: 10px; text-align: center; font-size: 12px; line-height: 1.35; letter-spacing: 0.18em; text-transform: uppercase; color: #989898; font-weight: 500; font-family: "Helvetica Neue", Arial, sans-serif; }
@media (max-width: 980px) { .radi-stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }
@media (max-width: 560px) {
  .radi-stats-strip { padding: 30px 14px; }
  .radi-stats-inner { grid-template-columns: 1fr; gap: 18px; }
  .radi-stat-number { font-size: clamp(38px, 12vw, 58px); }
  .radi-stat-label { font-size: 11px; letter-spacing: 0.14em; }
}

/* ---- Trusted partners (5 per row on desktop, in the order set in build.py) ---- */
.trusted-partners-section { padding: 56px 24px; background: #ffffff; text-align: center; }
.trusted-partners-section h2 { margin: 0 0 28px; font-size: 42px; line-height: 1.15; color: #16325c; font-weight: 700; }
.trusted-partners-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 20px; align-items: center; list-style: none; padding: 0; }
.trusted-partners-item { display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 10px 12px; }
.trusted-partners-item img { max-height: 72px; width: auto; max-width: 100%; display: block; margin: 0 auto; filter: grayscale(100%); opacity: 0.78; transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease; }
.trusted-partners-item:hover img, .trusted-partners-item:focus-within img { filter: grayscale(0%); opacity: 1; transform: translateY(-3px); }
@media (max-width: 1024px) { .trusted-partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .trusted-partners-section { padding: 40px 16px; }
  .trusted-partners-section h2 { font-size: 30px; }
  .trusted-partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .trusted-partners-item { min-height: 100px; padding: 10px 8px; }
  .trusted-partners-item img { max-height: 64px; max-width: 85%; }
}

/* ---- Equipment videos ---- */
.rvid { background: #fff; padding: 8px 20px 40px; }
.rvid-wrap { max-width: 1100px; margin: 0 auto; }
.rvid-eyebrow { display: block; font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #C41E3A; text-align: center; margin-bottom: 12px; }
.rvid-h { font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; color: #1B2A4A; text-align: center; margin: 0 0 36px; }
.rvid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.rvid-card { display: block; text-decoration: none; color: inherit; }
.rvid-thumb { position: relative; display: block; aspect-ratio: 16/9; max-width: 100%; overflow: hidden; border-radius: 14px; background: #1B2A4A; }
.rvid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.rvid-card:hover .rvid-thumb img { transform: scale(1.04); }
.rvid-play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(196,30,58,.92); box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.rvid-play:after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.rvid-brand { display: block; margin-top: 14px; font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #C41E3A; }
.rvid-title { display: block; margin-top: 4px; font-family: 'Montserrat', Arial, sans-serif; font-size: 17px; font-weight: 700; color: #1B2A4A; }
@media (max-width: 760px) { .rvid-grid { grid-template-columns: 1fr; gap: 28px; } .rvid { padding: 48px 18px 16px; } }

/* ---- Why Radi ---- */
.rpillars { background: #f7f6f2; padding: 72px 20px; }
.rpillars-wrap { max-width: 1100px; margin: 0 auto; }
.rpillars-eyebrow { display: block; font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #C41E3A; text-align: center; margin-bottom: 14px; }
.rpillars-title { font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: #1B2A4A; text-align: center; margin: 0 0 52px; }
.rpillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rpillar { background: #ffffff; border: 1px solid rgba(27,42,74,0.08); border-radius: 18px; padding: 34px 28px 32px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease, border-color 0.25s ease; }
.rpillar.rp-visible, .no-js .rpillar { opacity: 1; transform: translateY(0); }
.rpillar:hover { box-shadow: 0 10px 30px rgba(27,42,74,0.1); border-color: rgba(27,42,74,0.15); }
.rpillar-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(196,30,58,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.rpillar-icon svg { width: 22px; height: 22px; stroke: #C41E3A; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rpillar-title { font-family: 'Montserrat', Arial, sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: #1B2A4A; margin: 0 0 10px; }
.rpillar-body { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 14.5px; line-height: 1.68; color: #5a6672; margin: 0; }
@media (max-width: 768px) { .rpillars-grid { grid-template-columns: 1fr; gap: 14px; } .rpillars { padding: 56px 16px; } .rpillars-title { margin-bottom: 36px; } }
@media (prefers-reduced-motion: reduce) { .rpillar { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---- How it works ---- */
.rsj { --bg: #1B2A4A; --surface: #243259; --accent: #C41E3A; --text: #fff; --muted: #a3b1c9; --border: rgba(255,255,255,.08); background: var(--bg); padding: 88px 60px 96px; }
.rsj-inner { max-width: 1200px; margin: 0 auto; }
.rsj-head { max-width: 640px; margin: 0 0 48px; }
.rsj-eyebrow { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 14px; }
.rsj-title { font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: var(--text); margin: 0 0 14px; }
.rsj-sub { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; }
.rsj-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rsj-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px 26px; display: flex; flex-direction: column; position: relative; }
.rsj-card:before { content: ""; position: absolute; top: 0; left: 24px; width: 40px; height: 3px; background: var(--accent); border-radius: 0 0 3px 3px; }
.rsj-num { font-family: 'Montserrat', Arial, sans-serif; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: rgba(255,255,255,.18); margin-bottom: 14px; }
.rsj-step-title { font-family: 'Montserrat', Arial, sans-serif; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--text); margin: 0 0 10px; }
.rsj-step-body { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 0 20px; flex: 1; }
.rsj-tag { align-self: flex-start; font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #ff8a9c; background: rgba(196,30,58,.16); border-radius: 100px; padding: 5px 12px; }
@media (max-width: 1000px) { .rsj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rsj { padding: 56px 18px 64px; } .rsj-grid { grid-template-columns: 1fr; gap: 14px; } .rsj-head { margin-bottom: 28px; } .rsj-title { font-size: 30px; } }

/* ---- Clients slider ---- */
.rcl { padding: 56px 0 48px; overflow: hidden; background: #fff; }
.rcl-title { font: 800 40px Montserrat, Arial, sans-serif; letter-spacing: -.02em; color: #1B2A4A; text-align: center; margin: 0 0 8px; }
.rcl-sub { font: 400 16px 'IBM Plex Sans', Arial, sans-serif; color: #5b6578; text-align: center; margin: 0 0 32px; padding: 0 16px; }
.rcl-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rcl-track { display: flex; width: max-content; animation: rcl-move var(--rcl-time, 40s) linear infinite; list-style: none; margin: 0; padding: 0; }
.rcl-view:hover .rcl-track { animation-play-state: paused; }
.rcl-item { flex: 0 0 auto; width: 170px; height: 84px; margin: 0 24px; display: flex; align-items: center; justify-content: center; }
.rcl-item img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .55; transition: filter .3s ease, opacity .3s ease, transform .3s ease; }
.rcl-item:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes rcl-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .rcl-title { font-size: 24px; } .rcl-item { width: 120px; height: 60px; margin: 0 14px; } }
@media (prefers-reduced-motion: reduce) { .rcl-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .rcl-item[aria-hidden="true"] { display: none; } }

/* ---- 26 Oct adjustments ---- */
/* Emblem band above the hero, as on the live site */
.radi-emblem { background: #fff; display: flex; justify-content: center; padding: 14px 16px; border-bottom: 1px solid #eef0f4; }
.radi-emblem img { height: 104px; width: auto; }
@media (max-width: 560px) { .radi-emblem img { height: 72px; } }
/* Shorter hero on desktop so it fits on one screen; fonts as on the live site */
@media (min-width: 981px) {
  .radi-hero-split { padding: 44px 28px 48px; }
  .radi-hero-split-visual { min-height: 0; }
  .radi-hero-split-logo { width: min(300px, 100%); }
}
.radi-hero-split h1 { font-family: Montserrat, Helvetica, Arial, sans-serif; font-weight: 700; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.02em; max-width: 16ch; }
.radi-hero-split p { font-family: "IBM Plex Sans", Helvetica, Arial, sans-serif; font-weight: 500; font-size: 17px; margin-bottom: 24px; }
.radi-hero-split-meta { font-family: "IBM Plex Sans", Helvetica, Arial, sans-serif; }
/* How it works: each step lights up as you scroll through */
.rsj-card { transition: background-color .45s ease, border-color .45s ease, transform .45s ease, box-shadow .45s ease; }
.rsj-num { transition: color .45s ease, text-shadow .45s ease; }
.rsj-card.is-lit { background: #2d3e6b; border-color: rgba(196,30,58,.55); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.rsj-card.is-lit .rsj-num { color: #C41E3A; text-shadow: 0 0 22px rgba(196,30,58,.55); }
.rsj-card.is-lit:before { width: 100%; left: 0; border-radius: 18px 18px 0 0; transition: width .45s ease, left .45s ease; }
.rsj-card:before { transition: width .45s ease, left .45s ease; }
/* Client logos: room for the hover zoom */
.rcl-view { padding: 10px 0; }
.rcl-item { height: 92px; }

/* 26 Oct (3): steps also light up on hover */
.rsj-card { transition: background .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.rsj-card:hover { background: #2d3e6b; border-color: rgba(196,30,58,.55); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.rsj-card:hover .rsj-num { color: #C41E3A; text-shadow: 0 0 22px rgba(196,30,58,.55); }
.rsj-card:hover:before { width: 100%; left: 0; border-radius: 18px 18px 0 0; transition: width .45s ease, left .45s ease; }

/* ---- Our promise (1 Nov 2026) ---- */
.rprom { background: #fff; padding: 72px 20px; }
.rprom-wrap { max-width: 1100px; margin: 0 auto; }
.rprom-eyebrow { display: block; font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #C41E3A; text-align: center; margin-bottom: 14px; }
.rprom-title { font-family: 'Montserrat', Arial, sans-serif; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; color: #1B2A4A; text-align: center; margin: 0 0 44px; }
.rprom-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rprom-item { border-top: 3px solid #C41E3A; background: #f7f6f2; border-radius: 0 0 14px 14px; padding: 26px 22px 24px; }
.rprom-ic { width: 38px; height: 38px; border-radius: 50%; background: #1B2A4A; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.rprom-ic svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rprom-item h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: #1B2A4A; margin: 0 0 8px; }
.rprom-item p { font-family: 'IBM Plex Sans', Arial, sans-serif; font-size: 14.5px; line-height: 1.62; color: #5a6672; margin: 0; }
@media (max-width: 900px) { .rprom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rprom-grid { grid-template-columns: 1fr; gap: 12px; } .rprom { padding: 56px 16px; } .rprom-title { margin-bottom: 30px; } }
[dir="rtl"] .rprom-eyebrow { letter-spacing: 0; font-size: 14px; }
[dir="rtl"] .rprom-item h3, [dir="rtl"] .rprom-title { letter-spacing: 0; font-family: inherit; }
[dir="rtl"] .rprom-item p { font-family: inherit; font-size: 15px; }
