/* Service pages (build_pages.py). Same colours and fonts as index.html. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/static/inter-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/static/nunito-latin.woff2) format('woff2'); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, sans-serif; background: #f8f9fa; color: #1f2937; line-height: 1.6; }
a { color: #1e3a8a; }
img { max-width: 100%; display: block; }
h1, h2, b, .pg-btn { font-family: 'Nunito', system-ui, sans-serif; }
h1, h2 { color: #1e3a8a; line-height: 1.2; }

.pg-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: #1e3a8a; }
.pg-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; }
.pg-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.pg-brand small { color: #FFD700; font-size: .7rem; letter-spacing: .2em; }
.pg-nav nav { display: flex; gap: 14px; margin-left: auto; }
.pg-nav nav a { color: #fff; text-decoration: none; font-size: .95rem; }
.pg-btn { display: inline-block; background: #25D366; color: #fff; font-weight: 900; text-decoration: none; padding: 14px 24px; border-radius: 999px; font-size: 1.05rem; }
.pg-btn-sm { padding: 8px 16px; font-size: .9rem; }

main { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.pg-crumbs { font-size: .85rem; padding: 14px 0; color: #6b7280; }
.pg-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; padding: 8px 0 24px; }
.pg-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 900; margin-bottom: 12px; }
.pg-sub { font-size: 1.1rem; margin-bottom: 20px; }
.pg-phone { margin-top: 10px; font-size: .95rem; }
.pg-checks { list-style: none; margin-top: 16px; display: grid; gap: 4px; color: #065f46; font-weight: 600; }
.pg-hero-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; }
.pg-answer { background: #fff; border-left: 4px solid #FFD700; border-radius: 12px; padding: 18px 20px; font-size: 1.05rem; }

.pg-sec { margin-top: 40px; }
.pg-sec h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; }
.pg-sec p { margin-bottom: 10px; }
.pg-list { margin: 0 0 12px 20px; display: grid; gap: 6px; }
.pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.pg-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; background: #e5e7eb; }
.pg-grid figcaption { font-size: .85rem; color: #4b5563; margin-top: 4px; }
.pg-steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.pg-steps li { counter-increment: s; background: #fff; border-radius: 12px; padding: 16px; display: grid; gap: 4px; }
.pg-steps li::before { content: counter(s); font-family: 'Nunito', sans-serif; font-weight: 900; color: #1e3a8a; background: #FFD700; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.pg-faq { background: #fff; border-radius: 12px; border-left: 4px solid #FFD700; padding: 0 18px; margin-bottom: 10px; }
.pg-faq summary { cursor: pointer; padding: 14px 0; font-family: 'Nunito', sans-serif; font-weight: 800; color: #1e3a8a; }
.pg-faq p { padding-bottom: 14px; color: #4b5563; }
.pg-cta { margin-top: 48px; background: #1e3a8a; color: #fff; border-radius: 16px; padding: 28px 20px; text-align: center; }
.pg-cta h2 { color: #FFD700; margin-bottom: 8px; }
.pg-cta p { margin-bottom: 16px; }
.pg-meta { margin-top: 24px; font-size: .85rem; color: #6b7280; }
.pg-foot { background: #0f1f4d; color: #d1d5db; padding: 24px 16px 90px; font-size: .9rem; text-align: center; display: grid; gap: 6px; }
.pg-foot a { color: #FFD700; }
.pg-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: #25D366; color: #fff; font-family: 'Nunito', sans-serif; font-weight: 900; text-decoration: none; padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

.pg-float-wrap { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; justify-items: end; z-index: 20; }
.pg-float-wrap .pg-float { position: static; }
.pg-float-call { background: #FFD700; color: #0f2461; }
.pg-post-h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 900; margin-bottom: 10px; }
.pg-post-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 14px 0; }
.pg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.pg-card { background: #fff; border-radius: 14px; padding: 12px; text-decoration: none; color: inherit; display: grid; gap: 8px; align-content: start; }
.pg-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.pg-card h2 { font-size: 1.15rem; font-weight: 900; }
.pg-card p { font-size: .92rem; color: #4b5563; }
.ck-box { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; max-width: 460px; margin: 0 auto; background: #fff; border: 2px solid #1e3a8a; border-radius: 16px; padding: 12px 14px; font-size: .85rem; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.ck-box div { display: flex; gap: 8px; margin-top: 8px; }
.ck-box button { flex: 1; padding: 9px; border-radius: 999px; border: 2px solid #1e3a8a; background: #fff; color: #1e3a8a; font-weight: 800; cursor: pointer; }

@media (max-width: 720px) {
  .pg-hero { grid-template-columns: 1fr; }
  .pg-hero-img { aspect-ratio: 4 / 3; order: -1; }
  .pg-nav nav { display: none; }
  .pg-foot { padding-bottom: 130px; }
  .pg-nav .pg-btn-sm { margin-left: auto; }
}
