/* ==========================================================================
   Safe Step v4. Loads AFTER v3.css and overrides it.

   Same NuFinishPro structure Josh picked. What v3 got wrong and this fixes:

   1. The panel was deep navy across 68% of the hero: a big flat dead field.
      NuFinishPro's energy comes from a BRIGHT saturated block. This uses a
      mid-blue that sits between Safe Step's own navy #01415f and their pale
      #bce4f7, so it stays in-family while actually carrying light.
   2. The CTA had no punch. Pale-blue-on-navy is low contrast and low energy.
      White solid primary now, with a saturated amber second action, which is
      the role NuFinishPro's yellow plays.
   3. The trust badges rendered at 40px from 180x110 sources: unreadable grey
      mush. Sources upscaled 3x and now shown at real size on white.
   4. The hero photo was a blank tub side. Safe Step's single strongest asset
      is before-and-after, so a real pair sits in the hero instead.
   ========================================================================== */

:root {
  --bright: #1189c4;      /* between their navy and their pale blue */
  --bright-dk: #0d6f9f;
  --amber: #f0a500;       /* the second-action role NuFinishPro gives yellow */
  --amber-dk: #d18f00;
}

/* ------------------------------------------------------------------ hero */
.hero { min-height: 660px; background: var(--bright); }
.hero__panel {
  background: var(--bright);
  width: 60%;
  border-radius: 0 26% 26% 0 / 0 100% 100% 0;
}
.hero__photo { background: var(--navy-deep); }

.hero__eyebrow { color: rgba(255, 255, 255, .92); font-size: 1rem; letter-spacing: .12em; }
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: normal;
  display: block;
  color: var(--blue);
}
.hero__sub { font-size: 1.3125rem; color: rgba(255, 255, 255, .95); max-width: 34rem; }

.btn--pri { background: #fff; color: var(--bright-dk); border-color: #fff; }
.btn--pri:hover { background: var(--blue); border-color: var(--blue); color: var(--navy-deep); }
.btn--amber { background: var(--amber); color: #22282c; border-color: var(--amber); }
.btn--amber:hover { background: var(--amber-dk); border-color: var(--amber-dk); }

/* legible trust card: badges at real size, on white */
.tcard { padding: 1rem 1.35rem; gap: .75rem 1.75rem; border-radius: 8px; }
.tcard img { height: 54px; }
.tcard b { font-size: .875rem; color: var(--bright-dk); max-width: 14ch; }

/* --------------------------------------------- the before/after in the hero */
.hba {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%; z-index: 0;
  display: grid; grid-template-rows: 1fr 1fr;   /* stacked: each frame stays
     landscape, so the whole enclosure reads. Side by side cropped these into
     vertical slivers where before and after looked identical. */
}
@media (max-width: 900px) {
  /* full width, below the copy, two landscape frames stacked */
  .hba { position: relative; width: 100%; height: auto; inset: auto;
         grid-template-rows: auto auto; grid-template-columns: 1fr; }
  .hba__s { height: 190px; }
  .hba__note { position: static; }
  .hero { min-height: 0; }
  .hero__in { padding-block: 2rem 2.25rem; }
  .hero__eyebrow { font-size: .8125rem; letter-spacing: .1em; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.75rem); }
  .hero__sub { font-size: 1.0625rem; }
  .hero .btns { display: grid; grid-template-columns: 1fr; }
  .tcard { width: 100%; justify-content: flex-start; align-items: center; gap: .6rem 1.1rem; }
  .tcard img { height: 40px; }
  .tcard b { max-width: none; font-size: .8125rem; }
}
@media (max-width: 420px) {
  .hba__s { height: 160px; }
}
.hba__s { position: relative; overflow: hidden; }
.hba__s img { width: 100%; height: 100%; object-fit: cover; }
.hba__t {
  /* right-aligned: the panel's curve bulges furthest right at mid-height and
     was covering a left-aligned tag on the lower frame. */
  position: absolute; top: 0; right: 0; background: rgba(1, 22, 31, .88); color: #fff;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .4rem .7rem .4rem .8rem;
}
.hba__t--a { background: var(--amber); color: #22282c; }
.hba__note {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(1, 22, 31, .82); color: #fff; padding: .7rem 1rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-align: center;
}

/* ---------------------------------------------------------- benefit strip */
.bstrip { background: var(--navy-deep); }
.ben__i { background: var(--bright); }
.ben__i svg { fill: #fff; }
.ben span { color: var(--blue); }

/* ------------------------------------------------------------ credentials */
.logos img { height: 62px; }
.badges img { height: 74px; }
.badge-t { border-color: var(--bright); color: var(--bright-dk); min-height: 74px; }
.mid h2 { color: var(--navy-deep); }
.rowlab { color: #8a99a2; }

/* the big claim, set like the comp's centred statement but with real weight */
.claim {
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.25;
  color: var(--navy-deep);
  max-width: 34ch;
  margin: 0 auto 1rem;
}
.claim b { color: var(--bright); }

/* ------------------------------------------------------------- photo grid */
.pc__cap { background: rgba(1, 41, 62, .93); }
.pc__cap u { color: var(--blue); }
.sec--tint { background: #eef7fc; }

/* ------------------------------------------------------------------ model */
.dt { background: var(--navy-deep); }
.dt__c { background: var(--navy-deep); }
.dt__c--w { background: var(--amber); }
.dt__c--w small, .dt__c--w span { color: #4a3c10; }
.dt__c--w strong { color: #22282c; }
.dt input[type=range]::-webkit-slider-thumb { background: var(--amber); border-color: var(--navy-deep); }
.dt input[type=range]::-moz-range-thumb { background: var(--amber); border-color: var(--navy-deep); }
.dt__f label b { color: var(--amber); }
.dt__note b { color: var(--amber); }

/* ---------------------------------------------------------------- reviews */
.rev__stars { color: var(--amber); }

/* -------------------------------------------------------------------- CTA */
.cta { background: var(--bright); }
.cta h2, .cta p { color: #fff; }
.cta p { color: rgba(255, 255, 255, .95); }
.frm .btn--navy { background: var(--amber); border-color: var(--amber); color: #22282c; }
.frm .btn--navy:hover { background: var(--amber-dk); border-color: var(--amber-dk); }

/* ----------------------------------------------------------------- header */
.hdr__brand img { height: 52px; }
.btn--navy { background: var(--bright); border-color: var(--bright); }
.btn--navy:hover { background: var(--bright-dk); border-color: var(--bright-dk); }
.burger { background: var(--bright); }
.mbar a:first-child { background: var(--amber); color: #22282c; }
.mbar { border-top-color: var(--amber); }
.util { background: var(--navy-deep); }
