/* =========================================================
   SecurePCHelp — base styles
   Plain CSS, mobile-first. No build step required.
   ========================================================= */

:root {
  --blue-50: #eff6ff;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --teal-50: #f0fdfa;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --amber-400: #fbbf24;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --shadow-call: 0 10px 20px rgba(20, 184, 166, 0.35);

  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--slate-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* space for floating mobile call bar */
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  display: block;
}

/* Icon sizing — every icon() call in the PHP templates passes classes
   like "h-5 w-5"; without these, SVGs fall back to the browser's
   default intrinsic size (huge) and blow out every layout they're in. */
svg {
  display: inline-block;
  flex-shrink: 0;
}

.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }

.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 0.5rem;
  z-index: 100;
  background: var(--blue-700);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

h1, h2, h3, h4 {
  color: var(--slate-900);
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Minimum tap target size everywhere */
a.btn,
button,
.nav-links a,
.faq-item summary {
  min-height: 44px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-call {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: var(--shadow-call);
}

.btn-call:hover {
  background: var(--teal-400);
}

.btn-call-lg {
  padding: 1.1rem 1.5rem;
  font-size: clamp(0.95rem, 4.2vw, 1.15rem);
  width: 100%;
}

@media (min-width: 640px) {
  .btn-call-lg {
    width: auto;
  }
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  width: 100%;
}

.btn-primary:hover {
  background: var(--blue-700);
}

.btn:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--slate-500);
}

.btn-outline:hover {
  background: var(--slate-700);
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
  background: var(--slate-900);
  color: var(--slate-100);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
  transition: bottom 0.2s ease;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1 1 260px;
  min-width: 0;
}

.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  min-height: 38px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner-actions {
    justify-content: center;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--slate-100);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--slate-900);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 10px;
  background: var(--blue-600);
  color: var(--white);
  flex-shrink: 0;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-700);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-actions {
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--slate-700);
}

.menu-toggle:hover {
  background: var(--slate-100);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--slate-100);
  background: var(--white);
  padding: 0.5rem 1.25rem 1.25rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile .nav-links {
  display: flex;
  flex-direction: column;
}

.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--slate-700);
}

.nav-links a:hover {
  background: var(--slate-50);
  color: var(--blue-700);
}

.nav-mobile .nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
  font-weight: 700;
  color: var(--blue-700);
  min-height: 44px;
}

@media (min-width: 900px) {
  .header-phone,
  .nav-desktop {
    display: flex;
  }

  .nav-desktop {
    align-items: center;
    gap: 1.25rem;
  }

  .nav-desktop a {
    font-weight: 500;
    color: var(--slate-600);
    white-space: nowrap;
  }

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

  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .menu-toggle,
  .nav-mobile {
    display: none;
  }
}

/* Full CTA pill only once there's genuinely room for it alongside
   the logo, all six nav links and the phone number. */
@media (min-width: 1280px) {
  .header-cta {
    display: flex;
  }

  .nav-desktop {
    gap: 2rem;
  }

  .header-actions {
    gap: 1.25rem;
  }
}

/* ---------- Floating mobile call bar ---------- */
.floating-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.75rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0));
}

.floating-call .btn-call {
  width: 100%;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .floating-call {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(to bottom, rgba(239, 246, 255, 0.7), #ffffff 85%);
  padding: 3rem 0 3.5rem;
}

.hero-grid {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 2.5rem;
}

.hero-content {
  text-align: center;
  width: 100%;
}

.hero-visual {
  width: 100%;
  max-width: 380px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 900;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .hero-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 3.5rem;
  }

  .hero-content {
    text-align: left;
    flex: 1 1 0;
    max-width: 580px;
  }

  .hero-visual {
    flex: 1 1 0;
    max-width: 440px;
  }

  .hero-badge {
    justify-content: flex-start;
  }

  .hero h1 {
    margin: 0;
  }

  .hero-sub {
    margin: 1.5rem 0 0;
  }

  .hero-cta {
    align-items: flex-start;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
}

.hero h1 .accent {
  color: var(--blue-700);
}

.hero-sub {
  margin: 1.5rem auto 0;
  max-width: 42ch;
  font-size: 1.1rem;
  color: var(--slate-600);
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-cta-note {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.hero-trust {
  margin-top: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-500);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
    max-width: 18ch;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0 6rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }
}

/* ---------- Section heading ---------- */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--slate-50);
}

.section-heading {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.eyebrow {
  display: block;
  color: var(--teal-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-size: 1.75rem;
  font-weight: 800;
}

.section-heading p {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--slate-600);
}

@media (min-width: 640px) {
  .section-heading h2 {
    font-size: 2.15rem;
  }
}

/* ---------- Services grid ---------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

.services-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  transition: box-shadow 0.15s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-700);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-link {
  display: block;
  color: inherit;
}

.card-link:hover {
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

.card-link:hover .card-icon {
  background: var(--blue-600);
  color: var(--white);
}

.card-link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-700);
}

.btn-on-dark {
  background: var(--white);
  color: var(--blue-700);
  width: auto;
}

.btn-on-dark:hover {
  background: var(--blue-50);
}

/* ---------- How it works ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  width: 64px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--teal-500);
  color: var(--white);
  box-shadow: var(--shadow-call);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #99f6e4;
    z-index: -1;
  }

  .step p {
    max-width: 24ch;
  }
}

/* ---------- Trust badges ---------- */
.badges-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  padding: 1.5rem 1rem;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-600);
  box-shadow: var(--shadow-sm);
}

.badge p {
  font-weight: 600;
  color: var(--slate-800);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.stars svg {
  color: var(--amber-400);
  fill: var(--amber-400);
}

.testimonial blockquote {
  margin: 0;
  color: var(--slate-600);
  flex: 1;
}

.testimonial figcaption {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--slate-900);
}

.testimonial-name span {
  font-weight: 400;
  color: var(--slate-500);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--blue-700);
  color: var(--white);
  text-align: center;
  padding: 3rem 0;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 1.6rem;
}

.cta-banner p {
  margin-top: 0.75rem;
  color: #dbeafe;
}

.cta-banner .hero-cta {
  margin-top: 1.75rem;
}

/* ---------- FAQ (native details/summary, no JS needed) ---------- */
.faq-list {
  max-width: 42rem;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chev {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--slate-500);
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 8px;
}

.faq-item p {
  padding: 0 0 1.1rem;
  color: var(--slate-600);
  padding-right: 1.5rem;
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  padding: 0.6rem 0.9rem;
  font: inherit;
  color: var(--slate-900);
  background: var(--white);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-50);
}

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.alert {
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-success {
  background: var(--teal-50);
  border: 1px solid #99f6e4;
  color: var(--teal-700);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks-card {
  background: var(--teal-50);
  border: 1px solid #99f6e4;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.thanks-card svg {
  color: var(--teal-600);
  margin: 0 auto 0.75rem;
}

.thanks-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.thanks-card a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
}

/* ---------- Contact / info page ---------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.info-block {
  margin-bottom: 1.75rem;
}

.info-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.info-block h4 svg {
  color: var(--teal-600);
}

.info-block p {
  color: var(--slate-600);
  font-size: 0.95rem;
}

.info-block .placeholder-note {
  font-style: italic;
  color: var(--slate-400);
}

.big-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight: 800;
  color: var(--blue-700);
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr 1fr;
  }
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1.15rem, 5vw, 1.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.35rem;
  white-space: nowrap;
}

.footer-phone svg {
  color: var(--teal-400);
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.footer-col h4 svg {
  color: var(--teal-400);
}

.footer-col p {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
}

.footer-col p em {
  color: var(--slate-500);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--slate-800);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-500);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- Simple page header (FAQ / Contact pages) ---------- */
.page-header {
  background:
    linear-gradient(to bottom, rgba(239, 246, 255, 0.6), var(--blue-50) 85%),
    url('../images/banners/page-banner.webp');
  background-size: cover;
  background-position: center;
  padding: 2.5rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
}

.page-header p {
  margin-top: 0.5rem;
  color: var(--slate-600);
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 1rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.breadcrumbs a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--slate-500);
}

.breadcrumbs a:hover {
  color: var(--blue-700);
}

.breadcrumbs svg {
  color: var(--slate-300);
}

.breadcrumbs [aria-current="page"] {
  color: var(--slate-800);
  font-weight: 600;
}

/* ---------- Service detail page ---------- */
.service-hero {
  background: var(--blue-50);
  padding: 2.5rem 0;
}

.service-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
}

.service-hero h1 {
  font-size: 1.9rem;
  font-weight: 800;
}

.service-hero p {
  margin-top: 0.5rem;
  color: var(--slate-600);
  font-size: 1.05rem;
  max-width: 55ch;
}

.service-body {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .service-body {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.service-body h2 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-body > div > p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--slate-700);
}

.check-list svg {
  color: var(--teal-600);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.service-sidebar {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  padding: 1.75rem;
}

@media (min-width: 1024px) {
  .service-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

.service-sidebar h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.related-services {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.related-services a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  color: var(--slate-700);
  font-weight: 500;
  font-size: 0.95rem;
}

.related-services a:hover {
  background: var(--white);
  color: var(--blue-700);
}

.related-services svg:last-child {
  color: var(--slate-400);
}

/* ---------- About page ---------- */
.values-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  text-align: center;
}

.value-card .card-icon {
  margin: 0 auto 1rem;
}

/* ---------- Prose (Privacy Policy, long-form pages) ---------- */
.prose {
  max-width: 65ch;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  margin-bottom: 1rem;
  color: var(--slate-600);
}

.prose ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.prose a {
  color: var(--blue-700);
  text-decoration: underline;
}

/* ---------- Section media (image + prose side by side) ---------- */
.section-media {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.section-media-visual {
  width: 100%;
  max-width: 320px;
  flex-shrink: 0;
}

.section-media-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 760;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.section-media .prose {
  margin: 0;
  max-width: none;
}

@media (min-width: 900px) {
  .section-media {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .section-media-visual {
    flex: 0 0 320px;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .section-media .prose {
    flex: 1 1 0;
    max-width: 640px;
  }
}

/* ---------- Areas we cover ---------- */
.areas-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 56rem;
  margin: 0 auto;
}

.areas-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
}

.areas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.area-chip svg {
  color: var(--teal-600);
}

.area-chip:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.areas-note {
  max-width: 42rem;
  margin: 2.25rem auto 0;
  text-align: center;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.areas-note a {
  color: var(--blue-700);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Comparison table ---------- */
.table-scroll {
  max-width: 60rem;
  margin: 2rem auto 0;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem;
}

.compare-table thead th {
  background: var(--slate-50);
  font-weight: 700;
  color: var(--slate-800);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--slate-800);
  white-space: nowrap;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody td:last-child {
  color: var(--teal-700);
  font-weight: 500;
}

/* ---------- 404 page ---------- */
.error-page {
  text-align: center;
  padding: 5rem 0;
}

.error-page .error-code {
  font-size: 5rem;
  font-weight: 800;
  color: var(--blue-100, var(--blue-50));
  color: var(--blue-600);
  opacity: 0.25;
  line-height: 1;
}

.error-page h1 {
  margin-top: 1rem;
  font-size: 1.75rem;
}

.error-page p {
  margin-top: 0.75rem;
  color: var(--slate-600);
}

.error-page .hero-cta {
  margin-top: 2rem;
}

/* ---------- Toll-free badge ---------- */
.free-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.5;
}

.btn .free-badge,
.btn-on-dark .free-badge,
.footer-phone .free-badge {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.footer-phone {
  white-space: normal;
}

.hero-cta-note .free-badge,
.cta-banner p .free-badge {
  margin-left: 0.4rem;
}

.card-thumb {
  display: block;
  width: calc(100% + 3rem);
  height: auto;
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.blog-featured-image {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 2.5rem;
  box-shadow: var(--shadow-md);
}

/* ---------- Blog article: meta row (date, read time, copy link) ---------- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.25rem;
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate-500);
}

.article-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-meta svg {
  color: var(--slate-400);
  flex-shrink: 0;
}

.article-meta-fresh {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--teal-50, #f0fdfa);
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.copy-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.copy-link-btn:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

.copy-link-btn.is-copied {
  border-color: var(--teal-500);
  background: var(--teal-50, #f0fdfa);
  color: var(--teal-700);
}

/* ---------- Blog table of contents ---------- */
.toc {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-left: 4px solid var(--teal-500);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-800);
  margin-bottom: 0.85rem;
}

.toc-title svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

.toc ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.25rem;
}

@media (min-width: 640px) {
  .toc ol {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}

.toc ol li::marker {
  color: var(--teal-600);
  font-weight: 700;
}

.toc a {
  color: var(--blue-700);
  font-weight: 500;
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  text-decoration: underline;
}

/* ---------- Blog search & category filter ---------- */
.blog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-search {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search svg {
  position: absolute;
  left: 1rem;
  color: var(--slate-400);
  pointer-events: none;
}

.blog-search input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  padding: 0.6rem 1.1rem 0.6rem 2.75rem;
  font: inherit;
  color: var(--slate-900);
  background: var(--white);
}

.blog-search input:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-50);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

.filter-pill.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.blog-count {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 0;
}

.blog-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 3.5rem 1.5rem;
  color: var(--slate-500);
}

.blog-empty-state svg {
  color: var(--slate-300);
}

.blog-empty-state h3 {
  color: var(--slate-800);
  font-size: 1.15rem;
}

.blog-empty-state .btn {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .blog-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .blog-search {
    max-width: 320px;
  }
}

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

.btn-secondary {
  background: var(--white);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

/* ---------- Blog: filter pill counts ---------- */
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.35rem;
  margin-left: 0.4rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-pill.is-active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* ---------- Blog: toolbar right / sort ---------- */
.blog-toolbar-right {
  display: flex;
  align-items: center;
}

.blog-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
}

.blog-sort svg {
  color: var(--slate-400);
  flex-shrink: 0;
}

.blog-sort select {
  border: none;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  padding: 0.6rem 0;
}

.blog-sort select:focus {
  outline: none;
}

/* ---------- Blog: card meta (date + read time) ---------- */
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.9rem;
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-meta svg {
  color: var(--slate-400);
  flex-shrink: 0;
}

/* ---------- Blog: card thumbnail + "New" badge ---------- */
.card-thumb-wrap {
  position: relative;
  width: calc(100% + 3rem);
  margin: -1.5rem -1.5rem 1.25rem;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-thumb-wrap .card-thumb {
  width: 100%;
  margin: 0;
  transition: transform 0.25s ease;
}

.card-link:hover .card-thumb-wrap .card-thumb {
  transform: scale(1.04);
}

.new-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--teal-500);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 10px rgba(20, 184, 166, 0.4);
}

/* ---------- Blog: featured post hero ---------- */
.featured-post {
  display: block;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.featured-post:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.featured-post-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.featured-post-body {
  padding: 1.75rem;
}

.featured-post-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.featured-post-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.featured-post-body p {
  color: var(--slate-600);
}

@media (min-width: 900px) {
  .featured-post {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .featured-post-img {
    height: 100%;
    aspect-ratio: auto;
  }

  .featured-post-body {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .featured-post-body h2 {
    font-size: 1.75rem;
  }
}

/* ---------- Blog: load more ---------- */
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ---------- Reading progress bar ---------- */
.reading-progress {
  position: sticky;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 39;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--teal-500);
  transition: width 0.1s linear;
}

/* ---------- Back to top button ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 46px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 45;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}

/* Keep clear of the full-width floating call bar on mobile */
@media (max-width: 899px) {
  .back-to-top {
    bottom: 5.5rem;
  }
}

/* ---------- "Was this helpful?" feedback widget ---------- */
.feedback-widget {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  text-align: center;
}

.feedback-question {
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.9rem;
}

.feedback-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.feedback-btn:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
  background: var(--teal-50);
}

.feedback-thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--slate-700);
  flex-wrap: wrap;
}

.feedback-thanks-yes svg {
  color: var(--teal-600);
  flex-shrink: 0;
}

.feedback-thanks-no a {
  color: var(--blue-700);
  font-weight: 700;
}
