/* Round 15 fix layer: pages (loaded after ror-r11-layout.css). Owner: fix agent P.
   Rules: blue/white/red only, no gradient backgrounds, rectangular 3px buttons, yellow review stars. */

/* ==========================================================================
   1. Home hero (decision 1 / CRO-3 / CRO-4 / CRO-10)
   Phone: copy → trust line → Call + Free estimate → path choice → form → pictures.
   Tablet/desktop keep form right / pictures left (D10).
   ========================================================================== */
.hero--home .hero-trust{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:18px 0 0;font-size:.9375rem;line-height:1.3}
.hero--home .hero-trust a{display:inline-flex;align-items:center;gap:7px;min-height:32px;color:var(--b-navy,#0A234B);text-decoration:none;font-weight:600}
.hero--home .hero-trust a:hover span:last-child,.hero--home .hero-trust .ht-hours:hover{text-decoration:underline;text-underline-offset:3px}
.hero--home .hero-trust .ht-stars{color:#F5B301;letter-spacing:1px;font-size:1rem;line-height:1}
.hero--home .hero-trust .ht-rating b{font-family:var(--font-display);font-weight:800}
.hero--home .hero-trust .ht-rating span:last-child{color:#33466E;font-weight:500}
.hero--home .hero-trust .ht-hours svg{color:#D42A3F;flex:none}
.hero--home .hero-trust .ht-hours span{color:var(--b-navy,#0A234B)}

.hero--home .hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
/* path choice: two split "go" buttons */
.hero--home .aud{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:22px 0 0}
.hero--home .aud .aud-lab{flex:0 0 100%;font-family:var(--font-display);font-weight:800;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:#33466E}

@media(min-width:768px){
  .hero--home .hero-estimate{display:none!important}
  /* the form's red submit is the primary here, so the hero call is secondary (navy outline) */
  .hero--home .hero-call{--b-bg:#fff;--b-fg:var(--b-navy);--b-bd:var(--b-navy);--b-edge:var(--b-navy);--b-bg-h:#E4EBF8;--b-fg-h:var(--b-navy);--b-bd-h:var(--b-navy)}
  .hero--home .aud .aud-lab{flex:0 0 auto;margin-right:4px}
}
@media(max-width:767px){
  .hero-home{grid-template-areas:"copy" "form" "visual"!important;gap:24px}
  .hero--home{padding-top:20px!important}
  .hero--home .hero-copy .pill{font-size:.75rem}
  .hero--home h1{font-size:2.125rem!important;line-height:1.08;margin:.7rem 0 .7rem!important;text-wrap:balance}
  .hero--home p.lead{font-size:1rem;line-height:1.5;margin:0}
  .hero--home .lead-more{display:none}
  .hero--home .hero-trust{margin-top:14px;gap:4px 16px;font-size:.875rem}
  .hero--home .hero-cta{display:flex!important;flex-direction:column;gap:10px;margin-top:16px}
  .hero--home .hero-cta .btn{width:100%;justify-content:center}
  .hero--home .aud{margin-top:18px;gap:8px 10px}
  .hero--home .aud a.go:not(#ror-g1):not(#ror-g2){flex:1 1 0;min-width:0;justify-content:space-between;white-space:nowrap;letter-spacing:.04em!important;font-size:.8125rem!important;--go-px:14px;--go-gap:10px}
  .hero--home .hero-visual{margin-top:4px}
}

/* ==========================================================================
   2. Home body
   ========================================================================== */
/* DESIGN-1: split go buttons in the path cards fill the row cleanly (label left, arrow right) */
.path .cta-row{align-items:stretch}
.path .cta-row>a.go:not(#ror-g1):not(#ror-g2){justify-content:space-between}
@media(max-width:899px){.path .cta-row>a.go:not(#ror-g1):not(#ror-g2){width:100%}}
.path .cta-row>.btn{text-align:center;justify-content:center}

/* DESIGN-22: industries as compact 2-up tiles on phones (title + one short line) */
@media(max-width:767px){
  .inds--compact .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .inds--compact .ind{min-height:0!important}
  .inds--compact .ind .ib{padding:14px 14px 16px!important}
  .inds--compact .ind h3{font-size:.9375rem!important;line-height:1.25;margin:0 0 4px!important}
  .inds--compact .ind p{font-size:.8125rem!important;line-height:1.35}
  .steps .grid{gap:12px!important}
  /* steps: number beside the text instead of above it */
  .steps .step{display:grid!important;grid-template-columns:44px minmax(0,1fr);column-gap:14px;align-items:start;padding:18px!important}
  .steps .step .num{grid-row:1 / span 2;margin:0!important}
  .steps .step h3{margin:2px 0 4px!important}
  .steps .step p{margin:0!important}
  /* path cards: the hero and tiles already carry the promises; keep the links and actions */
  .paths .path ul{display:none}
}

/* CRO-10: hours + directions in the home "Areas" block */
.home-visit{margin-top:22px;display:grid;gap:14px}
.home-visit-addr{margin:0;display:grid;gap:2px;font-size:.9375rem;line-height:1.45;color:#33466E}
.home-visit-addr b{color:var(--b-navy,#0A234B);font-family:var(--font-display);font-weight:800}
.home-visit-links{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:480px){.home-visit-links a.go:not(#ror-g1):not(#ror-g2){flex:1 1 100%;justify-content:space-between}}

/* DESIGN-15: tablet hero form spans the content width */
@media(min-width:768px) and (max-width:1023px){.hero-home>.hero-form{max-width:none!important}}

/* ==========================================================================
   3. Headings (DESIGN-2): no one-word orphans
   ========================================================================== */
h1,h2,h3{text-wrap:balance}
.h-line{display:block;text-wrap:balance}
.lead,.repair-lead,.sec-head p{text-wrap:pretty}
@media(max-width:560px){
  .repair-hero h1{font-size:2.05rem!important;line-height:1.1!important}
  .business-growth-intro h1,.svc-hero h1,.page-head h1{text-wrap:balance}
}

/* ==========================================================================
   4. One button hierarchy in heroes (DESIGN-8 / decision 6 / CRO-5 hook)
   Red filled = the primary: Call on phones, the free estimate on tablet/desktop.
   Navy outline = the secondary. [data-hero-cta] marks the hero action row (C hides the
   floating bar while it is on screen).
   ========================================================================== */
@media(max-width:767px){
  [data-hero-cta] .btn[href^="tel:"]{order:-1;--b-bg:var(--b-red);--b-fg:#fff;--b-bd:var(--b-red);--b-edge:var(--b-red-edge);--b-bg-h:var(--b-red-h);--b-fg-h:#fff;--b-bd-h:var(--b-red-h)}
  [data-hero-cta] .btn:not([href^="tel:"]){--b-bg:#fff;--b-fg:var(--b-navy);--b-bd:var(--b-navy);--b-edge:var(--b-navy);--b-bg-h:#E4EBF8;--b-fg-h:var(--b-navy);--b-bd-h:var(--b-navy)}
}
@media(min-width:768px){
  [data-hero-cta] .btn:not([href^="tel:"]){order:-1;--b-bg:var(--b-red);--b-fg:#fff;--b-bd:var(--b-red);--b-edge:var(--b-red-edge);--b-bg-h:var(--b-red-h);--b-fg-h:#fff;--b-bd-h:var(--b-red-h)}
  [data-hero-cta] .btn[href^="tel:"]{--b-bg:#fff;--b-fg:var(--b-navy);--b-bd:var(--b-navy);--b-edge:var(--b-navy);--b-bg-h:#E4EBF8;--b-fg-h:var(--b-navy);--b-bd-h:var(--b-navy)}
}
/* hero side cards: no competing filled buttons (the hero row already holds the primary) */
:is(.info-card,.side) .cbtn .btn,:is(.info-card,.side) .btn-primary{--b-bg:#fff;--b-fg:var(--b-navy);--b-bd:var(--b-navy);--b-edge:var(--b-navy);--b-bg-h:#E4EBF8;--b-fg-h:var(--b-navy);--b-bd-h:var(--b-navy)}

/* ==========================================================================
   5. About (DESIGN-18): review stars are yellow everywhere
   ========================================================================== */
.results .v.v-stars{color:#FFC83D!important;-webkit-text-fill-color:#FFC83D!important;background:none!important;letter-spacing:2px}

/* ==========================================================================
   6. Text-only page heroes get the standard campaign card on the right (DESIGN-6)
   ========================================================================== */
.page-head--visual .page-head-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:center}
.page-head--visual .ph-visual{width:100%;max-width:420px;justify-self:end;margin:0!important}
.page-head--visual .ph-visual img{display:block;width:100%;height:auto}
@media(max-width:899px){
  .page-head--visual .page-head-split{grid-template-columns:1fr;gap:0}
  .page-head--visual .ph-visual{display:none}
}

/* ==========================================================================
   7. Blog (DESIGN-6 / DESIGN-7): hero card on the right; post grid on the 108px content edge
   ========================================================================== */
@media(min-width:1200px){
  .blog-grid:has(> :nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:none!important;margin-inline:0!important}
}
@media(min-width:1001px) and (max-width:1199px){.blog-grid:has(> :nth-child(4):last-child){max-width:none!important;margin-inline:0!important}}

/* ==========================================================================
   8. City + industry pages
   ========================================================================== */
/* DESIGN-13: text cards (no icon) go single-column on phones; icon + title tiles stay 2-up */
@media(max-width:479px){
  .related-grid:not(:has(> .rel > .ic)){grid-template-columns:1fr!important}
  .related-grid:not(:has(> .rel > .ic)) .rel span{font-size:.9375rem;line-height:1.5}
}
/* DESIGN-17: industry "Prepare for your first conversation" prose */
.prep-block p{max-width:68ch}
.prep-block p+p{margin-top:1em}

/* DESIGN-21: phones show the parent trail only (the H1 names the page), so no dangling "/" */
@media(max-width:480px){
  .breadcrumb .cur,.breadcrumb .sep:has(+ .cur){display:none}
  .breadcrumb a{white-space:nowrap}
}

/* 2026-11-30 mobile fix: three path buttons (Home IT / Business IT / Repairs) no longer fit on one
   row on phones; stack them full width so labels and arrow boxes never overlap. */
@media(max-width:767px){
  .hero--home .aud a.go:not(#ror-g1):not(#ror-g2){flex:1 1 100%;width:100%;max-width:none;white-space:normal;box-sizing:border-box}
}
@media(min-width:768px) and (max-width:1100px){
  .hero--home .aud a.go:not(#ror-g1):not(#ror-g2){flex:1 1 calc(33.333% - 10px);min-width:0;width:auto;justify-content:space-between;white-space:nowrap;font-size:.8125rem!important;--go-px:12px;--go-gap:8px}
  .hero--home .aud .aud-lab{flex:0 0 100%}
}
