/* ==========================================================================
   Surgronic homepage redesign — adapted from the 1440px mockup (Nov 2026)
   Loads AFTER styles.css; index.html only. All rules here are homepage-only.

   Colour mapping (deliberate): the mockup uses navy #09142a, blue #3686f7
   and mist #f1f5f8. Those are mapped to the site's brand tokens
   (--navy-950 #08142A, --blue-500 #2589F5, --mist-50 #F2F5FA) — visually
   identical, and the brand tokens are non-negotiable. No other colours
   are introduced. JetBrains Mono is used for SKUs / numbers only.
   ========================================================================== */

/* ---------- Page rhythm (mockup: 1200px container, 96px sections) ---------- */
.rd-page .wrap{max-width:1200px;padding:0 32px}
.rd-page section{padding:64px 0}
.rd-page .eyebrow{
  font:600 12px var(--font-body);letter-spacing:.12em;text-transform:uppercase;
  color:var(--blue-500);
}
.rd-page .eyebrow::before{display:none}
.rd-page .sec-title{font-size:clamp(1.75rem,3vw,2.75rem);margin:12px 0 8px;max-width:24ch}
.rd-page .sec-sub{margin:0 0 40px;font-size:17px}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px}

/* ---------- Buttons (mockup: dark navy text on the blue primary) ---------- */
.rd-btn{
  display:inline-block;font:700 15px var(--font-display);padding:14px 22px;
  border-radius:10px;border:0;text-decoration:none;min-height:44px;
  box-sizing:border-box;cursor:pointer;line-height:1.2;text-align:center;
}
.rd-btn-primary{background:var(--blue-500);color:var(--navy-950)}
.rd-btn-primary:hover{background:var(--blue-400);color:var(--navy-950)}
.rd-btn-ghost{background:transparent;color:inherit;border:1px solid currentColor;opacity:.92}
.rd-btn-ghost:hover{opacity:1}
.rd-btn-ghost-dark{background:transparent;color:var(--ink-900);border:1px solid rgba(8,20,42,.28)}
.rd-btn-ghost-dark:hover{border-color:var(--blue-500);color:var(--blue-500)}
.rd-btn-sm{padding:10px 14px;font-size:14px;min-height:40px}
.rd-btn.rd-btn-wa{background:#25D366;border-color:#25D366;color:#fff}
.rd-btn.rd-btn-wa:hover{background:#1da851;border-color:#1da851;color:#fff}

/* ---------- Hero (navy) ---------- */
.rd-page section.rd-hero{background:var(--navy-950);color:#fff;padding:8px 0 12px}
.rd-hero .hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:56px;align-items:center}
.rd-hero .hero-kicker{
  font:600 12px var(--font-body);letter-spacing:.12em;text-transform:uppercase;
  color:var(--blue-500);
}
.rd-page section.rd-hero h1{font-size:clamp(2rem,4.5vw,4rem);line-height:1.05;margin:8px 0 6px;color:#fff;max-width:none}
.rd-hero .hero-sub{font-size:18px;line-height:1.6;color:#a9b6cc;margin:0 0 8px;max-width:520px}
.rd-hero .finder{background:#0e1c38;border:1px solid #1f3258;border-radius:16px;padding:6px}
.rd-hero .finder-tabs{display:flex;gap:6px;margin-bottom:10px}
.rd-hero .finder-tab{font:600 15px var(--font-display);padding:10px 18px;color:#a9b6cc;border-radius:10px}
.rd-hero .finder-tab[aria-selected="true"]{background:var(--blue-500);color:var(--navy-950);box-shadow:none}
.rd-hero .finder-row input[type="text"]{height:52px}
.rd-hero .finder-row .btn-primary{background:var(--blue-500);color:var(--navy-950);box-shadow:none;height:52px}
.rd-hero .finder-row .btn-primary:hover{background:var(--blue-400)}
.rd-hero .finder-help{color:#a9b6cc}
.rd-hero .trust-strip{display:flex;gap:28px;margin-top:20px;font:500 14px var(--font-body);color:#a9b6cc;flex-wrap:wrap}
.rd-hero .trust-strip b{color:#fff}
.rd-hero-count{margin:18px 0 0;font-size:14px;color:#a9b6cc}
.rd-hero-count #heroCountLine{color:#fff;font-weight:700}

/* Hero foot (Ham 2026-11-07): timelines + count live in a full-width row
   under the grid, not inside the left column — this keeps the left column
   (kicker + H1 + sub + finder) short enough to align with the 400px card,
   and anchors the hero's bottom edge across the full width. */
.rd-hero-foot{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:48px;padding-top:28px;padding-bottom:28px;border-top:1px solid rgba(255,255,255,.08)}
.rd-hero-foot .trust-strip{margin-top:0}

/* Hero showcase card — LIVE single rotating card (measured 2026-11-07).
   One white card in the right column: 480x400, image 440x360 on white,
   green "In stock now" pill top-left, 6 dots top-right, dark inner panel
   (#303A4A) with name + "SKU · Ships from stock" + blue "View details" pill.
   Fades every 3s through 6 in-stock products; no arrows, no hover-pause.
   RTL-safe: badge/dots use logical inline offsets so they mirror in Arabic. */
/* Hero showcase alignment: base is start (mobile portrait is good as-is).
   Centering applies ONLY on desktop + landscape — see the media query
   below (Ham 2026-11-08). Do not make the base rule center. */
.rd-hero .hero-grid{align-items:start}
@media (min-width:769px),(orientation:landscape){
  .rd-hero .hero-grid{align-items:center}
  .rd-hero-card{margin-top:0}
}
.rd-hero-card{position:relative;width:480px;max-width:100%;height:400px;background:#fff;border-radius:20px;color:var(--ink-900);overflow:hidden;box-shadow:0 24px 48px rgba(2,8,23,.35);justify-self:end;margin-top:35px}
.rd-hero-photo{display:block;height:400px;background:#fff;overflow:hidden}
.rd-hero-photo img{width:100%;height:100%;object-fit:contain;padding:20px;box-sizing:border-box}
.rd-hero-badge{position:absolute;top:32px;inset-inline-start:32px;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 13px;border-radius:999px;background:#25D366;color:#fff;font:600 12px var(--font-body);white-space:nowrap}
.rd-hero-badge-dot{width:7px;height:7px;border-radius:50%;background:#fff;flex:none}
.rd-hero-dots{position:absolute;top:41px;inset-inline-end:16px;display:flex;gap:8px;margin:0}
.rd-dot{width:8px;height:8px;border-radius:50%;border:0;background:#CBD5E1;cursor:pointer;padding:0}
.rd-dot.on{background:#3B82F6;width:20px;border-radius:4px}
.rd-hero-panel{position:absolute;left:17px;right:17px;bottom:18px;height:82px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;background:#303A4A;border-radius:10px}
.rd-hero-panel-text{min-width:0;flex:1}
.rd-hero-name{font:700 15px/1.4 var(--font-display);color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rd-hero-name a{color:inherit;text-decoration:none}
.rd-hero-name a:hover{color:#fff;text-decoration:underline}
.rd-hero-sku{color:#C8D2DE;margin-top:2px;font-size:13px}
.rd-hero-view{flex:none;display:inline-flex;align-items:center;justify-content:center;height:35px;padding:0 16px;border-radius:999px;background:#2589F5;color:#fff;font:600 13px var(--font-body);text-decoration:none;white-space:nowrap}
.rd-hero-view:hover{background:#2589F5;color:#fff}
.rd-hero-photo img{transition:opacity .18s ease}
.rd-hero-name,.rd-hero-sku,.rd-hero-view{transition:opacity .18s ease}
.rd-hero-card.rd-hero-fade .rd-hero-photo img,.rd-hero-card.rd-hero-fade .rd-hero-name,.rd-hero-card.rd-hero-fade .rd-hero-sku,.rd-hero-card.rd-hero-fade .rd-hero-view{opacity:0}

/* ---------- Specialties (white) ---------- */
.spec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.spec-card{
  border:1px solid #dde5ef;border-radius:14px;padding:24px;background:#fff;
  text-decoration:none;display:block;
}
.spec-card:hover{background:#eef4fd;border-color:rgba(37,137,245,.5);transform:translateY(-3px)}
.spec-card h3{font-size:18px;margin:10px 0 6px;color:var(--navy-950)}
.spec-card span:last-child{font-size:14px;color:#4a5a75;line-height:1.5}
.spec-num{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:12px;color:var(--blue-500);font-weight:600}
.spec-ico{display:block;color:var(--blue-500);margin-bottom:4px}
.spec-ico svg{width:30px;height:30px;display:block}

/* ---------- How it works (white) ---------- */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:32px;margin-top:40px}
/* The old .steps::before timeline line (top:11px, built for the small pill
   numbers) cut through the large 44px redesign numbers. Move it to the
   numbers' vertical centre and give each number a section-coloured
   background, so the line passes BEHIND the digits instead of through them. */
.steps::before{top:22px}
.rd-step-num{position:relative;z-index:1;display:inline-block;background:var(--mist-50);padding:0 10px}
@media(max-width:600px){.steps::before{display:none}}
.rd-step-num{font:800 44px var(--font-display);color:var(--blue-500);line-height:1}
.rd-step h3{font-size:19px;margin:8px 0}
.rd-step p{color:#4a5a75;font-size:15px;line-height:1.6;margin:0}
.rd-how-note{margin:40px 0 0;color:#4a5a75;font-size:14px}

/* ---------- Inspection (navy) ---------- */
.rd-inspect{background:var(--navy-950);color:#fff}
.rd-inspect-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:56px;align-items:center}
.rd-inspect-box{
  margin:0;border-radius:16px;background:#fff;border:1px solid #1f3258;overflow:hidden;
}
.rd-inspect-box img{width:100%;height:300px;object-fit:contain;background:#fff;display:block}
.rd-inspect-box figcaption{background:#0e1c38;color:#a9b6cc;font-size:13px;padding:12px 16px;text-align:left}
.rd-inspect-check-title{color:#fff;font-weight:700;font-size:15px;margin:0 0 6px}
.rd-inspect-check{list-style:none;margin:0 0 20px;padding:0}
.rd-inspect-check li{color:#d6deeb;font-size:15px;line-height:1.6;padding:5px 0 5px 28px;position:relative}
.rd-inspect-check li::before{content:"✓";position:absolute;left:0;color:var(--blue-400);font-weight:800}
.rd-inspect-link{color:var(--blue-400);font-weight:600;text-decoration:underline;text-underline-offset:3px;display:inline-block;margin:0 0 24px}
.rd-inspect-link:hover{color:#fff}
.rd-inspect .sec-title{color:#fff}
.rd-inspect-copy{color:#a9b6cc;font-size:17px;line-height:1.7;margin:0 0 24px}
.rd-inspect-copy span{display:block}
.rd-inspect-copy span + span{margin-top:12px}
/* ---------- Why Surgronic teaser (Ham 2026-11-07): the full narrative moved to
   why.html; the homepage keeps only this slim navy band linking to it. The
   .rd-page prefix outranks the section-wrap sec-title margin-bottom:0 rule. */
.rd-page .rd-why-teaser{background:var(--navy-950);color:#fff;padding:64px 0;text-align:start}
.rd-page .rd-why-teaser .sec-title{color:#fff;margin:0 0 12px;max-width:none}
.rd-why-teaser-copy{color:var(--navy-text-dim);font-size:1.05rem;line-height:1.7;max-width:640px;margin:0 0 20px}
.rd-why-teaser-link{color:var(--blue-400);font-weight:700;text-decoration:none;font-size:1.02rem}
.rd-why-teaser-link:hover{text-decoration:underline}
.rd-why-teaser-sub{color:#fff;font-size:1.4rem;line-height:1.35;margin:28px 0 10px;max-width:640px}
.rd-why-teaser-subcopy{color:var(--navy-text-dim);font-size:1.05rem;line-height:1.7;max-width:640px;margin:0 0 20px}

/* ---------- Testimonials (mist) ---------- */
.rd-testi{background:var(--mist-50)}
.testi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.rd-testi-card{
  margin:0;background:#fff;border:1px solid #dde5ef;border-radius:14px;padding:24px;
}
.rd-testi-card blockquote{margin:0 0 20px;font-size:16px;line-height:1.65;color:var(--ink-900)}
.rd-testi-card figcaption b{font-size:15px}
.rd-testi-card figcaption span{color:#4a5a75;font-size:14px}

/* ---------- Partners (slim strip) ---------- */
.rd-partners{background:var(--mist-50);padding:48px 0;border-top:1px solid #dde5ef;border-bottom:1px solid #dde5ef}
.rd-partners .partner-row{margin-top:0}

/* ---------- Final CTA (navy, centered) ---------- */
.rd-final-cta{background:var(--navy-950);color:#fff;text-align:center;padding:64px 0}
.rd-final-title{font-size:clamp(2rem,4.5vw,4rem);line-height:1.05;color:#fff;margin:0 0 16px}
@media (min-width:769px){.rd-final-title{font-size:clamp(1.5rem,3.375vw,3rem)}}
.rd-final-sub{color:#a9b6cc;font-size:18px;margin:0 0 32px}
.rd-final-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.rd-final-cta .rd-btn-ghost{color:#fff}

/* ---------- Certifications marquee (slim band above the footer) ---------- */
/* Countries strip (Ham 2026-11-07): thin sliding strip directly under the
   header, slightly thinner than the header — navy, compact label + flags. */
.rd-page .certs{padding:4px 0 2px;background:var(--navy-950)}
.rd-page .cert-marquee{padding:0}
.rd-page .cert-badge{padding:4px 12px;font-size:.78rem}
/* Fade the marquee edges so the scrolling country pills soften out instead of
   being hard-cut at the viewport edge (the cut read as the page being too wide). */
.cert-marquee{-webkit-mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .rd-hero .hero-grid{gap:40px}
  .rd-inspect-grid{gap:40px}
}
@media (max-width:768px){
  .rd-page .wrap{padding:0 24px}
  .rd-page section{padding:64px 0}
  .rd-hero{padding:64px 0 12px}
  .rd-hero .finder-row{flex-direction:column}
  .rd-hero .finder-row .btn-primary{width:100%}
  .rd-hero-photo{height:320px}
  .rd-hero-card{height:320px;width:100%;max-width:480px;margin:0 auto}
  .rd-inspect-box{height:260px}
  .rd-final-cta{padding:64px 0}
  .rd-partners{padding:36px 0}
}
@media (max-width:480px){
  .rd-page .wrap{padding:0 16px}
  .rd-page section{padding:48px 0}
  .rd-hero-count{font-size:13px}
  .rd-hero-info{flex-direction:column;align-items:flex-start}
  .rd-hero-info .rd-btn{width:100%}
}
/* Specialties top gap (Ham 2026-11-08): 120px was too spaced out — cut in half
   to 64px, equal to the hero->ticker gap (the ticker margin-top). Do not go
   back to 8px (too tight) or 120px (too spaced out). */
.rd-page section#specialties{padding-top:64px;margin-top:0}
.rd-page #specialties .sec-title{margin-top:0}

/* Mobile gap fix (Ham 2026-11-07, phone screenshot): the huge gap between the
   ticker and Specialties on phones was the HERO's bottom padding — the mobile
   rule `.rd-page section{padding:64px 0}` (class+element) outranks the
   single-class `.rd-hero{padding:64px 0 12px}`, so the hero bottom was 64px
   (48px at <=480px) instead of 12px. This two-class override restores 12px. */
@media (max-width:768px){.rd-page .rd-hero{padding-bottom:12px}}

/* Countries heading bulletproof centring (Ham 2026-11-07): the base
   .sec-title max-width:20ch can narrow the box, so force full width +
   centre the text with a higher-specificity rule. */
.rd-page .certs .sec-title{width:100%;max-width:none;text-align:left;font-size:.82rem;font-weight:700;color:var(--blue-400);margin:0;padding:0 0 2px;white-space:nowrap}

/* Partners: one row at desktop (6 wordmarks fit the 1200px wrap) */
@media(min-width:1025px){
  .rd-partners .partner-row{flex-wrap:nowrap}
  .rd-partners .partner-row a{font-size:1.15rem;padding:12px 26px}
}

/* ---------- Sliding banners: Testimonials + How it works + Featured ----------
   Ham: both sections must slide instead of stacking vertically.
   Single-item auto-rotating slider, same pattern as the hero showcase card.
   Scoped under .is-slider (added by JS) so that without JS the sections keep
   their plain grid layout with every card/step visible. Grid-stacking keeps
   the container at the tallest slide's height, so no height jumping.
   MOBILE-ONLY (Ham 2026-11-07): the single-item stacking applies ≤768px.
   On desktop the sections keep their plain grid (all cards/steps visible)
   and the dots are hidden. */
@media (max-width:768px){
.testi-grid.is-slider,
.steps.is-slider{display:grid;grid-template-columns:1fr}
/* Featured: .rd-featured prefix outranks the base .rd-featured .feat-grid
   4-column rule below (same specificity would lose on source order). */
.rd-featured .feat-grid.is-slider{display:grid;grid-template-columns:1fr}
.testi-grid.is-slider > *,
.steps.is-slider > *,
.rd-featured .feat-grid.is-slider > *{
  grid-area:1/1;opacity:0;visibility:hidden;
  transition:opacity .55s ease,visibility .55s ease;
}
.testi-grid.is-slider > *.active,
.steps.is-slider > *.active,
.rd-featured .feat-grid.is-slider > *.active{opacity:1;visibility:visible}
/* The timeline line connecting the 4 steps makes no sense for a single slide. */
.steps.is-slider::before{display:none}
}
@media (min-width:769px){
  #testiDots,#howDots,#featDots{display:none}
}
.slider-dots{display:flex;gap:8px;justify-content:center;margin-top:24px}
.slider-dot{width:9px;height:9px;border-radius:50%;border:0;background:#c3cede;cursor:pointer;padding:0;transition:background .3s,width .3s}
.slider-dot.active{background:var(--blue-500);width:24px;border-radius:5px}
@media (prefers-reduced-motion:reduce){
  .testi-grid.is-slider > *, .steps.is-slider > *, .rd-featured .feat-grid.is-slider > *{transition:none}
}

/* ---------- Partners: sliding brands banner (real logos) ----------
   Ham: brands must show as real logos on a sliding banner, like LIVE.
   White tiles (190x110) in a seamless marquee: the 6 tiles repeat in 4 sets
   (24 tiles), the track translates -50%. Pause on hover, static under
   prefers-reduced-motion. direction:ltr keeps the marquee LTR (Latin logos)
   even on the Arabic RTL page. */
.rd-partners{overflow:hidden}
.rd-brands-marquee{direction:ltr;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.rd-brands-track{display:flex;width:max-content;animation:rdBrands 80s linear infinite} /* 80s keeps ~31px/s: 24 tiles, -50% travel is now 2,472px */
/* Owner directive: the brands marquee keeps sliding even on hover. Do not re-add a hover pause. */
@keyframes rdBrands{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.rd-brand-tile{flex:none;width:190px;height:110px;margin:0 12px;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 1px 4px rgba(8,20,42,.08);display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none}
.rd-brand-tile img{max-width:150px;max-height:64px;object-fit:contain;display:block}
.rd-brand-tile .rd-brand-mark{max-height:48px}
.rd-brand-name{font:700 13px var(--font-display);color:var(--navy-950);letter-spacing:.08em;margin-top:6px}
.rd-brand-word{font:800 22px var(--font-display);color:var(--navy-950);letter-spacing:.09em}
@media (prefers-reduced-motion: reduce){
  /* Owner directive: the brands marquee keeps sliding. Do not re-add animation:none here. */
}

/* ---------- Featured grid: LIVE's "Instruments buyers ask for." ----------
   4 white catalogue-style cards, LIVE proportions (4-up, 24px gap).
   "In stock" pill uses LIVE's mint (#DFF8E8 bg, #065F46 text). Add to Quote
   is LIVE blue; WhatsApp keeps the base green-outline style. */
.rd-featured{padding:64px 0;background:#fff}
.rd-featured .feat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:28px}
.rd-featured .feat-card .pimg{background:#fff}
.feat-stock{position:absolute;top:12px;inset-inline-start:12px;background:#DFF8E8;color:#065F46;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:7px 13px;border-radius:999px;font-family:var(--font-display);z-index:2}
.rd-featured .btn-add-quote{background:var(--blue-500);border-color:var(--blue-500)}
.rd-featured .btn-add-quote:hover{background:var(--blue-400);border-color:var(--blue-400)}
.feat-browse-wrap{margin-top:28px;text-align:center}
.feat-browse{font:700 .95rem var(--font-display);color:var(--blue-500);text-decoration:none}
.feat-browse:hover{text-decoration:underline}
.rd-page .rd-partners .sec-title{max-width:none;text-align:start;margin-bottom:36px}
/* Mobile (Ham 2026-11-07): the heading sits way too close to the tiles on phones.
   The 36px above never applied — the section-wrap sec-title margin-bottom:0 rule
   (specificity 0,2,1) outranks the two-class rule (0,2,0). The .rd-page prefix
   fixes that, and phones get a full 64px so the heading sits up where he marked it. */
@media (max-width:768px){.rd-page .rd-partners .sec-title{margin-bottom:64px}}
@media (max-width:1024px){.rd-featured .feat-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.rd-featured{padding:48px 0}.rd-featured .feat-grid{grid-template-columns:1fr}}

/* ==========================================================================
   RESTYLE FINISHING PASS (2026-11-07) — LIVE tokens, DESIGN-TOKENS.md
   Presentational layer only: no text, numbers, claims, ids, classes, JS or
   routing touched. Scoped so the frozen sections are untouched: the Why
   teaser (.rd-why-teaser), Partner brands (.rd-partners) and countries
   (.certs / .cert-marquee) get NO rules here, and the shared .rd-page
   .sec-title / .eyebrow rules are NOT widened — H2/eyebrow fixes are
   scoped per allowed section instead.
   LIVE references: hero #060E1E + glow #0C1423, H1 64px/800, eyebrow 12px/700
   ls 2-3px #2589F5, muted #94A3B8, card body #111F36, borders #1E3050 /
   #253145, section rhythm #060E1E / #0B172A, no white sections below the hero.
   ========================================================================== */

/* ---------- (a) HERO to LIVE values ---------- */
.rd-hero{background-color:#060E1E;background-image:radial-gradient(ellipse 90% 80% at 60% 20%,#0C1423 0%,transparent 70%)}
.rd-page section.rd-hero h1{font-size:clamp(2rem,4.5vw,4rem);line-height:1.05;max-width:none}
.rd-hero .hero-kicker{font-weight:700;letter-spacing:.2em}
.rd-hero .hero-sub{font-size:clamp(1rem,1.3vw,1.125rem);line-height:1.55;color:#94A3B8}
.rd-hero .finder{background:#0F1C32;border-color:#253145}
.rd-hero .finder-tab{color:#94A3B8}
.rd-hero .finder-tab[aria-selected="true"]{background:var(--blue-500);color:#fff}
.rd-hero .finder-row input[type="text"]{background:#1B283C;border:1px solid #24344D;border-radius:12px}
.rd-hero .finder-row input[type="text"]::placeholder{color:#64748B}
.rd-hero .finder-row .btn-primary{background:var(--blue-500);color:#fff}
.rd-hero .finder-row .btn-primary:hover{background:var(--blue-500)}
.rd-hero .finder-help{color:#64748B;font-size:.78rem}
.rd-hero .trust-strip{color:#94A3B8}
.rd-hero-count{color:#94A3B8}
.rd-hero-card{border-radius:16px}
.rd-dot.on{background:#2589F5;width:22px}

/* ---------- H2 44px + eyebrow 700/ls, scoped to allowed sections only ----------
   (NOT the shared .rd-page rules — those would also restyle the frozen
   Why-teaser / Partner-brands headings.) */
.specialties .sec-title{font-size:clamp(1.5rem,2.6vw,1.75rem)}
.how .eyebrow,.rd-testi .eyebrow{font-weight:700;letter-spacing:.2em}
.how .eyebrow::before,.rd-testi .eyebrow::before{display:block}

/* ---------- (b) SPECIALTIES — LIVE dark tiles (#0B172A, border #1E3050) ---------- */
.rd-page .specialties{background:#060E1E}
.specialties .sec-sub{color:#94A3B8}
.spec-card{background:#0B172A;border:1px solid #1E3050;border-radius:12px;padding:24px}
.spec-card:hover{background:#0B172A;border-color:rgba(37,137,245,.5);box-shadow:0 12px 28px rgba(0,0,0,.35)}
.spec-card h3{font-size:16px;color:#fff;margin:12px 0 6px}
.spec-card span:last-child{font-size:14px;color:#94A3B8}
.spec-card .spec-ico{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:#0D2542;border-radius:10px;margin-bottom:12px}
.spec-card .spec-ico svg{width:22px;height:22px;display:block}
.rd-page .spec-arrow{background:#0B172A;border-color:#1E3050;color:#fff}
.rd-page .spec-arrow:hover{background:#111F36;border-color:rgba(37,137,245,.5)}
.rd-page .spec-arrow:disabled:hover{background:#0B172A;border-color:#1E3050}

/* ---------- (b) FEATURED — LIVE dark section #0B172A + dark cards #111F36 ---------- */
.rd-featured{background:#0B172A}
.rd-featured .sec-title{color:#fff}
.rd-featured .sec-sub{color:#94A3B8}
.rd-featured .product-card{background:linear-gradient(180deg,#111F36 0%,#0B172A 100%);border:1px solid #1E3050;border-radius:12px}
.rd-featured .product-card:hover{box-shadow:0 20px 44px rgba(0,0,0,.35)}
.rd-featured .product-card .pimg{background:#fff;height:180px;aspect-ratio:auto}
.rd-featured .product-card .pimg img{padding:12px}
.rd-featured .product-card .pbody{padding:24px 22px 32px;gap:8px}
.rd-featured .product-card .psku{font-size:11px;color:#94A3B8;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.rd-featured .product-card h3{font-size:16px;font-weight:700;line-height:21px;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-height:42px}
.rd-featured .product-card h3 a{color:#fff}
.rd-featured .product-card h3 a:hover{color:var(--blue-500)}
.rd-featured .product-card .pbrand{font-size:12px;color:#94A3B8}
.rd-featured .product-card .plink-view{font-size:13px;color:var(--blue-500)}
.rd-featured .product-card .pfoot{gap:10px;padding-top:14px}
.rd-featured .btn-add-quote{flex:1.5 1 0;background:var(--blue-500);border-color:var(--blue-500);color:#fff;border-radius:999px;min-height:41px;padding:10px 8px;font-size:13px;font-weight:700}
.rd-featured .btn-add-quote:hover{background:var(--blue-500);border-color:var(--blue-500);transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,0,0,.35)}
.rd-featured .btn-wa{flex:1 1 0;background:#25D366;border:1px solid #25D366;color:#fff;border-radius:999px;min-height:41px;padding:10px 8px;font-size:13px;font-weight:700}
.rd-featured .btn-wa:hover{background:#1da851;border-color:#1da851;color:#fff;transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,0,0,.35)}
.rd-featured .feat-err{background:#111F36;border-color:#1E3050;color:#94A3B8}

/* ---------- (b) HOW IT WORKS — LIVE dark step cards #111F36, "Step 01" pills ---------- */
.rd-page .how{background:#060E1E}
.how .sec-title{color:#fff}
.rd-page .steps{gap:24px}
.rd-page .steps::before{display:none}
.rd-step{background:#111F36;border:1px solid #1E3050;border-radius:16px;padding:24px}
.rd-step-num{font-size:12px;font-weight:700;background:var(--blue-500);color:#fff;padding:8px 14px;border-radius:999px;display:inline-block;line-height:1;margin-bottom:16px}
.rd-step h3{font-size:19px;color:#fff}
.rd-step p{color:#94A3B8;font-size:15px}
.rd-how-note{color:#94A3B8}

/* ---------- (b) TESTIMONIALS — LIVE dark cards, gold stars, blue left bar ---------- */
.rd-testi{background:#0B172A}
.rd-testi .sec-title{color:#fff}
.rd-testi-card{background:#111F36;border:1px solid #1E3050;border-radius:16px;padding:24px}
.rd-testi-card blockquote{color:#fff;font-style:italic;border-inline-start:2px solid #2589F5;padding-inline-start:16px}
.rd-testi-card figcaption b{color:#2589F5;font-size:15px}
.rd-testi-card figcaption span{color:#94A3B8;font-size:13px}

/* ---------- FINAL CTA — LIVE gradient card on #060E1E, pill buttons ---------- */
.rd-final-cta{background:#060E1E}
.rd-final-cta .wrap{background:linear-gradient(180deg,#0E1B30 0%,#0F1C31 50%,#111F35 100%);border:1px solid #1E3050;border-radius:20px;padding:56px 32px;box-shadow:0 24px 64px rgba(0,0,0,.35)}
.rd-final-sub{font-size:16px;color:#94A3B8}
.rd-btn{border-radius:999px}
.rd-btn-primary{color:#fff}
.rd-btn-primary:hover{background:var(--blue-500);transform:translateY(-2px);box-shadow:0 14px 32px rgba(37,137,245,.4)}
.rd-final-cta .rd-btn-ghost{border-color:#25D366;color:#25D366}
.rd-final-cta .rd-btn-ghost:hover{border-color:#25D366;background:rgba(37,211,102,.08)}

/* ---------- Countries strip label: larger + centred on desktop ----------
   Ham 2026-11-08: "Serving surgeons in 15 countries." must be larger and
   centred on desktop. This supersedes the 2026-11-07 left-align-with-logo
   order (the full-width .wrap override is removed, so the standard centred
   1200px .wrap applies again). Mobile is good as-is and is untouched. */
@media (min-width:769px){.rd-page .certs{padding-top:24px}.rd-page .certs .sec-title{text-align:center;font-size:clamp(0.95rem,1.8vw,1.2rem)}}

/* ---------- Finder: photo-upload button inside the search bar ----------
   Ham 2026-11-07: the search bar itself must show that uploading a photo
   of a product is a possibility. A camera button sits inside the name and
   reference inputs; tapping it switches to the By photograph tab and opens
   the file picker. */
.finder-input-wrap{position:relative;flex:1;display:flex;min-width:0}
.finder-input-wrap input[type="text"],.finder-input-wrap input[type="search"]{flex:1;min-width:0;padding-right:52px}
.finder-photo-btn{position:absolute;top:50%;transform:translateY(-50%);border:none;background:transparent;color:var(--blue-400);cursor:pointer;width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none;padding:0}
[dir="ltr"] .finder-photo-btn{right:6px}
[dir="rtl"] .finder-photo-btn{left:6px}
.finder-photo-btn:hover{background:rgba(37,137,245,.18);color:#fff}
.finder-photo-btn svg{width:22px;height:22px;display:block}

/* Hero headline waterfall: JS splits the H1 + lead into .hw word spans with
   staggered delays, so the words cascade in one after another (reading order).
   Respects reduced-motion. */
.rd-hero h1 .hw,.rd-hero .hero-sub .hw{display:inline-block;animation:heroWordIn .55s cubic-bezier(.22,.61,.36,1) both;will-change:opacity,transform}
@keyframes heroWordIn{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.rd-hero h1 .hw,.rd-hero .hero-sub .hw{animation:none}}
