/* ===========================================================
   Home Service Lead Co — brand stylesheet
   Palette carried over from the Pricing & Outreach Playbook
   =========================================================== */

:root {
  --navy: #1F2A44;
  --navy-dark: #141B2E;
  --teal: #0F7A72;
  --teal-light: #E9F5F3;
  --orange: #E0662B;
  --orange-dark: #C34F1B;
  --orange-light: #FCEFE6;
  --cream: #F3F1EA;
  --white: #FFFFFF;
  --text: #24262B;
  --text-light: #5B5B5B;
  --border: #E5E1D8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(20, 27, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 27, 46, 0.14);
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}
h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.1rem; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; color: var(--text-light); }
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding-left: 0; list-style: none; margin: 0; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255,255,255,0.75); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(224,102,43,0.35); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--text); }
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { padding: 72px 0 90px; background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.15rem; color: var(--text-light); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-note { font-size: 0.85rem; color: var(--text-light); display: flex; align-items: center; gap: 8px; }

.hero-visual {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.browser-frame { background: #fff; border-radius: 10px; overflow: hidden; }
.browser-bar { background: #EDEBE4; padding: 10px 14px; display: flex; gap: 6px; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D4D0C6; display: inline-block; }
.browser-body { padding: 22px 18px; }
.mock-hero { background: linear-gradient(135deg, var(--teal), var(--navy)); border-radius: 8px; height: 90px; margin-bottom: 12px; }
.mock-line { height: 10px; border-radius: 4px; background: #EDEBE4; margin-bottom: 8px; }
.mock-line.w60 { width: 60%; } .mock-line.w80 { width: 80%; } .mock-line.w40 { width: 40%; }
.mock-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.mock-card { background: var(--cream); border-radius: 6px; height: 46px; }
.hero-badge {
  position: absolute; bottom: -18px; left: 24px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; color: var(--navy);
}

/* Trust bar */
.trust-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.trust-bar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 26px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 0.88rem; color: var(--navy); }
.trust-item svg { flex-shrink: 0; }

/* Icon tile */
.icon-tile {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step-card { position: relative; padding: 28px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800;
  margin-bottom: 16px; font-size: 0.95rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; margin-bottom: 0; }

/* Feature / value cards */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { margin-bottom: 0; font-size: 0.95rem; }

/* Portfolio teaser */
.portfolio-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.portfolio-card { background: var(--navy); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-lg); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--orange); box-shadow: var(--shadow-lg); position: relative; transform: translateY(-8px);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { margin-bottom: 4px; }
.price-tag { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--navy); margin: 12px 0 4px; }
.price-tag span { font-size: 1rem; font-weight: 600; color: var(--text-light); }
.price-desc { font-size: 0.88rem; margin-bottom: 22px; }
.price-features { margin: 0 0 26px; flex-grow: 1; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; margin-bottom: 12px; color: var(--text); }
.price-features svg { flex-shrink: 0; margin-top: 3px; }

.care-plan-band {
  background: var(--teal-light); border: 1px solid rgba(15,122,114,0.25);
  border-radius: var(--radius); padding: 30px 34px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; flex-wrap: wrap;
}

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.compare-table th { font-family: var(--font-head); background: var(--navy); color: #fff; font-size: 0.85rem; }
.compare-table td:first-child, .compare-table th:first-child { width: 34%; }
.compare-table tr.highlight td { background: var(--orange-light); font-weight: 700; }
.compare-table tr:last-child td { border-bottom: none; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--orange); font-weight: 400; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 14px; margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy); border-radius: var(--radius); padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 14px; }
.footer-logo span { color: var(--orange); }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; margin: 0; }
.social-row a:hover { background: var(--orange); }

/* Page hero (inner pages) */
.page-hero { padding: 56px 0 64px; background: var(--cream); text-align: center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero p { max-width: 620px; margin: 0 auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--navy); margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--cream);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--teal); background: #fff; }
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info-card a { color: #fff; font-weight: 700; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.booking-embed-note { border: 2px dashed rgba(255,255,255,0.3); border-radius: var(--radius-sm); padding: 18px; font-size: 0.85rem; margin-top: 18px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { background: linear-gradient(135deg, var(--teal), var(--navy)); border-radius: var(--radius); aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-family: var(--font-head); font-weight: 700; }
.value-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.value-list h4 { margin-bottom: 4px; font-family: var(--font-head); color: var(--navy); }
.value-list p { margin-bottom: 0; font-size: 0.92rem; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-check { color: var(--teal); }

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .hero-grid, .portfolio-teaser, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps-grid, .cards-grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .header-cta .btn-outline-navy { display: none; }
  .nav-toggle { display: block; }
  .price-card.featured { transform: none; }
  .compare-table { display: block; overflow-x: auto; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .trust-bar .container { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}

/* Mobile nav panel */
.mobile-nav {
  display: none; position: fixed; inset: 76px 0 0 0; background: #fff; z-index: 90;
  padding: 32px 24px; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 20px; }
