/* ===========================================================================
   Clearview v2 homepage layout.
   Adopts the formatting of the reference mockup (utility bar, full-bleed photo
   hero, icon trust strip, icon service cards, split "why" section with a stats
   panel, image CTA band) using the REAL site's copy.

   Deliberately NOT carried over from the mockup: the invented stats
   (10,000+ hours / 500+ investigations / 100%), the fabricated testimonials,
   the placeholder phone and licence, and the "Available 24/7" claim. Their real
   hours are Mon-Fri 8am-6pm PT, case-dependent.
   =========================================================================== */

/* --- utility bar ---------------------------------------------------------- */
.ubar{background:#030c17;border-bottom:1px solid #12293f;font-size:.78rem;color:#9fb0c2}
.ubar .container{display:flex;justify-content:space-between;align-items:center;
  gap:18px;padding:9px 0;flex-wrap:wrap}
.ubar .grp{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.ubar .ub{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.ubar svg{width:13px;height:13px;flex:0 0 13px;stroke:var(--gold);fill:none;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* --- header --------------------------------------------------------------- */
.hdr2 .nav{min-height:92px;gap:24px}
.hdr2 .brand img{width:74px;height:74px;border-radius:50%;
  box-shadow:0 0 0 1px rgba(201,151,63,.35),0 6px 22px rgba(0,0,0,.5)}
.callbox{display:flex;flex-direction:column;align-items:flex-end;
  border:1px solid #2a4c70;border-radius:6px;padding:8px 16px;background:#08182a}
.callbox a{font-family:Georgia,serif;font-size:1.18rem;color:#fff;letter-spacing:.01em}
.callbox span{font-size:.7rem;color:#9fb0c2;letter-spacing:.08em;text-transform:uppercase}

/* --- full-bleed hero ------------------------------------------------------ */
.hero2{position:relative;min-height:620px;display:flex;align-items:center;
  overflow:hidden;border-bottom:1px solid #17324f}
.hero2 .bg{position:absolute;inset:0;background:url("hero-wide.webp") center/cover no-repeat}
/* scrim: heavy left where the type sits, clearing to the right so the skyline
   and City Hall stay readable */
.hero2 .scrim{position:absolute;inset:0;background:
  linear-gradient(95deg,rgba(4,12,22,.96) 0%,rgba(4,12,22,.90) 34%,
                  rgba(5,16,29,.62) 62%,rgba(5,16,29,.28) 100%)}
.hero2 .scrim2{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(3,10,18,.55) 0%,transparent 26%,transparent 68%,rgba(3,10,18,.85) 100%)}
.hero2 .container{position:relative;z-index:2;padding:76px 0}
.hero2 .inner{max-width:660px}
.hero2 h1{font-family:Georgia,serif;font-weight:700;line-height:1.08;
  font-size:clamp(2.2rem,4.1vw,3.4rem);margin:.28em 0 .5em;
  text-shadow:0 2px 26px rgba(0,0,0,.7)}
.hero2 h1 em{font-style:normal;color:var(--gold-soft);display:block}
.hero2 p{font-size:1.06rem;color:#d7e2ee;max-width:560px;
  text-shadow:0 1px 14px rgba(0,0,0,.6)}
.hero2 .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}

/* --- trust strip with icons ----------------------------------------------- */
.tstrip{background:#061524;border-bottom:1px solid #12293f}
.tstrip .container{display:grid;grid-template-columns:repeat(5,1fr)}
.tstrip .ti{display:flex;align-items:center;justify-content:center;gap:9px;
  padding:17px 8px;border-right:1px solid #12293f;color:#cfdae7;
  font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;text-align:center}
.tstrip .ti:last-child{border-right:0}
.tstrip svg{width:17px;height:17px;flex:0 0 17px;stroke:var(--gold);fill:none;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* --- service cards with icons --------------------------------------------- */
/* 7 services in a 3-col grid would strand the last card alone on row 3, so the
   7th spans the full width as a deliberate wide card instead of an orphan. */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.svc-grid .svc:last-child{grid-column:1/-1;display:grid;
  grid-template-columns:auto 1fr;align-items:center;gap:24px}
.svc-grid .svc:last-child .ico{margin-bottom:0}
.svc-grid .svc:last-child .body{display:grid;
  grid-template-columns:1fr auto;align-items:center;gap:8px 26px}
.svc-grid .svc:last-child h3{margin:0}
.svc-grid .svc:last-child p{margin:0;grid-column:1}
.svc-grid .svc:last-child a{grid-column:2;grid-row:1/3;white-space:nowrap;align-self:center}
.svc{background:linear-gradient(160deg,#0d2138,#081726);border:1px solid #17324f;
  border-radius:8px;padding:26px 24px;position:relative;cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}

/* --- whole card is the click target -------------------------------------- */
/* The <a> stays the only tab stop and keeps its accessible name; this overlay
   just extends its hit area over the card. */
.svc a.stretch::after{content:"";position:absolute;inset:0;border-radius:8px}
.svc a.stretch{display:inline-flex;align-items:center;gap:8px}
/* visually hidden suffix so each link reads as "Learn more about X" rather
   than seven identical "Learn more" links to a screen reader */
.svc .sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.svc .arw{transition:transform .18s ease;display:inline-block}

/* hover AND focus-within, so keyboard users get the same affordance */
.svc:hover,.svc:focus-within{border-color:#3a6fa5;transform:translateY(-3px);
  background:linear-gradient(160deg,#123255,#0a1e31);
  box-shadow:0 12px 30px rgba(0,0,0,.45)}
.svc:hover .ico,.svc:focus-within .ico{background:#12456f;border-color:#3d7fbb}
.svc:hover .ico svg,.svc:focus-within .ico svg{stroke:var(--gold-soft)}
.svc:hover .arw,.svc:focus-within .arw{transform:translateX(5px)}
.svc:hover h3,.svc:focus-within h3{color:#fff}
.svc:hover a.stretch,.svc:focus-within a.stretch{color:var(--gold-soft)}

/* visible keyboard focus ring on the card, not just the small link */
.svc a.stretch:focus-visible{outline:none}
.svc:focus-within{outline:2px solid var(--gold);outline-offset:3px}

@media(prefers-reduced-motion:reduce){
  .svc,.svc .arw{transition:none}
  .svc:hover,.svc:focus-within{transform:none}
  .svc:hover .arw,.svc:focus-within .arw{transform:none}
}
.svc .ico{width:46px;height:46px;border-radius:8px;background:#0b2f4e;
  border:1px solid #24547f;display:grid;place-items:center;margin-bottom:15px}
.svc .ico svg{width:23px;height:23px;stroke:var(--gold);fill:none;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.svc h3{font-family:Georgia,serif;font-size:1.06rem;margin:0 0 8px;color:#f4f7fb}
.svc p{color:#9fb0c2;font-size:.93rem;margin:0 0 16px;line-height:1.55}
.svc a{font-size:.74rem;letter-spacing:.09em;text-transform:uppercase;
  font-weight:700;color:#7fb0f5}
.svc a:hover{color:var(--gold-soft)}

/* --- why / stats split ---------------------------------------------------- */
.why{display:grid;grid-template-columns:1.08fr .92fr;gap:46px;align-items:center}
.why .badge-logo{width:104px;height:104px;border-radius:50%;margin-bottom:20px;
  box-shadow:0 0 0 1px rgba(201,151,63,.3)}
.statgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.statcard{background:linear-gradient(160deg,#0d2138,#081726);border:1px solid #17324f;
  border-radius:8px;padding:24px 20px;text-align:center}
.statcard .n{font-family:Georgia,serif;font-size:2.2rem;color:var(--gold-soft);
  line-height:1;margin-bottom:6px;display:block}
.statcard .l{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:#9fb0c2}
.statcard svg{width:22px;height:22px;stroke:var(--gold);fill:none;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;margin-bottom:12px}

/* --- CTA band over the skyline -------------------------------------------- */
.ctaband{position:relative;overflow:hidden;border-top:1px solid #17324f;
  border-bottom:1px solid #17324f}
.ctaband .bg{position:absolute;inset:0;
  background:url("hero-wide.webp") center 30%/cover no-repeat;opacity:.55}
.ctaband .scrim{position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(4,12,22,.95),rgba(5,16,29,.72))}
.ctaband .container{position:relative;z-index:2;display:flex;align-items:center;
  justify-content:space-between;gap:26px;padding:52px 0;flex-wrap:wrap}
.ctaband h2{margin:0 0 8px;font-family:Georgia,serif;font-size:clamp(1.6rem,2.6vw,2.1rem)}
.ctaband p{margin:0;color:#c3d2e2}

@media(max-width:980px){
  .svc-grid{grid-template-columns:repeat(2,1fr)}
  .why{grid-template-columns:1fr;gap:34px}
  .tstrip .container{grid-template-columns:repeat(2,1fr)}
  .tstrip .ti{border-bottom:1px solid #12293f}
  .hero2{min-height:auto}
  .hero2 .container{padding:56px 0}
}
@media(max-width:640px){
  .svc-grid{grid-template-columns:1fr}
  .statgrid{grid-template-columns:1fr}
  .tstrip .container{grid-template-columns:1fr}
  .ubar .container{justify-content:center;text-align:center}
  .callbox{display:none}
}
