/* ============================================================
   Inner pages — service, about, contact, quote, blog, post
   ============================================================ */

/* breadcrumbs */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; font-size: 13px; }
.crumbs .crumb { display: inline-flex; align-items: center; gap: 8px; color: #9fb0d2; }
.crumbs a { color: #c5d0e8; font-weight: 600; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: #fff; }
.crumbs.dark-on-light .crumb { color: var(--muted); }
.crumbs.dark-on-light a { color: var(--navy-600); }
.crumbs.dark-on-light [aria-current] { color: var(--ink); }

.svc-hero .hero-inner { padding-top: 64px; padding-bottom: 80px; }
.svc-title { font-size: clamp(40px, 5vw, 60px); margin: 12px 0 18px; }

/* service body */
.svc-grid { display: grid; grid-template-columns: 1.5fr .85fr; gap: 56px; align-items: start; }
.svc-main { padding-top: 4px; }
.svc-block { margin-bottom: 44px; }
.svc-block:last-child { margin-bottom: 0; }
/* Right-size the in-body sub-headings so they read as content, not competing page titles */
.svc-block .head-lg { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; margin-bottom: 12px; }
.svc-block p { font-size: 16.5px; line-height: 1.75; color: var(--body); max-width: 60ch; }
.svc-block p + p { margin-top: 14px; }
.svc-aside { position: sticky; top: 100px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.svc-aside h3 { font-size: 18px; margin-bottom: 18px; }
.svc-includes { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 13px; }
.svc-includes li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.svc-includes svg { color: var(--green-700); flex: none; margin-top: 2px; }

/* generic page hero (about/contact/quote/blog) */
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--navy-700)); color: #eaf0fb; padding: 56px 0 64px; }
.page-hero .eyebrow.on-dark { margin-bottom: 16px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); margin-bottom: 18px; }
.page-hero p { font-size: 18px; color: #c5d0e8; max-width: 56ch; }

/* about */
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.value-card .service-ic { margin-bottom: 18px; }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--body); }
.about-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-methods { display: grid; gap: 18px; margin: 28px 0; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; }
.contact-method .ic { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #eaf0fb, #dfe8f8); color: var(--navy-600); display: grid; place-items: center; flex: none; }
.contact-method h4 { font-size: 15px; margin-bottom: 3px; }
.contact-method a, .contact-method p { font-size: 16px; color: var(--body); }
.contact-method a:hover { color: var(--navy-600); }
.contact-map { margin-top: 10px; height: 220px; border-radius: var(--r-lg, 18px); overflow: hidden; border: 1px solid var(--line, #e7e9f0); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* quote estimator */
.quote-shell { max-width: 760px; margin: 0 auto; }
.quote-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 40px; }
.quote-steps { display: flex; gap: 8px; margin-bottom: 30px; }
.quote-steps .qs { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.quote-steps .qs.on { background: var(--green); }
.quote-steps .qs.done { background: var(--navy); }
.quote-q { font-size: 24px; margin-bottom: 8px; }
.quote-help { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r); padding: 18px; transition: .15s ease; }
.opt:hover { border-color: var(--navy-600); }
.opt.sel { border-color: var(--navy); background: #f4f8ff; box-shadow: 0 0 0 3px rgba(36,64,127,.1); }
.opt .opt-ic { width: 38px; height: 38px; border-radius: 10px; background: #eef2fa; color: var(--navy-600); display: grid; place-items: center; flex: none; }
.opt.sel .opt-ic { background: var(--navy); color: #fff; }
.quote-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.quote-back { background: none; border: none; font-family: inherit; font-weight: 700; color: var(--muted); font-size: 15px; }
.quote-back:hover { color: var(--ink); }
.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.quote-fields .field { margin: 0; }
.quote-summary { background: var(--bg-soft); border-radius: var(--r); padding: 18px 20px; margin-bottom: 24px; display: grid; gap: 8px; }
.quote-summary .row { display: flex; justify-content: space-between; font-size: 14.5px; }
.quote-summary .row span:first-child { color: var(--muted); }
.quote-summary .row span:last-child { color: var(--ink); font-weight: 700; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: .2s ease; }
.post-card:hover { border-color: var(--navy); transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { height: 180px; }
.post-card .pc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.post-tag { background: #eef2fa; color: var(--navy-600); font-weight: 700; padding: 4px 10px; border-radius: 99px; font-size: 11.5px; }
.post-card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -.01em; }
.post-card p { font-size: 14.5px; color: var(--body); margin-bottom: 16px; }
.post-card .link-arrow { margin-top: auto; }

/* single post */
.post-shell { max-width: 760px; margin: 0 auto; }
.post-hero-meta { display: flex; gap: 12px; align-items: center; margin: 18px 0 10px; }
.post-body { font-size: 17.5px; line-height: 1.75; color: var(--body); }
.post-body h2 { font-size: 26px; margin: 40px 0 14px; }
.post-body h3 { font-size: 20px; margin: 30px 0 10px; }
.post-body p { margin-bottom: 20px; }
.post-body ul { padding-left: 20px; margin-bottom: 20px; display: grid; gap: 8px; }
.post-body blockquote { margin: 28px 0; padding: 20px 24px; border-left: 3px solid var(--green); background: var(--bg-soft); border-radius: 0 var(--r) var(--r) 0; font-size: 18px; color: var(--ink); }
.post-feature { height: 360px; margin: 0 0 36px; border-radius: var(--r-lg); }

@media (max-width: 1080px) {
  .svc-grid, .contact-grid, .about-lead-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-aside { position: static; }
  .about-values, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .about-values, .blog-grid, .opt-grid, .quote-fields { grid-template-columns: 1fr; }
  .quote-card { padding: 26px; }
}

/* ---------------------------------------------------------------- Blog (home.php / single.php) */
/* Real featured images replace the .ph placeholder gracefully */
.post-thumb.post-thumb-img { padding: 0; background: var(--bg-soft); overflow: hidden; }
.post-thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-feature.post-feature-img { padding: 0; background: var(--bg-soft); overflow: hidden; display: block; }
.post-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Single-post hero */
.post-hero-title { color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; letter-spacing: -.015em; margin: 16px 0 4px; }
.post-tag.post-tag-hero { background: rgba(255,255,255,.12); color: #fff; }
.page-hero .post-hero-meta { color: #9fb0d2; font-size: 14px; }
.page-hero .post-shell .crumbs a, .page-hero .post-shell .crumbs span { color: #c5d0e8; }

/* Body refinements for migrated content */
.post-body ol { padding-left: 22px; margin-bottom: 20px; display: grid; gap: 8px; }
.post-body li { line-height: 1.7; }
.post-body strong { color: var(--ink); }
.post-body a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover { color: var(--green); }
.post-body img { max-width: 100%; height: auto; border-radius: var(--r); margin: 8px 0 24px; display: block; }
.post-body h2:first-child, .post-body h3:first-child { margin-top: 0; }

/* Closing CTA band inside post shell */
.post-cta-band { border-radius: var(--r-lg); margin-top: 48px; }
.post-cta-band .cta-inner { padding: 40px 32px; }

/* Related posts */
.related-posts { margin-top: 56px; }
.related-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.related-grid .post-card h3 { font-size: 17px; }

/* Pagination */
.blog-pagination { margin-top: 48px; display: flex; justify-content: center; }
.blog-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r); font-weight: 700; font-size: 14px; color: var(--navy-600); text-decoration: none; transition: .15s ease; }
.blog-pagination a:hover { border-color: var(--navy); color: var(--navy); }
.blog-pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

@media (max-width: 1080px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .related-grid { grid-template-columns: 1fr; }
  .post-cta-band .cta-inner { padding: 28px 20px; }
  .post-feature.post-feature-img { height: 220px; }
}
