/* Revamps v5. Minimal, white, sleek. Softer type, confident but quiet. */

:root {
  --ink: #111827;
  --body: #4b5563;
  --muted: #9ca3af;
  --line: #e5e7eb;
  --line-soft: #f3f4f6;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.07);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05), 0 6px 20px rgba(0,0,0,0.05);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
a { color: var(--blue); }
img, svg { display: block; max-width: 100%; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 720px; }
.section { padding: 96px 0; scroll-margin-top: 70px; }
.section-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.eyebrow {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 1rem;
}
.eyebrow-center { text-align: center; }
.section-sub { font-size: 1.05rem; color: var(--body); max-width: 600px; margin-bottom: 3rem; line-height: 1.75; font-weight: 400; }
.section-sub.text-center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 600; font-size: 0.98rem; text-decoration: none;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: all 0.18s ease; letter-spacing: -0.005em;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,0.3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #9ca3af; background: var(--bg-soft); }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.btn-light:hover { transform: translateY(-1px); }
.btn-large { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-small { padding: 0.55rem 1.15rem; font-size: 0.9rem; }
.btn-block { display: block; text-align: center; width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 32px; height: 32px; background: var(--ink); color: #fff;
  border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.brand-name { color: var(--ink); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.main-nav { display: flex; gap: 1.8rem; }
.main-nav a { color: var(--body); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.main-nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: all 0.2s; }

/* Hero: light, minimal, confident */
.hero {
  padding: 110px 0 90px;
  background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black 25%, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; text-align: center; }
.hero-kicker {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600; color: var(--blue);
  background: #eff6ff; border: 1px solid #dbeafe;
  padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 1.6rem;
}
.hero h1 { margin-bottom: 1.3rem; font-weight: 700; }
.hero h1 .thin { font-weight: 400; color: var(--body); }
.hero-sub {
  font-size: 1.12rem; color: var(--body); max-width: 560px;
  margin: 0 auto 2.4rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.6rem; }
.hero-proof {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem; flex-wrap: wrap;
  font-size: 0.9rem; color: var(--muted);
}
.hero-proof strong { color: var(--ink); font-weight: 600; }
.hero-dot { width: 4px; height: 4px; border-radius: 50%; background: #d1d5db; }

/* Hero visual: floating browser */
.hero-visual { margin-top: 4rem; position: relative; max-width: 860px; margin-left: auto; margin-right: auto; }
.hero-browser {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow); background: #fff; text-align: left;
}
.hero-browser-body { padding: 28px 30px 34px; background: linear-gradient(135deg, #1e3a5f, #16283f); }
.hero-browser-body .pv-h1 { font-size: 1.7rem; }
.hero-browser-body .pv-p { font-size: 0.95rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.service-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 2.6rem 2.4rem;
  background: #fff; transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.service-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.3rem; color: var(--ink);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; font-weight: 700; }
.service-card p { font-size: 0.99rem; margin-bottom: 1.3rem; line-height: 1.7; }
.service-link { font-weight: 600; text-decoration: none; font-size: 0.94rem; }
.service-link:hover { text-decoration: underline; }

/* Work cards */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.work-card {
  text-decoration: none; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; background: #fff;
  transition: box-shadow 0.25s, transform 0.25s; display: block;
}
.work-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.work-card-meta { padding: 1.3rem 1.5rem 1.5rem; }
.work-card-meta h3 { font-size: 1.05rem; margin-bottom: 0.25rem; font-weight: 600; }
.work-card-meta p { color: var(--muted); font-size: 0.9rem; }

/* Browser mockup internals */
.pv-bar {
  display: flex; align-items: center; gap: 6px;
  background: #f8fafc; border-bottom: 1px solid var(--line-soft); padding: 10px 15px;
}
.pv-dot { width: 9px; height: 9px; border-radius: 50%; background: #d1d5db; flex-shrink: 0; }
.pv-url {
  margin-left: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; font-size: 0.72rem; color: var(--muted);
  padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pv-body { padding: 18px; }
.pv-nav { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 16px; }
.pv-logo { font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-right: auto; }
.pv-links { display: flex; gap: 7px; }
.pv-links i { width: 38px; height: 7px; background: #e5e7eb; border-radius: 4px; display: block; }
.pv-cta { font-size: 0.7rem; font-weight: 600; color: #fff; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.pv-roofing .pv-cta { background: #2c4a6b; }
.pv-hvac .pv-cta { background: #0e7490; }
.pv-plumbing .pv-cta { background: var(--blue); }
.pv-pest .pv-cta { background: #5b4a2c; }
.pv-electrical .pv-cta { background: #b45309; }
.pv-hero { border-radius: 12px; padding: 24px 22px; margin-bottom: 16px; }
.pv-roofing .pv-hero { background: linear-gradient(135deg, #2c4a6b, #1a2f47); }
.pv-hvac .pv-hero { background: linear-gradient(135deg, #0e7490, #0c4a5e); }
.pv-plumbing .pv-hero { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.pv-pest .pv-hero { background: linear-gradient(135deg, #5b4a2c, #3a2e18); }
.pv-electrical .pv-hero { background: linear-gradient(135deg, #b45309, #7c3a06); }
.pv-h1 { display: block; font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 6px; }
.pv-p { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.85); margin-bottom: 12px; line-height: 1.5; }
.pv-btn { display: inline-block; font-size: 0.74rem; font-weight: 600; color: var(--ink); background: #fff; padding: 8px 18px; border-radius: 999px; }
.pv-services { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
.pv-services span { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 10px; padding: 11px; }
.pv-services b { display: block; font-size: 0.72rem; color: var(--ink); margin-bottom: 2px; font-weight: 600; }
.pv-services i { display: block; font-size: 0.65rem; color: var(--muted); font-style: normal; }

/* Textback section */
.textback-band { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.phone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.6rem; }
.phone-card { text-decoration: none; display: block; }
.preview-phone {
  width: 100%; max-width: 220px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 11px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}
.phone-card:hover .preview-phone { transform: translateY(-4px); box-shadow: var(--shadow); }
.ph-notch { width: 68px; height: 6px; background: #e5e7eb; border-radius: 3px; margin: 2px auto 11px; }
.ph-screen {
  background: #f8fafc; border-radius: 21px; padding: 15px 13px;
  min-height: 245px; display: flex; flex-direction: column; gap: 8px;
}
.ph-header {
  font-size: 0.72rem; font-weight: 600; color: var(--ink);
  text-align: center; padding-bottom: 9px; border-bottom: 1px solid var(--line-soft); margin-bottom: 3px;
}
.ph-bubble { font-size: 0.71rem; line-height: 1.45; padding: 8px 12px; border-radius: 15px; max-width: 88%; }
.ph-in { background: #fff; border: 1px solid var(--line-soft); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.ph-out { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.phone-label { margin-top: 0.9rem; text-align: center; }
.phone-label strong { display: block; color: var(--ink); font-size: 0.94rem; font-weight: 600; margin-bottom: 0.1rem; }
.phone-label span { color: var(--muted); font-size: 0.83rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step-card {
  border: 1px solid var(--line); border-radius: 18px;
  padding: 2.3rem 2.1rem; background: #fff;
}
.step-card p { font-size: 0.97rem; line-height: 1.7; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: 1.1rem; border-radius: 50%; margin-bottom: 1.4rem;
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 940px; margin: 0 auto; }
.price-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 2.8rem 2.4rem;
  background: #fff; text-align: center;
}
.price-featured { border-color: #bfdbfe; box-shadow: var(--shadow-sm); }
.price-label { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.price { margin: 0.6rem 0 1.8rem; }
.price-amount { font-size: 3rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.price-once { color: var(--muted); font-size: 0.95rem; }
.price-list { list-style: none; text-align: left; margin-bottom: 1.8rem; }
.price-list li { position: relative; padding-left: 2rem; margin-bottom: 0.65rem; font-size: 0.96rem; }
.price-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 1.45rem; height: 1.45rem; background: var(--green-bg); color: var(--green);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.8rem;
}
.price-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-bottom: 2rem; }
.price-split div { background: var(--bg-soft); border-radius: 12px; padding: 1.1rem 0.9rem; }
.price-split strong { display: block; font-size: 1.4rem; color: var(--ink); font-weight: 700; }
.price-split span { font-size: 0.82rem; color: var(--muted); line-height: 1.5; display: block; margin-top: 0.25rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 1.2rem 1.5rem; font-weight: 600; font-size: 0.99rem;
  color: var(--ink); list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; color: var(--muted); flex-shrink: 0; transition: transform 0.2s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--blue); }
.faq-item p { padding: 0 1.5rem 1.5rem; font-size: 0.97rem; line-height: 1.7; }

/* CTA */
.cta-band {
  background: var(--ink); color: #fff; padding: 100px 0;
  text-align: center; scroll-margin-top: 70px;
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; font-weight: 700; }
.cta-band p { color: #9ca3af; font-size: 1.03rem; max-width: 520px; margin: 0 auto 2.2rem; line-height: 1.7; }
.cta-email { color: #d1d5db !important; font-size: 0.95rem; margin: 1.2rem auto 0 !important; letter-spacing: 0.02em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 2rem 0; background: var(--bg-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { font-size: 0.88rem; color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .services-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .brand { margin-right: 0; }
  .site-header.nav-open .main-nav {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.8rem 28px 1.4rem; gap: 0; box-shadow: 0 12px 24px rgba(0,0,0,0.07);
  }
  .site-header.nav-open .main-nav a { padding: 0.75rem 0; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
  .site-header.nav-open .main-nav a:last-child { border-bottom: none; }
  .site-header.nav-open .header-cta { display: block; position: absolute; top: calc(68px + 4 * 53px + 1.4rem); left: 28px; right: 28px; text-align: center; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 76px 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .hero-proof { gap: 0.7rem; font-size: 0.85rem; }
  .hero-visual { margin-top: 2.5rem; }
  .pv-services { grid-template-columns: 1fr; }
  .phone-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .service-card, .price-card { padding: 2rem 1.7rem; }
  .price-amount { font-size: 2.6rem; }
  .price-split { grid-template-columns: 1fr; }
  .cta-band { padding: 72px 0; }
}
