/* Nav logo: single image, filter for dark mode */
.nav-logo a{display:flex;align-items:center}
.nav-logo-img{height:42px;width:auto;max-width:none;object-fit:contain;transition:filter .3s}
[data-theme="dark"] .nav-logo-img{filter:brightness(0) invert(1)}

/* Metric val+suffix inline row */
.metric-val-row{display:flex;align-items:baseline;justify-content:center;gap:2px}
.metric-val-row .metric-suffix{margin-top:0}

/* Footer big name: SOLID not hollow */
.footer-big-name{color:#ffffff!important;-webkit-text-stroke:none!important;text-stroke:none!important}

/* Footer badges: one row */
.footer-badges{display:flex;flex-wrap:nowrap;gap:8px;margin-top:16px}
.footer-links-row{display:grid;grid-template-columns:1fr 1fr 1fr 1.2fr;gap:48px}

/* Heritage section */
.heritage-band{padding:48px 0;background:var(--rasp-surface);border-top:1px solid rgba(65,89,161,0.15);border-bottom:1px solid rgba(65,89,161,0.15)}
.heritage-inner{display:flex;align-items:flex-start;gap:48px;flex-wrap:wrap}
.heritage-text{flex:1;min-width:280px}
.heritage-heading{font-family:var(--font-heading);font-size:clamp(20px,2.5vw,28px);font-weight:700;color:var(--rasp-deep);margin-bottom:12px;line-height:1.3}
[data-theme="dark"] .heritage-heading{color:var(--rasp-dm-text)}
.heritage-desc{font-size:15px;color:var(--rasp-text-mid);line-height:1.75;max-width:520px}
.heritage-timeline{flex:0 0 auto;display:flex;flex-direction:column;gap:12px}
.heritage-item{display:flex;align-items:center;gap:12px;padding:14px 20px;background:var(--rasp-white);border-radius:var(--radius-sm);border-left:3px solid var(--rasp-brand);transition:all .3s}
.heritage-item:hover{box-shadow:var(--shadow-sm);transform:translateX(4px)}
.heritage-icon{width:36px;height:36px;background:rgba(65,89,161,.08);border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--rasp-brand)}
[data-theme="dark"] .heritage-icon{background:rgba(92,117,192,.15)}
.heritage-year{font-size:13px;font-weight:600;color:var(--rasp-brand);min-width:55px}
.heritage-milestone{font-size:13px;color:var(--rasp-text-mid)}

/* Dark mode contrast fixes */
[data-theme="dark"] .blog-card{background:var(--rasp-dm-surface-2);border:1px solid rgba(255,255,255,.08)}
[data-theme="dark"] .blog-card-body h3,[data-theme="dark"] .blog-card-body h3 a{color:var(--rasp-dm-text)}
[data-theme="dark"] .blog-card-body p{color:var(--rasp-dm-text-mid)}
[data-theme="dark"] .blog-card-meta{color:rgba(255,255,255,.45)}
[data-theme="dark"] .t-card{background:var(--rasp-dm-surface-2);border:1px solid rgba(255,255,255,.08)}
[data-theme="dark"] .t-card p{color:var(--rasp-dm-text-mid)}
[data-theme="dark"] .t-author{color:var(--rasp-dm-text)}
[data-theme="dark"] .t-quote{color:rgba(92,117,192,.25)}
[data-theme="dark"] .tool-card{background:var(--rasp-dm-surface-2);border-color:rgba(255,255,255,.08)}
[data-theme="dark"] .tool-card h3{color:var(--rasp-dm-text)}
[data-theme="dark"] .tool-card p{color:var(--rasp-dm-text-mid)}
[data-theme="dark"] .hp-blog .section-heading,
[data-theme="dark"] .hp-testimonials .section-heading,
[data-theme="dark"] .hp-tools .section-heading,
[data-theme="dark"] .hp-clients .section-heading,
[data-theme="dark"] .hp-industries .section-heading,
[data-theme="dark"] .hp-services .section-heading{color:var(--rasp-dm-text)}
[data-theme="dark"] .heritage-band{background:var(--rasp-dm-surface);border-color:rgba(255,255,255,.06)}
[data-theme="dark"] .heritage-item{background:var(--rasp-dm-surface-2);border-left-color:var(--rasp-light)}

/* Process section dark mode visibility */
[data-theme="dark"] .hp-process{background:var(--rasp-dm-surface)}
[data-theme="dark"] .hp-process .section-heading{color:var(--rasp-dm-text)!important}
[data-theme="dark"] .p-step h4{color:var(--rasp-dm-text)}
[data-theme="dark"] .p-step p{color:var(--rasp-dm-text-mid)}
[data-theme="dark"] .p-num{background:var(--rasp-dm-surface-2);border-color:var(--rasp-light);color:var(--rasp-light)}
[data-theme="dark"] .process-line{opacity:.15}

/* T&C checkbox */
.form-checkbox{margin-bottom:18px}
.checkbox-label{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:12px!important;font-weight:400!important;color:var(--rasp-text-light)!important;line-height:1.5!important}
.checkbox-label input[type="checkbox"]{width:18px;height:18px;flex-shrink:0;margin-top:1px;accent-color:var(--rasp-brand);cursor:pointer}
.checkbox-text{font-size:11px;color:var(--rasp-text-light);line-height:1.5}
.checkbox-text a{color:var(--rasp-brand);text-decoration:underline}

/* Hero padding */
.hero{padding:100px 24px 80px!important}

/* Captcha field */
.captcha-group{margin-bottom:18px}
.captcha-group label{font-size:13px!important;font-weight:600!important;color:var(--rasp-text)!important}
.captcha-group input{max-width:160px}

/* Google Partner text badge style */
.metric-badge{font-family:var(--font-heading);font-size:14px;font-weight:700;color:var(--rasp-brand);letter-spacing:.5px;padding:10px 20px;border:2px solid rgba(65,89,161,.2);border-radius:var(--radius-pill);display:inline-block}
[data-theme="dark"] .metric-badge{color:var(--rasp-light);border-color:rgba(92,117,192,.3)}

/* Mobile responsive */
@media(max-width:768px){
.nav-logo-light,.nav-logo-dark{height:26px;max-width:180px}
.heritage-inner{flex-direction:column;gap:32px}
.heritage-timeline{width:100%}
.footer-links-row{grid-template-columns:1fr;gap:28px}
.footer-badges{flex-wrap:wrap}
}
@media(max-width:1024px){
.footer-links-row{grid-template-columns:1fr 1fr;gap:32px}
}
