/* ============================================================
   Palmetto Tech Rescue — styles.css
   Brand: deep azure blue #0E6FA0 + energetic orange #F7941E
   Fonts: Outfit (display) / Work Sans (body)
   Target: WCAG 2.1 AA — contrast, focus, reduced motion
   ============================================================ */

:root {
  /* Brand */
  --blue: #0E6FA0;
  --blue-deep: #0A5680;     /* button bg, white text ≈ 6:1 */
  --blue-ink: #0A2A3D;      /* dark headings on light */
  --orange: #F7941E;
  --orange-deep: #E27C0C;   /* hover */
  --green: #1F9D6B;         /* environmental accent */
  --green-deep: #17784F;

  /* Neutrals */
  --ink: #14222C;           /* body text on white ≈ 13:1 */
  --muted: #4A5A66;         /* secondary text ≈ 7:1 */
  --line: #E2E9EE;
  --bg: #FFFFFF;
  --bg-soft: #F2F7FA;
  --bg-softer: #F8FBFD;

  /* System */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 61, .06), 0 2px 8px rgba(10, 42, 61, .06);
  --shadow-md: 0 8px 24px rgba(10, 42, 61, .10);
  --shadow-lg: 0 18px 48px rgba(10, 42, 61, .16);
  --container: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; color: var(--blue-ink); margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Brand-colored text selection */
::selection { background: rgba(247, 148, 30, .85); color: #14222C; }

/* Keep in-page anchor targets clear of the sticky header */
[id] { scroll-margin-top: 92px; }
/* ...except the back-to-top target, which should land at the true document top */
#top { scroll-margin-top: 0; }

/* Even out multi-line headline wraps (progressive enhancement) */
h1, h2 { text-wrap: balance; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--blue-ink); color: #fff; padding: 12px 18px;
  border-radius: 8px; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue-deep); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; border-radius: 999px;
  padding: .8em 1.5em; cursor: pointer;
  text-decoration: none; line-height: 1;
  touch-action: manipulation;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-lg { font-size: 1.08rem; padding: .95em 1.8em; }
.btn-sm { font-size: .92rem; padding: .6em 1.1em; }
.btn-block { width: 100%; }

.btn-orange { --btn-bg: var(--orange); --btn-fg: #14222C; }
.btn-orange:hover { background: var(--orange-deep); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--blue-deep); }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .55); box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
/* Gains depth once the page scrolls (class toggled in script.js) */
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 42, 61, .10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { display: inline-flex; }
.brand-logo { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li > a { white-space: nowrap; }
.nav-menu > li > a:not(.btn):not(.nav-call) {
  font-family: var(--font-display); font-weight: 500; color: var(--blue-ink);
  font-size: .98rem; padding: .4em 0; position: relative;
}
.nav-menu > li > a:not(.btn):not(.nav-call)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width .2s var(--ease);
}
.nav-menu > li > a:not(.btn):not(.nav-call):hover { text-decoration: none; }
.nav-menu > li > a:not(.btn):not(.nav-call):hover::after { width: 100%; }

.nav-call {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-display); font-weight: 700; color: var(--blue-deep);
  white-space: nowrap;
}
.nav-call:hover { text-decoration: none; color: var(--orange-deep); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle-bar { width: 26px; height: 3px; background: var(--blue-ink); border-radius: 3px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(86vh, 760px);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: 90px 0;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--blue-ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-anim { position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(14, 111, 160, .55), transparent 60%),
    radial-gradient(900px 600px at 90% 90%, rgba(247, 148, 30, .28), transparent 55%),
    linear-gradient(135deg, #0A2A3D 0%, #0C4D70 55%, #0E6FA0 100%);
}
.hero-overlay { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 61, .45) 0%, rgba(10, 42, 61, .25) 40%, rgba(10, 42, 61, .65) 100%);
}

/* animated glow orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; }
.orb-1 { width: 360px; height: 360px; background: #18A0D8; top: -80px; left: -60px; animation: float1 14s var(--ease) infinite; }
.orb-2 { width: 300px; height: 300px; background: var(--orange); bottom: -90px; right: 8%; animation: float2 16s var(--ease) infinite; }
.orb-3 { width: 220px; height: 220px; background: #0E6FA0; top: 40%; right: 30%; animation: float1 18s var(--ease) infinite reverse; }
@keyframes float1 { 50% { transform: translate(40px, -30px) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(-50px, 20px) scale(1.12); } }

/* animated circuit lines */
.hero-circuit { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero-circuit path { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-dasharray: 14 10; animation: dash 6s linear infinite; }
.hero-circuit circle { fill: var(--orange); }
@keyframes dash { to { stroke-dashoffset: -240; } }

.hero-content { position: relative; max-width: 820px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  padding: .45em 1em; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; margin-bottom: 1.1rem;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #5be08a; box-shadow: 0 0 0 0 rgba(91, 224, 138, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(91, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 224, 138, 0); } }

.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .94); max-width: 56ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; list-style: none; margin: 0; padding: 0; }
.hero-badges li { font-size: .98rem; color: rgba(255, 255, 255, .9); }
.hero-badges strong { color: var(--orange); font-family: var(--font-display); }
.hero-disclaimer { margin: .9rem 0 0; font-size: .82rem; color: rgba(255, 255, 255, .72); }
.hero-disclaimer em { font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-muted { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: .82rem;
  color: var(--blue-deep); margin-bottom: .7rem;
}
.eyebrow-green { color: var(--green-deep); }
.eyebrow-on-dark { color: var(--orange); }
.section-lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ea; }
.card-feature { border-color: var(--orange); box-shadow: 0 10px 30px rgba(247, 148, 30, .18); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff;
  transition: transform .25s var(--ease);
}
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon svg { width: 28px; height: 28px; }
.card-feature .card-icon { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card-more {
  display: inline-flex; align-items: center; gap: .3em; margin-top: .9rem;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--blue-deep);
}
.card-more svg { transition: transform .18s var(--ease); }
.card-more:hover { text-decoration: none; color: var(--orange-deep); }
.card-more:hover svg { transform: translateX(3px); }
.card-badge {
  position: absolute; top: -12px; right: 16px;
  background: var(--orange); color: #14222C; font-family: var(--font-display);
  font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .35em .8em; border-radius: 999px;
}

/* ---------- E-waste impact ---------- */
.impact { background: linear-gradient(180deg, var(--bg-softer), #fff); }
.impact-grid { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
.impact-grid-4 { grid-template-columns: repeat(4, 1fr); }
.impact-grid-4 .impact-stat { padding: 1.9rem 1.1rem; }
.impact-grid-4 .impact-number { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
@media (max-width: 900px) { .impact-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .impact-grid-4 { grid-template-columns: 1fr; } }
.impact-stat {
  text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.impact-stat:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
/* Card becomes a disclosure button: icon + number + label + a "Learn more" cue */
.impact-stat-head {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; margin: 0; padding: 0; background: none; border: 0; color: inherit;
  font: inherit; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.impact-stat-head:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 12px; }
.impact-more {
  display: inline-flex; align-items: center; gap: .35em; margin-top: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem; color: var(--green-deep);
}
.impact-more::before { content: "Learn more"; }
.impact-stat.is-open .impact-more::before { content: "Show less"; }
.impact-chevron { flex: none; transition: transform .3s var(--ease); }
.impact-stat.is-open .impact-chevron { transform: rotate(180deg); }
/* Smooth reveal: JS measures content height and animates max-height */
.impact-detail { overflow: hidden; max-height: 0; transition: max-height .34s var(--ease); }
.impact-detail-inner p {
  margin: 1.15rem 0 0; padding-top: 1.15rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .95rem; line-height: 1.6; text-align: left;
}
.impact-tap-hint { color: var(--green-deep); font-weight: 600; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .impact-detail { transition: none; }
  .impact-chevron { transition: none; }
}
.impact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; margin-bottom: .9rem;
  background: rgba(31, 157, 107, .12); color: var(--green-deep);
}
.impact-icon svg { width: 30px; height: 30px; }
.impact-number {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--green-deep); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.impact-label { display: block; margin-top: .5rem; color: var(--muted); font-weight: 500; min-height: 2.8em; }
.impact-footnote { text-align: center; max-width: 640px; margin: 0 auto; color: var(--muted); font-size: .98rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0ea; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(14, 111, 160, .28);
}
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Reviews (scorecard + wall) ----------
   Replaced the old one-review-at-a-time carousel in 2026-07-30. A wall of real
   cards shows the volume of social proof at a glance, which a single rotating
   slide never could. Equal-height grid cells (NOT masonry) so nothing below the
   section can shift as cards render. Components:
     .review-summary  - the 4.9 / stars / platform-links scorecard
     .review-wall     - the grid of .review-card
     .review-mentions - "most mentioned" chips
     .review-links    - outbound CTA row (also used on /about-us/)
   .stars and .avatar below are shared by the cards and the scorecard. */
.stars { color: var(--orange); font-size: 1.4rem; letter-spacing: 2px; margin-bottom: 1rem; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-family: var(--font-display); font-weight: 700; }

/* --- Scorecard --- */
.review-summary {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center; max-width: 900px; margin: 0 auto 2.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.4rem);
}
.review-score { text-align: center; padding-right: clamp(1.4rem, 4vw, 3rem); border-right: 1px solid var(--line); }
.review-score-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.8rem, 7vw, 3.6rem); line-height: 1; color: var(--blue-deep); }
.review-score .stars { font-size: 1.2rem; margin: .5rem 0 .3rem; }
.review-score-label { display: block; font-size: .88rem; color: var(--muted); max-width: 15ch; margin: 0 auto; }
.review-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
/* min-width:0 stops the nowrap .review-source-meta from forcing these rows wider than
   their grid track (it pushed 2px of horizontal page overflow at 375px). */
.review-sources li { min-width: 0; }
.review-source {
  min-width: 0;
  display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.review-source:hover, .review-source:focus-visible { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.review-source img, .review-source svg { flex: none; display: block; }
.review-source-name { font-family: var(--font-display); }
.review-source-meta { margin-left: auto; font-family: var(--font-body); font-weight: 500; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.review-source-arrow { flex: none; color: var(--blue); }

/* --- Wall --- */
/* Default `align-items: stretch` is deliberate: every card in a row takes the height of
   the tallest one, so the grid stays rectangular and the attribution rows line up
   (see margin-top:auto on .review-person). Don't switch to `start` - it gives a ragged
   bottom edge that reads as broken rather than as masonry. */
.review-wall { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
.review-card {
  display: flex; flex-direction: column; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-card-hidden { display: none; }
.review-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.review-card .stars { font-size: 1.05rem; letter-spacing: 1px; margin: 0; }
.review-card blockquote { margin: 0 0 1.2rem; color: var(--ink); font-size: .98rem; line-height: 1.6; }
.review-tag {
  align-self: flex-start; margin: 0 0 .9rem; font-family: var(--font-display);
  font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: var(--blue-deep);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .3em .85em;
}
/* margin-top:auto pins attribution to the bottom so it lines up across a row of
   equal-height cards even when the quotes are different lengths. */
.review-person { display: flex; align-items: center; gap: .7rem; margin-top: auto; color: var(--muted); font-size: .88rem; }
.review-person .avatar { width: 38px; height: 38px; font-size: .9rem; flex: none; }
.review-person strong { display: block; color: var(--ink); font-size: .95rem; }
.review-more-wrap { text-align: center; margin-top: 1.6rem; }

/* --- "Most mentioned" chips --- */
.review-mentions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin: 0 0 2rem; }
.review-mentions-label { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: .9rem; margin-right: .2rem; }
.review-mentions span.review-mention {
  font-size: .85rem; font-weight: 600; color: var(--blue-deep);
  background: rgba(31, 157, 107, .1); border: 1px solid rgba(31, 157, 107, .28);
  border-radius: 999px; padding: .35em .9em;
}

/* --- Outbound review links --- */
.review-links-lead { margin: 2.4rem 0 1rem; text-align: center; font-weight: 600; color: var(--ink); }
.review-links { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.review-links .btn { gap: .6rem; }
.review-links .btn img, .review-links .btn svg { flex: none; display: block; }
.review-leave { margin: 1.2rem 0 0; text-align: center; font-size: .95rem; color: var(--muted); }
.review-leave a { font-weight: 600; }

@media (max-width: 900px) {
  .review-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .review-summary { grid-template-columns: 1fr; gap: 1.4rem; }
  .review-score { padding-right: 0; padding-bottom: 1.3rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .review-score-label { max-width: none; }
}
@media (max-width: 620px) {
  .review-wall { grid-template-columns: 1fr; }
  .review-links .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  /* Not enough room for the trailing description; the platform name + chevron still
     reads as a link, and the full wording is repeated in the button row below. */
  .review-source-meta { display: none; }
  .review-source-arrow { margin-left: auto; }
}

/* ---------- Quote form ---------- */
.quote-section { background: linear-gradient(135deg, #0A2A3D 0%, #0C4D70 100%); color: #fff; }
.quote-wrap { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1.15fr; align-items: start; }
.quote-intro h2 { color: #fff; }
.quote-intro > p { color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.quote-perks { list-style: none; margin: 1.4rem 0; padding: 0; display: grid; gap: .7rem; }
.quote-perks li { position: relative; padding-left: 1.9rem; color: rgba(255, 255, 255, .92); }
.quote-perks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314222C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.quote-alt { font-size: .96rem; color: rgba(255, 255, 255, .82); }
.quote-alt a { color: var(--orange); font-weight: 600; }

.quote-form { background: #fff; border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; color: var(--blue-ink); margin-bottom: .4rem; font-size: .95rem; }
.req { color: var(--orange-deep); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8em .9em; border: 1.5px solid #cdd9e1; border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #93a3ad; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 111, 160, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #D32F2F; box-shadow: 0 0 0 3px rgba(211, 47, 47, .14); }
.field-err { display: block; color: #C62121; font-size: .85rem; margin-top: .35rem; font-weight: 500; }

.form-status { margin: 0 0 1rem; padding: 0; font-weight: 600; border-radius: var(--radius-sm); }
.form-status:not(:empty) { padding: .9em 1em; }
.form-status.success { background: rgba(31, 157, 107, .12); color: var(--green-deep); border: 1px solid rgba(31, 157, 107, .35); }
.form-status.error { background: rgba(211, 47, 47, .08); color: #C62121; border: 1px solid rgba(211, 47, 47, .3); }
.form-fineprint { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.field-help { display: block; color: var(--muted); font-size: .85rem; margin-top: .4rem; line-height: 1.45; }
.field-optional { color: var(--muted); font-weight: 500; font-size: .85em; }
.quote-alt { margin-top: 1.3rem; }
.quote-intro a { color: var(--orange); font-weight: 600; }

/* ---------- Final CTA band ---------- */
.cta-band {
  background:
    radial-gradient(720px 340px at 12% 0%, rgba(255, 255, 255, .20), transparent 60%),
    linear-gradient(120deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #14222C; padding: clamp(48px, 7vw, 80px) 0;
}
.cta-inner { text-align: center; }
.cta-band h2 { color: #14222C; }
.cta-band p { font-size: 1.15rem; margin-bottom: 1.6rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-band .btn-white { color: var(--blue-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-ink); color: rgba(255, 255, 255, .82); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; padding: clamp(48px, 6vw, 72px) 22px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-brand p { color: rgba(255, 255, 255, .72); max-width: 36ch; }
.footer-head { font-family: var(--font-display); font-size: 1rem; color: #fff; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-col a { color: rgba(255, 255, 255, .82); }
.footer-col a:hover { color: var(--orange); text-decoration: none; }
.footer-contact li { color: rgba(255, 255, 255, .72); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 1.2rem 0; }
.footer-bottom p { margin: 0; font-size: .9rem; color: rgba(255, 255, 255, .6); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Nav collapses to the hamburger below 1000px: the "Repair Tracker" label is long
   enough that the full desktop row no longer fits between ~861-1039px. Keep this in
   sync with the 1039 in script.js's "close menu on link click" check. */
@media (max-width: 1039px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: .5rem 22px 1.2rem;
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; visibility: hidden;
    transition: clip-path .3s var(--ease), opacity .25s, visibility 0s .3s;
  }
  .nav-menu.open {
    clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; visibility: visible;
    transition: clip-path .3s var(--ease), opacity .25s, visibility 0s;
  }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a:not(.btn) { display: block; padding: .9em 0; border-bottom: 1px solid var(--line); }
  .nav-menu > li > a:not(.btn):not(.nav-call)::after { display: none; }
  .nav-cta-li { margin-top: .8rem; }
  .nav-cta-li .btn { width: 100%; }
  .nav-call { padding: .9em 0; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .review-card { padding: 1.3rem; }
}

/* ---------- Sub-page (Schedule / Instant Quote placeholders) ---------- */
.subpage-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; text-align: center;
  padding: clamp(70px, 12vw, 130px) 0;
  background: linear-gradient(135deg, #0A2A3D 0%, #0C4D70 55%, #0E6FA0 100%);
}
.subpage-hero .orb { position: absolute; }
.subpage-hero .container { position: relative; z-index: 1; }
.subpage-badge {
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(247, 148, 30, .18); border: 1px solid rgba(247, 148, 30, .5);
  color: var(--orange); font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; font-size: .8rem;
  padding: .45em 1em; border-radius: 999px; margin-bottom: 1.2rem;
}
.subpage-hero h1 { color: #fff; }
.subpage-hero p { color: rgba(255, 255, 255, .92); font-size: 1.15rem; max-width: 56ch; margin: 0 auto 2rem; }
.subpage-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.subpage-body { padding: clamp(48px, 7vw, 80px) 0; }
.subpage-features { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.subpage-feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); text-align: center; }
.subpage-feature .card-icon { margin-inline: auto; }

/* ---------- Screen-reader only ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Button variants used by widget ---------- */
.btn-blue { --btn-bg: var(--blue-deep); --btn-fg: #fff; }
.btn-blue:hover { background: var(--blue); }
.btn-ghost-dark { --btn-bg: #fff; --btn-fg: var(--blue-deep); border-color: #cdd9e1; }
.btn-ghost-dark:hover { background: var(--bg-soft); }

/* ============ Instant Quote widget ============ */
.iq-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(56px, 9vw, 96px) 0 clamp(70px, 11vw, 120px);
  background: linear-gradient(135deg, #0A2A3D 0%, #0C4D70 55%, #0E6FA0 100%);
}
.iq-hero .container { position: relative; z-index: 1; }
.iq-hero h1 { color: #fff; }
.iq-hero p { color: rgba(255, 255, 255, .92); font-size: 1.12rem; max-width: 52ch; margin: 0 auto; }

.iq-section { padding: 0 0 clamp(56px, 8vw, 96px); }
.iq-widget {
  max-width: 680px; margin: clamp(-60px, -8vw, -90px) auto 0; position: relative; z-index: 5;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: clamp(1.4rem, 4vw, 2.4rem);
}
/* Embedded in the homepage's dark #quote section: no hero to overlap, grid column sets the width */
.quote-section .iq-widget { margin: 0; max-width: none; }

/* progress */
.iq-progress { margin-bottom: 1.6rem; }
.iq-progress-track { height: 6px; border-radius: 999px; background: #e7eef3; overflow: hidden; }
.iq-progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .45s var(--ease); }
.iq-steps { display: flex; justify-content: space-between; gap: .4rem; list-style: none; margin: .9rem 0 0; padding: 0; }
.iq-step-dot {
  display: flex; flex-direction: column; align-items: center; gap: .3rem; flex: 1;
  font-family: var(--font-display); font-size: .76rem; font-weight: 600; color: var(--muted);
  background: none; border: 0; cursor: default; transition: color .2s;
}
.iq-step-dot span {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: #e7eef3; color: var(--muted);
  font-size: .9rem; transition: background .25s, color .25s, transform .25s;
}
.iq-step-dot.is-active span { background: var(--blue-deep); color: #fff; transform: scale(1.08); }
.iq-step-dot.is-active { color: var(--blue-ink); }
.iq-step-dot.is-done span { background: var(--orange); color: #14222C; cursor: pointer; }
.iq-step-dot.is-done { cursor: pointer; }

.iq-back {
  display: inline-flex; align-items: center; gap: .35em; background: none; border: 0;
  color: var(--blue-deep); font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  cursor: pointer; padding: .3em .2em; margin-bottom: .6rem; border-radius: 8px;
}
.iq-back:hover { color: var(--orange-deep); }

/* stage + panel transitions */
.iq-stage { position: relative; min-height: 220px; }
.iq-panel { opacity: 0; transform: translateY(16px); transition: opacity .26s var(--ease), transform .26s var(--ease); }
.iq-panel.is-active { opacity: 1; transform: none; }
.iq-panel.is-leaving { position: absolute; inset: 0; opacity: 0; transform: translateY(-12px); pointer-events: none; }
.iq-panel-title { font-size: clamp(1.25rem, 3vw, 1.6rem); text-align: center; margin: 0 0 1.3rem; outline: none; }

/* option buttons */
.iq-options { display: grid; gap: .8rem; }
.iq-option {
  display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 1rem 1.1rem; cursor: pointer; font-family: var(--font-body); color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .14s var(--ease), background .18s;
  opacity: 0; transform: translateY(10px);
  animation: iqIn .42s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 45ms + 130ms);
}
@keyframes iqIn { to { opacity: 1; transform: none; } }
.iq-option:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(14, 111, 160, .14); transform: translateY(-2px); }
.iq-option:active { transform: translateY(0); }
.iq-option-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff;
}
.iq-option-icon svg { width: 24px; height: 24px; }
.iq-option-body { display: flex; flex-direction: column; gap: .15rem; flex: 1; min-width: 0; }
.iq-option-label { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--blue-ink); }
.iq-option-note { font-size: .88rem; color: var(--muted); }
.iq-option-price { flex: none; font-family: var(--font-display); font-weight: 700; color: var(--green-deep); font-size: .92rem; white-space: nowrap; }
.iq-option-price.is-custom { color: var(--muted); font-weight: 600; }
.iq-option-arrow { flex: none; color: #aebcc6; transition: transform .18s var(--ease), color .18s; }
.iq-option:hover .iq-option-arrow { color: var(--blue); transform: translateX(3px); }

/* result */
.iq-result { text-align: center; }
.iq-result-summary { color: var(--muted); margin: 0 0 .6rem; }
.iq-result-summary strong { color: var(--blue-ink); }
.iq-price { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; margin: .4rem 0 1rem; }
/* Green glow bloom behind the figure. Absolutely positioned so it stays out of
   the flex flow; fades out on its own so it never competes with the number. */
.iq-price::before {
  content: ""; position: absolute; left: 50%; top: 58%;
  width: min(320px, 92%); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(31, 157, 107, .26), rgba(31, 157, 107, 0) 68%);
  animation: iqGlow 1s var(--ease) both;
}
@keyframes iqGlow {
  0% { opacity: 0; scale: .55; }
  38% { opacity: 1; }
  100% { opacity: 0; scale: 1.22; }
}
.iq-price-from { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--muted); }
/* The number "lands": it drops DOWN into place and settles out of a slight
   overscale. Deliberately NOT a count-up from $0 — a rising figure reads as
   the price climbing, which undercuts the value. Applies to exact AND range
   prices so both reveals match. Uses the scale/translate longhands (not
   transform) so nothing here can clobber a transform-based hover state. */
.iq-price-amount {
  position: relative; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3rem, 11vw, 4.4rem); line-height: 1; color: var(--green-deep);
  font-variant-numeric: tabular-nums;
  animation: iqSettle .5s var(--ease) both;
}
@keyframes iqSettle {
  from { opacity: 0; scale: 1.06; translate: 0 -8px; }
  to { opacity: 1; scale: 1; translate: 0 0; }
}
.iq-price-amount.iq-price-range { font-size: clamp(2.2rem, 8vw, 3.4rem); }
.iq-result-note { color: var(--muted); font-size: .95rem; max-width: 42ch; margin: 0 auto 1.6rem; }
/* "What the number buys" rows — tick in one after another once the price has
   settled, moving the eye off the figure and onto the value. */
.iq-includes {
  list-style: none; margin: 0 auto 1.5rem; padding: 0;
  display: grid; gap: .5rem; width: fit-content; max-width: 100%; text-align: left;
}
.iq-includes li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .95rem; line-height: 1.4; color: var(--ink);
  opacity: 0; animation: iqRise .42s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 80ms + 220ms);
}
.iq-includes em { font-style: italic; color: var(--muted); }
.iq-check { flex: none; color: var(--green-deep); margin-top: .15em; }
@keyframes iqRise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.iq-result-actions { display: grid; gap: .7rem; margin-bottom: 1rem; }
/* Was `animation: iqIn ... backwards`, which was a no-op: iqIn only has a `to`
   keyframe, so with no initial hidden state here the implied `from` was already
   the resting state. Needs opacity:0 + a translate-based keyframe to actually
   stagger (transform would fight .btn:hover / :active). */
.iq-result-actions .btn { opacity: 0; animation: iqRise .4s var(--ease) forwards; }
.iq-result-actions .btn:nth-child(1) { animation-delay: .42s; }
.iq-result-actions .btn:nth-child(2) { animation-delay: .5s; }
.iq-result-actions .btn:nth-child(3) { animation-delay: .58s; }
.iq-restart { background: none; border: 0; color: var(--muted); font-family: var(--font-body); font-size: .9rem; text-decoration: underline; cursor: pointer; padding: .4em; }
.iq-restart:hover { color: var(--blue-deep); }

/* custom-quote form inside the widget */
.iq-quote-form { text-align: left; margin-top: 1.3rem; }
.iq-quote-form .field:last-of-type { margin-bottom: 1.2rem; }
.iq-custom-alt { margin: 1rem 0 .3rem; font-size: .92rem; color: var(--muted); }
.iq-custom-alt a { color: var(--blue-deep); font-weight: 600; }

.iq-disclaimer { margin: 1.6rem 0 0; font-size: .82rem; color: var(--muted); text-align: center; line-height: 1.5; }
.iq-disclaimer em { font-style: italic; }

@media (max-width: 480px) {
  .iq-option { padding: .85rem .9rem; gap: .75rem; }
  .iq-option-icon { width: 40px; height: 40px; }
  .iq-option-price { font-size: .82rem; }
  .iq-step-dot { font-size: 0; gap: 0; }
  .iq-step-dot span { font-size: .85rem; }
}

/* ============ Scheduling page (Calendly) ============ */
.calendly-wrap {
  max-width: 900px; margin: 0 auto; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff;
  min-height: 520px;
}
/* When a real Calendly embed is pasted in, let it size itself */
.calendly-wrap .calendly-inline-widget { width: 100%; }
.calendly-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 520px; padding: 2.5rem 1.5rem;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(14, 111, 160, .06), transparent 70%),
    var(--bg-softer);
}
.calendly-placeholder-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%; margin-bottom: 1.2rem;
  background: #fff; border: 1px solid var(--line); color: var(--blue-deep); box-shadow: var(--shadow-sm);
}
.calendly-placeholder-icon svg { width: 38px; height: 38px; }
.calendly-placeholder h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.calendly-placeholder p { color: var(--muted); max-width: 44ch; margin: 0 auto 1.6rem; }
.calendly-placeholder-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* animation-delay must be zeroed too: staggered reveals set opacity:0 up front
     and rely on a delayed animation to un-hide them, so collapsing only the
     duration would leave them invisible for the length of the delay. */
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .orb, .hero-circuit path, .pulse-dot, .ps5-rec-dot, .deck-device, .deck-screen-glow { animation: none !important; }
}

/* ============================================================
   PS5 HDMI Repair landing page (/ps5-hdmi-repair/)
   Reuses the global brand system; adds a flashier split hero
   with a looping repair video, trust strip, pricing & FAQ.
   ============================================================ */

/* ---- Split hero with repair video ---- */
.ps5-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding: clamp(56px, 9vw, 104px) 0 clamp(96px, 12vw, 150px);
  background: linear-gradient(135deg, #0A2A3D 0%, #0C4D70 55%, #0E6FA0 100%);
}
.ps5-hero .orb { position: absolute; }
.ps5-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.ps5-hero-text { max-width: 600px; }
.ps5-hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.ps5-hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: rgba(255, 255, 255, .94); max-width: 54ch; margin: 0 0 1.8rem; }
.ps5-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.ps5-hero-badges { display: flex; flex-wrap: wrap; gap: .9rem 1.8rem; list-style: none; margin: 0; padding: 0; }
.ps5-hero-badges li { font-size: .96rem; color: rgba(255, 255, 255, .9); }
.ps5-hero-badges strong { color: var(--orange); font-family: var(--font-display); }

/* video frame */
.ps5-video-frame {
  position: relative; margin: 0; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(135deg, #0A2A3D 0%, #0E6FA0 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42), 0 0 0 6px rgba(255, 255, 255, .05),
              0 18px 50px rgba(247, 148, 30, .22);
}
.ps5-video-frame::after { /* soft gradient for chip legibility */
  content: ''; position: absolute; inset: auto 0 0 0; height: 42%; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 26, 38, .78), transparent);
}
.ps5-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ps5-video-chip {
  position: absolute; left: 14px; bottom: 13px; z-index: 2;
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(7, 26, 38, .62); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  padding: .42em .85em; border-radius: 999px; max-width: calc(100% - 28px);
}
.ps5-rec-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; flex: none;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, .7); animation: pulse 2s infinite; }
.ps5-video-toggle {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(7, 26, 38, .55); color: #fff; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .18s var(--ease), transform .18s var(--ease);
}
.ps5-video-toggle:hover { background: rgba(7, 26, 38, .82); transform: translateY(-1px); }

/* ---- Trust strip (elevated card overlapping hero) ---- */
.ps5-trust { position: relative; z-index: 5; margin-top: clamp(-94px, -9vw, -64px); }
.ps5-trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.ps5-trust-item { text-align: center; padding: 1.5rem 1rem; border-right: 1px solid var(--line); }
.ps5-trust-item:last-child { border-right: 0; }
.ps5-trust-num { display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--blue-deep); line-height: 1.1; }
.ps5-trust-label { display: block; margin-top: .35rem; font-size: .86rem; color: var(--muted); }

/* ---- Causes line under symptoms ---- */
.ps5-causes { margin: 2rem auto 0; max-width: 760px; text-align: center; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.6rem; }
.ps5-causes strong { color: var(--blue-ink); }

/* ---- DIY warning callout ---- */
.ps5-warning {
  display: flex; gap: 1.3rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--orange);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-sm); max-width: 900px; margin-inline: auto;
}
.ps5-warning-icon { flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); color: #14222C; }
.ps5-warning-icon svg { width: 30px; height: 30px; }
.ps5-warning-text h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: .6rem; }
.ps5-warning-text p { color: var(--muted); margin: 0 0 .7rem; }
.ps5-warning-note { font-weight: 600; color: var(--blue-ink) !important; margin-bottom: 0 !important; }

/* ---- Center CTA helper ---- */
.ps5-center-cta { text-align: center; margin-top: 2.4rem; }

/* ---- Pricing card ---- */
.ps5-pricing {
  max-width: 660px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--orange);
  border-radius: 20px; box-shadow: var(--shadow-md); padding: clamp(1.6rem, 4vw, 2.4rem);
}
.ps5-price-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; }
.ps5-price-head h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.ps5-price-sub { color: var(--muted); margin: 0; font-size: .96rem; }
.ps5-price-tag { display: flex; align-items: baseline; gap: .35rem; line-height: 1; }
.ps5-price-from { font-family: var(--font-display); font-weight: 600; color: var(--muted); font-size: .95rem; }
.ps5-price-amt { font-family: var(--font-display); font-weight: 800; color: var(--blue-deep); font-size: clamp(2.2rem, 5vw, 3rem); }
.ps5-price-list { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .7rem; }
.ps5-price-list li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.ps5-price-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(31, 157, 107, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D6B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
}
.ps5-price-note { color: var(--muted); font-size: .92rem; margin: 0 0 1.4rem; }

/* ---- FAQ accordion ---- */
.ps5-faq-wrap { max-width: 800px; }
.ps5-faq { display: grid; gap: .9rem; }
.ps5-faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.ps5-faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; font-family: var(--font-display); font-weight: 600; color: var(--blue-ink); font-size: 1.04rem;
}
.ps5-faq-item summary::-webkit-details-marker { display: none; }
.ps5-faq-item summary::after {
  content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A5680' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 14px;
  transition: transform .25s var(--ease);
}
.ps5-faq-item[open] summary::after { transform: rotate(180deg); }
.ps5-faq-item summary:hover { color: var(--blue-deep); }
.ps5-faq-a { padding: 0 1.4rem 1.25rem; }
.ps5-faq-a p { color: var(--muted); margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .ps5-hero-grid { grid-template-columns: 1fr; }
  .ps5-hero-text { max-width: 640px; }
  .ps5-video-frame { max-width: 560px; }
}
@media (max-width: 680px) {
  .ps5-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .ps5-trust-item:nth-child(2) { border-right: 0; }
  .ps5-trust-item:nth-child(1), .ps5-trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .ps5-warning { flex-direction: column; gap: 1rem; }
}
@media (max-width: 560px) {
  .ps5-hero-actions .btn { width: 100%; }
}

/* ============================================================
   Steam Deck repair landing page (/steam-deck-repair/)
   Reuses the PS5 landing-page components (.ps5-hero*, .ps5-trust*,
   .ps5-warning*, .ps5-pricing*, .ps5-faq*, .ps5-causes) as shared
   landing-page styles. Adds an SVG device illustration in place of
   a hero video (no media supplied for this page).
   ============================================================ */
.deck-art-frame {
  position: relative; margin: 0; aspect-ratio: 16 / 10; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(47, 182, 230, .18), transparent 60%),
    linear-gradient(135deg, #0A2A3D 0%, #0E6FA0 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42), 0 0 0 6px rgba(255, 255, 255, .05),
              0 18px 50px rgba(247, 148, 30, .18);
}
.deck-art { width: 100%; height: 100%; display: block; }
.deck-device { animation: deckFloat 6s ease-in-out infinite; transform-origin: center; }
.deck-screen-glow { animation: deckGlow 4.5s ease-in-out infinite; transform-origin: center; }
@keyframes deckFloat { 50% { transform: translateY(-10px); } }
@keyframes deckGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.deck-art-chip {
  position: absolute; left: 14px; bottom: 13px; z-index: 2;
  display: inline-flex; align-items: center; gap: .5em;
  background: rgba(7, 26, 38, .62); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  padding: .42em .85em; border-radius: 999px; max-width: calc(100% - 28px);
}
.deck-art-chip svg { color: var(--orange); flex: none; }

/* "Free quote" pill on the value card (stands in for a price tag) */
.deck-quote-pill {
  display: inline-flex; align-items: center; flex: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--green-deep); background: rgba(31, 157, 107, .12);
  border: 1px solid rgba(31, 157, 107, .35); border-radius: 999px; padding: .5em 1.1em;
}

@media (max-width: 920px) {
  .deck-art-frame { max-width: 520px; }
}

/* ============================================================
   Xbox HDMI Repair landing page (/xbox-hdmi-repair/)
   Reuses the PS5 landing-page components (.ps5-hero*, .ps5-trust*,
   .ps5-video*, .ps5-warning*, .ps5-pricing*, .ps5-faq*, .ps5-causes).
   Adds a two-model price breakdown card.
   ============================================================ */

/* Two-model price breakdown inside the pricing card */
.xbox-price-rows { display: grid; gap: .6rem; margin: 0 0 1.4rem; }
.xbox-price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1.1rem;
}
.xbox-price-row .model { font-family: var(--font-display); font-weight: 600; color: var(--blue-ink); }
.xbox-price-row .price {
  font-family: var(--font-display); font-weight: 800; color: var(--blue-deep);
  font-size: 1.3rem; font-variant-numeric: tabular-nums;
}

/* ============================================================
   No-Power repair landing pages (/ps5-no-power-repair/, /xbox-no-power-repair/)
   Both pages reuse the PS5 landing-page system (.ps5-hero*, .ps5-trust*,
   .ps5-warning*, .ps5-pricing*, .ps5-faq*, .ps5-causes) and the shared
   .ps5-video-frame hero video; the only page-specific piece left is the
   range price (.np-range). The old .np-art* / .np-device / .np-glow SVG
   illustration styles were removed once BOTH no-power pages had real repair
   video (PS5 2026-07-16, Xbox 2026-07-29) and nothing referenced them.
   ============================================================ */

/* Range price (e.g. "$130-$150") sized to fit the pricing-card tag */
.np-range { font-size: clamp(1.85rem, 4.4vw, 2.4rem); font-variant-numeric: tabular-nums; }

/* ============================================================
   About Us page (/about-us/)
   ============================================================ */
.about-area-chips {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center;
}
.about-area-chips li {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  color: var(--blue-deep); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: .55em 1.2em;
}
.about-area-note { max-width: 62ch; margin: 0 auto; text-align: center; color: var(--muted); }
/* NOTE: the About page's old .about-review-links-lead / .about-review-links row was
   generalized into the shared .review-links-lead / .review-links component (see the
   "Reviews" block above) when that row was rolled out to all 7 review pages. */

ul.footer-social {
  display: flex; align-items: center; gap: .6rem; margin-top: .9rem;
  padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer-social a {
  display: inline-flex; opacity: .85; transition: opacity .2s ease, transform .2s ease;
  border-radius: 6px; padding: 8px 8px 8px 0; /* enlarges the tap target beyond the 22px icon */
}
.footer-social a:hover, .footer-social a:focus-visible { opacity: 1; transform: translateY(-2px); }
.footer-social img { display: block; border-radius: 5px; }

/* ============================================================
   Breadcrumbs (repair landing-page heroes)
   ============================================================ */
.breadcrumb { margin: 0 0 1rem; }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: .85rem;
}
.breadcrumb li { color: rgba(255, 255, 255, .6); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin: 0 .5em; color: rgba(255, 255, 255, .35); }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: var(--orange); text-decoration: none; }
.breadcrumb li[aria-current="page"] { color: #fff; font-weight: 600; }
.breadcrumb-center ol { justify-content: center; }

/* ============================================================
   Care / diagnostic guide articles (/repairs/*-care-guide/)
   ============================================================ */
.article-body .container { max-width: 720px; }
.article-lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 1.5rem; }
.article-body h2 { margin: 2.2rem 0 .8rem; font-size: 1.4rem; }
.article-body ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body p { margin: 0 0 1.2rem; line-height: 1.65; }
.article-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem !important; }

.services-more { text-align: center; margin-top: 2.5rem; }
.services-more a { font-family: var(--font-display); font-weight: 600; }

.services-guides { text-align: center; margin-top: .9rem; font-size: .95rem; color: var(--muted); }
.services-guides a { font-weight: 600; }

/* ============================================================
   Care-guide articles (repairs/ps5-hdmi-care-guide, xbox-hdmi-care-guide)
   ============================================================ */
.guide-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.8rem); margin: 0 0 1.2rem; box-shadow: var(--shadow-sm);
}
.guide-step-head { display: flex; align-items: center; gap: .9rem; margin-bottom: .8rem; }
.guide-step-num {
  flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(14, 111, 160, .32);
}
.article-body .guide-step-head h2 { margin: 0; font-size: 1.3rem; }
.article-body .guide-step > :last-child { margin-bottom: 0; }

/* Icon lists: green checks (do this / prevention) and orange warnings (causes / red flags) */
.article-body .guide-list { list-style: none; padding-left: 0; }
.article-body .guide-list li { position: relative; padding-left: 2.1rem; margin-bottom: .65rem; }
.guide-list li::before {
  content: ''; position: absolute; left: 0; top: .1em; width: 1.35em; height: 1.35em;
  border-radius: 50%; background-repeat: no-repeat; background-position: center; background-size: .78em;
}
.guide-list-check li::before {
  background-color: rgba(31, 157, 107, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F9D6B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.guide-list-warn li::before {
  background-color: rgba(247, 148, 30, .16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E27C0C' stroke-width='3.2' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='14'/%3E%3Ccircle cx='12' cy='19' r='.5' fill='%23E27C0C'/%3E%3C/svg%3E");
}

/* Verdict / key-takeaway callout */
.guide-verdict {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 6px solid var(--orange);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem 0;
}
.guide-verdict svg { flex: none; margin-top: .15em; color: var(--orange-deep); }
.guide-verdict p { margin: 0 !important; }

/* Video embed inside the article (reuses the .ps5-video-frame component) */
.guide-video { margin: 1.6rem 0 2rem; }
.article-body .guide-video + p { margin-top: 0; }

/* "If it's the port" wrap-up card: price row + reassurance bullets */
.guide-fix-card {
  background: linear-gradient(135deg, var(--bg-softer) 0%, #fff 60%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); margin: 1.4rem 0 0;
}
.article-body .guide-fix-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .7rem; margin: 0 0 .9rem;
}
.guide-fix-card .article-cta { margin-top: 1.4rem !important; }
.guide-fix-price strong {
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--blue-deep); line-height: 1;
}
.guide-fix-price span { color: var(--muted); font-size: .95rem; }

/* ============================================================
   Scroll-reveal (progressive enhancement)
   script.js adds .will-reveal to common components, then .is-revealed
   as they enter the viewport; both classes are removed once the
   transition finishes so hover transforms behave natively afterwards.
   No JS / no IntersectionObserver / reduced motion: nothing is hidden.
   ============================================================ */
.will-reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.will-reveal.is-revealed { opacity: 1; transform: none; }
