:root {
  --bg: #f6f7f9;
  --bg-elevated: #ffffff;
  --bg-muted: #eef1f5;
  --bg-hover: #e4e8ee;

  --ink: #15202b;
  --charcoal: #3d4f63;
  --muted: #64748b;
  --paper: #ffffff;
  --warm: #faf8f5;
  --line: rgba(21, 32, 43, 0.12);
  --border-subtle: rgba(21, 32, 43, 0.07);
  --taupe: #94a3b8;
  --dark-panel: #1a2836;
  --accent: #b86b2e;
  --accent-hover: #9d5a26;
  --accent-soft: rgba(184, 107, 46, 0.1);
  --accent-glow: rgba(184, 107, 46, 0.18);
  --olive: #b86b2e;

  --shadow: 0 20px 60px rgba(21, 32, 43, 0.1);
  --soft-shadow: 0 8px 28px rgba(21, 32, 43, 0.08);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max: 1120px;

  --header-height: 64px;
  --space-section: 6rem;
  --space-section-sm: 4rem;
  --space-block: 1rem;
  --space-inline: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.narrow-container {
  max-width: 720px;
}

.section-pad {
  padding: var(--space-section) 0;
  position: relative;
}

main > .section-pad + .section-pad:not(.hero):not(.proof-band) {
  border-top: 1px solid var(--border-subtle);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 249, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border-subtle);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
}

.brand img,
.footer-brand img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.site-nav a:not(.nav-cta) {
  padding: 0.35rem 0;
  transition: color 160ms ease;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"]:not(.nav-cta) {
  color: var(--ink);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink);
  white-space: nowrap;
  transition: color 160ms ease;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle i {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-left: 0.5rem;
  background: var(--ink);
  box-shadow:
    0 6px 0 var(--ink),
    0 -6px 0 var(--ink);
  vertical-align: middle;
}

/* BUTTONS */

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.nav-cta,
.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.button-secondary {
  background: var(--bg-elevated);
  color: var(--ink);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--bg-hover);
  border-color: rgba(21, 32, 43, 0.2);
}

.button-light {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
}

.button-light:hover {
  background: #f0f2f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.full-button {
  width: 100%;
  margin-top: auto;
}

.centered-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* TYPE */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 0.9rem;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.section-label-num {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.8rem;
}

.section-label-num::after {
  content: "→";
  margin-left: 0.55rem;
  color: var(--taupe);
  font-weight: 400;
}

.hero-lede,
.page-hero p,
.section-heading p,
.split-copy > p {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  max-width: 520px;
  line-height: 1.7;
  color: var(--charcoal);
}

/* HERO */

.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.hero-home {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(184, 107, 46, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(21, 32, 43, 0.04), transparent 55%),
    var(--bg);
}

.hero-home + .section-pad {
  border-top: none;
}

.hero-bg,
.hero-overlay {
  display: none;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, var(--accent-glow), transparent 65%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(21, 32, 43, 0.04), transparent 55%);
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-local {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-local p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}

.compact-hero {
  min-height: auto;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(184, 107, 46, 0.06), transparent 60%),
    var(--bg);
}

.compact-hero .hero-glow {
  opacity: 0.5;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-grid,
.two-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.hero-copy {
  max-width: 620px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.75rem 0 1.5rem;
}

.hero-media,
.framed-image,
.page-hero-image {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-frame {
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-frame-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-frame-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(21, 32, 43, 0.12);
}

.hero-frame-chrome span:first-child {
  background: rgba(255, 95, 87, 0.7);
}

.hero-frame-chrome span:nth-child(2) {
  background: rgba(255, 189, 46, 0.7);
}

.hero-frame-chrome span:nth-child(3) {
  background: rgba(40, 200, 64, 0.6);
}

.hero-frame img,
.hero-media img,
.framed-image img,
.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LISTS */

.trust-list,
.check-list,
.plain-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list {
  display: grid;
  gap: 0.5rem;
}

.check-list {
  display: grid;
  gap: 0.6rem;
}

.trust-list li,
.check-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--charcoal);
  font-size: 0.9rem;
  line-height: 1.5;
}

.trust-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.two-column-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 1rem;
}

.plain-list {
  margin-top: 1rem;
}

/* SECTIONS */

.section-heading {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.muted-section,
.process-section {
  background: var(--bg-muted);
}

.proof-section,
.split-section,
.local-strip {
  background: var(--bg);
}

/* LOCAL SERVICE AREA */

.local-strip-inner {
  display: grid;
  gap: 2rem;
}

.local-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.local-tag-list li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--charcoal);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}

.local-tag-list a {
  color: inherit;
}

.local-tag-list a:hover {
  color: var(--accent);
}

/* PROOF BAND */

.proof-band {
  background: var(--dark-panel);
  border-top: none;
  border-bottom: none;
}

.proof-band .section-heading .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.proof-band .section-heading h2 {
  color: #fff;
}

.proof-band .section-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
}

.quote-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.quote-card blockquote {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.65;
  font-style: normal;
}

.quote-card cite {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 500;
}

/* CARDS */

.card-grid,
.pricing-preview-grid,
.process-grid,
.pricing-grid,
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
}

.service-card,
.price-mini,
.process-step,
.pricing-card,
.content-panel,
.contact-form,
.contact-panel .sticky-panel,
.proof-card {
  border: 1px solid var(--border-subtle);
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--soft-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover,
.price-mini:hover,
.proof-card:hover:not(.proof-card-dark) {
  border-color: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card,
.price-mini,
.process-step,
.proof-card {
  padding: 1.5rem;
}

.card-number {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.price-mini {
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.price-line,
.large-price {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.price-line {
  font-size: 1.1rem;
  margin-top: auto;
  margin-bottom: 0;
}

.price-line a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.price-line a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.featured-mini,
.pricing-card-featured {
  border-color: rgba(184, 107, 46, 0.35);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--paper) 100%);
  box-shadow: 0 0 0 1px rgba(184, 107, 46, 0.1), var(--shadow);
}

.badge {
  display: inline-flex;
  width: max-content;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.55rem;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(184, 107, 46, 0.25);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* PROOF */

.proof-card span {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.proof-card-dark {
  background: var(--dark-panel);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.proof-card-dark:hover {
  background: var(--dark-panel);
  transform: translateY(-2px);
}

.proof-card-dark h3,
.proof-card-dark span {
  color: #fff;
}

.proof-card-dark p {
  color: rgba(255, 255, 255, 0.65);
}

/* PROCESS */

.process-grid {
  position: relative;
}

.process-step span {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

/* PRICING */

.pricing-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.large-price {
  font-size: clamp(1.85rem, 2.8vw, 2.35rem);
  margin-bottom: 0.1rem;
}

.large-price span {
  font-size: 0.9rem;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}

.monthly-price {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.best-for {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.pricing-card h3 {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.pricing-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* PANELS */

.content-panel,
.contact-form,
.contact-panel .sticky-panel {
  padding: 1.5rem;
}

.lined-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.lined-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--charcoal);
  font-size: 0.92rem;
}

.lined-list strong {
  white-space: nowrap;
  color: var(--ink);
  text-align: right;
  font-weight: 600;
}

/* FAQ */

.faq-list {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

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

.faq-item:first-child {
  border-top: 0;
}

.faq-item button {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.1rem 1.25rem;
  color: var(--ink);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 160ms ease;
}

.faq-item button:hover {
  background: var(--bg-hover);
}

.faq-item button::after {
  content: "+";
  flex: none;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

.faq-item button[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > p {
  overflow: hidden;
  margin-bottom: 0;
  padding: 0 1.25rem;
  font-size: 0.92rem;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 1.1rem;
}

/* FORMS */

.form-heading {
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.full-field {
  grid-column: 1 / -1;
}

label span {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.85rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea {
  min-height: auto;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--taupe);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(184, 107, 46, 0.5);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #c53030;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
}

.form-status.is-error {
  color: #c53030;
}

.form-promise {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--charcoal);
  font-size: 0.88rem;
}

.form-promise strong {
  color: var(--ink);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
}

.form-back {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0.35rem 0;
}

.form-back:hover {
  color: var(--ink);
}

.form-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-progress span {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
}

.form-progress span.is-complete,
.form-progress span.is-active {
  background: var(--accent);
}

.roi-note {
  margin: 0 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--charcoal);
  font-size: 0.88rem;
  line-height: 1.55;
}

.compare-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: var(--bg-muted);
  color: var(--ink);
  font-weight: 600;
}

.compare-table td:first-child {
  color: var(--charcoal);
  font-weight: 500;
}

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

.compare-table .is-highlight {
  color: var(--accent);
  font-weight: 700;
}

.compare-table-wrap + .pricing-grid {
  margin-top: 2.5rem;
}

.local-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.local-hero-links a {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 500;
}

.local-hero-links a[aria-current="page"] {
  border-color: rgba(184, 107, 46, 0.35);
  background: var(--accent-soft);
  color: var(--ink);
}

.hero-local .local-hero-links {
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--charcoal);
}

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

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
}

.service-area-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-area-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-area-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.service-area-card p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.92rem;
}

.service-area-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.local-industry-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.local-industry-list li {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--charcoal);
  font-size: 0.92rem;
}

.local-industry-list strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.nearby-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.nearby-areas a {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--charcoal);
  font-size: 0.82rem;
  font-weight: 500;
}

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

@media (min-width: 900px) {
  .service-area-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mobile-action-bar {
  display: none;
}

body.has-mobile-bar {
  padding-bottom: 0;
}

.sticky-panel {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.simple-note {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.simple-note h3,
.contact-direct h3 {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.email-link {
  color: var(--ink);
  font-weight: 600;
}

.email-link:hover {
  color: var(--accent);
}

/* CTA */

.final-cta {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(184, 107, 46, 0.2), transparent),
    var(--dark-panel);
  border-top: none;
}

.final-cta-inner {
  max-width: 640px;
  text-align: center;
  margin-inline: auto;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta h2 {
  max-width: none;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.final-cta .button-row,
.final-cta .button {
  margin-inline: auto;
}

/* FOOTER */

.site-footer {
  padding: 3rem 0 3.5rem;
  background: var(--ink);
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-grid h2 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand img {
  filter: brightness(0) invert(1);
}

/* REVEALS */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* DEMO HUB */

.demo-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-block);
}

.demo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.demo-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.demo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.demo-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  padding: 1.35rem;
}

.demo-card-meta {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demo-card-body .button {
  margin-top: auto;
  width: fit-content;
}

.note-strip {
  border: 1px solid var(--border-subtle);
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--soft-shadow);
}

.note-strip p {
  margin: 0;
  color: var(--charcoal);
}

.note-strip strong {
  color: var(--ink);
}

/* RESPONSIVE */

@media (min-width: 640px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .two-column-list,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 820px) {
  .hero-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .page-hero-grid,
  .split-grid,
  .contact-grid,
  .two-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 3.5rem;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
    align-items: start;
  }

  .card-grid,
  .pricing-preview-grid,
  .pricing-grid,
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .process-grid::before {
    content: "";
    position: absolute;
    top: 2.1rem;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: var(--line);
    pointer-events: none;
  }

  .process-step {
    position: relative;
    z-index: 1;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 1.25rem 0 0;
  }

  .process-step:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
  }

  .local-strip-inner {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 3rem;
  }

  .pricing-card-featured {
    border-width: 1px;
    box-shadow:
      0 0 0 1px rgba(184, 107, 46, 0.15),
      var(--shadow);
  }

  .demo-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 819px) {
  .mobile-action-bar {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(246, 247, 249, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 -8px 28px rgba(21, 32, 43, 0.08);
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    color: var(--ink);
  }

  .mobile-action-bar a.mobile-action-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }

  body.has-mobile-bar {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .section-pad {
    padding: var(--space-section-sm) 0;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 1rem auto 1rem;
    display: grid;
    gap: 0;
    padding: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a:not(.nav-cta) {
    padding: 0.8rem 0.75rem;
    border-radius: var(--radius-sm);
  }

  .site-nav a:not(.nav-cta):hover {
    background: var(--bg-hover);
  }

  .nav-cta {
    margin-top: 0.35rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .sticky-panel {
    position: static;
  }

  .process-step {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--soft-shadow);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .header-inner {
    min-height: 56px;
  }

  :root {
    --header-height: 56px;
  }

  .brand img,
  .footer-brand img {
    width: 148px;
  }

  h1 {
    font-size: clamp(1.9rem, 9vw, 2.65rem);
  }

  h2 {
    font-size: clamp(1.45rem, 6.5vw, 1.9rem);
  }

  h3 {
    font-size: 1rem;
  }

  .hero-lede,
  .page-hero p,
  .section-heading p,
  .split-copy > p {
    font-size: 1rem;
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .button-row .button {
    flex: 1;
    min-width: 0;
  }

  .centered-action .button {
    width: 100%;
  }

  .service-card,
  .price-mini,
  .process-step,
  .proof-card,
  .pricing-card,
  .content-panel,
  .contact-form,
  .contact-panel .sticky-panel {
    padding: 1.2rem;
  }

  .lined-list li {
    display: block;
  }

  .lined-list strong {
    display: block;
    margin-top: 0.25rem;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

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