/*
Theme Name: ServiceMasterHub
Theme URI: https://example.com/servicemasterhub
Author: AI-generated custom build
Description: Premium home-services WordPress theme designed for service businesses and local lead generation.
Version: 1.1.0
Text Domain: servicemasterhub
*/

:root {
  /* Palette below matches the homepage (body.home) design exactly — the
     homepage is the visual source of truth, so every other page inherits
     the same colors via these tokens instead of a separate blue palette. */
  --primary: #1c456c;
  --primary-strong: #113c5a;
  --secondary: #1bc7b2;
  --accent: #d77b48;
  --accent-deep: #c76d39;
  --bg: #f6f1ea;
  --bg-alt: #f3efe9;
  --surface: #ffffff;
  --surface-soft: #f3efe9;
  --panel: #eaf2fb;
  --text: #1b2a2e;
  --heading: #1d2f3b;
  --muted: #5b646c;
  --line: rgba(27, 42, 46, 0.12);
  --shadow: 0 28px 60px rgba(19, 36, 45, 0.12);
  --shadow-soft: 0 10px 30px rgba(28, 69, 108, 0.1);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 88px;

  /* Semantic aliases (same values, friendlier names for future work) */
  --color-primary: var(--primary);
  --color-primary-dark: var(--primary-strong);
  --color-text: var(--text);
  --color-muted: var(--muted);
  --color-background: var(--bg);
  --color-surface: var(--surface);
  --color-border: var(--line);
  --container-width: var(--container);
  --radius-card: var(--radius-md);
  --radius-button: 999px;
  --shadow-card: var(--shadow-soft);
}

body.home {
  --home-bg: #f6f1ea;
  --home-surface: #fffaf4;
  --home-panel: #ffffff;
  --home-panel-alt: #f3efe9;
  --home-text: #1b2a2e;
  --home-heading: #1d2f3b;
  --home-muted: #5b646c;
  --home-primary: #1c456c;
  --home-primary-soft: #eaf2fb;
  --home-accent: #d77b48;
  --home-accent-soft: #fbe5d8;
  --home-line: rgba(27, 42, 46, 0.12);
  --home-shadow: 0 28px 60px rgba(19, 36, 45, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background: #fff;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}


img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-strong); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5 { color: var(--heading); line-height: 1.15; margin: 0 0 16px; font-family: "Manrope", "Segoe UI", sans-serif; }
h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
p { margin: 0 0 14px; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}
.section-shell {
  padding: 88px 0;
}
.alt-section {
  background: var(--bg);
}
.center { text-align: center; }
.narrow { max-width: 700px; margin: 0 auto 42px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow.light { color: rgba(255,255,255,0.85); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(21, 35, 61, 0.06);
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 12px 26px rgba(17, 28, 48, 0.08);
  border-color: rgba(17, 28, 48, 0.08);
}
/* Service card grid — shared by the homepage preview and the full
   Services page. Unscoped (not body.home-only) so it renders correctly
   on any page that includes it. */
.plumbing-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.plumbing-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.service-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--panel);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.plumbing-service-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
.plumbing-service-card p {
  color: var(--muted);
  margin-bottom: 16px;
  flex-grow: 1;
}
.service-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

/* hide cards 7+ by default */
.plumbing-service-card.is-extra,
.blog-card.is-extra {
    display: none;
}

/* after clicking, show them, with a smooth reveal */
.plumbing-service-list.is-expanded .plumbing-service-card.is-extra {
    display: flex;
    animation: service-card-reveal 0.35s ease both;
}
.blog-grid.is-expanded .blog-card.is-extra {
    display: block;
    animation: service-card-reveal 0.35s ease both;
}
@keyframes service-card-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.services-toggle-wrap {
  text-align: center;
  margin-top: 36px;
}
.services-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-button);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--heading);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.services-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.services-toggle-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* hide the button once expanded */
.services-toggle-wrap.is-hidden {
    display: none;
}

@media (max-width: 1080px) {
  .plumbing-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .plumbing-service-list {
    grid-template-columns: 1fr;
  }
  .services-toggle-btn {
    width: 100%;
    max-width: 320px;
  }
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-soft);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-copy strong {
  font-size: 1.15rem;
  color: var(--heading);
  font-family: "Manrope", "Segoe UI", sans-serif;
}
.brand-copy small {
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.primary-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 0;
  margin: 0;
}
.nav-list li { display: inline-flex; }
.nav-list a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-call-compact {
  display: none;
}
.mobile-call-bar {
  display: none;
}
.header-search {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--heading);
  font-size: 1.2rem;
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  line-height: 1.2;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--heading);
}
.header-location {
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--heading);
}

.hero-section {
  background:
    radial-gradient(circle at top right, rgba(27, 199, 178, 0.23), transparent 18%),
    linear-gradient(135deg, #f8fbff 0%, #edf3ff 45%, #f1f5ff 100%);
  padding: 82px 0 68px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
}
.hero-copy {
  max-width: 620px;
}
.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 22px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-row span::before {
  content: "•";
  color: var(--secondary);
  margin-right: 8px;
}
.hero-card-panel {
  display: flex;
  justify-content: center;
}
.glass-card {
  width: min(100%, 460px);
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(17, 28, 48, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(12px);
}
.mini-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 15px;
}
.quick-form {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.quick-form label {
  display: grid;
  gap: 8px;
  color: var(--heading);
  font-weight: 700;
}
.quick-form input,
.quick-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem 1rem;
  color: var(--heading);
}

.stats-band {
  padding-top: 30px;
  padding-bottom: 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stat-box {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: grid;
  gap: 8px;
  text-align: center;
}
.stat-box strong {
  font-size: clamp(1.7rem, 2vw, 2.3rem);
  color: var(--heading);
  font-family: "Manrope", "Segoe UI", sans-serif;
}
.stat-box span {
  color: var(--muted);
  font-weight: 600;
}

.card-grid {
  display: grid;
  gap: 24px;
}
.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card, .feature-card, .step-card, .article-card, .faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.info-card, .feature-card, .step-card, .article-card {
  padding: 24px;
}
.icon-wrap {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(28,69,108,0.12), rgba(27,199,178,0.15));
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.icon-wrap.small {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.text-link {
  font-weight: 800;
  display: inline-block;
  margin-top: 8px;
}

.steps-grid {
  display: grid;
  gap: 24px;
}
.step-card {
  position: relative;
  padding: 28px 22px;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  gap: 24px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}
.faq-list {
  max-width: 820px;
}
.narrow-copy-list {
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--heading);
  font-weight: 800;
  padding: 22px 24px;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
}
.faq-item.is-open .faq-question::after {
  content: "−";
}
.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
}
.faq-item.is-open .faq-answer { display: block; }

.meta-label {
  color: var(--primary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 12px;
}
.article-card a {
  font-weight: 800;
}

.footer-brand-wrap p {
  max-width: 340px;
}

.page-hero {
  background: linear-gradient(180deg, rgba(237,243,255,0.8), rgba(255,255,255,1));
  padding-bottom: 30px;
}
.narrow-copy {
  max-width: 860px;
  text-align: center;
}
.page-content {
  padding-top: 30px;
}
.content-wrap {
  max-width: 900px;
}
.page-feature-image {
  margin-bottom: 26px;
}
.page-feature-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  min-height: 300px;
  object-fit: cover;
}
.entry-content p,
.entry-content li,
.entry-content h2,
.entry-content h3 {
  max-width: 760px;
}
.entry-content ul,
.entry-content ol {
  padding-left: 20px;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.page-head-copy {
  max-width: 680px;
}
.lede {
  margin-top: 18px;
  font-size: 1.09rem;
  color: var(--muted);
  max-width: 600px;
}
.page-hero-media {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(28,69,108,0.12), rgba(27,199,178,0.12));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.placeholder-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(27,199,178,0.2), transparent 18%),
    linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
}
.placeholder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  color: var(--heading);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.service-anchor-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.service-anchor-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}
.service-anchor-list::-webkit-scrollbar { display: none; }
.service-anchor-list a {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 0.88rem;
}
.service-anchor-list a:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.service-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.service-heading h2 {
  margin: 0;
}
.service-heading .icon-wrap.small {
  margin-bottom: 0;
}
.side-disclaimer {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.service-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 32px;
  align-items: start;
}
.service-main-column,
.service-side-column {
  min-width: 0;
}
.service-entry-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 32px 28px;
}
.service-entry-content > :first-child {
  margin-top: 0;
}
.service-entry-content > * {
  max-width: 100%;
}
.service-side-column {
  display: grid;
  gap: 22px;
}
.service-side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
}
.side-mini-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.service-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.service-check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
}
.service-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
}
.service-side-card .button {
  margin-top: 20px;
}
.accent-panel {
  background: linear-gradient(135deg, rgba(28,69,108,0.06), rgba(27,199,178,0.09));
}
.accent-panel h3 {
  margin-bottom: 12px;
}
.accent-panel p {
  color: var(--muted);
  margin-bottom: 18px;
}

.about-page-hero,
.contact-page-hero {
  background: linear-gradient(180deg, rgba(245,247,250,0.9), rgba(255,255,255,1));
}
.about-hero-copy,
.contact-hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-hero-copy h1,
.contact-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}
.about-hero-copy p,
.contact-hero-copy p {
  margin: 16px auto 0;
  max-width: 700px;
  font-size: 1.08rem;
  color: var(--muted);
}
.about-content-shell {
  padding-top: 18px;
}
.about-inner {
  max-width: 980px;
}
.about-callout {
  max-width: 980px;
  margin: 20px auto 32px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
}
.about-callout h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin-bottom: 8px;
}
.about-callout p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
}
.about-copy {
  max-width: none;
}
.about-copy h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}
.about-copy p {
  margin-bottom: 14px;
  color: var(--muted);
  max-width: 760px;
}
.about-values {
  margin-top: 42px;
}
.about-values > h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}
.about-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.about-value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(28,69,108,0.08);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}
.about-value-card h3 {
  margin: 14px 0 10px;
  font-size: 1.2rem;
}
.about-value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.contact-page {
  padding-top: 18px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.contact-call-card,
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  padding: 30px 26px;
}
.contact-call-card {
  background: var(--bg-alt);
  max-width: 620px;
  margin: 0 auto;
}
.mini-label {
  margin: 0 0 12px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--heading);
}
.support-copy {
  margin: 12px 0 18px;
  color: var(--muted);
}
.contact-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}
.contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.6;
}
.contact-list li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--primary);
  font-weight: 900;
}
.contact-note {
  background: rgba(28,69,108,0.05);
  border: 1px solid rgba(28,69,108,0.1);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--muted);
}
.contact-form-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
}
.form-intro {
  margin: 0 0 20px;
  color: var(--muted);
}
.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  color: var(--heading);
  font-weight: 700;
}
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.88rem 0.9rem;
  color: var(--heading);
  box-sizing: border-box;
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.checkbox-wrap {
  margin-top: 6px;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}
.checkbox-row input {
  margin-top: 4px;
}
.contact-form .button {
  width: 100%;
  margin-top: 18px;
}
.form-footnote {
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.alert { color: #b42318; font-weight: 700; }

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.crumb-separator { color: var(--primary); }

.page-how-it-works .howitworks-hero {
  background: linear-gradient(180deg, var(--bg-alt), var(--surface));
  border-bottom: 1px solid var(--line);
  padding: 26px 0 50px;
}
.page-how-it-works .howitworks-hero .container {
  max-width: 1180px;
}
.page-how-it-works .breadcrumbs {
  margin-bottom: 18px;
  font-size: 0.76rem;
  text-transform: none;
}
.page-how-it-works .howitworks-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0;
  color: var(--heading);
}
.page-how-it-works .howitworks-hero p {
  max-width: 720px;
  margin-top: 16px;
  font-size: 1.06rem;
  color: var(--muted);
}
.page-how-it-works .howitworks-main {
  background: var(--bg-alt);
  padding: 72px 0 80px;
}
.page-how-it-works .howitworks-main .container {
  max-width: 1180px;
}
.page-how-it-works .howitworks-section-heading {
  max-width: 650px;
  margin-bottom: 36px;
}
.page-how-it-works .howitworks-section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0;
  color: var(--heading);
}
.page-how-it-works .howitworks-section-heading p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.02rem;
}
.page-how-it-works .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}
.page-how-it-works .step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.page-how-it-works .step-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.page-how-it-works .step-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #fff;
  font-size: 1.2rem;
}
.page-how-it-works .step-tag {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--muted);
}
.page-how-it-works .step-card h3 {
  font-size: 1.2rem;
  color: var(--heading);
  margin-bottom: 10px;
}
.page-how-it-works .step-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
}
.page-how-it-works .step-note {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}
.page-how-it-works .step-note strong {
  color: var(--heading);
}
.page-how-it-works .why-call-us {
  padding: 16px 0 72px;
}
.page-how-it-works .why-call-us .container {
  max-width: 1180px;
}
.page-how-it-works .why-call-us h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 12px;
  color: var(--heading);
}
.page-how-it-works .why-call-us .intro {
  margin: 0 0 30px;
  color: var(--muted);
}
.page-how-it-works .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}
.page-how-it-works .feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.page-how-it-works .feature-item svg {
  width: 28px;
  height: 28px;
  stroke: var(--secondary);
  flex-shrink: 0;
  margin-top: 4px;
}
.page-how-it-works .feature-item h3 {
  font-size: 1.12rem;
  margin: 0 0 8px;
  color: var(--heading);
}
.page-how-it-works .feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}
.page-how-it-works .comparison-box {
  padding: 72px 0 60px;
}
.page-how-it-works .comparison-box .container {
  max-width: 740px;
}
.page-how-it-works .comparison-box h2 {
  text-align: center;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--heading);
  margin: 0 0 28px;
}
.page-how-it-works .comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.page-how-it-works .compare-panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 18px;
}
.page-how-it-works .compare-panel h3 {
  font-size: 1rem;
  margin: 0 0 12px;
  color: var(--heading);
}
.page-how-it-works .compare-panel ul {
  list-style: disc;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.blog-hero {
  background: linear-gradient(180deg, var(--bg-alt), var(--surface));
  padding-bottom: 38px;
}
.blog-hero .container {
  max-width: 1180px;
}
.blog-hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.blog-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0;
  color: var(--heading);
}
.blog-hero-copy p {
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 1.06rem;
  color: var(--muted);
}
.blog-listing {
  padding-top: 42px;
  padding-bottom: 72px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.blog-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.02);
}
.blog-card-body {
  padding: 18px 20px 22px;
}
.blog-topic {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  line-height: 1.25;
}
.blog-card h3 a {
  color: var(--heading);
}
.blog-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.blog-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}
.blog-article {
  padding-top: 34px;
  padding-bottom: 65px;
}
.blog-article-wrap {
  max-width: 820px;
}
.blog-post-header {
  text-align: center;
  margin-bottom: 24px;
}
.blog-post-header h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  color: var(--heading);
}
.meta {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
.blog-article-image {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  background: var(--surface-soft);
}
.blog-article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-post-content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 100%;
}
.blog-post-content p,
.blog-post-content li,
.blog-post-content h2,
.blog-post-content h3 {
  max-width: 100%;
}
.blog-post-content h2,
.blog-post-content h3 {
  margin-top: 28px;
  color: var(--heading);
}
.blog-post-content ul,
.blog-post-content ol {
  padding-left: 22px;
}
.blog-disclaimer {
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 22px 20px;
}
.blog-disclaimer p {
  margin: 0 0 18px;
  color: var(--muted);
}
.blog-disclaimer .button {
  display: inline-flex;
  margin-top: 0;
}

.tips-hero {
  background: linear-gradient(180deg, var(--bg-alt), var(--surface));
  padding-bottom: 42px;
}
.tips-hero .container {
  max-width: 1180px;
}
.tips-hero-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.tips-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0;
  color: var(--heading);
}
.tips-hero-copy p {
  margin: 16px auto 0;
  max-width: 700px;
  font-size: 1.08rem;
  color: var(--muted);
}
.tips-listing {
  padding-top: 42px;
  padding-bottom: 72px;
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.tips-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tips-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
}
.tips-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.tips-card:hover .tips-card-image img {
  transform: scale(1.02);
}
.tips-card-body {
  padding: 18px 20px 22px;
}
.tips-topic {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.tips-card h3 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  line-height: 1.25;
}
.tips-card h3 a {
  color: var(--heading);
}
.tips-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.tips-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.82rem;
}
.button-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}
.tips-empty-state {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}
.tip-article {
  padding-top: 34px;
  padding-bottom: 65px;
}
.tip-article-wrap {
  max-width: 820px;
}
.tip-post-header {
  text-align: center;
  margin-bottom: 28px;
}
.tip-post-header h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  color: var(--heading);
}
.tip-meta-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}
.tip-article-image {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  background: var(--surface-soft);
}
.tip-article-image img {
  width: 100%;
  height: auto;
  display: block;
}
.tip-post-content {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 100%;
}
.tip-post-content p,
.tip-post-content li,
.tip-post-content h2,
.tip-post-content h3 {
  max-width: 100%;
}
.tip-post-content h2,
.tip-post-content h3 {
  margin-top: 28px;
  color: var(--heading);
}
.tip-post-content ul,
.tip-post-content ol {
  padding-left: 22px;
}
.tip-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

body.home .hero-section,
body.home .home-hero {
  background: linear-gradient(135deg, #f7f3ee 0%, #f1e9e2 36%, #fbfaf8 100%);
  border-bottom: 1px solid var(--home-line);
}
body.home .site-header {
  background: rgba(255, 250, 244, 0.96);
  border-bottom: 1px solid var(--home-line);
  box-shadow: none;
}
body.home .brand-copy strong,
body.home .nav-list a,
body.home .button,
body.home .header-search {
  color: var(--home-heading);
}
body.home .brand-mark {
  background: linear-gradient(135deg, #1d3c5a, #2a5f8b);
}
body.home .nav-list a {
  color: #2d3b41;
}
body.home .nav-list a:hover {
  color: var(--home-primary);
}
body.home .button-secondary {
  background: rgba(255,255,255,0.7);
  border-color: var(--home-line);
}
body.home .home-hero {
  padding: 78px 0 52px;
}
body.home .home-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 38px;
}
body.home .home-hero-copy {
  max-width: 640px;
}
body.home .home-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-primary);
}
body.home .home-hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--home-heading);
  line-height: 0.98;
  margin-bottom: 22px;
}
body.home .home-hero-copy p {
  max-width: 560px;
  font-size: 1.08rem;
  color: var(--home-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
body.home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}
body.home .home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.home .home-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
body.home .home-button.primary {
  background: linear-gradient(135deg, var(--home-primary), #113c5a);
  color: #fff;
  box-shadow: var(--home-shadow);
}
body.home .home-button.secondary {
  border: 1px solid var(--home-line);
  background: rgba(255,255,255,0.7);
  color: var(--home-heading);
}
body.home .home-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--home-text);
  font-size: 0.95rem;
  font-weight: 700;
}
body.home .home-trust-list li::before {
  content: "•";
  color: var(--home-accent);
  margin-right: 8px;
}
body.home .home-hero-visual {
  display: flex;
  justify-content: center;
}
body.home .home-image-card {
  position: relative;
  width: min(100%, 510px);
  border-radius: 28px;
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow);
  overflow: hidden;
}
body.home .home-image-card::before {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(215, 123, 72, 0.18);
  filter: blur(18px);
}
body.home .home-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
body.home .home-stats {
  padding: 22px 0 10px;
}
body.home .home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
body.home .home-stat-box {
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 18px 28px rgba(33, 60, 74, 0.05);
}
body.home .home-stat-box strong {
  display: block;
  color: var(--home-heading);
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  margin-bottom: 8px;
}
body.home .home-stat-box span {
  color: var(--home-muted);
  font-weight: 700;
}
body.home .home-services,
body.home .home-process,
body.home .home-benefits,
body.home .home-faq,
body.home .home-blog {
  background: var(--home-bg);
}
body.home .home-info-card,
body.home .home-step-card,
body.home .home-feature-card,
body.home .home-article-card,
body.home .faq-item {
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-radius: 22px;
  box-shadow: 0 18px 28px rgba(26, 42, 53, 0.05);
}
body.home .home-info-card,
body.home .home-step-card,
body.home .home-feature-card,
body.home .home-article-card {
  padding: 26px 22px;
}
body.home .home-icon-wrap,
body.home .home-mini-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--home-primary-soft);
  color: var(--home-primary);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
body.home .home-info-card h3,
body.home .home-step-card h3,
body.home .home-feature-card h3,
body.home .home-article-card h3 {
  color: var(--home-heading);
  margin-bottom: 10px;
}
body.home .home-info-card p,
body.home .home-step-card p,
body.home .home-feature-card p,
body.home .home-article-card p,
body.home .faq-answer p {
  color: var(--home-muted);
}
body.home .home-text-link,
body.home .home-article-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--home-primary);
  font-weight: 800;
}
body.home .home-step-card {
  position: relative;
}
body.home .home-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--home-primary), #4f7aa6);
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}
body.home .home-feature-card {
  min-height: 220px;
}
body.home .home-mini-icon {
  background: var(--home-accent-soft);
  color: var(--home-accent);
}
body.home .home-faq .faq-item {
  overflow: hidden;
  margin-bottom: 12px;
}
body.home .home-faq .faq-question {
  background: transparent;
  color: var(--home-heading);
  padding: 20px 22px;
  font-weight: 800;
}
body.home .home-faq .faq-question::after {
  color: var(--home-primary);
}
body.home .home-faq .faq-answer {
  padding: 0 22px 20px;
}
body.home .home-hero-microcopy {
  font-size: 0.85rem;
  color: var(--home-muted);
  margin: -10px 0 22px;
}

body.home .home-step-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

body.home .faq-read-all {
  display: inline-block;
  margin: 6px 0 0 22px;
}

body.home .plumbing-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
body.home .plumbing-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--home-panel);
  border: 1px solid var(--home-line);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 18px 28px rgba(26, 42, 53, 0.05);
}
body.home .service-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--home-primary-soft);
  font-size: 1.2rem;
  margin-bottom: 14px;
}
body.home .plumbing-service-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}
body.home .plumbing-service-card p {
  color: var(--home-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}
body.home .service-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--home-primary);
}

@media (max-width: 1080px) {
  body.home .plumbing-service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.home .plumbing-service-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  body.home .home-hero-grid,
  body.home .faq-layout,
  body.home .contact-layout {
    grid-template-columns: 1fr;
  }
  body.home .home-hero-copy {
    max-width: none;
  }
  body.home .home-hero-visual {
    justify-content: flex-start;
  }
  body.home .home-stats-grid,
  body.home .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .four-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-up { grid-template-columns: 1fr; }
  .page-hero-inner,
  .service-detail-shell,
  .hero-grid,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .tips-grid,
  .about-value-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-anchor-nav {
    top: 0;
  }
  .footer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-how-it-works .steps-grid,
  .page-how-it-works .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 10px);
    display: none;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: 18px;
  }
  .primary-nav.is-open { display: block; }
  .nav-list {
    display: grid;
    gap: 12px;
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-toggle { display: flex; }
  .header-location,
  .header-search {
    display: none;
  }
}

@media (max-width: 640px) {
  body.home .home-hero {
    padding-top: 56px;
  }
  body.home .home-hero-grid,
  body.home .home-stats-grid,
  body.home .four-up,
  body.home .three-up {
    grid-template-columns: 1fr;
  }
  body.home .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.home .home-button {
    width: 100%;
  }
  body.home .faq-read-all {
    margin-left: 0;
  }
  .section-shell { padding: 60px 0; }
  .hero-actions,
  .service-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    width: 100%;
  }
  .header-actions .button {
    width: auto;
  }
  .header-call-full {
    display: none;
  }
  .header-call-compact {
    display: inline-flex;
    padding: 0.7rem 0.9rem;
  }
  .header-call-compact .mobile-hide {
    display: none;
  }
  .header-inner {
    gap: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-copy strong {
    font-size: 1rem;
  }
  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  .mobile-call-bar .button {
    width: 100%;
    margin: 0;
  }
  .hero-card-panel {
    justify-content: stretch;
  }
  .glass-card {
    width: 100%;
  }
  .tips-grid,
  .about-value-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .service-heading {
    align-items: flex-start;
  }
  .page-how-it-works .steps-grid,
  .page-how-it-works .feature-grid,
  .page-how-it-works .comparison-grid {
    grid-template-columns: 1fr;
  }
  .page-how-it-works .howitworks-hero {
    padding: 20px 0 36px;
  }
  .page-how-it-works .why-call-us,
  .page-how-it-works .howitworks-main,
  .page-how-it-works .comparison-box {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .stats-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  body { font-size: 16px; padding-bottom: 76px; }
}
/*==========================
  FOOTER
===========================*/

.site-footer{
    background: var(--bg-alt);
    color: var(--muted);
    padding:0;
    margin-top:0;
}

/* CTA */

.footer-cta-band{
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    padding:70px 20px;
    text-align:center;
}

.footer-cta-inner{
    max-width:760px;
    margin:auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.footer-cta-inner .eyebrow{
    display:block;
    color:#fff;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height:1.2;
    font-weight:800;
    margin-bottom:20px;
    text-transform:none;
    letter-spacing:0;
}

.footer-cta-inner h2{
    color: rgba(255,255,255,0.92);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight:400;
    max-width:600px;
    line-height:1.8;
    margin-bottom:30px;
}

.button-call{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    color:#fff;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-button);
    border: 1px solid transparent;
    font-size:16px;
    font-weight:800;
    line-height: 1.2;
    box-shadow: 0 18px 32px rgba(199,109,57,0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-call:hover{
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    color:#fff;
    transform: translateY(-2px);
}

.footer-note{
    color: rgba(255,255,255,0.78);
    margin-top:25px;
    font-size:14px;
}

/*==========================
 Footer Grid
===========================*/

.footer-grid{
    padding:60px 0;
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr 1fr;
    gap:60px;
}

.footer-column h3{
    font-size:15px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing: 0.06em;
    color: var(--heading);
    margin-bottom:18px;
}

.footer-column p{
    color: var(--muted);
    font-size:15px;
    line-height:1.8;
}

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

.footer-column li{
    margin-bottom:12px;
}

.footer-column a{
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    transition:.3s;
}

.footer-column a:hover{
    color: var(--primary);
}

.footer-brand{
    margin-bottom:20px;
}

.footer-brand .brand-mark{
    width:42px;
    height:42px;
    border-radius:8px;
    background: var(--primary);
    color:#fff;
}

.footer-phone{
    display:inline-block;
    margin-top:15px;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    font-weight:700;
    color: var(--primary);
}

/*==========================
 Bottom
===========================*/

.footer-bottom{
    border-top:1px solid var(--line);
    padding:20px;
}

.footer-bottom-inner{
    max-width: var(--container);
    margin:auto;
    text-align:center;
    color: var(--muted);
    font-size:13px;
    line-height:1.8;
}

/*==========================
 Mobile
===========================*/

@media(max-width:992px){

.footer-grid{
grid-template-columns:repeat(2,1fr);
gap:40px;
}

}

@media(max-width:768px){

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

.footer-brand{
justify-content:center;
}

.footer-cta-band{
padding:60px 20px;
}

.button-call{
width:100%;
max-width:320px;
}

.footer-bottom-inner{
font-size:12px;
}

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