/* Apex Gas & Heating — /review page (standalone, no framework, loads fast from a QR scan) */
:root {
  --navy: #0d1b2e;
  --navy-2: #123a72;
  --blue: #1e5fbf;
  --blue-dark: #154a98;
  --yellow: #ffc800;
  --ink: #0d1b2e;
  --muted: #4a5a70;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  padding: .6rem 1rem;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus { top: 8px; }

/* header */
.rv-header {
  background: #fff;
  box-shadow: 0 6px 24px rgba(13, 27, 46, .08);
}

.rv-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: .55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rv-logo img {
  display: block;
  height: 60px;
  width: auto;
}

.rv-nav {
  display: flex;
  gap: 1.6rem;
  font-weight: 600;
  font-size: .95rem;
  color: #2b3a4f;
}

.rv-nav a:hover { color: var(--blue); }

/* main card */
.rv-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  text-align: center;
}

.rv-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  color: var(--yellow);
}

.rv-stars::before,
.rv-stars::after {
  content: "";
  height: 2px;
  width: 64px;
  background: #cfd9ea;
}

.rv-stars svg { width: 24px; height: 24px; }

h1 {
  margin: 1rem 0 .75rem;
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  color: #0f2a5c;
}

.rv-lead {
  margin: 0 auto 1.6rem;
  max-width: 30rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.rv-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #2f7ae5, var(--blue));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(30, 95, 191, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.rv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(30, 95, 191, .42);
}

.rv-btn svg { width: 24px; height: 24px; flex-shrink: 0; }

.rv-hint {
  margin: .8rem 0 0;
  font-size: .9rem;
  color: #6a7a90;
}

/* QR (desktop / tablet only — a phone cannot scan its own screen) */
.rv-qr {
  margin: 2.4rem auto 0;
}

.rv-qr h2 {
  margin: 0 0 .8rem;
  font-size: 1.1rem;
  color: #0f2a5c;
}

.rv-qr-card {
  display: inline-block;
  padding: .9rem;
  border: 3px solid #b9d3f5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(13, 27, 46, .1);
}

.rv-qr-card img {
  display: block;
  width: 260px;
  height: 260px;
}

@media (max-width: 767px) {
  .rv-qr { display: none; }
  .rv-nav { display: none; }
  .rv-main { padding-top: 1.4rem; }
  .rv-logo img { height: 46px; }
}

.rv-thanks {
  margin: 2.2rem 0 0;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", cursive;
  font-size: 1.5rem;
  color: #0f2a5c;
}

/* bottom band */
.rv-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-top-left-radius: 50% 24px;
  border-top-right-radius: 50% 24px;
}

.rv-band-inner {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2.2rem;
  text-align: center;
}

.rv-band h2 {
  margin: 0 0 .5rem;
  font-size: 1.7rem;
}

.rv-band p {
  margin: 0 auto 1.4rem;
  max-width: 28rem;
  color: #d5e1f5;
}

.rv-quote {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 2rem;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(255, 200, 0, .3);
  transition: transform .2s ease;
}

.rv-quote:hover { transform: translateY(-2px); }
.rv-quote svg { width: 20px; height: 20px; }

.rv-back {
  display: inline-block;
  margin-top: 1.8rem;
  font-weight: 600;
  color: #b9d3f5;
}

.rv-back:hover { color: #fff; }

.rv-band .rv-reg {
  margin: 1.6rem auto 0;
  max-width: 28rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
  color: #9fb3d3;
}

@media (prefers-reduced-motion: reduce) {
  .rv-btn, .rv-quote { transition: none; }
  .rv-btn:hover, .rv-quote:hover { transform: none; }
  html { scroll-behavior: auto; }
}
