/* Trusted Home Service — /categories/ landers
   Clean, conversion-focused. Own palette/typography so it isn't a clone. */

:root {
  --navy: #0f2a43;
  --teal: #0fb5a6;
  --teal-d: #0a8f83;
  --amber: #ffb020;
  --ink: #1c2430;
  --muted: #5c6b7a;
  --line: #e4e9ee;
  --bg: #f6f8fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 67, .08);
  --container: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal-d); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); font-weight: 700; }
.brand__mark { color: var(--teal); font-size: 1.2rem; }
.brand__name { font-size: 1.15rem; }
.brand__name strong { color: var(--teal-d); }
.site-header__tag { color: var(--muted); font-size: .9rem; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, #143a5c 60%, var(--teal-d) 140%); color: #eaf2f8; padding: 56px 0; }
.hero--compact { padding: 40px 0; }
.hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; }
.hero__sub { color: #cfe0ec; font-size: 1.1rem; max-width: 46ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700; color: var(--teal); margin-bottom: .6rem; }
.cost-badge { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.cost-badge span { color: #b9cddd; }
.hero__art { display: grid; place-items: center; }
.hero__art-card { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.3); display: grid; place-items: center; color: #cfe0ec; font-weight: 700; }

/* Zip card */
.zip-card { background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-top: 20px; max-width: 460px; }
.zip-card--cta { margin: 0 auto; }
.zip-card__label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.zip-card__row { display: flex; gap: 10px; }
.zip-card__input { flex: 1; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 1.05rem; font-family: inherit; }
.zip-card__input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,181,166,.18); }
.zip-card__input--error { border-color: #e0526b; box-shadow: 0 0 0 3px rgba(224,82,107,.18); }
.zip-card__hint { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }

.btn { cursor: pointer; border: 0; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 1rem; padding: 14px 20px; white-space: nowrap; }
.btn--primary { background: var(--amber); color: #2a1c00; }
.btn--primary:hover { filter: brightness(.96); }

/* Trust bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; padding: 16px 20px; color: var(--muted); font-size: .92rem; font-weight: 600; }

/* Sections */
section.services, section.steps, section.faqs, section.cta, .cat-grid-wrap, .results-head, .results-widget { padding: 48px 0; }
.services h2, .steps h2, .faqs h2 { text-align: center; margin-bottom: 28px; }

.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.service-card h3 { font-size: 1.05rem; }
.service-card p { color: var(--muted); margin: 0; font-size: .95rem; }

.steps__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps__grid li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps__num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 10px; }

.faqs__list { max-width: 760px; margin: 0 auto; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta { background: linear-gradient(135deg, #11324f, var(--teal-d)); color: #fff; text-align: center; }
.cta h2 { color: #fff; }

/* Category index */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--navy); font-weight: 700; box-shadow: var(--shadow); }
.cat-tile:hover { border-color: var(--teal); }
.cat-tile__arrow { color: var(--teal); }

/* Results page: pro cards + Request Flow modal */
.results-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 0; }
.results-back { display: inline-block; margin-bottom: 8px; color: var(--teal-d); text-decoration: none; font-weight: 600; font-size: .9rem; }
.results-body { padding: 36px 0; }
.results-empty { text-align: center; max-width: 520px; margin: 0 auto; color: var(--muted); }
.results-empty .btn { margin: 10px 0; }
.results-more { text-align: center; margin-top: 26px; }
.results-more a { font-weight: 700; }

.pro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pro-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.pro-card__top { display: flex; gap: 12px; align-items: center; }
.pro-card__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.pro-card__avatar--ph { display: grid; place-items: center; background: var(--bg); font-size: 1.4rem; }
.pro-card__name { font-weight: 700; color: var(--navy); text-decoration: none; }
.pro-card__name:hover { color: var(--teal-d); }
.pro-card__location { color: var(--muted); font-size: .88rem; }
.pro-card__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pro-card__pill { background: rgba(15,181,166,.12); color: var(--teal-d); border-radius: 999px; padding: 3px 10px; font-size: .74rem; font-weight: 700; }
.pro-card__stats { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .85rem; }
.pro-card__review { font-size: .9rem; }
.pro-card__review-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.pro-card__review-stars { color: var(--amber); }
.pro-card__review-score { font-weight: 700; }
.pro-card__review-rcount { color: var(--muted); font-size: .82rem; }
.pro-card__review-by { color: var(--muted); font-size: .8rem; display: block; margin-top: 2px; }
.pro-card__review-toggle { background: none; border: 0; color: var(--teal-d); font-weight: 700; cursor: pointer; padding: 0; font-size: .85rem; }
.pro-card__cta { margin-top: auto; }

.quote-modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(15,42,67,.6); padding: 24px; }
.quote-modal.is-open { display: flex; align-items: center; justify-content: center; }
.quote-modal__box { position: relative; background: var(--white); border-radius: var(--radius); width: 100%; max-width: 640px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.quote-modal__close { position: absolute; top: 8px; right: 10px; z-index: 2; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--muted); cursor: pointer; }
.quote-modal__close:hover { color: var(--ink); }
.quote-modal__iframe { width: 100%; height: 70vh; border: 0; border-radius: var(--radius); display: block; }

@media (max-width: 700px) {
  .pro-grid { grid-template-columns: 1fr; }
  .quote-modal { padding: 0; }
  .quote-modal__box { max-width: none; height: 100%; border-radius: 0; }
  .quote-modal__iframe { height: 100vh; }
}

/* Footer */
.site-footer { background: var(--navy); color: #aebfce; padding: 30px 0; margin-top: 40px; }
.site-footer__links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.site-footer__links a { color: #dce7f0; text-decoration: none; }
.site-footer__disclaimer { font-size: .82rem; max-width: 70ch; }
.site-footer__copy { font-size: .82rem; margin: 8px 0 0; }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { display: none; }
  .services__grid, .steps__grid, .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services__grid, .steps__grid, .cat-grid { grid-template-columns: 1fr; }
  .zip-card__row { flex-direction: column; }
  .btn { width: 100%; }
}
