/* MyHomePros Local Landing Pages — Redesign v2 */
/* Design language: photo hero + lead-capture widget (dallas.htm) + numbered
   directory listings & bordered offer boxes (newsletter capture) on top of the
   v1 content/SEO skeleton. Shared across state → city → service pages. */

:root {
  --brand-blue: #1a6af5;
  --brand-blue-dark: #1557d0;
  --accent: #ff7a00;
  --accent-dark: #e66a00;
  --navy: #0d1b2a;
  --navy-soft: #14263c;
  --text-primary: #16213a;
  --text-body: #3d4a63;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f6f8fc;
  --bg-warm: #fff8f1;
  --border: #e2e8f0;
  --green: #16a34a;
  --star: #f59e0b;
  --shadow-card: 0 4px 14px rgba(13, 27, 42, 0.07);
  --shadow-pop: 0 12px 32px rgba(13, 27, 42, 0.18);
  --radius: 10px;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1120px;
  --content-width: 780px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-body); line-height: 1.7; background: var(--bg-white); font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--text-primary); line-height: 1.2; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-block; background: var(--accent); color: #fff !important;
  padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none !important;
  font-family: var(--font-body); transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-blue {
  display: inline-block; background: var(--brand-blue); color: #fff !important;
  padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none !important; transition: background .2s;
}
.btn-blue:hover { background: var(--brand-blue-dark); }
.btn-outline {
  display: inline-block; border: 2px solid var(--brand-blue); color: var(--brand-blue) !important;
  padding: 11px 24px; border-radius: 8px; font-weight: 700; font-size: 15px;
  background: transparent; cursor: pointer; text-decoration: none !important; transition: all .2s;
}
.btn-outline:hover { background: var(--brand-blue); color: #fff !important; }
.btn-outline-light {
  display: inline-block; border: 2px solid rgba(255,255,255,.75); color: #fff !important;
  padding: 11px 24px; border-radius: 8px; font-weight: 700; font-size: 15px;
  background: transparent; cursor: pointer; text-decoration: none !important; transition: all .2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.14); }
.btn-large { padding: 15px 34px; font-size: 17px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center; height: 66px;
}
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none !important; }
.logo-mark { width: 34px; height: 34px; background: var(--brand-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 21px; height: 21px; fill: #fff; }
.logo-text { font-weight: 800; font-size: 19px; color: var(--text-primary); letter-spacing: -0.03em; }
.logo-text em { font-style: normal; color: var(--accent); }
.header-nav { display: flex; gap: 22px; align-items: center; }
.header-nav a { font-size: 14px; font-weight: 600; color: var(--text-light); }
.header-nav a:hover { color: var(--brand-blue); text-decoration: none; }
.header-nav .btn-primary { padding: 10px 20px; font-size: 14px; }

/* ---------- Breadcrumbs (sit on top of hero) ---------- */
.breadcrumbs {
  max-width: var(--max-width); margin: 0 auto; padding: 14px 24px 0;
  font-size: 13px; color: rgba(255,255,255,0.85); position: relative; z-index: 2;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs span { margin: 0 6px; opacity: .6; }

/* ---------- Photo hero ---------- */
.hero {
  position: relative; color: #fff;
  background-size: cover; background-position: center;
  margin-top: -49px; /* pull breadcrumbs onto image */
  padding-top: 49px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,35,.72) 0%, rgba(10,20,35,.55) 55%, rgba(10,20,35,.78) 100%);
}
.hero-inner {
  position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto;
  padding: 64px 24px 72px; text-align: center;
}
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800;
  max-width: 900px; margin: 0 auto 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero .subtitle {
  font-size: 18px; color: rgba(255,255,255,.92); max-width: 760px;
  margin: 0 auto 34px; line-height: 1.65; text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

/* Lead capture widget */
.lead-form {
  background: var(--bg-white); color: var(--text-body);
  padding: 26px; border-radius: 12px; max-width: 720px; margin: 0 auto;
  box-shadow: var(--shadow-pop); display: flex; flex-direction: column; gap: 14px;
  text-align: left;
}
.lead-form .form-row { display: flex; gap: 14px; }
.lead-form select, .lead-form input {
  flex: 1; min-width: 0; padding: 14px 16px; font-size: 16px;
  border: 1px solid #cbd5e1; border-radius: 8px; font-family: var(--font-body);
  color: var(--text-primary); background: #fff;
}
.lead-form select:focus, .lead-form input:focus { outline: 2px solid var(--brand-blue); border-color: var(--brand-blue); }
.lead-form .btn-primary { width: 100%; font-size: 17px; padding: 15px; }
.lead-form .form-note { font-size: 12.5px; color: var(--text-muted); text-align: center; }

.trust-badges {
  margin-top: 22px; display: flex; justify-content: center; gap: 10px 26px;
  flex-wrap: wrap; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.95);
  position: relative; z-index: 2;
}
.trust-badge .icon { color: #4ade80; margin-right: 5px; }
.hero-ctas { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--navy); color: #fff; }
.stats-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 26px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center;
}
.stat .number { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.stat .number sup { font-size: 16px; color: var(--star); }
.stat .label { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { max-width: var(--max-width); margin: 0 auto; padding: 60px 24px; }
.section-alt { background: var(--bg-light); }
.section-alt-outer { background: var(--bg-light); }
.section-alt-outer .section { background: none; }
.section > h2, .section-head h2 {
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 820px; margin: 0 auto 40px; }
.section-head p { color: var(--text-light); font-size: 16.5px; }
.content-body { max-width: var(--content-width); }
.content-body h2 { font-size: 26px; font-weight: 800; margin: 38px 0 14px; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.content-body p { margin-bottom: 14px; }
.content-body ul { padding-left: 22px; margin-bottom: 14px; }
.content-body li { margin-bottom: 8px; }

/* Two-column split with data box (dallas.htm) */
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.data-box {
  background: var(--bg-white); padding: 26px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow-card); border-top: 4px solid var(--accent);
}
.data-box h3 { font-size: 18px; margin-bottom: 10px; }
.data-box ul { list-style: none; padding: 0; }
.data-box li { padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 15px; }
.data-box li:last-child { border-bottom: none; }
.data-box li strong { color: var(--text-primary); }

/* ---------- Offer / callout box (newsletter style) ---------- */
.offer-box {
  border: 2px solid var(--accent); border-radius: 12px; background: var(--bg-warm);
  padding: 30px 34px; max-width: 820px; margin: 0 auto;
}
.offer-box.blue { border-color: var(--brand-blue); background: #f3f7ff; }
.offer-box h3 { text-align: center; font-size: 21px; color: var(--accent-dark); margin-bottom: 14px; }
.offer-box.blue h3 { color: var(--brand-blue-dark); }
.offer-box p { margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; margin: 14px 0 18px; }
.check-list li { padding: 5px 0 5px 30px; position: relative; font-size: 15.5px; }
.check-list li::before { content: "✅"; position: absolute; left: 0; font-size: 15px; }
.check-list li strong { color: var(--text-primary); }
.offer-box .box-cta { text-align: center; margin-top: 18px; }

/* Slim tip strip (newsletter style) */
.tip-strip {
  max-width: 820px; margin: 0 auto; background: #eef4ff; border: 1px solid #c7dbff;
  border-radius: 8px; padding: 13px 18px; font-size: 14.5px; text-align: center;
}

/* ---------- Directory listings (numbered, Angi-style) ---------- */
.directory { max-width: 860px; margin: 0 auto; }
.listing {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-card); padding: 26px 30px; margin-bottom: 22px;
  transition: box-shadow .2s, transform .1s;
}
.listing:hover { box-shadow: var(--shadow-pop); transform: translateY(-2px); }
.listing-top { display: flex; align-items: flex-start; gap: 16px; }
.listing-num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-blue); color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.listing-title { flex: 1; }
.listing-title h3 { font-size: 20px; font-weight: 800; }
.listing-title h3 a { color: var(--text-primary); }
.rating-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; }
.stars { color: var(--star); font-size: 15px; letter-spacing: 1px; }
.rating-score { font-weight: 800; color: var(--text-primary); font-size: 15px; }
.review-count { color: var(--text-light); font-size: 13.5px; }
.listing-stat-line {
  text-align: center; font-size: 13.5px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: .04em;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 8px 0; margin: 14px 0;
}
.listing-stat-line b { color: var(--accent-dark); }
.listing p.blurb { font-size: 15px; margin-bottom: 12px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge {
  font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: #eef4ff; color: var(--brand-blue-dark); border: 1px solid #d4e2ff;
}
.badge.green { background: #ecfdf3; color: #15803d; border-color: #bbe9c8; }
.badge.gold { background: #fff8e6; color: #a16207; border-color: #f3e0a8; }
.listing-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.listing-meta { font-size: 13.5px; color: var(--text-light); }
.listing-meta .dot { margin: 0 7px; color: var(--text-muted); }
.listing-foot .btn-primary { padding: 11px 22px; font-size: 14.5px; }
.view-all { text-align: center; margin-top: 34px; }

/* ---------- Grids: cities / services / info cards ---------- */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.city-card {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; text-decoration: none !important; transition: all .15s;
}
.city-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.city-card .name { font-weight: 700; color: var(--text-primary); font-size: 15px; }
.city-card .meta { font-size: 12.5px; color: var(--text-muted); }
.metro-label { margin: 34px 0 14px; font-size: 17px; color: var(--text-light); font-weight: 700; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-decoration: none !important; box-shadow: var(--shadow-card);
  transition: all .15s; display: block; color: var(--text-body);
}
.service-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-pop); transform: translateY(-3px); }
.service-card .icon { font-size: 28px; display: block; margin-bottom: 10px; }
.service-card h3 { font-size: 17px; margin-bottom: 6px; }
.service-card p { font-size: 14px; color: var(--text-light); line-height: 1.55; }
.service-card .go { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--brand-blue); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.info-card {
  background: var(--bg-white); border: 1px solid var(--border); border-left: 4px solid var(--brand-blue);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-card);
}
.info-card .label { font-weight: 800; color: var(--text-primary); font-size: 16px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--text-body); line-height: 1.6; }

/* ---------- Cost table ---------- */
.cost-table { width: 100%; border-collapse: collapse; background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); font-size: 15px; }
.cost-table th { background: var(--navy); color: #fff; text-align: left; padding: 13px 16px; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
.cost-table td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
.cost-table tbody tr:nth-child(even) { background: var(--bg-light); }
.cost-table tbody tr:last-child td { border-bottom: none; }
.table-note { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: var(--content-width); }
.faq-item { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 17px 20px; font-weight: 700; color: var(--text-primary);
  font-size: 16px; list-style: none; position: relative; padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--brand-blue); font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer { padding: 0 20px 18px; font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--brand-blue) 0%, #0f4bbd 100%); color: #fff; }
.cta-band-inner { max-width: 860px; margin: 0 auto; padding: 60px 24px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 17px; max-width: 640px; margin: 0 auto 26px; }

/* ---------- Neighbor links ---------- */
.neighbor-links h3 { font-size: 17px; margin-bottom: 12px; }
.neighbor-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.neighbor-tag {
  display: inline-block; padding: 8px 16px; background: var(--bg-light);
  border: 1px solid var(--border); border-radius: 999px; font-size: 13.5px;
  font-weight: 600; color: var(--text-body) !important; text-decoration: none !important; transition: all .15s;
}
.neighbor-tag:hover { border-color: var(--brand-blue); color: var(--brand-blue) !important; }
.related-guides { font-size: 14px; line-height: 2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.65); margin-top: 40px; }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 52px 24px 36px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
}
.footer-col h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; text-align: center;
  font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .header-nav a:not(.btn-primary) { display: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .lead-form .form-row { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 48px 20px 56px; }
  .listing { padding: 22px 20px; }
  .listing-foot { flex-direction: column; align-items: stretch; text-align: center; }
}
