"/* BlueDAG Website — Main Stylesheet
   Colors: #112F4B (dark blue) | #1F5867 (blue grey) | #0071BC (light blue)
           #BED7EB (light blue 2) | #FFFFFF | link #0071BC | hover #CD2026 */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; margin: 0; padding: 0; }
body { font-family: 'Lato', sans-serif; font-weight: 400; color: #222; background: #fff; line-height: 1.6; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: #0071BC; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #CD2026; text-decoration: underline; }
:focus-visible { outline: 3px solid #0071BC; outline-offset: 2px; }

/* --- Typography --- */
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; }
h1 { font-family: 'PT Sans Narrow', sans-serif; font-size: clamp(30px,5vw,42px); font-weight: 700; }
h2 { font-family: 'PT Sans Narrow', sans-serif; font-size: clamp(26px,4vw,36px); font-weight: 700; }
h3 { font-family: 'PT Sans', sans-serif; font-size: clamp(18px,2.5vw,24px); font-weight: 400; }
h4 { font-family: 'PT Sans', sans-serif; font-size: 15px; font-weight: 700; }
p { font-size: 16px; line-height: 1.7; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul { padding-left: 1.4rem; }

/* --- Layout --- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.section { padding: 60px 0; }
.section--light { background: #fff; }
.section--tint  { background: #BED7EB; }
.section--dark  { background: #112F4B; color: #fff; }
.section--mid   { background: #1F5867; color: #fff; }
.text-center { text-align: center; }
.text-center .section__subtitle { margin-left: auto; margin-right: auto; }

.section__label { font-family: 'PT Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0071BC; margin-bottom: 10px; display: block; }
.section--dark .section__label, .section--mid .section__label { color: #BED7EB; }
.section__title { margin-bottom: 16px; }
.section__subtitle { font-family: 'PT Sans', sans-serif; font-size: 18px; color: #555; margin-bottom: 40px; max-width: 640px; line-height: 1.5; }
.section--dark .section__subtitle, .section--mid .section__subtitle { color: #BED7EB; }

/* --- Buttons --- */
.btn { display: inline-block; font-family: 'PT Sans', sans-serif; font-size: 15px; font-weight: 700; line-height: 1; padding: 14px 28px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .1s; text-decoration: none; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: #0071BC; color: #fff; border-color: #0071BC; }
.btn--primary:hover { background: #3b90c8; border-color: #3b90c8; color: #fff; }
.btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.btn--secondary:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn--outline { background: transparent; color: #0071BC; border-color: #0071BC; }
.btn--outline:hover { background: #0071BC; color: #fff; }
.btn--dark { background: #112F4B; color: #fff; border-color: #112F4B; }
.btn--dark:hover { background: #1a4269; border-color: #1a4269; color: #fff; }
.btn--white { background: #fff; color: #112F4B; border-color: #fff; }
.btn--white:hover { background: #BED7EB; border-color: #BED7EB; color: #112F4B; }
.btn--lg { padding: 18px 36px; font-size: 17px; }
.btn--sm { padding: 10px 20px; font-size: 13px; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Navigation --- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #112F4B; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav__logo-mark { width: 36px; height: 36px; background: #0071BC; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'PT Sans Narrow', sans-serif; font-weight: 700; font-size: 20px; color: #fff; }
.nav__logo-text { font-family: 'PT Sans Narrow', sans-serif; font-weight: 700; font-size: 22px; color: #fff; letter-spacing: .04em; }
.nav__logo:hover .nav__logo-text { color: #BED7EB; }
.nav__logo:hover { text-decoration: none; }
.nav__links { display: flex; align-items: center; list-style: none; gap: 1px; }
.nav__links a { font-family: 'PT Sans', sans-serif; font-size: 13px; font-weight: 700; color: #BED7EB; padding: 8px 9px; border-radius: 3px; transition: color .2s, background .2s; text-decoration: none; white-space: nowrap; }
.nav__links a:hover, .nav__links a.active { color: #fff; background: rgba(255,255,255,.1); }
.nav__cta { margin-left: 14px; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__menu { display: flex; align-items: center; list-style: none; gap: 2px; padding: 0; margin: 0; }
.nav__item > a { font-family: 'PT Sans', sans-serif; font-size: 13px; font-weight: 700; color: #BED7EB; padding: 8px 10px; border-radius: 3px; transition: color .2s, background .2s; text-decoration: none; white-space: nowrap; display: block; }
.nav__item > a:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
.nav__item--dropdown { position: relative; }
.nav__dropdown-toggle { background: none; border: none; cursor: pointer; font-family: 'PT Sans', sans-serif; font-size: 13px; font-weight: 700; color: #BED7EB; padding: 0 10px; border-radius: 3px; display: flex; align-items: center; gap: 5px; transition: color .2s, background .2s; white-space: nowrap; height: 64px; }
.nav__dropdown-toggle:hover, .nav__item--dropdown.open .nav__dropdown-toggle { color: #fff; background: rgba(255,255,255,.1); }
.nav__arrow { font-size: 8px; transition: transform .2s; display: inline-block; line-height: 1; }
.nav__item--dropdown.open .nav__arrow { transform: rotate(180deg); }
.nav__dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #1a3d5e; border-top: 2px solid #0071BC; border-radius: 0 0 8px 8px; box-shadow: 0 10px 32px rgba(0,0,0,.4); min-width: 210px; z-index: 1001; list-style: none; padding: 6px 0; margin: 0; }
.nav__item--dropdown.open .nav__dropdown-menu { display: block; }
.nav__dropdown-menu li { display: block; }
.nav__dropdown-menu a { display: block; padding: 10px 18px; font-family: 'PT Sans', sans-serif; font-size: 13px; font-weight: 700; color: #BED7EB; white-space: nowrap; transition: color .2s, background .2s; text-decoration: none; }
.nav__dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,.12); text-decoration: none; }
a.nav__cta { background: #0071BC; color: #fff !important; padding: 8px 16px; border-radius: 4px; font-family: 'PT Sans', sans-serif; font-size: 13px; font-weight: 700; margin-left: 8px; }
a.nav__cta:hover { background: #3b90c8; color: #fff !important; }

/* --- Hero --- */
.hero { background: #112F4B; color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -60px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(81,169,225,.18) 0%, transparent 70%); pointer-events: none; }
.hero--image::before { display: none; }
.hero__media, .hero__overlay, .hero__content { position: relative; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,47,75,0.96) 0%, rgba(17,47,75,0.88) 38%, rgba(17,47,75,0.62) 68%, rgba(17,47,75,0.38) 100%); }
.hero__content { z-index: 2; }
.hero__eyebrow { font-family: 'PT Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0071BC; margin-bottom: 16px; display: block; }
.hero__title { font-family: 'PT Sans Narrow', sans-serif; font-size: clamp(36px, 4.5vw, 62px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; max-width: 900px; }
.hero__subtitle { font-family: 'PT Sans', sans-serif; font-size: 20px; color: #BED7EB; max-width: 760px; margin-bottom: 36px; line-height: 1.5; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__stat { display: inline-block; background: rgba(81,169,225,.15); border-left: 4px solid #0071BC; padding: 14px 20px; border-radius: 0 6px 6px 0; margin-bottom: 32px; max-width: 560px; }
.hero__stat p { font-family: 'PT Sans', sans-serif; font-size: 17px; color: #BED7EB; margin: 0; }
.hero__stat strong { color: #0071BC; }
.hero--inner { padding: 72px 0 60px; }
.hero--inner .hero__title { font-size: clamp(28px, 4.5vw, 42px); }

/* --- Stats Bar --- */
.stats-bar { background: #1F5867; padding: 56px 0; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; text-align: center; }
.stat-item__number { font-family: 'PT Sans Narrow', sans-serif; font-size: 56px; font-weight: 700; color: #0071BC; line-height: 1; margin-bottom: 8px; }
.stat-item__label { font-family: 'PT Sans', sans-serif; font-size: 16px; color: #BED7EB; line-height: 1.4; }

/* --- Cards --- */
.card-grid { display: grid; gap: 28px; }
.card-grid--3 { grid-template-columns: repeat(3,1fr); }
.card-grid--2 { grid-template-columns: repeat(2,1fr); }
.card-grid--4 { grid-template-columns: repeat(4,1fr); }
.card { background: #fff; border-radius: 8px; padding: 32px; box-shadow: 0 2px 16px rgba(17,47,75,.1); border-top: 4px solid #0071BC; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(17,47,75,.15); }
.card--tint { background: #BED7EB; border-top-color: #1F5867; }
.card--dark { background: #112F4B; color: #fff; border-top-color: #0071BC; }
.card__icon { font-size: 36px; margin-bottom: 16px; line-height: 1; }
.card__title { font-family: 'PT Sans', sans-serif; font-size: 18px; font-weight: 700; color: #112F4B; margin-bottom: 12px; }
.card--dark .card__title { color: #0071BC; }
.card__body { font-size: 15px; color: #555; line-height: 1.6; }
.card--dark .card__body { color: #BED7EB; }
.card__cta { margin-top: 20px; }

/* --- Feature Lists --- */
.feature-list { list-style: none; margin-top: 16px; padding: 0; }
.feature-list li { padding: 7px 0 7px 28px; position: relative; font-size: 14px; color: #444; border-bottom: 1px solid #eee; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '\\2713'; position: absolute; left: 0; color: #0071BC; font-weight: 700; }
.card--dark .feature-list li { color: #BED7EB; border-bottom-color: rgba(255,255,255,.1); }

/* --- Pillars --- */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 48px; }
.pillar { padding: 40px 28px; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }
.pillar:last-child { border-right: none; }
.pillar__icon { font-size: 44px; margin-bottom: 16px; display: block; }
.pillar__title { font-family: 'PT Sans', sans-serif; font-size: 16px; font-weight: 700; color: #0071BC; margin-bottom: 10px; }
.pillar__body { font-size: 14px; color: #BED7EB; line-height: 1.6; }

/* --- Steps --- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; margin-top: 48px; }
.steps::before { content: ''; position: absolute; top: 36px; left: 12.5%; width: 75%; height: 2px; background: #BED7EB; z-index: 0; }
.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step__number { width: 72px; height: 72px; border-radius: 50%; background: #112F4B; color: #0071BC; font-family: 'PT Sans Narrow', sans-serif; font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 3px solid #0071BC; }
.step__title { font-family: 'PT Sans', sans-serif; font-size: 16px; font-weight: 700; color: #112F4B; margin-bottom: 10px; }
.step__body { font-size: 14px; color: #555; line-height: 1.6; }

/* --- Testimonials --- */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; }
.testimonial { background: #fff; border-radius: 8px; padding: 32px; box-shadow: 0 2px 16px rgba(17,47,75,.1); position: relative; }
.testimonial::before { content: '\\201C'; font-family: Georgia,serif; font-size: 72px; color: #BED7EB; position: absolute; top: 8px; left: 20px; line-height: 1; }
.testimonial__text { font-family: 'PT Sans', sans-serif; font-size: 15px; line-height: 1.7; color: #333; margin-bottom: 20px; padding-top: 28px; font-style: italic; }
.testimonial__author { font-size: 14px; font-weight: 700; color: #112F4B; }
.testimonial__org { font-size: 13px; color: #555; }

/* --- Client Badges --- */
.clients { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 36px; margin-top: 40px; }
.client-badge { font-family: 'PT Sans Narrow', sans-serif; font-size: 16px; font-weight: 700; color: #1F5867; padding: 10px 22px; border: 2px solid #BED7EB; border-radius: 6px; background: #fff; letter-spacing: .04em; transition: border-color .2s, color .2s; }
.client-badge:hover { border-color: #0071BC; color: #112F4B; text-decoration: none; }

/* --- CTA Banner --- */
.cta-banner { background: #0071BC; padding: 64px 0; text-align: center; }
.cta-banner h2 { font-family: 'PT Sans Narrow',sans-serif; font-size: clamp(28px,4vw,40px); color: #fff; margin-bottom: 12px; }
.cta-banner p { font-family: 'PT Sans',sans-serif; font-size: 18px; color: rgba(255,255,255,.92); margin-bottom: 32px; }
.cta-banner .btn-group { justify-content: center; }

/* --- Pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px; align-items: start; }
.pricing-card { background: #fff; border-radius: 8px; padding: 36px 28px; box-shadow: 0 2px 16px rgba(17,47,75,.1); border: 2px solid #BED7EB; position: relative; transition: transform .2s, box-shadow .2s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(17,47,75,.15); }
.pricing-card--featured { border-color: #0071BC; transform: scale(1.03); }
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #0071BC; color: #fff; font-family: 'PT Sans',sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.pricing-card__name { font-family: 'PT Sans Narrow',sans-serif; font-size: 24px; font-weight: 700; color: #112F4B; margin-bottom: 4px; }
.pricing-card__target { font-size: 13px; color: #555; margin-bottom: 20px; }
.pricing-card__price { font-family: 'PT Sans Narrow',sans-serif; font-size: 40px; font-weight: 700; color: #0071BC; line-height: 1; margin-bottom: 4px; }
.pricing-card__price-note { font-size: 13px; color: #555; margin-bottom: 24px; }
.pricing-card__divider { border: none; border-top: 1px solid #BED7EB; margin: 20px 0; }
.pricing-card .btn { width: 100%; text-align: center; margin-top: 24px; }

/* Add-ons */
.addons-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 40px; }
.addon-card { background: #fff; border-radius: 8px; padding: 24px; border: 1px solid #BED7EB; display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s; }
.addon-card:hover { border-color: #0071BC; }
.addon-card__icon { font-size: 28px; flex-shrink: 0; }
.addon-card__title { font-family: 'PT Sans',sans-serif; font-size: 15px; font-weight: 700; color: #112F4B; margin-bottom: 4px; }
.addon-card__desc { font-size: 13px; color: #555; margin-bottom: 8px; }
.addon-card__price { font-family: 'PT Sans Narrow',sans-serif; font-size: 20px; font-weight: 700; color: #1F5867; }

/* Calculator placeholder */
.calculator-container { background: #f0f6fc; border-radius: 8px; padding: 48px; text-align: center; border: 2px dashed #0071BC; margin-top: 48px; min-height: 280px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; }
.calculator-container p { font-family: 'PT Sans',sans-serif; font-size: 17px; color: #1F5867; margin: 0; }

/* --- Sector Cards --- */
.sector-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.sector-card { background: #fff; border-radius: 8px; padding: 28px; border: 1px solid #BED7EB; transition: border-color .2s, box-shadow .2s; }
.sector-card:hover { border-color: #0071BC; box-shadow: 0 4px 20px rgba(17,47,75,.1); }
.sector-card__icon { font-size: 32px; margin-bottom: 12px; }
.sector-card__title { font-family: 'PT Sans',sans-serif; font-size: 18px; font-weight: 700; color: #112F4B; margin-bottom: 8px; }
.sector-card__challenge { font-size: 14px; color: #666; margin-bottom: 10px; font-style: italic; }
.sector-card__solution { font-size: 14px; color: #333; margin-bottom: 12px; line-height: 1.6; }
.sector-card__tag { display: inline-block; background: #BED7EB; color: #112F4B; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }

/* --- Case Studies --- */
.case-study { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; padding: 56px 0; border-bottom: 1px solid #BED7EB; }
.case-study:last-child { border-bottom: none; }
.case-study__meta { background: #112F4B; color: #fff; border-radius: 8px; padding: 28px; text-align: center; position: sticky; top: 80px; }
.case-study__org { font-family: 'PT Sans Narrow',sans-serif; font-size: 17px; font-weight: 700; color: #0071BC; margin-bottom: 6px; }
.case-study__location { font-size: 12px; color: #BED7EB; margin-bottom: 20px; }
.case-study__stat-number { font-family: 'PT Sans Narrow',sans-serif; font-size: 40px; font-weight: 700; color: #fff; line-height: 1; }
.case-study__stat-label { font-size: 12px; color: #BED7EB; margin-top: 4px; }
.case-study__title { font-family: 'PT Sans Narrow',sans-serif; font-size: 26px; font-weight: 700; color: #112F4B; margin-bottom: 24px; }
.case-study__section { margin-bottom: 20px; }
.case-study__section-label { font-family: 'PT Sans',sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1F5867; margin-bottom: 6px; }
.case-study__section p { font-size: 15px; color: #444; margin-bottom: 0; }
.case-study__quote { background: #BED7EB; border-left: 4px solid #0071BC; padding: 16px 20px; border-radius: 0 6px 6px 0; font-style: italic; font-size: 15px; color: #333; margin-top: 24px; }
.case-study__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 700; color: #112F4B; }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 48px; }
.team-card { text-align: center; }
.team-card__avatar { width: 88px; height: 88px; border-radius: 50%; background: #BED7EB; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-family: 'PT Sans Narrow',sans-serif; font-size: 26px; font-weight: 700; color: #112F4B; border: 3px solid #0071BC; }
.team-card__name { font-family: 'PT Sans',sans-serif; font-size: 15px; font-weight: 700; color: #112F4B; margin-bottom: 4px; }
.team-card__title { font-size: 13px; color: #666; line-height: 1.4; }

/* --- Certifications --- */
.cert-badges { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.cert-badge { background: #fff; border: 2px solid #1F5867; border-radius: 8px; padding: 14px 20px; text-align: center; min-width: 120px; }
.cert-badge__icon { font-size: 28px; margin-bottom: 6px; }
.cert-badge__label { font-family: 'PT Sans',sans-serif; font-size: 12px; font-weight: 700; color: #112F4B; line-height: 1.3; }

/* --- Info Box --- */
.info-box { background: rgba(81,169,225,.12); border-left: 4px solid #0071BC; border-radius: 0 6px 6px 0; padding: 20px 24px; margin: 24px 0; }
.info-box p { font-size: 15px; color: #112F4B; margin: 0; }

/* --- Pricing Table (inspections) --- */
.price-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.price-table th { background: #112F4B; color: #fff; font-family: 'PT Sans',sans-serif; font-size: 14px; font-weight: 700; padding: 14px 20px; text-align: left; }
.price-table td { padding: 14px 20px; border-bottom: 1px solid #BED7EB; font-size: 15px; color: #333; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #f7f9fb; }
.price-table .price-col { font-family: 'PT Sans Narrow',sans-serif; font-size: 20px; font-weight: 700; color: #1F5867; white-space: nowrap; }

/* --- Contact --- */
.contact-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: #fff; border-radius: 8px; padding: 40px; box-shadow: 0 2px 24px rgba(17,47,75,.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-family: 'PT Sans',sans-serif; font-size: 14px; font-weight: 700; color: #112F4B; }
.form-group input, .form-group select, .form-group textarea { font-family: 'Lato',sans-serif; font-size: 15px; color: #333; background: #f7f9fb; border: 1px solid #BED7EB; border-radius: 4px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #0071BC; box-shadow: 0 0 0 3px rgba(81,169,225,.2); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { margin-top: 24px; }
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-box { background: #112F4B; border-radius: 8px; padding: 28px; color: #fff; }
.contact-info-box h3 { font-family: 'PT Sans',sans-serif; font-size: 15px; font-weight: 700; color: #0071BC; margin-bottom: 16px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; color: #BED7EB; line-height: 1.5; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item__icon { font-size: 18px; flex-shrink: 0; }
.contact-info-item a { color: #0071BC; }
.contact-info-item a:hover { color: #BED7EB; }

/* --- Mission Box --- */
.mission-box { background: #112F4B; color: #fff; border-radius: 8px; padding: 40px; }
.mission-box h3 { font-family: 'PT Sans Narrow',sans-serif; font-size: 24px; font-weight: 700; color: #0071BC; margin-bottom: 16px; }
.mission-box p { color: #BED7EB; font-size: 16px; line-height: 1.7; }


.hero-home-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.75fr); gap:32px; align-items:end; }
.hero-badge-row { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.hero-badge { display:inline-flex; align-items:center; padding:8px 12px; border-radius:999px; background:rgba(81,169,225,.14); border:1px solid rgba(190,215,235,.22); color:#BED7EB; font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.hero-proof-inline { display:flex; flex-wrap:wrap; gap:18px; color:rgba(190,215,235,.88); font-family:'PT Sans',sans-serif; font-size:14px; }
.hero-proof-inline span { position:relative; }
.hero-proof-inline span:not(:last-child)::after { content:'•'; position:absolute; right:-12px; color:#0071BC; }
.hero-side-panel { background:rgba(8,22,37,.68); border:1px solid rgba(190,215,235,.16); border-radius:16px; padding:24px; backdrop-filter:blur(10px); box-shadow:0 18px 48px rgba(0,0,0,.22); }
.hero-side-panel--compact { max-width:360px; justify-self:end; }
.hero-side-panel__eyebrow { font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#0071BC; margin:0 0 14px; }
.hero-side-panel__metric { display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.hero-side-panel__metric strong { font-family:'PT Sans Narrow',sans-serif; font-size:46px; line-height:1; color:#fff; }
.hero-side-panel__metric span { color:#BED7EB; font-family:'PT Sans',sans-serif; line-height:1.5; }
.hero-side-panel__list { list-style:none; padding:0; margin:0 0 20px; display:grid; gap:12px; }
.hero-side-panel__list li { position:relative; padding-left:18px; color:#e7f2fb; }
.hero-side-panel__list li::before { content:''; width:7px; height:7px; border-radius:999px; background:#0071BC; position:absolute; left:0; top:.62em; }
.section-heading-row { display:flex; justify-content:space-between; align-items:start; gap:28px; margin-bottom:28px; }
.section-heading-row__body { max-width:520px; font-family:'PT Sans',sans-serif; font-size:17px; line-height:1.7; color:#4b5b67; }
.proof-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:22px; }
.proof-card, .proof-quote-card, .support-callout, .pricing-proof-card, .contact-trust-card { background:#fff; border:1px solid rgba(17,47,75,.09); border-radius:16px; box-shadow:0 10px 26px rgba(17,47,75,.07); }
.proof-card, .proof-quote-card, .pricing-proof-card { padding:24px; }
.support-callout, .contact-trust-card { padding:22px; }
.proof-card--highlight { background:linear-gradient(180deg,#f5fbff 0%, #eef6fc 100%); }
.proof-card__label, .support-callout__label { font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#0071BC; margin:0 0 10px; }
.proof-card h3, .proof-quote-card__quote, .pricing-proof-card h3, .contact-trust-card h3 { margin-bottom:12px; color:#112F4B; }
.proof-card ul { margin:0; display:grid; gap:10px; color:#355065; }
.pricing-proof-card p, .contact-trust-card p, .support-callout p { margin:0; color:#355065; }
.proof-quote-card { background:#112F4B; color:#fff; display:flex; flex-direction:column; justify-content:space-between; }
.proof-quote-card__quote { color:#fff; font-family:'PT Sans Narrow',sans-serif; font-size:32px; line-height:1.15; }
.proof-quote-card__attribution { color:#BED7EB; font-family:'PT Sans',sans-serif; }
.system-flow { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:18px; align-items:center; }
.system-flow__item { background:rgba(255,255,255,.06); border:1px solid rgba(190,215,235,.12); border-radius:16px; padding:22px; min-height:100%; }
.system-flow__step { display:inline-block; margin-bottom:12px; color:#0071BC; font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.system-flow__item h3 { color:#fff; margin-bottom:8px; }
.system-flow__item p { color:#BED7EB; margin:0; }
.system-flow__arrow { text-align:center; color:#0071BC; font-size:30px; font-weight:700; }
.platform-architecture { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:22px; align-items:stretch; }
.platform-architecture__column { background:#fff; border:1px solid rgba(17,47,75,.1); border-radius:16px; padding:24px; box-shadow:0 8px 24px rgba(17,47,75,.06); }
.platform-architecture__label { font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#0071BC; margin:0 0 10px; }
.platform-architecture__column ul { margin:14px 0 0; display:grid; gap:10px; color:#355065; }
.platform-architecture__center { display:flex; align-items:center; justify-content:center; padding:24px; min-width:220px; text-align:center; background:linear-gradient(180deg,#112F4B 0%,#1F5867 100%); color:#fff; border-radius:18px; box-shadow:0 12px 34px rgba(17,47,75,.18); font-family:'PT Sans Narrow',sans-serif; font-size:28px; line-height:1.1; }

/* --- Inspector Profile --- */
.inspector-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; margin-top: 40px; }
.inspector-card { background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 2px 16px rgba(17,47,75,.1); display: flex; gap: 20px; align-items: flex-start; }
.inspector-card__avatar { width: 72px; height: 72px; border-radius: 50%; background: #BED7EB; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'PT Sans Narrow',sans-serif; font-size: 22px; font-weight: 700; color: #112F4B; border: 3px solid #0071BC; }
.inspector-card__name { font-family: 'PT Sans',sans-serif; font-size: 17px; font-weight: 700; color: #112F4B; margin-bottom: 2px; }
.inspector-card__cred { font-size: 13px; color: #0071BC; font-weight: 700; margin-bottom: 8px; }
.inspector-card__bio { font-size: 14px; color: #555; line-height: 1.6; }

/* --- Footer --- */
.site-footer { background: #0d2438; color: #BED7EB; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; text-decoration: none; }
.footer-brand__logo-mark { width: 32px; height: 32px; background: #0071BC; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-family: 'PT Sans Narrow',sans-serif; font-weight: 700; font-size: 18px; color: #fff; }
.footer-brand__logo-text { font-family: 'PT Sans Narrow',sans-serif; font-weight: 700; font-size: 20px; color: #fff; letter-spacing: .04em; }
.footer-brand__logo:hover { text-decoration: none; }
.footer-brand__tagline { font-family: 'PT Sans',sans-serif; font-size: 14px; color: #BED7EB; font-style: italic; margin-bottom: 12px; }
.footer-brand__contact { font-size: 13px; color: #BED7EB; line-height: 1.7; }
.footer-brand__contact a { color: #0071BC; }
.footer-brand__contact a:hover { color: #BED7EB; }
.footer-col h4 { font-family: 'PT Sans',sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 13px; color: #BED7EB; transition: color .2s; }
.footer-col ul a:hover { color: #0071BC; text-decoration: none; }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(190,215,235,.6); margin: 0; }
.footer-bottom a { color: rgba(190,215,235,.6); }
.footer-bottom a:hover { color: #BED7EB; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #112F4B; border-top: 1px solid rgba(255,255,255,.1); padding: 8px 0 16px; box-shadow: 0 8px 24px rgba(0,0,0,.3); flex-direction: column; align-items: stretch; gap: 0; }
  .nav__menu.open, .nav__menu.nav__menu--open { display: flex; }
  .nav__item { width: 100%; }
  .nav__item > a { padding: 12px 24px; border-radius: 0; font-size: 15px; display: block; }
  .nav__dropdown-toggle { width: 100%; height: auto; padding: 12px 24px; border-radius: 0; font-size: 15px; justify-content: space-between; }
  .nav__dropdown-menu { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.06); border-radius: 0; padding: 4px 0; min-width: auto; }
  .nav__dropdown-menu a { padding: 10px 36px; font-size: 14px; }
  a.nav__cta { margin: 12px 24px 4px; display: block; text-align: center; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: 12px 24px; border-radius: 0; font-size: 15px; }
  .nav__cta { margin: 12px 24px 4px; }
  .nav__cta .btn { display: block; text-align: center; }

  .pillars { grid-template-columns: repeat(2,1fr); }
  .pillar { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .pillar:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .steps::before { display: none; }
  .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2,1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .sector-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .case-study { grid-template-columns: 1fr; }
  .case-study__meta { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar__grid { grid-template-columns: 1fr; gap: 24px; }
  .addons-grid { grid-template-columns: 1fr; }
  .inspector-grid { grid-template-columns: 1fr; }
}

.mission-split { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr); gap:32px; align-items:start; }
.mission-panel { background:linear-gradient(180deg,#f6fbff 0%, #eef6fc 100%); border:1px solid rgba(17,47,75,.08); border-radius:18px; padding:28px; box-shadow:0 10px 30px rgba(17,47,75,.08); }
.mission-panel__eyebrow { font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#0071BC; margin:0 0 10px; }
.mission-panel__title { margin:0 0 12px; color:#112F4B; }
.mission-panel__list { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.mission-panel__list li { position:relative; padding-left:18px; color:#355065; }
.mission-panel__list li::before { content:''; width:7px; height:7px; border-radius:999px; background:#1F5867; position:absolute; left:0; top:.62em; }
.story-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.story-card { background:#fff; border:1px solid rgba(17,47,75,.08); border-radius:16px; padding:24px; box-shadow:0 8px 24px rgba(17,47,75,.06); }
.story-card__label { font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#0071BC; margin:0 0 12px; }
.story-card h3 { margin-bottom:10px; }
.story-card p { margin:0; color:#355065; }
.story-card--dark { background:linear-gradient(180deg,#112F4B 0%, #1B475E 100%); border-color:rgba(190,215,235,.1); }
.story-card--dark h3, .story-card--dark p { color:#fff; }
.story-card--dark .story-card__label { color:#BED7EB; }
.outcomes-band { background:#112F4B; border-radius:20px; padding:28px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.outcome-item { padding:10px 4px; }
.outcome-item__number { font-family:'PT Sans Narrow',sans-serif; font-size:42px; line-height:1; color:#fff; margin-bottom:8px; }
.outcome-item__label { color:#BED7EB; font-family:'PT Sans',sans-serif; }
.sector-spotlight { display:grid; grid-template-columns:1.05fr .95fr; gap:28px; align-items:center; }
.sector-spotlight__media img { width:100%; border-radius:18px; display:block; box-shadow:0 14px 38px rgba(17,47,75,.16); }
.sector-spotlight__panel { background:#fff; border:1px solid rgba(17,47,75,.08); border-radius:18px; padding:28px; box-shadow:0 10px 30px rgba(17,47,75,.08); }
.sector-spotlight__panel ul { margin:14px 0 0; display:grid; gap:10px; color:#355065; }
.case-highlight-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.case-highlight-card { background:#fff; border:1px solid rgba(17,47,75,.08); border-radius:16px; padding:22px; box-shadow:0 8px 24px rgba(17,47,75,.06); }
.case-highlight-card__value { font-family:'PT Sans Narrow',sans-serif; font-size:38px; color:#112F4B; line-height:1; margin-bottom:10px; }
.community-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.community-value { background:rgba(255,255,255,.08); border:1px solid rgba(190,215,235,.14); border-radius:16px; padding:24px; }
.community-value h3 { color:#fff; margin-bottom:10px; }
.community-value p { color:#BED7EB; margin:0; }
.quick-nav { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.quick-nav a { display:inline-flex; align-items:center; padding:10px 14px; border-radius:999px; border:1px solid rgba(190,215,235,.18); background:rgba(8,22,37,.42); color:#fff; font-family:'PT Sans',sans-serif; font-size:13px; font-weight:700; }
.quick-nav a:hover { background:rgba(81,169,225,.18); }
.support-callouts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:26px; }
.pricing-proof-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin-top:30px; }
.contact-trust-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:28px; }
.inline-note { font-family:'PT Sans',sans-serif; color:#4b5b67; }
@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .section { padding: 48px 0; }
  .card-grid--3, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar:nth-child(odd) { border-right: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .btn-group { flex-direction: column; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .proof-grid,
  .platform-architecture,
  .hero-home-grid,
  .section-heading-row,
  .system-flow,
  .mission-split,
  .story-grid,
  .outcomes-band,
  .sector-spotlight,
  .case-highlight-grid,
  .community-values,
  .support-callouts,
  .pricing-proof-grid,
  .contact-trust-grid { grid-template-columns: 1fr; display:grid; }
  .system-flow__arrow { display:none; }
  .hero-side-panel--compact { max-width:none; justify-self:stretch; }
  .hero-proof-inline span:not(:last-child)::after { display:none; }
  .platform-architecture__center { min-width:0; }
}
/* =====================================================
   ADDITIONAL COMPONENTS
   ===================================================== */

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 100; background: #112F4B; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.site-header--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 60px; overflow: visible; }
.nav__logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; line-height: 0; }
.nav__logo-text { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.nav__logo-dag { color: #0071BC; }
.nav__menu { display: flex; list-style: none; align-items: center; gap: 1.2rem; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav__menu a { color: #BED7EB; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.nav__menu a:hover { color: #fff; }
.nav__cta { background: #0071BC; color: #fff !important; padding: 0.5rem 1.2rem; border-radius: 6px; transition: background 0.2s !important; }
.nav__cta:hover { background: #fff !important; color: #112F4B !important; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #112F4B; padding: 1.5rem; gap: 1rem; border-top: 1px solid #1F5867; }
  .nav__menu--open { display: flex; }
  .nav__menu a { font-size: 1rem; }
}

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 1.75rem; font-family: 'PT Sans', sans-serif; font-size: 1rem; font-weight: 700; border-radius: 6px; text-decoration: none; transition: all 0.2s; cursor: pointer; border: 2px solid transparent; }
.btn--primary { background: #0071BC; color: #fff; border-color: #0071BC; }
.btn--primary:hover { background: #112F4B; border-color: #112F4B; color: #fff; }
.btn--secondary { background: #fff; color: #112F4B; border-color: #BED7EB; }
.btn--secondary:hover { border-color: #112F4B; color: #112F4B; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }
.btn--full { width: 100%; text-align: center; display: block; }

/* Hero */
.hero { padding: 100px 0 80px; }
.hero--short { padding: 60px 0 50px; }
.hero__stat { margin-bottom: 1.5rem; }
.hero__stat-number { font-family: 'PT Sans Narrow', sans-serif; font-size: 5rem; font-weight: 700; color: #0071BC; line-height: 1; display: block; }
.hero__stat-label { font-size: 1rem; color: #BED7EB; max-width: 420px; display: block; margin-top: 0.25rem; }
.hero h1 { color: #fff; margin-bottom: 1rem; max-width: 800px; }
.hero__sub { font-size: 1.15rem; color: #BED7EB; max-width: 640px; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero__tagline { color: rgba(255,255,255,0.6); font-style: italic; }

/* Trust bar */
.trust-bar { padding: 24px 0; }
.trust-bar__label { text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.trust-bar__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 3rem; }
.trust-bar__logos span { font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 600; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.pillar { text-align: center; padding: 1.5rem; }
.pillar__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pillar h3 { font-family: 'PT Sans', sans-serif; font-size: 1.2rem; font-weight: 700; color: #112F4B; margin-bottom: 0.75rem; }
.pillar p { color: #555; font-size: 0.95rem; margin-bottom: 0.75rem; }
.pillar a { color: #0071BC; font-weight: 600; font-size: 0.9rem; }
.pillar a:hover { color: #CD2026; }

/* Product cards */
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.product-card { background: #fff; border-radius: 12px; padding: 2rem; border: 2px solid #BED7EB; position: relative; transition: box-shadow 0.2s; }
.product-card:hover { box-shadow: 0 8px 32px rgba(17,47,75,0.12); }
.product-card--featured { border-color: #0071BC; }
.product-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #0071BC; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.product-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.product-card h3 { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.4rem; color: #112F4B; margin-bottom: 0.25rem; }
.product-card__target { font-size: 0.85rem; color: #1F5867; font-style: italic; margin-bottom: 1rem; }
.product-card ul { list-style: none; padding: 0; margin-bottom: 1.25rem; font-size: 0.92rem; color: #444; }
.product-card ul li { padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.product-card ul li::before { content: "✓ "; color: #0071BC; font-weight: 700; }
.product-card__plans { font-size: 0.8rem; color: #555; margin-bottom: 1rem; font-style: italic; }

/* Stats section */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat__number { font-family: 'PT Sans Narrow', sans-serif; font-size: 3.5rem; font-weight: 700; color: #0071BC; display: block; line-height: 1; }
.stat__label { font-size: 0.95rem; color: #BED7EB; display: block; margin-top: 0.5rem; line-height: 1.4; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.testimonial { background: #fff; border-radius: 10px; padding: 2rem; border-left: 4px solid #0071BC; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.testimonial p { font-size: 1rem; color: #333; font-style: italic; margin-bottom: 1.25rem; line-height: 1.7; }
.testimonial footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial footer strong { color: #112F4B; font-size: 0.95rem; }
.testimonial footer span { color: #555; font-size: 0.85rem; }

/* CTA Banner */
.cta-banner { text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: #BED7EB; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn--primary,
.cta-banner__actions .btn--primary {
  background: #fff !important;
  color: #112F4B !important;
  border-color: #fff !important;
}
.cta-banner .btn--primary:hover,
.cta-banner__actions .btn--primary:hover {
  background: #BED7EB !important;
  color: #112F4B !important;
  border-color: #BED7EB !important;
}

/* Footer */
.site-footer { padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-logo { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.5rem; color: #fff; margin-bottom: 0.75rem; }
.footer-col p { color: #BED7EB; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-col a { color: #BED7EB; }
.footer-col a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-family: 'PT Sans', sans-serif; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.82rem; margin-bottom: 0.25rem; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }
.footer-wcag { font-size: 0.78rem !important; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Packages page */
.program-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.program-card { border: 2px solid #BED7EB; border-radius: 12px; padding: 2rem; background: #fff; position: relative; }
.program-card--featured { border-color: #0071BC; box-shadow: 0 8px 32px rgba(81,169,225,0.2); }
.program-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #0071BC; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.program-card__tier { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.3rem; font-weight: 700; color: #112F4B; margin-bottom: 0.5rem; }
.program-card__price { font-size: 1rem; color: #1F5867; margin-bottom: 0.5rem; }
.program-card__price strong { font-size: 1.2rem; color: #112F4B; }
.program-card__best { font-size: 0.85rem; color: #555; font-style: italic; margin-bottom: 1.25rem; }
.program-card ul { list-style: none; padding: 0; margin-bottom: 1.5rem; font-size: 0.9rem; color: #444; }
.program-card ul li { padding: 5px 0; border-bottom: 1px solid #f5f5f5; }

/* Add-ons grid */
.addons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.addon-item { background: #fff; border: 2px solid #BED7EB; border-radius: 10px; padding: 1.25rem; }
.addon-item h3 { font-family: 'PT Sans', sans-serif; font-size: 1rem; font-weight: 700; color: #112F4B; margin-bottom: 0.25rem; }
.addon-price { font-size: 0.85rem; font-weight: 700; color: #1F5867; margin-bottom: 0.5rem; }
.addon-item p { font-size: 0.85rem; color: #666; margin: 0; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; }
.contact-form h2 { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.75rem; color: #112F4B; margin-bottom: 0.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; color: #333; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.65rem 0.9rem; border: 2px solid #BED7EB; border-radius: 6px; font-family: 'Lato', sans-serif; font-size: 0.95rem; color: #222; transition: border-color 0.2s; background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #0071BC; }
.form-group textarea { resize: vertical; }
.form-note { font-size: 0.78rem; color: #999; margin-top: 0.75rem; text-align: center; }
.contact-info-col { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card { background: #fff; border: 2px solid #BED7EB; border-radius: 10px; padding: 1.5rem; }
.contact-info-card--tint { background: #f5f9ff; border-color: #0071BC; }
.contact-info-card h3 { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.2rem; color: #112F4B; margin-bottom: 1rem; }
.contact-info-card h4 { font-size: 0.85rem; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 0.06em; margin: 1rem 0 0.4rem; }
.contact-details { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; font-size: 0.9rem; }
.contact-details dt { font-weight: 700; color: #555; }
.contact-details dd { margin: 0; }
.contact-details a { color: #0071BC; }
.contact-address address { font-style: normal; font-size: 0.9rem; color: #444; line-height: 1.6; }
.contact-info-card ul { list-style: none; padding: 0; font-size: 0.9rem; }
.contact-info-card ul li { padding: 0.35rem 0; border-bottom: 1px solid #f0f0f0; }
.contact-info-card ul a { color: #0071BC; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Real logo image */
.nav__logo-img { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav__logo:hover .nav__logo-img { opacity: 0.85; }

/* Hero with real background */
.hero {
  background-image: linear-gradient(135deg, rgba(17,47,75,0.92) 0%, rgba(31,88,103,0.88) 100%), url('../images/shutterstock_477642355-960.jpg');
  background-size: cover;
  background-position: center;
}

/* Inspections hero photo */
.inspections-hero {
  background-image: linear-gradient(135deg, rgba(17,47,75,0.88) 0%, rgba(31,88,103,0.82) 100%), url('../images/BlueDAG-Field-Inspection-600.jpg');
  background-size: cover;
  background-position: center;
}

/* Team photo circles */
.team-photo {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid #BED7EB; margin-bottom: 1rem;
}

/* =====================================================
   REBUILD ADDITIONS — index, platform, support pages
   ===================================================== */

/* Full-viewport hero with bg image */
.hero--full {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(to bottom right, rgba(17,47,75,0.96) 0%, rgba(31,88,103,0.90) 100%), url('../images/shutterstock_477642355-960.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 0 100px;
}

/* Large stat callout in hero */
.stat-callout { display: inline-block; margin-bottom: 32px; }
.stat-callout__number {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: clamp(72px, 12vw, 108px);
  font-weight: 700;
  color: #0071BC;
  line-height: 1;
  display: block;
}
.stat-callout__text {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  color: #BED7EB;
  max-width: 500px;
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}

/* Challenge section prose */
.challenge-prose { max-width: 800px; }
.challenge-prose p {
  font-size: 17px;
  color: #333;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.challenge-prose p:last-child { margin-bottom: 0; }

/* BlueDAG Way editorial pillars */
.way-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 48px;
  border: 1px solid rgba(17,47,75,0.18);
  border-radius: 8px;
  overflow: hidden;
}
.way-pillar {
  padding: 44px 40px;
  border-right: 1px solid rgba(17,47,75,0.18);
  border-bottom: 1px solid rgba(17,47,75,0.18);
  background: #fff;
}
.way-pillar:nth-child(2n)   { border-right: none; }
.way-pillar:nth-child(3),
.way-pillar:nth-child(4)    { border-bottom: none; }
.way-pillar__number {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: rgba(17,47,75,0.1);
  line-height: 1;
  margin-bottom: 12px;
}
.way-pillar__title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #112F4B;
  margin-bottom: 14px;
}
.way-pillar__body {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin: 0;
}

/* Client logo strip */
.client-strip { padding: 60px 0; }
.client-strip__logos {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.client-strip__logo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 92px;
  margin: 0;
  padding: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(190,215,235,0.38);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}
.client-strip__logo-card--highlight {
  min-width: 220px;
  min-height: 112px;
  padding-top: 28px;
  padding-bottom: 30px;
  border-color: rgba(81,169,225,0.9);
  box-shadow: 0 16px 36px rgba(0,0,0,0.2), 0 0 0 3px rgba(81,169,225,0.2);
}
.client-strip__logo-img {
  max-height: 52px;
  max-width: 150px;
  width: auto;
  filter: grayscale(1) saturate(0) contrast(0.95) brightness(0.98);
  opacity: 0.86;
  transition: opacity 0.2s, filter 0.2s;
}
.client-strip__logo-card--highlight .client-strip__logo-img {
  max-height: 58px;
  opacity: 0.96;
  filter: grayscale(1) saturate(0) contrast(1.05) brightness(1.02);
}
.client-strip__logo-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 8px;
  color: #112F4B;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.client-strip__badge {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  background: #51A9E1;
  color: #112F4B;
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.client-strip__logo-card:hover .client-strip__logo-img { opacity: 1; }
.pull-quote {
  font-family: 'PT Sans', sans-serif;
  font-size: 20px;
  font-style: italic;
  color: #BED7EB;
  line-height: 1.65;
  border-top: 2px solid rgba(81,169,225,0.4);
  border-bottom: 2px solid rgba(81,169,225,0.4);
  padding: 28px 0;
  margin: 0 auto 20px;
  max-width: 700px;
  text-align: center;
}
.pull-quote__attribution {
  display: block;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
  font-size: 14px;
  color: rgba(190,215,235,0.65);
  font-style: normal;
  letter-spacing: 0.04em;
}

/* Stats strip (3-up horizontal) */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}
.stats-strip__item {
  padding: 56px 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stats-strip__item:last-child { border-right: none; }
.stats-strip__number {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #0071BC;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.stats-strip__label {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  color: #BED7EB;
  line-height: 1.55;
  max-width: 220px;
  margin: 0 auto;
}

/* Final CTA demo section */
.cta-demo { padding: 88px 0; text-align: center; }
.cta-demo__title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  color: #112F4B;
  margin-bottom: 16px;
}
.cta-demo__sub {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  color: #555;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* Platform page */
.platform-intro {
  font-size: 18px;
  color: #444;
  max-width: 820px;
  line-height: 1.85;
  margin-bottom: 0;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 56px;
  margin-top: 52px;
}
.feature-item__title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #112F4B;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0071BC;
}
.feature-item__body {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin: 12px 0 0;
}

.platform-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #112F4B;
  box-shadow: 0 8px 28px rgba(17,47,75,0.14);
}
.platform-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.platform-video--main {
  border-radius: 14px;
  box-shadow: 0 14px 38px rgba(17,47,75,0.20);
}
.feature-video {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #BED7EB;
}
.feature-video__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1F5867;
}
.feature-video__label::before {
  content: '▶';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0071BC;
  color: #fff;
  font-size: 9px;
  line-height: 1;
}

/* API section on platform page */
.api-section { background: #112F4B; }
.api-intro {
  font-size: 17px;
  color: #BED7EB;
  max-width: 700px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.api-endpoints {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.api-endpoint-group {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(81,169,225,0.3);
  border-radius: 6px;
  padding: 24px 28px;
}
.api-endpoint-group__title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0071BC;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.api-endpoint-group p {
  font-size: 14px;
  color: #BED7EB;
  line-height: 1.65;
  margin: 0;
}

/* Knowledge Base / Support layout */
.kb-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  align-items: start;
  min-height: calc(100vh - 64px);
}
.kb-sidebar {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  background: #f4f7fa;
  border-right: 1px solid #dce8f0;
  padding: 24px 0;
}
.kb-sidebar__search {
  padding: 0 16px 20px;
  border-bottom: 1px solid #dce8f0;
  margin-bottom: 16px;
}
.kb-sidebar__search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #BED7EB;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
}
.kb-sidebar__search input:focus {
  outline: none;
  border-color: #0071BC;
  box-shadow: 0 0 0 2px rgba(81,169,225,0.2);
}
.kb-sidebar__nav { padding: 0 8px; }
.kb-sidebar__section { margin-bottom: 8px; }
.kb-sidebar__section-heading {
  font-family: 'PT Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  padding: 10px 12px 4px;
  display: block;
}
.kb-sidebar__section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kb-sidebar__section ul li a {
  display: block;
  padding: 7px 12px;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  color: #444;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  line-height: 1.3;
}
.kb-sidebar__section ul li a:hover,
.kb-sidebar__section ul li a.active {
  background: #BED7EB;
  color: #112F4B;
  text-decoration: none;
}
.kb-content {
  padding: 52px 60px;
  max-width: none;
  background: #fff;
}
.kb-category {
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid #e0eaf2;
  max-width: 820px;
}
.kb-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.kb-category__label {
  font-family: 'PT Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0071BC;
  margin-bottom: 8px;
  display: block;
}
.kb-category h2 {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #112F4B;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 2px solid #BED7EB;
}
.kb-article {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid #f0f4f8;
}
.kb-article:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.kb-article h3 {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #112F4B;
  margin-bottom: 12px;
}
.kb-article p {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}
.kb-article p:last-child { margin-bottom: 0; }
.kb-article code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  background: #eef2f7;
  padding: 2px 6px;
  border-radius: 3px;
  color: #1F5867;
}
.kb-article pre {
  background: #1a2f45;
  color: #BED7EB;
  padding: 20px 24px;
  border-radius: 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  margin: 16px 0;
}
.kb-article pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.kb-article dl { margin: 16px 0 24px; }
.kb-article dt {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #112F4B;
  background: #eef2f7;
  padding: 7px 14px;
  border-left: 3px solid #0071BC;
  margin-bottom: 4px;
  border-radius: 0 3px 3px 0;
}
.kb-article dd {
  font-size: 14px;
  color: #555;
  padding: 6px 14px 12px 20px;
  margin: 0 0 6px;
  border-left: 1px solid #dce8f0;
  line-height: 1.65;
}
.kb-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.kb-article table th {
  background: #112F4B;
  color: #fff;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  text-align: left;
}
.kb-article table td {
  padding: 10px 16px;
  border-bottom: 1px solid #e0eaf2;
  color: #333;
  vertical-align: top;
  line-height: 1.5;
}
.kb-article table tr:nth-child(even) td { background: #f7f9fb; }
.kb-article ul {
  padding-left: 0;
  list-style: none;
  margin: 12px 0;
}
.kb-article ul li {
  font-size: 15px;
  color: #444;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.6;
}
.kb-article ul li:last-child { border-bottom: none; }
.kb-article ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: #0071BC;
  border-radius: 1px;
}

/* Responsive additions */
@media (max-width: 900px) {
  .kb-layout { grid-template-columns: 1fr; }
  .kb-sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid #dce8f0; }
  .kb-content { padding: 32px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stats-strip__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stats-strip__item:last-child { border-bottom: none; }
  .way-pillars { grid-template-columns: 1fr; }
  .way-pillar { border-right: none; border-bottom: 1px solid rgba(17,47,75,0.18); }
  .way-pillar:last-child { border-bottom: none; }
  .api-endpoints { grid-template-columns: 1fr; }
  .client-strip__logos { gap: 28px 40px; }
}
@media (max-width: 600px) {
  .hero--full { min-height: auto; padding: 80px 0 60px; }
  .stats-strip__number { font-size: 52px; }
  .kb-content { padding: 24px 16px; }
  .cta-demo { padding: 56px 0; }
}

/* =============================================
   FULL-WIDTH SECTION FIX
   Sections span 100vw; only inner content is constrained
   ============================================= */
.section-full { width: 100%; }
.section-full .container,
.section-full > .container { max-width: 1440px; margin: 0 auto; padding: 0 48px; box-sizing: border-box; }

/* Fix any section that had margin/border leakage */
section, .hero, .site-footer { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; box-sizing: border-box; }

/* Wider container default */
.container { max-width: 1440px; padding: 0 48px; }

/* Software screenshot styles */
.software-screenshot { width: 100%; border-radius: 8px; box-shadow: 0 16px 48px rgba(17,47,75,0.25); display: block; }
.screenshot-wrap { position: relative; }
.screenshot-wrap::before { content: ''; display: block; width: 100%; height: 100%; position: absolute; top: 12px; left: 12px; background: #BED7EB; border-radius: 8px; z-index: 0; }
.screenshot-wrap img { position: relative; z-index: 1; }

/* Image + text feature rows */
.image-text-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.image-text-split__media,
.image-text-split__content { min-width: 0; }

@media (max-width: 900px) {
  .image-text-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .image-text-split--media-top-mobile .image-text-split__media { order: -1; }
}

@media (max-width: 600px) {
  .container,
  .container--narrow,
  .section-full .container,
  .section-full > .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .image-text-split { gap: 24px; }
  .image-text-split .section__title { font-size: clamp(28px, 9vw, 34px); }
  .image-text-split p { font-size: 16px; line-height: 1.7; }
  .screenshot-wrap::before { top: 8px; left: 8px; }
}

/* Full-bleed image sections */
.img-section { position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.img-section__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.img-section__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,47,75,0.92) 0%, rgba(17,47,75,0.6) 60%, transparent 100%); }
.img-section__content { position: relative; z-index: 1; max-width: 560px; color: #fff; padding: 60px 40px; }
.img-section__content h2 { font-family: 'PT Sans Narrow', sans-serif; font-size: 2.2rem; font-weight: 700; margin: 0 0 1rem; color: #fff; }
.img-section__content p { color: #BED7EB; line-height: 1.7; margin: 0 0 1.5rem; }

/* --- Team Grid (about.html) --- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.team-member { text-align: center; }
.team-member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; border: 3px solid #0071BC; }
.team-member h3 { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.2rem; color: #112F4B; margin: 0 0 .25rem; }
.team-member .team-title { font-size: .9rem; color: #1F5867; font-weight: 600; margin: 0 0 .5rem; }
.team-member .team-bio { font-size: .88rem; color: #555; line-height: 1.5; }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* --- Expertise Section (about.html) --- */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
.expertise-item h3 { font-family: 'PT Sans Narrow', sans-serif; font-size: 1.3rem; color: #112F4B; margin-bottom: .75rem; border-bottom: 3px solid #0071BC; padding-bottom: .5rem; }
.expertise-item p { font-size: 15px; color: #444; line-height: 1.7; }
@media (max-width: 768px) { .expertise-grid { grid-template-columns: 1fr; } }

/* --- Community Events (about.html) --- */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
.event-card img { width: 100%; border-radius: 8px; object-fit: cover; max-height: 280px; }
.event-card p { font-size: 15px; color: #BED7EB; line-height: 1.7; margin-top: 1rem; }
@media (max-width: 640px) { .events-grid { grid-template-columns: 1fr; } }

/* --- Case Study Full Sections (case-studies.html) --- */
.cs-section { padding: 80px 0; }
.cs-section--light { background: #fff; }
.cs-section--tint { background: #BED7EB; }
.cs-inner { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.cs-inner--reverse { grid-template-columns: 340px 1fr; }
.cs-inner--reverse .cs-sidebar { order: -1; }
.cs-label { font-family: 'PT Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0071BC; margin-bottom: 10px; display: block; }
.cs-section--tint .cs-label { color: #1F5867; }
.cs-title { font-family: 'PT Sans Narrow', sans-serif; font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #112F4B; margin-bottom: 1.25rem; line-height: 1.2; }
.cs-body p { font-size: 16px; color: #333; line-height: 1.75; margin-bottom: 1rem; }
.cs-body p:last-child { margin-bottom: 0; }
.cs-quote { background: #112F4B; border-left: 4px solid #0071BC; padding: 20px 24px; border-radius: 0 6px 6px 0; margin: 1.5rem 0; }
.cs-section--tint .cs-quote { background: #1F5867; }
.cs-quote p { font-style: italic; font-size: 16px; color: #BED7EB; line-height: 1.7; margin-bottom: .5rem; }
.cs-quote cite { font-style: normal; font-size: 13px; font-weight: 700; color: #0071BC; }
.cs-sidebar { background: #112F4B; border-radius: 8px; padding: 32px; color: #fff; }
.cs-section--tint .cs-sidebar { background: #1F5867; }
.cs-sidebar__logo { margin-bottom: 24px; background: #fff; border-radius: 8px; padding: 16px 20px; display: flex; align-items: center; justify-content: center; min-height: 80px; }
.cs-sidebar__logo img { max-width: 180px; max-height: 64px; object-fit: contain; }
.cs-sidebar__stat { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.cs-sidebar__stat:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cs-sidebar__number { font-family: 'PT Sans Narrow', sans-serif; font-size: 44px; font-weight: 700; color: #0071BC; line-height: 1; }
.cs-sidebar__desc { font-size: 13px; color: #BED7EB; margin-top: 4px; line-height: 1.4; }
.cs-link { display: inline-block; margin-top: 1.5rem; font-family: 'PT Sans', sans-serif; font-size: 14px; font-weight: 700; color: #0071BC; text-decoration: none; border-bottom: 2px solid #0071BC; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.cs-link:hover { color: #3b90c8; border-color: #3b90c8; text-decoration: none; }
.cs-section--tint .cs-link { color: #112F4B; border-color: #112F4B; }
.cs-section--tint .cs-link:hover { color: #1F5867; border-color: #1F5867; }
@media (max-width: 900px) {
  .cs-inner { grid-template-columns: 1fr; }
  .cs-inner--reverse { grid-template-columns: 1fr; }
  .cs-inner--reverse .cs-sidebar { order: 0; }
  .cs-sidebar { margin-top: 2rem; }
}

/* --- Stats Bar override for case-studies --- */
.stats-bar--cs { background: #1F5867; padding: 56px 0; }
.stats-bar--cs .stats-bar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }

/* =============================================
   FULL-WIDTH GUARANTEE
   ============================================= */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
section, header, footer, .hero, .cs-section, .cta-banner, .trust-bar, .stats-section, .client-strip, .way-section, .kb-hero, .kb-body, .kb-cta {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}
/* Missing tint background for case-studies */
.cs-section--tint { background: #EEF4F8; }
/* Ensure container never adds horizontal scroll */
.container, .container--narrow { box-sizing: border-box; width: 100%; }

/* =============================================
   ACCESSIBILITY — Skip Link & Landmarks
   ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #0071BC;
  color: #112F4B;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 0.95rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; color: #112F4B; }

/* =============================================
   BORDER FIX — Force true edge-to-edge layout
   ============================================= */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
}
main {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
/* Ensure sections have no side margin ever */
section {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* --- Review pass refinements --- */
.text-center .hero__sub { margin-left: auto; margin-right: auto; }
.nav__menu a.nav__cta { background:#0071BC; color:#fff; padding:10px 16px; border-radius:4px; }
.nav__menu a.nav__cta:hover { background:#3b90c8; color:#fff; text-decoration:none; }
.footer-brand__desc { font-size:14px; color:#BED7EB; line-height:1.6; max-width:320px; }
.kb-article[hidden], .kb-category[hidden] { display:none !important; }
.form-note { color:#555; font-size:13px; margin-top:12px; }
@media (max-width: 960px) {
  .nav__menu a.nav__cta { display:block; text-align:center; margin-top:8px; }
}


/* Accessibility QA contrast refinements */
.section--dark .section__label,
.hero--inner .section__label,
.hero__eyebrow,
.section--dark .hero__eyebrow,
.site-footer a:hover {
  color: #BED7EB;
}
.section--dark .card__title,
.card--dark .card__title,
.cs-quote cite {
  color: #BED7EB;
}
.btn--primary,
.nav__cta,
.nav__menu a.nav__cta,
.pricing-card__badge,
.product-card__badge,
.program-card__badge,
.cta-banner {
  background: #0071BC;
  border-color: #0071BC;
}
.btn--primary:hover,
.nav__cta:hover,
.nav__menu a.nav__cta:hover {
  background: #005a96;
  border-color: #005a96;
}
.btn--outline {
  color: #0071BC;
  border-color: #0071BC;
}
.btn--outline:hover {
  background: #0071BC;
  color: #fff;
}

/* Platform readability/media polish */
.platform-showcase,
.platform-screenshot-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: 34px 0 56px;
}
.platform-showcase__title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  color: #112F4B;
  margin: 0 0 12px;
}
.platform-showcase p,
.platform-intro {
  max-width: 74ch;
}
.feature-item {
  background: #fff;
  border: 1px solid rgba(17,47,75,.10);
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 12px 34px rgba(17,47,75,.07);
}
.section--tint .feature-item { background: rgba(255,255,255,.92); }
.feature-item__body { max-width: 68ch; }
.platform-video--lazy { background: #0f2e45; }
.platform-video__button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  color: inherit;
}
.platform-video__button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform .24s ease, filter .24s ease;
}
.platform-video__button:hover img,
.platform-video__button:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.08) brightness(1.04);
}
.platform-video__button:focus-visible {
  outline: 4px solid #51A9E1;
  outline-offset: -4px;
}
.platform-video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.platform-video__play::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 22px;
  border-left: 24px solid #0071BC;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
.platform-screenshot-pair {
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  align-items: center;
  background: linear-gradient(135deg, #eef7fc 0%, #fff 62%);
  border: 1px solid rgba(17,47,75,.10);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 38px);
}
.app-screenshot {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.app-screenshot img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(17,47,75,.16);
  background: #f4f7fa;
}
.app-screenshot--phone img {
  max-width: min(280px, 72vw);
  max-height: 560px;
  object-fit: contain;
  border-radius: 28px;
}
.app-screenshot--wide img {
  max-height: 420px;
  object-fit: contain;
  padding: 10px;
}
.app-screenshot figcaption {
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1F5867;
}
@media (max-width: 900px) {
  .platform-showcase,
  .platform-screenshot-pair { grid-template-columns: 1fr; }
  .platform-screenshot-pair { justify-items: center; }
  .app-screenshot--phone img { max-height: 470px; }
}
@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .feature-grid { gap: 26px; }
  .feature-item { padding: 20px; border-radius: 14px; }
  .platform-screenshot-pair { padding: 18px; }
  .app-screenshot--phone img { max-width: 230px; max-height: 430px; }
  .platform-video__play { width: 58px; height: 58px; }
  .platform-video__play::before { left: 24px; top: 17px; border-left-width: 19px; border-top-width: 12px; border-bottom-width: 12px; }
}

/* Header readability bump */
@media (min-width: 901px) {
  .nav__item > a,
  .nav__dropdown-toggle,
  .nav__menu a {
    font-size: 16px;
    letter-spacing: 0.01em;
  }
  .nav__dropdown-toggle { padding-inline: 12px; }
  .nav__item > a { padding: 10px 12px; }
  a.nav__cta,
  .nav__menu a.nav__cta {
    font-size: 15px;
    padding: 10px 18px;
  }
}
@media (max-width: 900px) {
  .nav__item > a,
  .nav__dropdown-toggle,
  .nav__menu a { font-size: 17px; }
}

/* Platform software screenshot expansion */
.software-showcase-section { border-top: 1px solid rgba(17,47,75,.08); }
.software-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
  margin-top: 34px;
}
.software-spotlight,
.inline-software-shot,
.inspection-workflow-showcase figure,
.software-screen-strip figure {
  margin: 0;
}
.software-spotlight {
  background: #fff;
  border: 1px solid rgba(17,47,75,.10);
  border-radius: 24px;
  padding: clamp(12px, 2vw, 18px);
  box-shadow: 0 18px 52px rgba(17,47,75,.12);
}
.software-spotlight img {
  width: 100%;
  display: block;
  border-radius: 16px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.software-spotlight figcaption,
.inline-software-shot figcaption,
.inspection-workflow-showcase figcaption,
.software-screen-strip figcaption {
  font-family: 'PT Sans', sans-serif;
  color: #456174;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 10px;
}
.software-screen-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.software-screen-strip figure {
  background: #fff;
  border: 1px solid rgba(17,47,75,.10);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 28px rgba(17,47,75,.08);
}
.software-screen-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: 10px;
  display: block;
}
.software-screen-strip figcaption {
  font-weight: 700;
  color: #1F5867;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.inline-software-shot {
  margin-top: 22px;
  background: #f4f9fc;
  border: 1px solid rgba(17,47,75,.10);
  border-radius: 16px;
  padding: 10px;
}
.inline-software-shot img {
  width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17,47,75,.10);
}
.inspection-workflow-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 36px;
}
.inspection-workflow-showcase figure {
  background: #fff;
  border: 1px solid rgba(17,47,75,.10);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 12px 34px rgba(17,47,75,.09);
}
.inspection-workflow-showcase img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  object-position: top center;
  border-radius: 12px;
  display: block;
  background: #eef7fc;
}
@media (max-width: 1000px) {
  .software-spotlight-grid,
  .software-screen-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .software-spotlight-grid,
  .software-screen-strip,
  .inspection-workflow-showcase { grid-template-columns: 1fr; }
}

/* Government Suite media layout cleanup */
.platform-copy-band {
  max-width: 940px;
  margin: 30px 0 26px;
  padding: 24px 28px;
  border-left: 4px solid #0071BC;
  background: linear-gradient(90deg, rgba(190,215,235,.28), rgba(255,255,255,0));
  border-radius: 0 18px 18px 0;
}
.platform-copy-band .platform-showcase__title { margin-bottom: 10px; }
.platform-copy-band p {
  max-width: 84ch;
  margin: 0;
  color: #334b5f;
  font-size: 17px;
  line-height: 1.72;
}
.government-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
  margin: 24px 0 58px;
}
.government-media-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(17,47,75,.10);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 16px 44px rgba(17,47,75,.11);
  display: flex;
  flex-direction: column;
}
.government-media-card > img,
.government-media-card .platform-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  box-shadow: none;
}
.government-media-card > img {
  display: block;
  object-fit: cover;
  object-position: top left;
  background: #eef7fc;
}
.government-media-card figcaption {
  margin-top: 12px;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1F5867;
}
@media (max-width: 800px) {
  .government-media-grid { grid-template-columns: 1fr; }
  .platform-copy-band { padding: 20px; }
}

/* Inspections page cleanup */
.inspections-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 84px;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.inspections-hero__media,
.inspections-hero__overlay {
  position: absolute;
  inset: 0;
}
.inspections-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.inspections-hero__overlay {
  background:
    radial-gradient(circle at 78% 30%, rgba(0,113,188,.20), transparent 34%),
    linear-gradient(90deg, rgba(17,47,75,.95) 0%, rgba(17,47,75,.86) 48%, rgba(17,47,75,.52) 100%);
}
.inspections-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}
.inspections-hero__copy { max-width: 760px; }
.inspection-snapshot {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(190,215,235,.55);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 22px 52px rgba(0,0,0,.22);
}
.inspection-snapshot__eyebrow {
  margin: 0 0 14px;
  color: #0071BC;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.inspection-snapshot ul,
.inspection-callout-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.inspection-snapshot li {
  position: relative;
  padding-left: 22px;
  margin: 12px 0;
  color: #193b59;
  line-height: 1.5;
}
.inspection-snapshot li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0071BC;
}
.inspection-photo-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .9fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
.inspection-photo-feature__main {
  margin: 0;
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 18px 48px rgba(17,47,75,.14);
  border: 1px solid rgba(17,47,75,.08);
}
.inspection-photo-feature__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.inspection-photo-feature__main figcaption {
  margin-top: 12px;
  font-family: 'PT Sans', sans-serif;
  font-size: 14px;
  color: #334b5f;
}
.inspection-callout-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.inspection-callout-list div {
  background: #fff;
  border-left: 4px solid #0071BC;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 10px 28px rgba(17,47,75,.08);
}
.inspection-callout-list strong,
.inspection-callout-list span {
  display: block;
}
.inspection-callout-list strong {
  color: #112F4B;
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 22px;
  margin-bottom: 3px;
}
.inspection-callout-list span {
  color: #334b5f;
  line-height: 1.55;
}
.inspection-service-grid { margin-top: 40px; }
.inspection-credentials p {
  font-size: 17px;
  line-height: 1.75;
  color: #334b5f;
}
.inspector-card__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0071BC;
  flex-shrink: 0;
}
.inspector-card__photo--paul { object-position: center 15%; }
.inspection-pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.inspection-price-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
}
.inspection-price-card .price-table { margin: 0; max-width: none; }
@media (max-width: 900px) {
  .inspections-hero { min-height: auto; padding: 88px 0 64px; }
  .inspections-hero__content,
  .inspection-photo-feature,
  .inspection-pricing-grid { grid-template-columns: 1fr; }
  .inspection-snapshot { max-width: 560px; }
}
@media (max-width: 640px) {
  .inspections-hero__overlay {
    background: linear-gradient(180deg, rgba(17,47,75,.94), rgba(17,47,75,.78));
  }
  .inspection-photo-feature__main { padding: 10px; border-radius: 18px; }
  .inspection-photo-feature__main img { border-radius: 12px; }
}
.inspection-photo-feature--trio {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .9fr);
}
.inspection-photo-feature--trio .inspection-photo-feature__main--wide {
  grid-row: span 2;
}
.inspection-photo-tile {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 12px 34px rgba(17,47,75,.12);
  border: 1px solid rgba(17,47,75,.08);
}
.inspection-photo-tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.inspection-photo-tile figcaption {
  margin-top: 8px;
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1F5867;
}
@media (max-width: 900px) {
  .inspection-photo-feature--trio .inspection-photo-feature__main--wide { grid-row: auto; }
}

/* Inspection field section refinements */
.inspection-field-layout {
  display: grid;
  gap: clamp(24px, 4vw, 38px);
}
.inspection-field-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.inspection-field-intro p {
  margin: 12px auto 0;
  max-width: 760px;
  color: #334b5f;
  font-size: 17px;
  line-height: 1.7;
}
.inspection-photo-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  align-items: stretch;
}
.inspection-photo-grid .inspection-photo-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.inspection-photo-grid .inspection-photo-tile--large {
  grid-row: 1 / span 2;
}
.inspection-photo-grid .inspection-photo-tile img {
  flex: 1;
  min-height: 0;
  aspect-ratio: auto;
  height: 100%;
  max-height: 520px;
}
.inspection-photo-grid .inspection-photo-tile:not(.inspection-photo-tile--large) img {
  max-height: 246px;
}
.inspection-photo-grid .inspection-photo-tile figcaption {
  padding: 2px 2px 0;
}
.inspection-field-layout .inspection-callout-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}
@media (max-width: 900px) {
  .inspection-photo-grid,
  .inspection-field-layout .inspection-callout-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .inspection-photo-grid .inspection-photo-tile--large { grid-row: auto; }
  .inspection-photo-grid .inspection-photo-tile img,
  .inspection-photo-grid .inspection-photo-tile:not(.inspection-photo-tile--large) img {
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: none;
  }
  .inspection-field-intro { text-align: left; margin: 0; }
}

/* Home operational-record flow refinement */
.system-flow {
  position: relative;
  grid-template-columns: minmax(210px,1fr) 52px minmax(210px,1fr) 52px minmax(210px,1fr) 52px minmax(210px,1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: clamp(30px, 4vw, 48px);
}
.system-flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,113,188,0), rgba(0,113,188,.7), rgba(0,113,188,0));
  pointer-events: none;
}
.system-flow__item {
  position: relative;
  min-height: 0;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.055));
  border-color: rgba(190,215,235,.22);
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}
.system-flow__step {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  border-radius: 999px;
  background: #0071BC;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(0,113,188,.14);
  letter-spacing: .08em;
}
.system-flow__item h3 {
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.05;
  margin-bottom: 12px;
}
.system-flow__item p {
  font-size: 16px;
  line-height: 1.62;
  max-width: 28ch;
}
.system-flow__arrow {
  align-self: center;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0,113,188,.14);
  color: #51A9E1;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-14px);
}
@media (max-width: 1100px) {
  .system-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .system-flow::before,
  .system-flow__arrow { display: none; }
}
@media (max-width: 700px) {
  .system-flow { grid-template-columns: 1fr; }
  .system-flow__item p { max-width: none; }
}

/* Homepage challenge visual */
.challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .82fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  margin-top: 28px;
}
.challenge-layout .challenge-prose { max-width: none; }
.challenge-visual {
  margin: 0;
  position: relative;
}
.challenge-visual::before {
  content: "";
  position: absolute;
  inset: 9% -3% -5% 8%;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(190,215,235,.58), rgba(0,113,188,.14));
  filter: blur(1px);
  z-index: 0;
}
.challenge-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17,47,75,.16);
}
@media (max-width: 1050px) {
  .challenge-layout { grid-template-columns: 1fr; }
  .challenge-visual { max-width: 760px; }
}

/* Accessibility remediation: footer headings are semantic h2s styled like the previous h4 labels. */
.footer-col__heading {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

/* Keep dropdowns available for keyboard users while focus is inside the menu. */
.nav__item--dropdown:focus-within .nav__dropdown-menu { display: block; }
.nav__dropdown-toggle:focus-visible,
.nav__dropdown-menu a:focus-visible,
.nav__menu a:focus-visible,
.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0, 113, 188, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* WCAG 2.1 AA remediation pass — 2026-05-12
   Keeps BlueDAG visual language while fixing Axe contrast/link distinguishability findings. */
.section--tint .section__label,
.shopTalk-band .section__label,
.inspection-field-intro .section__label,
section[aria-labelledby="experts-heading"] .section__label,
section[aria-labelledby="inspection-pkg-heading"] .section__label,
section[aria-labelledby="calc-heading"] .section__label,
section[aria-labelledby="parks-heading"] .section__label,
section[aria-labelledby="transit-heading"] .section__label,
section[aria-labelledby="housing-heading"] .section__label,
.section-heading-row .section__label {
  color: #112F4B;
}

.section--dark .section__label,
.section--mid .section__label,
.hero--inner .section__label,
.hero__eyebrow,
.section--dark .hero__eyebrow {
  color: #BED7EB;
}

.way-pillar__number,
.hiw-step__num {
  color: #536B80 !important;
  opacity: 1 !important;
}

.stats-strip__number {
  color: #FFFFFF;
  text-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.news-card__date {
  color: #555 !important;
}

.category-card__link,
a[href="support.html#api-reference"],
p a[href^="mailto:"] {
  color: #005A96 !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.08em;
}

.category-card__link {
  background: rgba(0,90,150,.12) !important;
}

.category-card__link:hover,
.category-card__link:focus-visible {
  color: #112F4B !important;
  background: rgba(0,90,150,.22) !important;
}

.section--dark a:not(.btn),
.section--mid a:not(.btn) {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

blockquote footer,
blockquote footer span {
  color: #FFFFFF !important;
  opacity: 1 !important;
}

.cta-banner p {
  color: #FFFFFF !important;
}

.form-note a,
.footer-bottom a {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 0.08em;
}

.footer-bottom p {
  color: #BED7EB !important;
}

.site-footer a,
.footer-wcag a,
.footer-brand__contact a {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.section--dark .text-link,
.section--mid .text-link,
.section--dark p a,
.section--mid p a {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.section--light p a,
.section--tint p a,
.text-center p a,
p a[href$="contact.html"] {
  color: #005A96 !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.section--dark p[style*="font-size:64px"] {
  color: #BED7EB !important;
}

/* Final specificity guards for links/buttons inside prose and footer. */
.btn--primary,
a.btn--primary,
.btn.btn--primary,
p a.btn.btn--primary,
.text-center p a.btn.btn--primary,
.nav__cta,
a.nav__cta {
  color: #FFFFFF !important;
}

.btn--secondary,
a.btn--secondary,
.btn.btn--secondary,
p a.btn.btn--secondary,
.text-center p a.btn.btn--secondary {
  color: #112F4B !important;
}

.btn--outline,
a.btn--outline,
p a.btn--outline,
.text-center p a.btn--outline {
  color: #112F4B !important;
  border-color: #112F4B !important;
  background: transparent !important;
}

.cta-banner .btn--outline,
.cta-banner a.btn--outline,
.cta-banner p a.btn--outline {
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  background: transparent !important;
}

.site-footer .footer-wcag a,
.site-footer p.footer-wcag a,
.site-footer .footer-brand__contact a,
.site-footer .footer-bottom a {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

main .section--dark a.text-link,
main .section--dark p a.text-link,
main .section--dark p a[href^="mailto:"],
main .section--dark p a[href="support.html#api-reference"],
.api-section a.text-link,
.api-section p a.text-link,
.api-section p a[href^="mailto:"],
.api-section p a[href="support.html#api-reference"] {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

p[style*="font-size:64px"][style*="#0071BC"] {
  color: #BED7EB !important;
}

/* Full-site Axe remediation pass — generated resource pages and KB. */
.section--mid .stat-item__number,
.stats-bar .stat-item__number,
.cs-sidebar__number {
  color: #FFFFFF !important;
}

.cs-sidebar p,
.cs-sidebar [style*="color:#666"] {
  color: #BED7EB !important;
}

tr td[style*="color:#0071BC"],
.cat-count,
.kb-sidebar__section-heading {
  color: #555555 !important;
}

.kb-body a,
.kb-article p a,
.support-page a,
.container > p > a[href^="mailto:helpdesk@bluedag.com"] {
  color: #005A96 !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.kb-sidebar__section-heading {
  font-size: 11px;
}

/* Final full-site scan cleanup. */
.stats-bar--cs .stat-item__number {
  color: #FFFFFF !important;
}

.article-body a:not(.btn),
ol a:not(.btn),
.article-body li a:not(.btn) {
  color: #005A96 !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.api-section p a.text-link[href^="mailto:"],
.api-section p a.text-link[href="support.html#api-reference"],
.api-section p a[href^="mailto:helpdesk@bluedag.com"] {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.kb-hero p a[href^="mailto:helpdesk@bluedag.com"],
section.kb-hero p a[href^="mailto:helpdesk@bluedag.com"],
.kb-hero .container p a[href^="mailto:helpdesk@bluedag.com"] {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

div[style*="background:#112F4B"] p a[href^="mailto:helpdesk@bluedag.com"] {
  color: #BED7EB !important;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.video-embed__link {
  align-items: center;
  background: linear-gradient(135deg, #112F4B 0%, #1F5867 100%);
  border-radius: 8px;
  color: #FFFFFF !important;
  display: flex;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  line-height: 1.4;
  padding: 24px;
  position: absolute;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.video-embed__link::before {
  content: '▶';
  display: inline-block;
  font-size: 22px;
  margin-right: 10px;
}

/* Visual QA: keep nav CTA text visible in both normal and hover states. */
.nav__menu a.nav__cta,
a.nav__cta,
.nav__cta {
  background: #0071BC !important;
  border-color: #0071BC !important;
  color: #FFFFFF !important;
}

.nav__menu a.nav__cta:hover,
a.nav__cta:hover,
.nav__cta:hover,
.nav__menu a.nav__cta:focus,
a.nav__cta:focus,
.nav__cta:focus {
  background: #005A96 !important;
  border-color: #005A96 !important;
  color: #FFFFFF !important;
  text-decoration: none;
}

/* Visual QA: make outline-button hover states explicit and readable. */
.btn--outline:hover,
a.btn--outline:hover,
p a.btn--outline:hover,
.text-center p a.btn--outline:hover,
.btn--outline:focus,
a.btn--outline:focus,
p a.btn--outline:focus,
.text-center p a.btn--outline:focus {
  background: #005A96 !important;
  border-color: #005A96 !important;
  color: #FFFFFF !important;
  text-decoration: none;
}

.cta-banner .btn--outline:hover,
.cta-banner a.btn--outline:hover,
.cta-banner p a.btn--outline:hover,
.cta-banner .btn--outline:focus,
.cta-banner a.btn--outline:focus,
.cta-banner p a.btn--outline:focus {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #112F4B !important;
}

/* Contact page masthead and form polish */
.hero--short .container.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title--centered {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-wrap: balance;
}
.hero__sub--centered {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.contact-form-col,
.contact-info-col,
.contact-form {
  min-width: 0;
}
.contact-form form {
  display: grid;
  gap: 1.15rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem 1.5rem;
  margin: 0;
}
.contact-form .form-group {
  min-width: 0;
  margin-bottom: 0;
}
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  min-height: 48px;
}
.contact-form .form-note {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-form {
    padding: 28px 20px;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- Global quote floating CTA --- */
.site-header { position: sticky; top: 0; z-index: 1200; }
.quote-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: #0071BC;
  color: #fff;
  text-decoration: none;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(17,47,75,.28);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.quote-float:hover,
.quote-float:focus-visible { background:#005f9e; transform: translateY(-2px); box-shadow:0 18px 40px rgba(17,47,75,.34); }
.quote-float__icon { font-size: 18px; line-height: 1; }
.quote-modal[hidden] { display: none; }
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.quote-modal__overlay { position:absolute; inset:0; background:rgba(17,47,75,.72); backdrop-filter: blur(4px); }
.quote-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}
.quote-modal__header { padding: 28px 30px 16px; border-bottom: 1px solid #e0eaf2; }
.quote-modal__eyebrow { display:block; color:#0071BC; font-family:'PT Sans',sans-serif; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; margin-bottom:8px; }
.quote-modal__title { color:#112F4B; margin:0 44px 8px 0; font-size: clamp(26px, 4vw, 36px); }
.quote-modal__intro { color:#4E5F6E; margin:0; line-height:1.55; }
.quote-modal__close {
  position:absolute;
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#EEF6FB;
  color:#112F4B;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.quote-modal__close:hover,
.quote-modal__close:focus-visible { background:#BED7EB; }
.quote-form { padding: 24px 30px 30px; display:grid; gap:18px; }
.quote-form__grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:16px; }
.quote-form label { display:grid; gap:7px; color:#112F4B; font-family:'PT Sans',sans-serif; font-size:14px; font-weight:700; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  width:100%;
  border:1px solid #C7D8E4;
  border-radius:8px;
  padding:12px 13px;
  color:#222;
  font: 400 15px/1.35 'Lato', sans-serif;
  background:#fff;
}
.quote-form textarea { resize: vertical; min-height: 104px; }
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { outline:3px solid rgba(81,169,225,.35); border-color:#0071BC; }
.quote-form__actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.quote-form__note { color:#607284; font-size:13px; line-height:1.5; margin:0; }
.quote-form__submit { border:0; }
body.quote-modal-open { overflow:hidden; }
@media (max-width: 720px) {
  .quote-float { display: none; }
}

/* --- Client proof/logo wall --- */
.client-proof-section { background: linear-gradient(180deg,#fff 0%,#f6fbfe 100%); }
.client-logo-wall {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 16px;
  align-items: center;
  margin: 34px 0 32px;
}
.client-logo-wall img {
  width: 100%;
  height: 82px;
  object-fit: contain;
  padding: 16px;
  border: 1px solid rgba(17,47,75,.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,47,75,.06);
  filter: grayscale(1) saturate(0) contrast(.92) brightness(1.08);
  opacity: .82;
}
.client-logo-wall img.client-logo-wall__highlight {
  border-color: rgba(0,113,188,.48);
  box-shadow: 0 12px 28px rgba(17,47,75,.14), 0 0 0 2px rgba(81,169,225,.18);
  opacity: 1;
  filter: grayscale(1) saturate(0) contrast(1.02) brightness(1.12);
}
.client-reference-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}
.client-reference-grid article {
  background: #fff;
  border: 1px solid rgba(17,47,75,.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(17,47,75,.05);
}
.client-reference-grid h3 {
  color: #112F4B;
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.client-reference-grid p { color:#445766; font-size:15px; line-height:1.65; margin:0; }
.cs-sidebar__logo img[src$='.svg'] { max-width:220px; max-height:78px; }
.cs-sidebar__logo--highlight img { box-shadow: 0 0 0 3px rgba(81,169,225,.28); }
.client-strip__logo-img[src$='.svg'] { max-height:52px; }
@media (max-width: 980px) {
  .client-logo-wall { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .client-reference-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .client-logo-wall { grid-template-columns: 1fr; gap: 18px; }
  .client-logo-wall img.client-logo-wall__highlight { box-shadow: 0 10px 24px rgba(17,47,75,.14), 0 0 0 2px rgba(81,169,225,.18); }
  .client-reference-grid { grid-template-columns: 1fr; }
}

/* Visual QA: make primary CTA readable on blue CTA banners. */
.cta-banner .btn--primary,
.cta-banner a.btn--primary,
.cta-banner__actions .btn--primary,
.cta-banner__actions a.btn--primary {
  background: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: #112F4B !important;
}
.cta-banner .btn--primary:hover,
.cta-banner a.btn--primary:hover,
.cta-banner__actions .btn--primary:hover,
.cta-banner__actions a.btn--primary:hover,
.cta-banner .btn--primary:focus,
.cta-banner a.btn--primary:focus,
.cta-banner__actions .btn--primary:focus,
.cta-banner__actions a.btn--primary:focus {
  background: #BED7EB !important;
  border-color: #BED7EB !important;
  color: #112F4B !important;
}

/* Quote wizard modal: keep the generated pricing calculator in a focused overlay. */
body.quote-modal-open { overflow: hidden; }
.quote-wizard-modal[hidden] { display: none; }
.quote-wizard-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}
.quote-wizard-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,47,75,.76);
  backdrop-filter: blur(5px);
}
.quote-wizard-modal__dialog {
  position: relative;
  width: min(1120px, 100%);
  height: min(860px, calc(100vh - 32px));
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 28px 90px rgba(0,0,0,.38);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.quote-wizard-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg,#112F4B 0%,#1F5867 100%);
  color: #fff;
}
.quote-wizard-modal__eyebrow {
  display: block;
  color: #BED7EB;
  font-family: 'PT Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.quote-wizard-modal__header h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  margin: 0;
}
.quote-wizard-modal__close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.quote-wizard-modal__close:hover,
.quote-wizard-modal__close:focus-visible {
  background: rgba(255,255,255,.22);
  outline: none;
}
.quote-wizard-modal__frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #f6fbfe;
}
body.quote-embed-mode {
  background: #f6fbfe;
}
body.quote-embed-mode .site-header,
body.quote-embed-mode .site-footer,
body.quote-embed-mode .quote-float,
body.quote-embed-mode main > section:not(.quote-embed-section) {
  display: none !important;
}
body.quote-embed-mode main,
body.quote-embed-mode .quote-embed-section,
body.quote-embed-mode .quote-embed-section .container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
body.quote-embed-mode .section__title,
body.quote-embed-mode .section__subtitle {
  display: none;
}
body.quote-embed-mode #quote-calculator {
  padding: 18px;
}
body.quote-embed-mode .calc-wrap {
  max-width: none;
}
body.quote-embed-mode .calc-shell {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 720px) {
  .quote-wizard-modal { padding: 0; align-items: stretch; }
  .quote-wizard-modal__dialog { height: 100vh; border-radius: 0; }
  .quote-wizard-modal__header { padding: 16px; }
  .quote-wizard-modal__header h2 { font-size: 24px; }
}

/* Official sourced civic logos: keep portrait/wordmark assets contained in gray logo cards. */
.client-strip__logo-img[src*="el-dorado-hills-csd-official"] {
  max-height: 70px;
  max-width: 96px;
}
.client-logo-wall img[src*="el-dorado-hills-csd-official"],
.cs-sidebar__logo img[src*="el-dorado-hills-csd-official"] {
  max-height: 96px;
  object-fit: contain;
}
.client-strip__logo-img[src*="city-of-framingham-official"] {
  max-width: 190px;
}
.client-logo-wall img[src*="city-of-framingham-official"] {
  padding-left: 12px;
  padding-right: 12px;
}


/* Feedback pass refinements */
.section-cta-row { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-top:32px; }
.section-cta-row--dark .btn--secondary { color:#fff; border-color:rgba(255,255,255,.65); }
.hero .btn--white { background:#fff; color:#112F4B; border-color:#fff; }
.contact-form { scroll-margin-top: 96px; }
.contact-form .form-row { gap: 1.25rem; align-items:start; }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea { min-height: 48px; }
.form-dev-note--success { margin-top:16px; color:#155724; background:#eaf6ed; border:1px solid #9bd3aa; border-radius:8px; padding:12px 14px; font-weight:700; font-family:'PT Sans',sans-serif; }
.contact-info-card .btn { white-space:normal; overflow-wrap:anywhere; }
.program-card__estimate { margin-top:10px; width:100%; justify-content:center; text-align:center; color:#112F4B; border-color:#112F4B; }
.calc-plan-card { cursor:pointer; }
.calc-plan-card.selected { border-color:#0071BC; box-shadow:0 0 0 4px rgba(0,113,188,.18), 0 14px 30px rgba(17,47,75,.16); position:relative; }
.calc-plan-card.selected::after { content:'✓'; position:absolute; right:14px; top:14px; width:30px; height:30px; border-radius:50%; background:#0071BC; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; }
.calc-selected-badge { position:absolute; top:14px; right:52px; background:#e6f3fb; color:#112F4B; border:1px solid #0071BC; font-size:.72rem; font-weight:800; padding:4px 10px; border-radius:999px; }
.platform-video-note { margin: 0 0 24px; max-width: 760px; color:#4b5f6f; background:#f4f9fc; border-left:4px solid #0071BC; padding:12px 16px; font-family:'PT Sans',sans-serif; line-height:1.55; }
@media (max-width: 700px) {
  .hero__sub, .hero__subtitle, .section__subtitle { font-size: 1rem; line-height:1.6; }
  .contact-form { padding:24px 18px; }
  .contact-trust-grid { grid-template-columns:1fr; }
  .section-cta-row { align-items:stretch; }
  .section-cta-row .btn { width:100%; justify-content:center; }
}

/* Feedback QA overflow fixes */
.kb-layout { grid-template-columns: 240px minmax(0, 1fr); width:100%; overflow-x:hidden; }
.kb-content, .kb-sidebar, .kb-category, .support-callouts, .support-callout, .inspection-price-card, .program-card__estimate { box-sizing:border-box; max-width:100%; }
.inspection-price-card { overflow-x:auto; }
.price-table { min-width:0; }
@media (max-width:700px) {
  .program-card__estimate { width:auto; display:flex; margin-left:0; margin-right:0; }
  .inspection-price-card { margin-left:0; margin-right:0; width:100%; }
  .price-table th, .price-table td { padding:12px 10px; font-size:14px; }
  .price-table .price-col { font-size:16px; white-space:normal; }
  .kb-layout { display:block; }
  .kb-sidebar, .kb-content { width:100%; padding-left:16px; padding-right:16px; }
}

/* ── Contact page ──────────────────────────────────────── */
.contact-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid-3 {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(17,47,75,.1);
  border-top: 4px solid #0071BC;
}

.contact-card__icon {
  margin-bottom: 16px;
  color: #0071BC;
}

.contact-card__title {
  font-family: 'PT Sans Narrow', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #112F4B;
  margin-bottom: 12px;
}

.contact-card__body {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-details-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0;
}

.contact-details-list dt {
  font-family: 'PT Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0071BC;
  white-space: nowrap;
}

.contact-details-list dd,
.contact-details-list a {
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  color: #112F4B;
  text-decoration: none;
}

.contact-details-list a:hover {
  color: #0071BC;
  text-decoration: underline;
}

.contact-office address {
  font-style: normal;
  font-family: 'PT Sans', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

.btn--full {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.hero__sub {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  color: #BED7EB;
  max-width: 640px;
  margin: 0 auto 0;
  line-height: 1.5;
}

.hero__sub--centered {
  text-align: center;
}

/* =============================================
   FLOATING HEADER — position:fixed override
   ============================================= */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: #112F4B;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
body { padding-top: 49px !important; }
body.quote-embed-mode { padding-top: 0 !important; }
body.quote-embed-mode .site-header { display: none; }

/* === Reduce section spacing across all pages === */
.section { padding: 36px 0 !important; }
.hero { padding: 56px 0 40px !important; }
.hero--short { padding: 40px 0 32px !important; }
.hero--full { padding: 56px 0 40px !important; }
.cta-banner { padding: 36px 0 !important; }
.cs-section { padding: 44px 0 !important; }
.section__subtitle { margin-bottom: 1.5rem !important; }
.section__label { margin-bottom: 0.5rem !important; }
.container { padding-top: 0 !important; padding-bottom: 0 !important; }

/* Update sticky sidebar offset for fixed header */
.editor-side { top: 88px; }
.news-aside { top: 88px; }

/* === BDAG-004: Mobile column stacking for how-it-works steps === */
@media (max-width: 600px) {
  .hiw-step { grid-template-columns: 1fr !important; gap: 8px !important; margin-bottom: 32px !important; }
  .hiw-step__num { text-align: left !important; font-size: 48px !important; }
}

/* === BDAG-009: Fix add-ons grid centering === */
.addons-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)) !important; gap:1.5rem; margin-top:2rem; justify-items:center; }
.addon-item { text-align:center; }

/* === BDAG-011: Community page mobile stacking === */
.community-split { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width: 800px) {
  .community-split { grid-template-columns:1fr !important; gap:32px !important; }
}
.community-schedule-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
