/* BRIVANTA v1.6.4 — inner-page density and finish refinement */

/* Tighter editorial rhythm on all non-home pages. */
body:not(.vision-home) .inner-hero{min-height:420px!important;padding:142px 0 70px!important}
body:not(.vision-home) .inner-hero.compact{min-height:385px!important;padding-bottom:64px!important}
body:not(.vision-home) .inner-hero h1{max-width:860px!important;margin-bottom:20px!important}
body:not(.vision-home) .inner-hero .narrow>p:last-child{font-size:17px!important;line-height:1.64!important}
body:not(.vision-home) .section{padding:66px 0!important}
body:not(.vision-home) .section-heading.centered{margin-bottom:32px!important}

/* About + services: reduce dead space while preserving hierarchy. */
body:not(.vision-home) .content-card{padding:38px 40px!important;border-radius:22px!important}
body:not(.vision-home) .value-stack article{padding:23px 25px!important;border-radius:18px!important}
body:not(.vision-home) .process-grid{gap:14px!important}
body:not(.vision-home) .process-grid article{padding:23px 23px!important;border-radius:18px!important}
body:not(.vision-home) .process-grid h3{margin-top:20px!important}
.services-detail .container{gap:16px!important}
.service-detail{grid-template-columns:54px minmax(255px,.92fr) 1fr!important;gap:28px!important;padding:34px 36px!important;border-radius:22px!important}
.service-detail h2{font-size:32px!important}
.note-panel{padding:36px 40px!important;border-radius:22px!important;gap:54px!important}

/* Contact page: tighter layout and cleaner form details. */
.contact-grid{gap:52px!important}
.contact-info h2{font-size:43px!important}
.contact-method{padding:19px 21px!important;border-radius:16px!important}
.contact-form-card{padding:32px!important;border-radius:24px!important}
.contact-form-card form{gap:17px!important}
.consent{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;text-align:left!important}
.consent input{width:20px!important;height:20px!important;margin:2px 0 0!important}
.consent span{display:block!important;margin:0!important;text-align:left!important}

/* Legal pages: compact but still readable. */
.legal-copy{padding:42px 46px!important;border-radius:24px!important}
.legal-copy h2{margin-top:28px!important}

/* Footer: reduce the oversized tail on inner/mobile pages. */
body:not(.vision-home) .bv-footer{padding-top:30px!important}
body:not(.vision-home) .bv-footer-grid{padding-bottom:24px!important;gap:34px!important}
body:not(.vision-home) .bv-footer-bottom{padding-top:13px!important;padding-bottom:16px!important}

@media(max-width:820px){
 body:not(.vision-home) .inner-hero{min-height:0!important;padding:108px 0 54px!important}
 body:not(.vision-home) .inner-hero.compact{padding-bottom:52px!important}
 body:not(.vision-home) .section{padding:58px 0!important}
 .service-detail{grid-template-columns:44px 1fr!important;padding:28px!important;gap:20px!important}
 .service-detail>div:last-child{grid-column:2!important}
 .note-panel{padding:30px!important;gap:18px!important}
 .contact-grid{gap:34px!important}
}

@media(max-width:560px){
 body:not(.vision-home) .inner-hero{padding:102px 0 50px!important}
 body:not(.vision-home) .inner-hero h1{font-size:43px!important;line-height:1!important}
 body:not(.vision-home) .inner-hero .narrow>p:last-child{font-size:15.5px!important;line-height:1.62!important}
 body:not(.vision-home) .section{padding:50px 0!important}
 body:not(.vision-home) .content-card{padding:27px 23px!important}
 body:not(.vision-home) .value-stack article{padding:21px!important}
 body:not(.vision-home) .process-grid article{padding:21px!important}
 .service-detail{grid-template-columns:1fr!important;padding:24px 20px!important;gap:16px!important}
 .service-detail>div:last-child{grid-column:auto!important}
 .service-detail h2{font-size:29px!important}
 .note-panel{padding:27px 22px!important}
 .contact-info h2{font-size:34px!important;line-height:1.04!important}
 .contact-info>p:not(.eyebrow){margin:16px 0 22px!important;font-size:15px!important}
 .contact-method{padding:18px 20px!important;margin-top:10px!important}
 .contact-form-card{padding:23px 18px!important;border-radius:20px!important}
 .form-heading{margin-bottom:20px!important;padding-bottom:19px!important}
 .contact-form-card form{gap:15px!important}
 .legal-copy{padding:28px 22px!important;border-radius:22px!important}
 .legal-copy h2{margin-top:26px!important;font-size:23px!important}
 body:not(.vision-home) .bv-footer{padding-top:24px!important}
 body:not(.vision-home) .bv-footer-grid{grid-template-columns:1fr 1fr!important;gap:24px 18px!important;padding-bottom:20px!important}
 body:not(.vision-home) .bv-footer-brand{grid-column:1/-1!important}
 body:not(.vision-home) .bv-footer-brand p{max-width:300px!important;margin-top:10px!important}
 body:not(.vision-home) .bv-footer-links h3,body:not(.vision-home) .bv-footer-contact h3{margin-bottom:8px!important}
 body:not(.vision-home) .bv-footer-links a,body:not(.vision-home) .bv-footer-contact a,body:not(.vision-home) .bv-footer-contact span{font-size:11px!important;line-height:1.45!important}
 body:not(.vision-home) .bv-footer-bottom{gap:6px!important;font-size:9px!important}
}
