/* ============================================================
   CM PLUMBING & HEATING — Style Sheet
   Palette: Deep Navy (#0D1B2A) + Gold (#C8992A) + Off-white
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-full: 9999px;

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.18);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.22);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.32);

  --content-default: 1160px;
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body:    'Satoshi', 'Helvetica Neue', sans-serif;

  /* Gold accent */
  --gold:        #C8992A;
  --gold-hover:  #b07d1a;
  --gold-light:  #f5e6c0;
}

/* ---------- Light Mode ---------- */
:root, [data-theme="light"] {
  --color-bg:           #f8f7f3;
  --color-surface:      #ffffff;
  --color-surface-2:    #f2f0eb;
  --color-border:       #dddad4;
  --color-text:         #0D1B2A;
  --color-text-muted:   #5a5850;
  --color-text-faint:   #aaa89f;
  --color-text-inverse: #f8f7f3;
  --color-navy:         #0D1B2A;
  --color-navy-mid:     #162436;
  --color-navy-light:   #1e3049;
  --shadow-card:        0 2px 12px rgba(13,27,42,0.08);
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --color-bg:           #0a1520;
  --color-surface:      #0f1e2e;
  --color-surface-2:    #152537;
  --color-border:       #1e3349;
  --color-text:         #e8e5df;
  --color-text-muted:   #8a9bae;
  --color-text-faint:   #4a6077;
  --color-text-inverse: #0a1520;
  --color-navy:         #0a1520;
  --color-navy-mid:     #0f1e2e;
  --color-navy-light:   #152537;
  --shadow-card:        0 2px 12px rgba(0,0,0,0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:           #0a1520;
    --color-surface:      #0f1e2e;
    --color-surface-2:    #152537;
    --color-border:       #1e3349;
    --color-text:         #e8e5df;
    --color-text-muted:   #8a9bae;
    --color-text-faint:   #4a6077;
    --color-text-inverse: #0a1520;
    --color-navy:         #0a1520;
    --color-navy-mid:     #0f1e2e;
    --color-navy-light:   #152537;
    --shadow-card:        0 2px 12px rgba(0,0,0,0.4);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  padding-bottom: 72px; /* room for sticky bar on mobile */
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li { text-wrap: pretty; max-width: 70ch; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a, button, [role="button"] {
  transition: color var(--transition), background var(--transition),
              border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: rgba(200,153,42,0.25); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.section { padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm  { font-size: var(--text-sm);  padding: var(--space-2) var(--space-5); }
.btn-md  { font-size: var(--text-sm);  padding: var(--space-3) var(--space-6); }
.btn-lg  { font-size: var(--text-base); padding: var(--space-4) var(--space-8); }
.btn-block { width: 100%; justify-content: center; border-radius: var(--radius-lg); }

/* Gold primary */
.btn-primary {
  background: var(--gold);
  color: #0D1B2A;
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); }

/* Jobber — distinctive teal/green so it stands out from gold */
.btn-jobber {
  background: #1a7a5e;
  color: #ffffff;
  border-color: #1a7a5e;
}
.btn-jobber:hover { background: #145f49; border-color: #145f49; }

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- Emergency Banner ---------- */
.emergency-banner {
  background: var(--gold);
  color: #0D1B2A;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-2) var(--space-4);
  flex-wrap: wrap;
  text-align: center;
}
.pulse-dot {
  width: 10px; height: 10px;
  background: #0D1B2A;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(1.4); }
}
.banner-call {
  background: #0D1B2A;
  color: var(--gold);
  padding: 3px 14px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  white-space: nowrap;
}
.banner-call:hover { opacity: 0.85; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo svg { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: #ffffff;
}
.logo-sub {
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 600;
}

/* Real logo image */
.logo-img-wrap { gap: 0; }
.footer-logo-img { height: 60px; }
.logo-img {
  height: 76px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .logo-img { height: 60px; max-width: 180px; }
}
.nav {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition);
}
.nav a:hover { color: var(--gold); }

.nav-homecare {
  color: var(--gold) !important;
  font-weight: 700 !important;
  border: 1px solid rgba(200,153,42,0.4);
  border-radius: 100px;
  padding: 4px 12px;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}
.nav-homecare:hover {
  background: rgba(200,153,42,0.12) !important;
  border-color: rgba(200,153,42,0.8) !important;
  color: var(--gold) !important;
}

/* Mobile nav homecare link */
.mobile-nav .nav-homecare {
  color: var(--gold);
  font-weight: 700;
  border: 1px solid rgba(200,153,42,0.35);
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: var(--space-4);
}
.theme-toggle {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none; border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5) clamp(var(--space-5), 5vw, var(--space-12));
  padding-bottom: var(--space-6);
  background: var(--color-navy);
  border-top: 1px solid var(--color-border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }
.btn-mobile-call {
  margin-top: var(--space-2);
  justify-content: center;
  border-radius: var(--radius-lg) !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(480px, 75vh, 780px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(10,21,32,0.88) 0%,
    rgba(10,21,32,0.65) 55%,
    rgba(10,21,32,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-16);
  max-width: 640px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(200,153,42,0.15);
  border: 1px solid rgba(200,153,42,0.5);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-4);
  margin-bottom: var(--space-5);
}
.trust-badge .stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.trust-badge span { font-size: var(--text-xs); color: rgba(255,255,255,0.9); font-weight: 600; }
.hero-content h1 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-5);
  line-height: 1.1;
}
.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-8);
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--color-navy-mid);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-5);
}
.trust-items {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.9);
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Section Headers ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}
.section-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.section-header h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card--featured { grid-column: span 1; }
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-icon-hero {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  color: var(--color-text-faint);
}
.service-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(200,153,42,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.emergency-icon {
  background: rgba(220,60,40,0.12);
  color: #e04030;
}
.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}
.service-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: #1a7a5e;
  text-decoration: none;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.service-link:hover { color: #145f49; }

/* Services CTA block */
.services-cta {
  margin-top: var(--space-12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.services-cta p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-inline: auto;
}

/* ---------- About ---------- */
.about-section { background: var(--color-surface-2, var(--color-surface)); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: center;
}
.about-content .section-label { margin-bottom: var(--space-3); }
.about-content h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-5);
}
.about-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.about-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.about-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.about-list li svg { color: var(--gold); flex-shrink: 0; }
.about-btns {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-star { color: var(--gold); }
.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Reviews ---------- */
.reviews-section { background: var(--color-navy-mid); }
.reviews-section .section-header h2 { color: #fff; }
.reviews-section .section-label { color: var(--gold); }
.reviews-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.big-stars { color: var(--gold); font-size: 1.5rem; letter-spacing: 3px; }
.rating-text { color: rgba(255,255,255,0.75); font-size: var(--text-sm); }
.rating-text strong { color: #fff; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.review-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  max-width: 100%;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: #0D1B2A;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer-info { display: flex; flex-direction: column; }
.reviewer-info strong { font-size: var(--text-sm); color: var(--color-text); }
.reviewer-info span { font-size: var(--text-xs); color: var(--color-text-faint); }

/* Review CTA card */
.review-card--cta {
  background: linear-gradient(135deg, #0f2a1e 0%, #0a1f16 100%);
  border-color: rgba(26,122,94,0.4);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.review-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.review-cta-inner p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  max-width: 24ch;
  margin-inline: auto;
}
.review-link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}
.review-link:hover { color: rgba(255,255,255,0.9); }

/* ---------- Areas ---------- */
.areas-section { background: var(--color-bg); }
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}
.area-tag {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-text);
}
.areas-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ---------- Contact ---------- */
.contact-section { background: var(--color-navy); }
.contact-section .section-label { color: var(--gold); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: start;
}
.contact-info h2 {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-4);
}
.contact-info > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-6);
  font-size: var(--text-base);
}

/* Jobber primary CTA */
.jobber-main-cta {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-lg) !important;
  padding: var(--space-5) var(--space-6) !important;
  font-size: var(--text-base) !important;
  font-weight: 800 !important;
}
.jobber-note {
  text-align: center;
  color: rgba(255,255,255,0.45) !important;
  font-size: var(--text-xs) !important;
  margin-top: var(--space-2) !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
}

/* Divider */
.contact-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-block: var(--space-6);
}
.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.contact-divider span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
}
.contact-method-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(200,153,42,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method div { display: flex; flex-direction: column; }
.contact-method strong { font-size: var(--text-sm); color: #fff; font-weight: 700; }
.contact-method span { font-size: var(--text-sm); color: rgba(255,255,255,0.6); }
a.contact-method:hover .contact-method-icon { background: rgba(200,153,42,0.25); }

/* Contact form */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.form-header { margin-bottom: var(--space-6); }
.form-header h3 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.form-header p { font-size: var(--text-sm); color: var(--color-text-muted); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); outline: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  max-width: 100%;
}
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: rgba(26,122,94,0.12);
  border: 1px solid rgba(26,122,94,0.35);
  border-radius: var(--radius-md);
  color: #1a7a5e;
  font-weight: 700;
  font-size: var(--text-sm);
}
.form-success.visible { display: flex; }

/* ---------- Footer ---------- */
.footer { background: var(--color-navy); border-top: 1px solid var(--color-border); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-block: var(--space-16) var(--space-12);
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-brand p { font-size: var(--text-sm); color: rgba(255,255,255,0.5); max-width: 34ch; }
.footer-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--gold);
  text-decoration: none;
}
.footer-phone:hover { color: #fff; }
.footer-jobber-btn { align-self: flex-start; }
.footer-links h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: #fff;
  margin-bottom: var(--space-4);
}
.footer-links ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-links li, .footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  max-width: 100%;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--color-border); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-block: var(--space-5);
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.35); max-width: 100%; }

/* ---------- Sticky Bar ---------- */
.sticky-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  display: none;
  height: 60px;
}
.sticky-half {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 50%;
  height: 100%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: opacity var(--transition);
}
.sticky-half:hover { opacity: 0.9; }
.sticky-call-btn {
  background: var(--gold);
  color: #0D1B2A;
}
.sticky-jobber-btn {
  background: #1a7a5e;
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-brand { grid-column: span 2; }
  .nav { display: none; }
  .header-actions .btn { display: none; }
  .header-actions .theme-toggle { display: flex; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  body { padding-bottom: 60px; }
  .sticky-call-bar { display: flex; }
  .header-actions .btn-jobber { display: none !important; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .trust-items { gap: var(--space-5); }
  .about-btns { flex-direction: column; }
  .about-btns .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .emergency-banner { flex-direction: column; gap: var(--space-2); }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   HomeCare Plan Section
   ========================================================= */
.homecare-section {
  background: linear-gradient(135deg, #0a1520 0%, #0D1B2A 50%, #0f2035 100%);
  position: relative;
  overflow: hidden;
}

.homecare-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,153,42,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.homecare-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.homecare-badge {
  display: inline-block;
  background: rgba(200, 153, 42, 0.15);
  border: 1px solid rgba(200, 153, 42, 0.4);
  color: #C8992A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: var(--space-5, 20px);
}

.homecare-inner h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary, #F0EDE8);
  line-height: 1.2;
  margin-bottom: var(--space-5, 20px);
}

.homecare-sub {
  font-size: 1.1rem;
  color: rgba(240,237,232,0.75);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto var(--space-10, 40px);
}

.homecare-sub strong {
  color: #F0EDE8;
}

.homecare-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5, 20px);
  margin-bottom: var(--space-10, 40px);
  text-align: left;
}

.homecare-perk {
  display: flex;
  gap: var(--space-4, 16px);
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,153,42,0.15);
  border-radius: 12px;
  padding: var(--space-5, 20px);
}

.homecare-perk-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.homecare-perk strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary, #F0EDE8);
  margin-bottom: 4px;
}

.homecare-perk p {
  font-size: 0.875rem;
  color: rgba(240,237,232,0.6);
  line-height: 1.55;
  margin: 0;
}

.homecare-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3, 12px);
}

.btn-homecare {
  background: #C8992A;
  color: #0D1B2A;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 100px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(200,153,42,0.35);
  display: inline-block;
  text-decoration: none;
}

.btn-homecare:hover {
  background: #d9a82e;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,153,42,0.5);
}

.homecare-cta-note {
  font-size: 0.8rem;
  color: rgba(240,237,232,0.45);
  margin: 0;
}

[data-theme="light"] .homecare-section {
  background: linear-gradient(135deg, #0a1520 0%, #0D1B2A 60%, #102238 100%);
}

@media (max-width: 640px) {
  .homecare-perks {
    grid-template-columns: 1fr;
  }
  .btn-homecare {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    padding: 15px 24px;
  }
}

/* =========================================================
   FAQ Section
   ========================================================= */
.faq-section {
  background: var(--surface-1, #0D1B2A);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  gap: var(--space-3, 12px);
  margin-top: var(--space-10, 40px);
}

.faq-item {
  background: var(--surface-2, rgba(255,255,255,0.04));
  border: 1px solid rgba(200, 153, 42, 0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(200, 153, 42, 0.55);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4, 16px);
  padding: var(--space-5, 20px) var(--space-6, 24px);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary, #F0EDE8);
  cursor: pointer;
  user-select: none;
  line-height: 1.45;
}

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

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold, #C8992A);
  transition: transform 0.25s ease, opacity 0.2s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer,
.faq-item > p {
  padding: 0 var(--space-6, 24px) var(--space-5, 20px);
  font-size: 0.95rem;
  color: var(--text-secondary, rgba(240,237,232,0.7));
  line-height: 1.65;
  border-top: 1px solid rgba(200, 153, 42, 0.1);
  margin: 0;
}

[data-theme="light"] .faq-item {
  background: #f7f5f0;
  border-color: rgba(200, 153, 42, 0.25);
}

[data-theme="light"] .faq-item[open] {
  border-color: rgba(200, 153, 42, 0.6);
}

[data-theme="light"] .faq-item summary {
  color: #0D1B2A;
}

[data-theme="light"] .faq-item .faq-answer,
[data-theme="light"] .faq-item > p {
  color: rgba(13, 27, 42, 0.7);
}

@media (max-width: 768px) {
  .faq-item summary {
    padding: var(--space-4, 16px) var(--space-5, 20px);
    font-size: 0.95rem;
  }
  .faq-item .faq-answer,
  .faq-item > p {
    padding: 0 var(--space-5, 20px) var(--space-4, 16px);
  }
}
