/* ---------------------------------------------------------------------------
   pages.css - supplementary styles for inner pages (services, areas, about,
   contact). Built mobile-first. Reuses tokens and components from styles.css;
   adds only what the multi-page layouts need without touching the base design.
--------------------------------------------------------------------------- */

/* Inner page hero ---------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(35, 132, 216, 0.35), transparent 60%),
    linear-gradient(160deg, var(--blue-900), var(--blue-800) 60%, var(--blue-650));
  color: #fff;
  padding: 28px 0 34px;
}
.page-hero__inner {
  display: grid;
  gap: 14px;
}
.page-hero__text {
  display: grid;
  gap: 14px;
  align-content: start;
}
.page-hero__media {
  display: none; /* hidden on mobile; shown from 860px up */
  margin-top: 10px;
  justify-content: center;
}
.page-hero__media img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 50px rgba(3, 12, 38, 0.45));
}
.page-hero__media--photo img {
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(3, 12, 38, 0.5);
}
.page-hero .eyebrow {
  color: var(--gold-300);
  margin: 0;
}
.page-hero h1 {
  font-size: clamp(1.7rem, 6vw, 2.9rem);
  line-height: 1.1;
  margin: 0;
  max-width: 18ch;
}
.page-hero__lede {
  font-size: 1.05rem;
  color: #eaf2ff;
  margin: 0;
  max-width: 54ch;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}
.page-hero__call {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* Breadcrumbs -------------------------------------------------------------- */
.breadcrumbs {
  font-size: 0.85rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 10px;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: 0.6;
}
.breadcrumbs a {
  color: inherit;
  opacity: 0.85;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.page-hero .breadcrumbs {
  color: #d6e6ff;
}

/* Prose / rich content blocks --------------------------------------------- */
.prose {
  max-width: 70ch;
}
.prose p {
  color: var(--ink);
}
.answer-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
  border-left: 4px solid var(--gold-500);
  padding-left: 14px;
  margin: 0 0 18px;
}

/* Two-column content + sticky aside ---------------------------------------- */
.page-layout {
  display: grid;
  gap: 28px;
}
.content-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
  margin-bottom: 18px;
}
.content-card h2 {
  margin-top: 0;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 30px;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--gold-500);
  color: var(--blue-900);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.factor-grid {
  display: grid;
  gap: 12px;
}
.factor-grid article {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.factor-grid h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.factor-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Aside / quote rail ------------------------------------------------------- */
.page-aside {
  display: grid;
  gap: 16px;
}
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.aside-card h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

/* Trust strip -------------------------------------------------------------- */
.trust-strip {
  display: grid;
  gap: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.trust-strip__rating {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.trust-strip__rating strong {
  font-size: 1.5rem;
  color: var(--blue-800);
}
.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
}
.trust-strip li::before {
  content: "✓ ";
  color: var(--red-600);
  font-weight: 800;
}

/* CTA band ----------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-650));
  color: #fff;
  padding: 30px 0;
}
.cta-band__inner {
  display: grid;
  gap: 16px;
}
.cta-band h2 {
  margin: 0;
  font-size: clamp(1.3rem, 5vw, 1.9rem);
}
.cta-band p {
  margin: 6px 0 0;
  color: #e7f0ff;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cta-band__call {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* Service / area index cards ---------------------------------------------- */
.tile-link-grid {
  display: grid;
  gap: 14px;
}
.tile-link {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tile-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.tile-link__icon {
  font-size: 1.6rem;
}
.tile-link h3 {
  margin: 8px 0 4px;
}
.tile-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.tile-link__more {
  display: inline-block;
  margin-top: 10px;
  color: var(--red-600);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Pills / tags ------------------------------------------------------------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tag-row li {
  background: var(--sky-100);
  color: var(--blue-800);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.placeholder-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
}

/* Skimmable section titles (icon + label as F-pattern anchors) --------------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}
.section-title__icon {
  font-size: 1.3rem;
  line-height: 1;
}
.lead-para {
  font-size: 1.05rem;
  margin: 0;
}
.muted-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

/* Progressive disclosure (accordions) -------------------------------------- */
.disclosure-group {
  margin-bottom: 18px;
}
.group-title {
  font-size: 1.05rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 4px 0 12px;
}
.disclosure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 10px;
  overflow: hidden;
}
.disclosure > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  font-weight: 800;
  color: var(--blue-800);
}
.disclosure > summary::-webkit-details-marker {
  display: none;
}
.disclosure > summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red-600);
  flex: none;
}
.disclosure[open] > summary::after {
  content: "\2013";
}
.disclosure > summary:hover {
  color: var(--red-600);
}
.disclosure__hint {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 2px;
}
.disclosure__body {
  padding: 0 18px 16px;
}
.disclosure__body p {
  margin: 0;
}

/* Desktop layout ----------------------------------------------------------- */
@media (min-width: 860px) {
  .page-hero {
    padding: 44px 0 52px;
  }
  .page-hero__inner--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 32px;
  }
  .page-hero__media {
    display: flex;
  }
  .page-hero__inner--split .page-hero__media {
    margin-top: 0;
    justify-content: flex-end;
  }
  .page-hero__media img {
    max-width: 440px;
  }
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
  .page-aside {
    position: sticky;
    top: 96px;
  }
  .factor-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-band__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .tile-link-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tile-link-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------------------------------------------------------------------------
   Rebate pivot: hero sub, wrapping trust band, 4-up process grid
--------------------------------------------------------------------------- */
.hero__sub {
  margin: 8px 0 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.9vw, 1.2rem);
  letter-spacing: 0.01em;
}

/* Trust band with 4 phrase-length points (not the 3-word FAST/FRIENDLY/FAIR) */
.value-band__inner--wrap {
  flex-wrap: wrap;
  gap: 8px 26px;
}
.value-band__inner--wrap span {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: clamp(0.82rem, 1.5vw, 1.02rem) !important;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--blue-800) !important;
  display: inline-flex;
  align-items: center;
}
.value-band__inner--wrap span::before {
  content: "\2713";
  color: var(--red-600);
  font-weight: 900;
  margin-right: 7px;
}

/* Four-step process row */
@media (min-width: 880px) {
  .process-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Rebate callout on eligible upgrade pages */
.rebate-callout {
  display: block;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--blue-900);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 0 0 18px;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  font-size: 0.98rem;
  line-height: 1.5;
}
.rebate-callout strong {
  font-weight: 800;
}
.rebate-callout__more {
  font-weight: 800;
  color: var(--red-600);
  white-space: nowrap;
}
.rebate-callout:hover {
  filter: brightness(1.03);
}

/* Footer social icon links */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.footer-social a {
  display: inline-grid !important;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.footer-social svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Rating badges are links to Google reviews */
a.review-pill {
  text-decoration: none;
  cursor: pointer;
}
a.trust-strip__rating {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.trust-strip__rating:hover strong {
  text-decoration: underline;
}

/* Legal pages (privacy, terms) */
.legal {
  max-width: 760px;
}
.legal h2 {
  margin: 30px 0 8px;
  font-size: 1.25rem;
}
.legal p,
.legal li {
  color: var(--ink);
}
.legal ul {
  padding-left: 20px;
  display: grid;
  gap: 6px;
}
.legal a {
  color: var(--blue-650);
}
.legal .updated {
  color: var(--muted);
  font-size: 0.9rem;
}
.legal .disclaimer {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.92rem;
  margin: 14px 0 22px;
}

/* Footer bottom: stack copyright + legal links, centered */
.site-footer__bottom {
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.site-footer__legal {
  margin-top: 0;
  font-size: 0.85rem;
  opacity: 0.85;
}
.site-footer__legal a {
  color: inherit;
}
