/* ============================================================
   Gridpoint Solutions — Agency Website Styles
   Static, dependency-free. Design: luxury editorial — white,
   near-black, single metallic-gold accent. Clean, sharp, premium.
   Type: Bodoni Moda (display serif) + Hanken Grotesk (grotesque body).
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,500;6..96,600;6..96,700&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap");

:root {
  /* --- Surfaces --- */
  --paper: #ffffff;          /* primary page surface */
  --paper-2: #f6f5f2;        /* alternating light section (neutral, not cream) */
  --ink: #131311;            /* near-black text */
  --near-black: #0b0b0a;     /* dark section canvas */
  --near-black-2: #17150f;   /* dark section, warm depth */

  /* --- Gold accent ramp --- */
  --gold: #c2a24d;           /* metallic gold — surfaces, rules, on-dark accents */
  --gold-bright: #d9be74;    /* highlight gold on dark */
  --gold-ink: #8a6a1f;       /* darker gold that passes AA on white for large/bold text */

  /* --- Text roles --- */
  --text-strong: #131311;    /* body headings / strong copy on light  (~17:1) */
  --text-body: #35342f;      /* body copy on light                     (~10:1) */
  --text-muted: #605d54;     /* secondary / meta on light              (~5.6:1) */
  --on-dark: #f4f2ec;        /* body copy on near-black                */
  --on-dark-muted: #b7b2a6;  /* secondary on near-black                (~6:1)  */

  /* --- Lines --- */
  --line: #e6e3db;           /* hairline on light */
  --line-strong: #d7d2c6;
  --line-dark: rgba(255, 255, 255, 0.14); /* hairline on dark */

  --font-serif: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(19, 19, 17, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(19, 19, 17, 0.16);
  --shadow-lg: 0 30px 60px -24px rgba(19, 19, 17, 0.28);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-12: 6rem;

  --container: 1160px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo-ish */

  /* Semantic z-index scale */
  --z-header: 100;
  --z-nav-panel: 90;
  --z-overlay: 200;

  /* ---- Backward-compat aliases ----
     Older interior pages still reference the previous navy/amber/gray
     tokens in inline styles. Map them onto the luxury palette so every
     page renders on-brand without hunting down each inline reference. */
  --navy-950: var(--near-black);
  --navy-900: var(--ink);
  --navy-800: #1e1b14;
  --navy-700: #2a251a;
  --navy-100: var(--on-dark-muted);
  --amber-500: var(--gold);
  --amber-600: var(--gold-ink);
  --amber-100: rgba(194, 162, 77, 0.14);
  --gray-900: var(--ink);
  --gray-700: var(--text-body);
  --gray-500: var(--text-muted);
  --gray-300: var(--line-strong);
  --gray-100: var(--line);
  --gray-50: var(--paper-2);
  --white: var(--paper);
  --green-600: var(--gold-ink);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--ink);
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--near-black);
}

/* ---------- Typography ---------- */
h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  text-wrap: balance;
}

h3,
h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1rem;
}

p {
  text-wrap: pretty;
}

/* Refined section label — replaces the uppercase "eyebrow" reflex.
   Small serif italic, sentence case, hairline gold rule. Used sparingly. */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--gold-ink);
  margin-bottom: var(--space-2);
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 60ch;
  margin: var(--space-2) auto 0;
}

.center {
  text-align: center;
}

.center .section-lead {
  margin-inline: auto;
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

section {
  padding: var(--space-12) 0;
}

section.tight {
  padding: var(--space-8) 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
    background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

/* Primary = gold on ink for maximum "premium" pop */
.btn-primary {
  --btn-bg: var(--gold);
  --btn-fg: var(--near-black);
  border-color: var(--gold);
  font-weight: 700;
}

.btn-primary:hover {
  --btn-bg: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -14px rgba(194, 162, 77, 0.7);
}

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Secondary = outline; adapts to light/dark context via currentColor */
.btn-secondary {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
  opacity: 0.9;
}

.btn-secondary:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 2.1rem;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  gap: var(--space-3);
  list-style: none;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-phone {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.header-phone:hover {
  color: var(--gold-ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(3rem, 8vw, 6.5rem) 0 var(--space-12);
  position: relative;
  overflow: hidden;
}

/* Hairline gold frame accent, top-right */
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: radial-gradient(
    circle,
    rgba(194, 162, 77, 0.06) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 16ch;
  font-weight: 600;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-ink);
}

.hero-sub {
  font-size: 1.1875rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-body);
  max-width: 42ch;
  margin: var(--space-3) 0 var(--space-4);
}

.hero-ctas {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-note {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Phone mockup showing the text-back in action */
.phone-mock {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.1rem;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  margin-left: auto;
  position: relative;
}

.phone-mock::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(150deg, var(--gold) 0%, transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Soft ambient gold halo behind the phone mock */
.phone-mock::after {
  content: "";
  position: absolute;
  inset: -16% -24%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(194, 162, 77, 0.22),
    rgba(194, 162, 77, 0.07) 55%,
    transparent 78%
  );
  pointer-events: none;
}

.phone-mock .phone-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.9rem;
}

.phone-mock .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--near-black);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.phone-mock .phone-top strong {
  font-size: 0.9375rem;
  color: var(--ink);
}

.phone-mock .phone-top small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.bubble {
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 0.6rem;
  max-width: 88%;
}

.bubble.missed {
  background: var(--paper-2);
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.8rem;
  text-align: center;
  max-width: 100%;
}

.bubble.out {
  background: var(--near-black);
  color: var(--on-dark);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.bubble.in {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.bubble .time {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--near-black);
  color: var(--on-dark);
  padding: var(--space-3) 0;
}

.trust-strip .container {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Problem section ---------- */
.problem {
  background: var(--paper-2);
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  transition: border-color 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.problem-card::before {
  /* leading gold numeral instead of a side-stripe */
  counter-increment: problem;
  content: counter(problem, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-ink);
  display: block;
  margin-bottom: var(--space-2);
}

.problem-cards {
  counter-reset: problem;
}

.problem-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.problem-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1875rem;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   SERVICES — the centerpiece. Dark canvas, gold framing,
   serif numerals. Built to stand out from everything else.
   ============================================================ */
.services {
  background: var(--near-black);
  color: var(--on-dark);
  position: relative;
}

.services h2,
.services .section-lead {
  color: var(--on-dark);
}

.services .section-label {
  color: var(--gold-bright);
}

.services .section-label::before {
  background: var(--gold-bright);
}

.services .section-lead {
  color: var(--on-dark-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.service-card {
  background: var(--near-black-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background-color 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.service-card::before {
  /* animated gold top rule on hover */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}

.service-card:hover {
  border-color: rgba(194, 162, 77, 0.5);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.service-card h3 {
  color: var(--on-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card > p {
  color: var(--on-dark-muted);
  margin-bottom: var(--space-3);
}

.service-card ul {
  list-style: none;
  margin-bottom: var(--space-3);
}

.service-card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.55rem;
  color: var(--on-dark);
  font-size: 0.9375rem;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg); /* small gold diamond marker */
}

.service-how {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

.service-how strong {
  color: var(--gold-bright);
  font-weight: 600;
}

/* ---------- Steps (How it works) — a genuine 1-2-3 sequence ---------- */
.steps {
  background: var(--paper);
  color: var(--ink);
}

.steps .grid-3 {
  counter-reset: step;
}

.step {
  padding: var(--space-3) 0;
  border-top: 2px solid var(--ink);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-ink);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- Mid-page CTA band ---------- */
.cta-band {
  background: var(--near-black);
  color: var(--on-dark);
  padding: var(--space-6) 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.cta-band p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--on-dark);
  max-width: 34ch;
  line-height: 1.3;
}

.cta-band em {
  font-style: italic;
  color: var(--gold-bright);
}

.cta-band .cta-band-action {
  text-align: right;
}

.cta-band .hero-note {
  color: var(--on-dark-muted);
  margin-top: 0.6rem;
}

@media (max-width: 720px) {
  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .cta-band-action {
    text-align: left;
  }
}

/* ---------- Proof panel (honest social proof, pre-testimonials) ---------- */
.proof-panel {
  background: var(--paper);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-6);
  text-align: left;
  align-items: center;
}

.proof-panel h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.proof-panel .big-phone {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-ink);
  display: inline-block;
  margin: var(--space-2) 0;
}

.proof-list {
  list-style: none;
}

.proof-list li {
  padding: var(--space-2) 0 var(--space-2) 1.6rem;
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--text-body);
  font-size: 0.9875rem;
}

.proof-list li:first-child {
  border-top: none;
}

.proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.proof-list strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .proof-panel {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }
}

/* ---------- "What happens next" mini steps (near forms) ---------- */
.next-steps {
  list-style: none;
  counter-reset: nextstep;
  margin: var(--space-3) 0;
}

.next-steps li {
  counter-increment: nextstep;
  position: relative;
  padding: 0.45rem 0 0.45rem 2.4rem;
}

.next-steps li::before {
  content: counter(nextstep);
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold-bright);
}

/* ---------- Testimonials / results ---------- */
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  font-size: 1.1875rem;
  line-height: 1.5;
  flex-grow: 1;
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: var(--space-2);
  font-size: 1rem;
}

.testimonial-card figcaption {
  margin-top: var(--space-3);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  font-size: 0.9375rem;
}

.testimonial-card figcaption span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

.placeholder-tag {
  display: inline-block;
  background: transparent;
  color: var(--gold-ink);
  border: 1px dashed var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--paper-2);
}

.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  background: var(--near-black);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.price-card.featured h3,
.price-card.featured .price {
  color: var(--on-dark);
}

.price-card.featured .price-desc {
  color: var(--on-dark-muted);
}

.price-card.featured li {
  color: var(--on-dark);
}

.badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--near-black);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card h3 {
  margin-bottom: 0.25rem;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-3);
}

.price {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-3);
  line-height: 1;
}

.price small {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-card.featured .price small {
  color: var(--on-dark-muted);
}

.price-card ul {
  list-style: none;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.price-card li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.55rem;
  color: var(--text-body);
  font-size: 0.9375rem;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.pricing-note {
  text-align: center;
  margin-top: var(--space-6);
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pricing-note a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- About ---------- */
.about-panel {
  background: var(--near-black);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .about-panel {
    padding: var(--space-4);
  }
}

.about-panel .section-label {
  color: var(--gold-bright);
}

.about-panel .section-label::before {
  background: var(--gold-bright);
}

.about-panel h2 {
  color: var(--on-dark);
  max-width: 20ch;
}

.about-panel > p {
  color: var(--on-dark-muted);
  margin-top: var(--space-2);
  max-width: 62ch;
  font-size: 1.0625rem;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.about-point {
  padding-top: var(--space-2);
  border-top: 1px solid var(--line-dark);
}

.about-point strong {
  display: block;
  font-family: var(--font-serif);
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
  font-size: 1.1875rem;
  font-weight: 500;
}

.about-point p {
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: var(--space-8) auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: var(--space-3) 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  transition: color 0.25s ease;
}

.faq-item summary:hover {
  color: var(--gold-ink);
}

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

.faq-item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: var(--gold-ink);
  clip-path: polygon(46% 0, 54% 0, 54% 46%, 100% 46%, 100% 54%, 54% 54%, 54% 100%, 46% 100%, 46% 54%, 0 54%, 0 46%, 46% 46%);
  transition: transform 0.3s var(--ease-out);
}

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

.faq-item .faq-body {
  padding: 0 0 var(--space-3);
  color: var(--text-muted);
  max-width: 68ch;
}

/* ---------- Contact / final CTA ---------- */
.final-cta {
  background: var(--near-black);
  color: var(--on-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 0%,
    rgba(194, 162, 77, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

.final-cta > .container {
  position: relative;
}

.final-cta h2 {
  color: var(--on-dark);
  max-width: 24ch;
  margin-inline: auto;
}

.final-cta > .container > .center > p {
  color: var(--on-dark-muted);
  max-width: 52ch;
  margin: var(--space-2) auto var(--space-6);
  font-size: 1.0625rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-6);
  text-align: left;
}

.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, var(--space-6));
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  margin-bottom: var(--space-3);
  font-size: 1.375rem;
}

.form-field {
  margin-bottom: var(--space-2);
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-body);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input::placeholder {
  color: var(--text-muted);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 162, 77, 0.22);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.contact-aside {
  color: var(--on-dark-muted);
}

.contact-aside h3 {
  color: var(--on-dark);
  margin-bottom: var(--space-2);
  font-size: 1.375rem;
}

.contact-aside p {
  margin-bottom: var(--space-2);
}

.contact-aside .big-phone {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold-bright);
  display: inline-block;
  margin-bottom: var(--space-2);
}

.contact-aside a {
  color: var(--gold-bright);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--near-black);
  color: var(--on-dark-muted);
  padding: var(--space-8) 0 var(--space-4);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--line-dark);
}

.footer-grid .logo {
  color: var(--on-dark);
}

.site-footer h4 {
  color: var(--on-dark);
  font-size: 0.8125rem;
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.site-footer a {
  color: var(--on-dark-muted);
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-4);
  font-size: 0.8125rem;
  color: var(--on-dark-muted);
  opacity: 0.75;
}

/* ---------- Cinematic footer (curtain reveal, index.html) ---------- */
.footer-cinematic {
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.footer-cinematic .container {
  position: relative;
  z-index: 1;
}

/* Curtain: main slides up to reveal the fixed footer beneath.
   Activated by JS only when the footer fits the viewport. */
.curtain-active main {
  position: relative;
  z-index: 1;
  background: var(--paper);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
}

.curtain-active .footer-cinematic {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.footer-marquee {
  border-bottom: 1px solid var(--line-dark);
  padding: 0.85rem 0;
  overflow: hidden;
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: footer-marquee 38s linear infinite;
}

.footer-marquee-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

.mq-diamond {
  color: var(--gold);
  font-style: normal;
  font-size: 0.55em;
}

@keyframes footer-marquee {
  to {
    transform: translateX(-50%);
  }
}

.footer-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--on-dark);
  padding: var(--space-6) var(--space-2) var(--space-4);
}

.footer-cta-heading {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  color: var(--on-dark);
  margin-bottom: var(--space-4);
}

.footer-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-cta-buttons .btn {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  will-change: transform;
}

/* Literal colors (same values the buttons already resolve to via vars) so
   static contrast checkers pair the right foreground with each background. */
.footer-cta-buttons .btn-primary {
  color: #0b0b0a;
}

.footer-cta-buttons .btn-secondary {
  color: #f4f2ec;
}

.footer-giant {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 0;
  width: min(110vw, 90rem);
  height: auto;
  pointer-events: none;
  user-select: none;
}

.footer-giant text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 112px;
}

@media (prefers-reduced-motion: reduce) {
  .footer-marquee-track {
    animation: none;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .service-card::before,
  .main-nav a::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Page-hero (interior pages) ---------- */
.page-hero {
  background: var(--near-black);
  color: var(--on-dark);
  padding: var(--space-12) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .page-hero {
    padding: var(--space-8) 0 var(--space-6);
  }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 85% 10%,
    rgba(194, 162, 77, 0.12),
    transparent 60%
  );
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
}

.page-hero h1 {
  color: var(--on-dark);
  font-size: 3.5rem;
}

@media (max-width: 720px) {
  .page-hero h1 {
    font-size: 2.4rem;
  }
}

.page-hero p {
  color: var(--on-dark-muted);
  max-width: 52ch;
  margin-top: var(--space-2);
  font-size: 1.1875rem;
}

.page-hero .section-label {
  color: var(--gold-bright);
}

.page-hero .section-label::before {
  background: var(--gold-bright);
}

/* ---------- Blog cards ---------- */
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.blog-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.blog-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.blog-card .coming-soon {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-ink);
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  /* Collapse nav to a menu button before it can overflow the header */
  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
    padding: var(--space-2) 0 var(--space-3);
    z-index: var(--z-nav-panel);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 6%;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .phone-mock {
    margin: var(--space-4) auto 0;
  }

  .grid-3,
  .problem-cards,
  .about-points {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

/* ============================================================
   Landing page components (electrician-answering-service page)
   ============================================================ */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-8) 0;
}

.service-row + .service-row {
  border-top: 1px solid var(--line);
}

.service-row.flip .service-media {
  order: -1;
}

.service-copy h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0.4rem 0 0.8rem;
  letter-spacing: -0.01em;
}

.service-copy > p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.service-copy ul {
  list-style: none;
  margin-top: var(--space-3);
}

.service-copy li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
  color: var(--text-body);
}

.service-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* Browser-frame mockup */
.browser-mock {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper-2);
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.browser-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.browser-bar .urlbar {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  white-space: nowrap;
  overflow: hidden;
}

.browser-body {
  padding: 1.2rem;
}

.mini-hero {
  background: var(--near-black);
  border-radius: 8px;
  color: var(--on-dark);
  padding: 1.4rem 1.2rem;
}

.mini-hero strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.35;
}

.mini-hero span {
  font-size: 0.78rem;
  color: var(--on-dark-muted);
  display: block;
  margin-top: 0.35rem;
}

.mini-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--near-black);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-top: 0.8rem;
}

.mini-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.mini-card {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.7rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.mini-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}

/* Call transcript */
.call-log {
  background: var(--near-black);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
  color: var(--on-dark);
  border: 1px solid var(--line-dark);
}

.call-log .call-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--on-dark-muted);
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 0.7rem;
  margin-bottom: 0.9rem;
}

.call-log .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 0.4rem;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

.call-line {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

.call-line .who {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
  width: 52px;
}

.call-line.ai .who {
  color: var(--gold-bright);
}

.call-line.caller .who {
  color: var(--on-dark-muted);
}

.call-line p {
  color: var(--on-dark);
}

.call-result {
  margin-top: 0.9rem;
  background: rgba(194, 162, 77, 0.12);
  border: 1px solid rgba(194, 162, 77, 0.4);
  color: var(--gold-bright);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.6rem 0.8rem;
}

/* Illustrative-example tag */
.example-tag {
  display: inline-block;
  background: transparent;
  color: var(--gold-ink);
  border: 1px dashed var(--gold);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* Before / after comparison */
.compare-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.compare-col {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.compare-col.before {
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.compare-col.after {
  background: var(--near-black);
  color: var(--on-dark);
  border: 1px solid var(--gold);
}

.compare-col h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.compare-col.after h3 {
  color: var(--gold-bright);
}

.compare-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.compare-col.after .compare-stat {
  border-color: var(--line-dark);
  color: var(--on-dark-muted);
}

.compare-stat:last-child {
  border-bottom: none;
}

.compare-stat .num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  white-space: nowrap;
}

.compare-col.after .compare-stat .num {
  color: var(--on-dark);
}

.compare-col.after .compare-stat .num.good {
  color: var(--gold-bright);
}

/* Job-value tiers */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.tier-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: border-color 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.tier-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.tier-card .tier-price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}

.tier-card h3 {
  font-size: 1.1rem;
  margin: 0.3rem 0 0.5rem;
}

.tier-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.tier-card .kw {
  display: inline-block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  margin: 0.35rem 0.25rem 0 0;
  color: var(--text-muted);
}

/* Missed-call calculator */
.calc-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
  text-align: left;
}

.calc-panel .form-field label {
  color: var(--text-body);
}

.calc-result {
  background: var(--near-black);
  border-radius: var(--radius);
  color: var(--on-dark);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result .calc-big {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.05;
}

.calc-result p {
  color: var(--on-dark-muted);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* Comparison table */
.vs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.9375rem;
}

.vs-table th,
.vs-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.vs-table thead th {
  background: var(--near-black);
  color: var(--on-dark);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.vs-table thead th:nth-child(2) {
  background: var(--gold);
  color: var(--near-black);
}

.vs-table td:nth-child(2) {
  font-weight: 600;
  color: var(--ink);
  background: rgba(194, 162, 77, 0.08);
}

.vs-table td {
  color: var(--text-body);
}

.vs-table tbody tr:last-child td {
  border-bottom: none;
}

.table-scroll {
  overflow-x: auto;
}

@media (max-width: 900px) {
  .service-row,
  .compare-wrap,
  .calc-panel {
    grid-template-columns: 1fr;
  }

  .service-row.flip .service-media {
    order: 0;
  }

  .tier-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: var(--space-8) 0;
  }

  .grid-3,
  .problem-cards,
  .about-points,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-phone {
    display: none;
  }

  .trust-strip .container {
    flex-direction: column;
    gap: var(--space-1);
    text-align: center;
    align-items: center;
  }
}
