/* Final WP compatibility and responsive overrides after layout.css */
.av-site{margin:0!important;width:100%;max-width:none!important}
.av-site .cookie-banner[hidden]{display:none!important}
.av-site .nav.is-open{display:flex}
.av-site .hero{min-height:560px}
.av-site .hero h1 em{color:#9de3b7}
.av-site .hero .hero-copy{max-width:780px}
.av-site .format-grid .section-photo,.av-site .service-grid .section-photo{align-self:stretch}
.av-site .section-photo img{object-fit:cover;height:100%}
.av-site .service-card.featured{background:#164e40;color:#fff}
.av-site .service-card.featured p,.av-site .service-card.featured ul{color:#e2ede7}
.av-site .calc-result .estimate-eyebrow small{color:#c9e9db}
.av-site .calc-result #calc-amount{color:#a7e6bf}
.av-site .quick-brief>label{min-width:0}
.av-site .quick-brief input,.av-site .quick-brief select{min-width:0}
.av-site .consent input{min-height:0!important}
.av-site .map-frame{max-height:440px}
.av-site .footer{line-height:1.6}
.av-site .review-card blockquote{font-size:16px}
.av-site .header .nav a{font-size:15.5px}
@media(max-width:820px){.av-site .header .nav a{font-size:16px}.av-site .header{z-index:95}}
@media(max-width:650px){.av-site .hero{min-height:500px}.av-site .hero h1{font-size:clamp(40px,10vw,55px)}.av-site .review-grid{grid-template-columns:1fr}.av-site .calc-result .estimate-metrics{grid-template-columns:1fr 1fr}.av-site .quick-brief{grid-template-columns:1fr}.av-site .company-facts{grid-template-columns:repeat(3,1fr)}}

/* v1.3.0 — fidelity to the supplied brand image and compact content-first rhythm. */
.av-site .brand img{width:182px;height:auto;max-height:68px;object-fit:contain;object-position:left center}
.av-site .footer-brand img{width:208px;height:auto;max-height:68px;object-fit:contain;object-position:left center}
.av-site .social-link{display:inline-flex!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:none!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none;overflow:visible}
.av-site .social-link img{display:block;width:40px!important;height:40px!important;max-width:none!important;object-fit:contain;filter:none}
.av-site .social-link:hover{transform:translateY(-2px)!important}
/* Previously 520/595/640px minimum forced gratuitous blank areas.
   Sections now size to content, with a shared compact vertical rhythm. */
.av-site main > section:not(.hero),.av-site main > .statement{min-height:0!important;padding-block:clamp(29px,3vw,43px)!important}
.av-site main > section .section-heading{margin-bottom:clamp(13px,1.5vw,21px)}
.av-site main > section .section-heading h2{line-height:1.09}
.av-site main > section h2{font-size:clamp(31px,3vw,46px)}
.av-site #company .company-body{gap:12px}
.av-site #company .company-overview{gap:22px}
.av-site #company .company-copy h2{font-size:clamp(30px,3vw,43px);margin-bottom:10px}
.av-site #company .company-copy>p{margin-bottom:10px;line-height:1.46}
.av-site #company .mission-box{font-size:13px;line-height:1.42;padding:10px 13px;margin-bottom:9px}
.av-site #company .company-facts>div{padding-top:8px}
.av-site #company .company-why{padding:18px}
.av-site #company .company-why h3{font-size:24px;margin:6px 0}
.av-site #company .accreditation{padding:10px 15px;margin:0}
.av-site #company .accreditation p{line-height:1.35}
.av-site #services .service-grid>.section-photo,.av-site #services .service-card{min-height:320px}
.av-site #services .service-card{padding:18px}
.av-site #services .service-card h3{margin:10px 0 8px}
.av-site #services .service-card>p{margin-bottom:7px}
.av-site #formats .format-grid>.section-photo,.av-site #formats .format-card{min-height:255px}
.av-site #formats .format-card{padding:18px}
.av-site #formats .format-card h3{margin:10px 0}
.av-site #formats .format-link{margin-top:12px}
.av-site #calculator .calc-form,.av-site #calculator .calc-result{padding:18px}
.av-site #calculator .calculator-layout{gap:12px}
.av-site #calculator .estimate-eyebrow{margin-bottom:10px}
.av-site #calculator .calc-tabs{margin-bottom:10px}
.av-site #calculator .calc-tabs span{padding:8px}
.av-site #calculator .calc-fields{gap:8px}
.av-site #calculator .estimate-count{margin:8px 0}
.av-site #calculator .calc-general,.av-site #calculator .calc-specialist{gap:8px;margin-top:7px}
.av-site #calculator :is(input:not([type=checkbox]):not([type=radio]),select){min-height:38px;padding:7px 11px}
.av-site #calculator .calc-form label{gap:3px}
.av-site #calculator .calc-submit{margin-top:11px;padding:11px 16px}
.av-site #calculator .calc-result>strong{margin-bottom:9px}
.av-site #calculator .estimate-metrics{margin:8px 0;padding:9px 0}
.av-site #calculator .calc-context ul{margin:7px 0}
.av-site #calculator .calc-result>small{margin:8px 0}
.av-site #scope .responsibility-showcase>.section-photo{min-height:250px}
.av-site #scope .responsibility-card{padding:17px}
.av-site #scope .responsibility-card h3{margin:8px 0}
.av-site #scope .responsibility-note{margin-top:8px}
.av-site .situations .situations-grid>div{padding:17px}
.av-site .situations .process-inline{padding:17px;margin-top:13px}
.av-site .reviews .review-card{min-height:0;padding:16px}
.av-site .reviews .review-card blockquote{margin:9px 0;font-size:15px}
.av-site #contact .contact-layout>.section-photo{min-height:385px}
.av-site #contact .lead-form{gap:11px;padding:17px}
.av-site #contact .lead-form :is(input:not([type=checkbox]),select,textarea){min-height:38px;padding:8px 10px}
.av-site #map .map-frame{min-height:325px}
.av-site #map .map-frame iframe{height:350px}
/* Three cards at once; six categories preserved, instead of a section twice as tall. */
.av-site #people .people-grid-rich{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 30px)/3)!important;grid-template-columns:none!important;gap:15px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:1px 1px 8px;scrollbar-width:thin}
.av-site #people .people-card{scroll-snap-align:start;min-height:305px!important;padding:14px;min-width:0}
.av-site #people .people-card .people-media{height:112px;margin:0 0 8px}
.av-site #people .people-card h3{font-size:20px;margin:7px 0}
.av-site #people .people-card :is(p,li){font-size:12px;line-height:1.36}
.av-site #people .people-card ul{margin-bottom:8px}
.av-site #people .quick-brief{margin-top:12px;padding:13px}
.av-site #people .quick-brief h3{font-size:18px}
.av-site #people .quick-brief :is(input,select){min-height:38px;padding:8px}
.av-site .people-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-3px 0 10px;font-size:12px;color:#476c5d}
.av-site .people-carousel-controls .carousel-buttons{display:flex;gap:8px}
.av-site .people-carousel-controls button{width:34px;height:34px;border:1px solid #b7d5c4;border-radius:50%;background:#fff;color:#1a483b;font-size:20px;line-height:1}
.av-site .people-carousel-controls button:hover{background:#def2e4}
/* Legal documents are standalone pages inside the same site styling. */
body.av-legal-page .av-site .legal-copy{width:min(930px,100%)}
body.av-legal-page .av-site .legal-section{min-height:0!important;padding:36px 0 52px!important}
body.av-legal-page .av-site .legal-content h2{font-size:25px;letter-spacing:-.02em}
body.av-legal-page .av-site .legal-copy h1{font-size:clamp(30px,3.1vw,44px)}
@media(max-width:980px){.av-site #people .people-grid-rich{grid-auto-columns:calc((100% - 15px)/2)!important}}
@media(max-width:650px){
 .av-site main>section:not(.hero),.av-site main>.statement{padding-block:30px!important}
 .av-site #people .people-grid-rich{grid-auto-columns:min(89%,360px)!important}
 .av-site #people .quick-brief{padding:15px}
 .av-site #services .service-grid>.section-photo,.av-site #services .service-card{min-height:0}
 .av-site #formats .format-grid>.section-photo,.av-site #formats .format-card{min-height:0}
 .av-site .brand img{width:160px}
 .av-site #calculator .calc-form,.av-site #calculator .calc-result{padding:15px}
 .av-site #map .map-frame iframe{height:320px}
}

/* Explicitly override the desktop quick-brief grid at phone widths. */
@media(max-width:650px){
 body .av-site #people .quick-brief{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 body .av-site #people .quick-brief > *{grid-column:1!important;min-width:0!important;width:100%}
 body .av-site #people .quick-brief label{min-width:0!important}
 body .av-site #people .quick-brief :is(input,select){width:100%;min-width:0;max-width:100%}
}
/* Further tighten input-heavy sections to align better with the format section. */
@media(min-width:1000px){
 .av-site #calculator .calc-form,.av-site #calculator .calc-result{padding:16px}
 .av-site #calculator .calc-fields{gap:6px}
 .av-site #calculator .estimate-count{margin:6px 0}
 .av-site #calculator .calc-general,.av-site #calculator .calc-specialist{margin-top:5px;gap:7px}
 .av-site #calculator :is(input:not([type=checkbox]):not([type=radio]),select){min-height:35px;padding:5px 8px}
 .av-site #calculator .calc-tabs{margin-bottom:7px}
 .av-site #calculator .calc-tabs span{padding:7px}
 .av-site #calculator .calc-submit{margin-top:8px;padding:9px 14px}
 .av-site #contact .lead-form{gap:8px;padding:15px}
 .av-site #contact .lead-form :is(input:not([type=checkbox]),select,textarea){min-height:35px;padding:7px 10px}
 .av-site #contact .lead-form textarea{min-height:70px}
 .av-site #contact .contact-layout>.section-photo{min-height:330px}
 .av-site #scope .responsibility-showcase>.section-photo{min-height:220px}
 .av-site #scope .responsibility-card{padding:14px}
 .av-site #company .accreditation{font-size:12px}
}

/* Desktop forms use two-column field placement without dropping inputs. */
@media(min-width:1100px){
 .av-site #cost-calculator{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;align-content:start}
 .av-site #cost-calculator>.estimate-eyebrow,
 .av-site #cost-calculator>.calc-tabs,
 .av-site #cost-calculator>.calc-fields,
 .av-site #cost-calculator>.calc-submit{grid-column:1/-1;margin:0}
 .av-site #cost-calculator>.estimate-region{grid-column:1}
 .av-site #cost-calculator>.estimate-count{grid-column:2;margin:0}
 .av-site #cost-calculator .calc-fields{gap:7px}
 .av-site #cost-calculator .calc-general{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
 .av-site #cost-calculator .calc-general label{min-width:0}
 .av-site #calculator .section-heading{margin-bottom:12px}
 .av-site #contact .lead-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;align-content:start}
 .av-site #contact .lead-form>.form-title,
 .av-site #contact .lead-form>label:nth-of-type(n+5),
 .av-site #contact .lead-form>.button,
 .av-site #contact .lead-form>.form-note,
 .av-site #contact .lead-form>.av-notice,
 .av-site #contact .lead-form>.form-status{grid-column:1/-1}
 .av-site #contact .lead-form>label:nth-of-type(3){grid-column:1}
 .av-site #contact .lead-form>label:nth-of-type(4){grid-column:2}
 .av-site #contact .lead-form textarea{height:70px;resize:vertical}
 .av-site #contact .lead-form>label:nth-of-type(5){display:none}
 .av-site #scope .responsibility-switch{margin-bottom:10px}
 .av-site #scope .responsibility-note{margin:9px 0}
}

/* Desktop section heights target the "Выбрать формат" reference (~570px).
   Content-dense sections may grow rather than hide interactive content. */
@media(min-width:1100px){
 .av-site main>section:not(.hero){min-height:570px!important}
 .av-site #people .people-card{min-height:255px!important}
 .av-site #people .people-grid{align-items:stretch}
 .av-site .faq-section{display:flex;align-items:center}
 .av-site #contact{display:flex;align-items:center}
}


/* v1.4.0 — structural refinements requested after live preview */
.av-site .hero-mission{margin:14px 0 18px;max-width:700px;padding:12px 16px;border-left:3px solid #98d9b1;background:rgba(236,247,241,.10);color:#eef6f1;font-size:15px;line-height:1.55;font-weight:700}
.av-site #company .company-overview{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
.av-site #company .company-copy>p{max-width:710px}
.av-site #company .accreditation{margin-top:6px}
.av-site #services .section-heading{justify-content:flex-start}
.av-site #services .service-grid{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(0,.92fr)!important;align-items:stretch}
.av-site #services .service-grid>.section-photo{grid-column:auto;min-height:340px;max-height:none;order:3;border-radius:22px;overflow:hidden}
.av-site #services .service-card{min-height:340px}
.av-site #services .service-card h3{font-size:clamp(32px,2.3vw,43px);line-height:1.02}
.av-site #people .section-heading,#scope .section-heading,#reviews .section-heading{justify-content:flex-start}
.av-site #people .people-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.av-site #people .people-card{padding:22px;border-radius:22px;box-shadow:0 10px 22px rgba(17,55,49,.04)}
.av-site #people .people-card h3{font-size:26px;line-height:1.1}
.av-site #people .people-card p,.av-site #people .people-card li{font-size:14px;line-height:1.55}
.av-site #people .quick-brief{background:#edf4ef;padding:18px 20px;border-radius:22px;grid-template-columns:1.35fr repeat(4,minmax(110px,1fr)) auto}
.av-site #people .quick-brief h3{font-size:20px}
.av-site #people .quick-brief p{font-size:13px}
.av-site #calculator .estimate-region{margin-bottom:6px}
.av-site #calculator #calc-outsourcing>.estimate-count{margin:0}
.av-site #calculator #calc-outstaffing{gap:10px}
.av-site #calculator #calc-outstaffing .estimate-count{margin:0}
.av-site #scope .responsibility-showcase{margin-top:8px}
.av-site .footer{padding:34px 0 18px}
.av-site .footer-top{display:grid;grid-template-columns:1.15fr .7fr .95fr;gap:26px;align-items:start}
.av-site .footer-brand{max-width:none}
.av-site .footer-brand p{font-size:15px;line-height:1.55;margin:8px 0 0}
.av-site .footer-links{gap:9px}
.av-site .footer-links strong{font-size:18px}
.av-site .footer-links a,.av-site .footer-links span{font-size:15px;line-height:1.55}
.av-site .footer-bottom{margin-top:22px;padding-top:15px;align-items:center}
.av-site .footer-bottom>div:first-child{font-size:13px;line-height:1.55}
.av-site .footer-legal-links{gap:14px;justify-content:flex-end}
.av-site .footer-legal-links a,.av-site .footer-legal-links button{font-size:13px;line-height:1.4}
@media(min-width:1100px){
 .av-site #cost-calculator{display:flex!important;flex-direction:column;gap:10px!important}
 .av-site #cost-calculator>.estimate-region,.av-site #cost-calculator>.calc-fields,.av-site #cost-calculator>.calc-submit{grid-column:auto!important}
 .av-site #calc-outsourcing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;align-items:end}
 .av-site #calc-outsourcing>.calc-general,.av-site #calc-outsourcing>.calc-specialist{grid-column:1/-1}
 .av-site #calc-outstaffing{display:grid;grid-template-columns:minmax(0,220px) 1fr;align-items:end}
}
@media(max-width:980px){
 .av-site #services .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .av-site #services .service-grid>.section-photo{grid-column:1/-1;order:0;min-height:240px}
 .av-site .footer-top{grid-template-columns:1fr 1fr}
 .av-site .footer-brand{grid-column:1/-1}
 .av-site #people .quick-brief{grid-template-columns:repeat(2,minmax(0,1fr))}
 .av-site #people .quick-brief-copy,.av-site #people .quick-brief>.button{grid-column:1/-1}
}
@media(max-width:650px){
 .av-site .hero-mission{font-size:14px;padding:11px 13px}
 .av-site #services .service-grid{grid-template-columns:1fr!important}
 .av-site #services .service-grid>.section-photo{order:0;grid-column:1/-1;min-height:220px}
 .av-site #people .people-grid{grid-template-columns:1fr}
 .av-site #people .people-card h3{font-size:22px}
 .av-site #people .quick-brief{grid-template-columns:1fr;padding:16px}
 .av-site #calc-outstaffing{grid-template-columns:1fr}
 .av-site .footer{padding:30px 0 16px}
 .av-site .footer-links strong{font-size:16px}
 .av-site .footer-links a,.av-site .footer-links span,.av-site .footer-brand p{font-size:14px}
}


/* v1.5.0 - clear calculator sequence, company mission, responsive cookie settings */
.av-site .hero-mission{display:flex;flex-direction:column;gap:5px;max-width:750px;margin:16px 0 20px;padding:13px 18px;line-height:1.52}
.av-site .hero-mission-title{color:#a1e6bd;font-size:11px;font-weight:800;letter-spacing:.13em}
.av-site #calculator #cost-calculator{display:flex!important;flex-direction:column!important;gap:11px!important;align-self:start;min-width:0}
.av-site #calculator #cost-calculator>.calc-tabs,.av-site #calculator #cost-calculator>.estimate-region,.av-site #calculator #cost-calculator>.calc-fields,.av-site #calculator #cost-calculator>.calc-submit{width:100%;margin:0!important}
.av-site #calculator #calc-outsourcing{grid-column:auto!important;display:grid;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:stretch}
.av-site #calculator #calc-outsourcing>label,.av-site #calculator #calc-outsourcing>.estimate-count,.av-site #calculator #calc-outsourcing>.calc-general,.av-site #calculator #calc-outsourcing>.calc-specialist{width:100%;grid-column:1/-1!important;margin:0!important;min-width:0}
.av-site #calculator #calc-outsourcing>.calc-general{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important}
.av-site #calculator #calc-outsourcing>.calc-specialist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
.av-site #calculator #calc-outstaffing:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px;align-items:start}
.av-site #calculator #calc-outstaffing .estimate-count{grid-column:1!important;max-width:none;margin:0!important}
.av-site #calculator #calc-outstaffing .estimate-count input{width:100%;max-width:none}
.av-site #calculator .calc-form{height:auto;min-height:0!important}
.av-site #calculator .estimate-count small{display:block;margin-top:3px}
.av-site #calculator .calc-general label,.av-site #calculator .calc-specialist label{min-width:0}
.av-site .cookie-modal[hidden]{display:none!important}
.av-site .cookie-modal:not([hidden]){position:fixed!important;inset:0!important;display:flex!important;align-items:center;justify-content:center;z-index:999999!important;padding:18px!important;max-width:none!important;max-height:none!important;background:rgba(7,26,23,.68)!important;overflow-y:auto!important}
.av-site .cookie-panel{position:relative;width:min(100%,510px);max-height:min(720px,calc(100dvh - 36px));overflow-y:auto;background:#fffef9;color:#123e35;border-radius:22px;padding:clamp(20px,3vw,29px);box-shadow:0 28px 75px rgba(3,25,21,.25);font-family:'Open Sans',sans-serif}
.av-site .cookie-panel .cookie-close{position:absolute;right:18px;top:14px;border:0;background:transparent;color:#264c40;font-size:27px;line-height:1;cursor:pointer;padding:5px 10px}
.av-site .cookie-panel h2{font-size:clamp(26px,4vw,34px)!important;margin:9px 0 13px;line-height:1.14}
.av-site .cookie-panel .cookie-explanation{font-size:13px;line-height:1.6;color:#4c6359;margin:0 0 18px}
.av-site .cookie-panel .cookie-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f1f6f1;border:1px solid #d7e5da;padding:14px 16px;border-radius:13px;margin:9px 0}
.av-site .cookie-panel .cookie-choice>div{min-width:0}
.av-site .cookie-panel .cookie-choice strong{display:block;font-size:14px}
.av-site .cookie-panel .cookie-choice small{display:block;font-size:11px;line-height:1.35;color:#5f7569;margin-top:3px}
.av-site .cookie-panel .cookie-choice-state{flex-shrink:0;font-size:11px;font-weight:800;color:#27845b;background:#e1f3e8;border-radius:20px;padding:5px 9px}
.av-site .cookie-panel .cookie-choice-disabled{background:#f9faf8}
.av-site .cookie-panel .cookie-choice-disabled .cookie-choice-state{background:#eaeeeb;color:#687b70}
.av-site .cookie-panel .cookie-dialog-actions{margin-top:18px}
.av-site .cookie-panel .cookie-dialog-actions .button{width:100%;justify-content:center;border-radius:12px;display:flex;align-items:center;gap:10px;text-align:center}
.av-site .cookie-panel .cookie-legal{font-size:11px!important;color:#607467;line-height:1.55;margin:14px 0 0}
.av-site .cookie-panel .cookie-legal a{text-decoration:underline}
body.av-cookie-open{overflow:hidden!important}
.av-site .cookie-banner{max-height:calc(100dvh - 26px);overflow-y:auto;z-index:999998}
@media(max-width:820px){.av-site #calculator #calc-outsourcing>.calc-general{grid-template-columns:repeat(2,minmax(0,1fr))!important}.av-site #calculator #calc-outsourcing>.calc-general label:last-child{grid-column:1/-1}}
@media(max-width:650px){.av-site #calculator #calc-outsourcing>.calc-general,.av-site #calculator #calc-outsourcing>.calc-specialist{grid-template-columns:1fr!important}.av-site #calculator #calc-outsourcing>.calc-general label:last-child{grid-column:auto}.av-site .cookie-modal:not([hidden]){padding:12px!important}.av-site .cookie-panel{max-height:calc(100dvh - 24px);border-radius:18px;padding:21px 17px}.av-site .cookie-panel .cookie-choice{padding:11px 12px}.av-site .cookie-panel .cookie-choice-state{font-size:10px;padding:5px 7px}.av-site .cookie-banner{bottom:12px;width:calc(100% - 24px);padding:15px}.av-site .cookie-actions{flex-wrap:wrap}.av-site .cookie-actions button{flex:1}}

@media(max-width:650px){
 .av-site #company .company-why .value-points>div{min-width:0;grid-template-columns:23px minmax(0,1fr)!important}
 .av-site #company .company-why .value-points b,.av-site #company .company-why .value-points p{min-width:0;overflow-wrap:anywhere;word-break:normal}
}

/* v1.6.0 — compact customer-facing layout and unified labels */
.av-site #company .company-body{display:block!important}
.av-site #company .company-overview{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:clamp(20px,2.2vw,36px);align-items:stretch}
.av-site #company .company-copy{display:flex;flex-direction:column;min-width:0}
.av-site #company .company-copy .accreditation{margin-top:auto!important;padding:14px 16px;grid-template-columns:36px minmax(0,1fr);align-items:start}
.av-site #company .company-copy .accreditation h3{font-size:18px;line-height:1.25}
.av-site #company .company-copy .accreditation p{line-height:1.45}
.av-site #company .company-why{height:100%;display:flex;flex-direction:column;justify-content:space-between;gap:16px;padding:24px}
.av-site #company .company-why .value-points{flex:1;align-items:stretch;margin-bottom:0}
.av-site #company .company-why .value-points>div{min-height:160px;justify-content:flex-start;padding:15px}
.av-site #company .company-why .plain-link{margin-top:auto}
.av-site #people .quick-brief{grid-template-columns:minmax(325px,2fr) repeat(4,minmax(104px,1fr)) minmax(135px,auto);column-gap:12px;align-items:end}
.av-site #people .quick-brief .quick-brief-copy h3{font-size:18px;line-height:1.24;white-space:nowrap;letter-spacing:-.025em;margin:0 0 7px}
.av-site #people .quick-brief .quick-brief-copy p{font-size:12.5px;line-height:1.43}
.av-site #contact .lead-form .av-field-label{display:inline-flex;align-items:baseline;flex-direction:row;gap:4px;width:max-content;max-width:100%;font-size:inherit;font-weight:inherit;line-height:1.3;white-space:nowrap}
.av-site #contact .lead-form .av-required-star{font-size:14px;font-weight:800;line-height:1;color:#cd543e}
@media(max-width:1240px){
 .av-site #people .quick-brief{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:12px}
 .av-site #people .quick-brief .quick-brief-copy{grid-column:1/-1}
 .av-site #people .quick-brief>.button{grid-column:1/-1}
}
@media(max-width:820px){
 .av-site #company .company-overview{grid-template-columns:minmax(0,1fr)!important;gap:17px}
 .av-site #company .company-copy .accreditation{margin-top:15px!important}
 .av-site #company .company-why{height:auto}
 .av-site #company .company-why .value-points>div{min-height:0}
}
@media(max-width:650px){
 .av-site #people .quick-brief{grid-template-columns:minmax(0,1fr)!important}
 .av-site #people .quick-brief .quick-brief-copy h3{white-space:normal;font-size:19px}
 .av-site #company .company-why{padding:17px;gap:12px}
}


/* v1.7.0 — refined company, responsibilities, FAQ and document width */
.av-site #company .statement-grid{gap:0!important}
.av-site #company .company-overview{align-items:stretch!important}
.av-site #company .company-copy{display:flex;flex-direction:column;gap:0}
.av-site #company .company-copy>p{margin-bottom:18px}
.av-site #company .accreditation{margin-top:auto!important}
.av-site #company .company-why{height:100%;justify-content:space-between}
.av-site #company .company-why .value-points{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px}
.av-site #company .company-why .value-points>div{min-height:0!important;padding:17px 15px;gap:10px}
.av-site #company .company-why .value-points b{font-size:16px!important;line-height:1.34!important}
.av-site #company .company-why .value-points p{font-size:14px!important;line-height:1.52!important}
.av-site #company .company-why .value-points>div>span{font-size:12px}
.av-site #company .company-why h3{font-size:clamp(24px,1.9vw,31px)}
.av-site #scope .responsibility-card>span{font-size:12px;letter-spacing:.04em}
.av-site #scope .responsibility-card h3{font-size:clamp(23px,1.8vw,28px);line-height:1.17}
.av-site #scope .responsibility-card li{font-size:16px;line-height:1.52;margin:5px 0}
.av-site #scope .responsibility-card{padding:19px}
.av-site .situations .section-heading h2{font-size:clamp(32px,3vw,44px)}
.av-site .faq-section .faq-layout{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;grid-template-areas:"heading heading" "photo questions";gap:18px 30px;align-items:start!important}
.av-site .faq-section .faq-layout>.faq-heading{grid-area:heading;align-self:start!important}
.av-site .faq-section .faq-layout>.section-photo{grid-area:photo;min-height:365px;height:100%;max-height:none;align-self:stretch}
.av-site .faq-section .faq-layout>.faq-list{grid-area:questions;align-self:stretch!important;min-width:0}
.av-site .faq-section .faq-list details{background:rgba(255,255,255,.68);border:1px solid #cee0d2;border-radius:13px;margin-bottom:9px;padding:0 13px}
.av-site .faq-section .faq-list summary{font-size:17px;line-height:1.38;font-weight:750;padding:13px 4px 7px;cursor:pointer}
.av-site .faq-section .faq-list details[open]>summary{list-style:none}
.av-site .faq-section .faq-list details[open]>summary::-webkit-details-marker{display:none}
.av-site .faq-section .faq-list details p{font-size:15px;line-height:1.48;margin:0 4px 13px;padding:0;color:#38584c}
body.av-legal-page .av-site .legal-container{display:block!important;max-width:100%!important}
body.av-legal-page .av-site .legal-copy{width:100%!important;max-width:none!important;margin:0!important}
body.av-legal-page .av-site .legal-content{max-width:1090px}
body.av-legal-page .av-site .legal-copy h1{max-width:1200px}
@media (max-width:1100px){
 .av-site #company .company-why .value-points{grid-template-columns:1fr!important;gap:9px}
 .av-site #company .company-why .value-points>div{display:block!important;padding:11px 13px}
 .av-site #company .company-why .value-points b{display:block;margin:3px 0 5px}
 .av-site .faq-section .faq-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
}
@media (max-width:820px){
 .av-site .faq-section .faq-layout{grid-template-columns:1fr!important;grid-template-areas:"heading" "photo" "questions";gap:16px}
 .av-site .faq-section .faq-layout>.section-photo{height:220px;min-height:220px!important;max-height:250px}
 .av-site #company .company-copy>p{margin-bottom:16px}
 .av-site #company .accreditation{margin-top:8px!important}
}
@media (max-width:600px){
 .av-site #company .company-why .value-points p{font-size:14px!important}
 .av-site #scope .responsibility-card li{font-size:15px}
 .av-site .faq-section .faq-list summary{font-size:16px}
 .av-site .faq-section .faq-list details p{font-size:14px}
 body.av-legal-page .av-site .legal-copy{padding:22px 18px!important}
}

/* v1.7.0 mobile legal long-word safety */
body.av-legal-page .av-site .legal-copy h1,body.av-legal-page .av-site .legal-content{overflow-wrap:anywhere;word-break:normal}
body.av-legal-page .av-site .legal-copy{min-width:0}


/* v1.8.0 — alternating muted backgrounds, minimal red brand accents */
.av-site main>section:not(.hero):nth-of-type(even){background:#f7f5ee!important}
.av-site main>section:not(.hero):nth-of-type(odd){background:#e9f1e9!important}
.av-site main>section:not(.hero){position:relative}
.av-site main>section:not(.hero)::before{content:"";position:absolute;top:15px;left:max(18px,calc((100% - 1440px)/2));width:28px;height:3px;border-radius:2px;background:#c6413d;opacity:.92;pointer-events:none}
.av-site .hero .status-dot{background:#d55148!important;box-shadow:0 0 0 3px rgba(213,81,72,.16)}
.av-site main>section:not(.hero) .section-photo{background:#dae7dc}

/* v1.8.0 — modal form reuses the existing single WordPress form */
.av-site .av-lead-modal[hidden]{display:none!important}
.av-site .av-lead-modal:not([hidden]){position:fixed!important;inset:0!important;z-index:1000001!important;display:flex!important;justify-content:center!important;align-items:center!important;background:rgba(7,30,26,.75)!important;padding:16px!important;overflow:auto!important}
.av-site .av-lead-dialog{box-sizing:border-box;position:relative;width:min(640px,100%);max-height:calc(100dvh - 32px);min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#fffef9;border-radius:22px;box-shadow:0 24px 80px rgba(0,0,0,.33);padding:24px 26px 26px;color:#103e32;scrollbar-width:thin;}
.av-site .av-lead-dialog-header{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin:0 0 12px}
.av-site .av-lead-eyebrow{font-size:11px;letter-spacing:.10em;color:#327c60;font-weight:800}
.av-site .av-lead-dialog h2{font-size:clamp(25px,3.8vw,33px);line-height:1.14;font-weight:800;margin:5px 0 0;color:#0e3d31;letter-spacing:-.03em}
.av-site .av-lead-close{flex:none;background:#f0f4ed;color:#193f33;border:0;border-radius:50%;width:39px;height:39px;font-size:28px;line-height:39px;text-align:center;cursor:pointer;padding:0}
.av-site .av-lead-close:hover{background:#e1ebe2}
.av-site .av-lead-dialog .lead-form{border:0;box-shadow:none;background:transparent;border-radius:0;padding:0;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 13px!important;min-width:0}
.av-site .av-lead-dialog .lead-form>.form-title{display:none}
.av-site .av-lead-dialog .lead-form>label{min-width:0;grid-column:auto}
.av-site .av-lead-dialog .lead-form>label:has(textarea),.av-site .av-lead-dialog .lead-form>.consent,.av-site .av-lead-dialog .lead-form>.submit,.av-site .av-lead-dialog .lead-form>.av-notice,.av-site .av-lead-dialog .lead-form>.form-status{grid-column:1/-1!important}
.av-site .av-lead-dialog .lead-form>.honeypot{position:absolute!important;left:-5000px!important;visibility:hidden}
.av-site .av-lead-dialog .lead-form label{font-size:13px;gap:5px}
.av-site .av-lead-dialog .lead-form :is(input:not([type=checkbox]),select,textarea){min-height:41px;padding:9px 11px;max-width:100%;font-size:14px}
.av-site .av-lead-dialog .lead-form textarea{min-height:78px;max-height:160px;resize:vertical}
.av-site .av-lead-dialog .lead-form .consent{display:flex!important;flex-direction:row!important;align-items:start;line-height:1.45;margin:0;font-size:12px!important}
.av-site .av-lead-dialog .lead-form>.submit{min-height:44px;margin:0}
.av-site .av-lead-dialog .av-required-star{color:#d14a3e;font-weight:800;margin-left:2px}
body.av-lead-open{overflow:hidden!important}
@media(max-width:650px){
 .av-site .av-lead-modal:not([hidden]){padding:9px!important;align-items:center!important}
 .av-site .av-lead-dialog{width:100%;max-height:calc(100dvh - 18px);border-radius:16px;padding:18px 16px 20px}
 .av-site .av-lead-dialog h2{font-size:26px}
 .av-site .av-lead-dialog .lead-form{grid-template-columns:1fr!important;gap:10px!important}
 .av-site .av-lead-dialog .lead-form>label{grid-column:1/-1!important}
 .av-site .av-lead-dialog .lead-form textarea{min-height:66px}
 .av-site main>section:not(.hero)::before{left:15px;top:11px;width:22px}
}


/* v1.9.0 — final alignment and small-screen repairs */
/* calculator: heading occupies the full row; permit natural wrap only at narrower widths */
.av-site #calculator .section-heading{display:block!important;margin-bottom:18px}
.av-site #calculator .section-heading>div{width:100%;max-width:none}
.av-site #calculator .section-heading h2{font-size:clamp(25px,2.9vw,43px);letter-spacing:-.038em;line-height:1.13}
.av-site #calculator .estimate-eyebrow:has(>small:only-child){justify-content:flex-end;min-height:14px}
@media(min-width:1290px){.av-site #calculator .section-heading h2{white-space:nowrap}}
/* working situations: larger, more substantial cards, without invented business facts */
.av-site .situations .situations-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:20px;margin-top:25px}
.av-site .situations .situations-grid>div{display:flex;flex-direction:column;min-height:335px!important;padding:32px 30px 28px!important;border-radius:22px}
.av-site .situations .situations-grid>div>span{font-size:12px;letter-spacing:.07em;font-weight:800}
.av-site .situations .situations-grid h3{font-size:clamp(23px,2vw,29px);line-height:1.16;margin:30px 0 16px}
.av-site .situations .situations-grid p{margin:auto 0 0;font-size:17px;line-height:1.6;max-width:350px}
/* FAQs single line on wide layouts; responsive wrapping remains natural */
.av-site .faq-section .faq-heading{min-width:0}
.av-site .faq-section .faq-heading h2{font-size:clamp(28px,3vw,43px);line-height:1.13}
@media(min-width:1150px){.av-site .faq-section .faq-heading h2{white-space:nowrap}}
/* contact form: larger controls, readable spacing, avoid empty rows below submit */
.av-site #contact .lead-form{padding:26px 26px 28px!important;gap:16px 18px!important;align-content:center!important}
.av-site #contact .lead-form .form-title{font-size:24px!important;line-height:1.25;margin-bottom:3px}
.av-site #contact .lead-form>label{font-size:14px!important;line-height:1.4;gap:7px}
.av-site #contact .lead-form :is(input:not([type=checkbox]),select){min-height:46px!important;padding:11px 12px!important;font-size:14px!important}
.av-site #contact .lead-form textarea{height:auto!important;min-height:112px!important;resize:vertical;padding:12px!important;font-size:14px!important;line-height:1.5}
.av-site #contact .lead-form .consent{font-size:13px!important;line-height:1.45}
.av-site #contact .lead-form .submit{min-height:50px!important;font-size:15px}
.av-site #contact .lead-form .form-status:empty,.av-site #contact .lead-form .av-notice:empty{display:none!important}
/* footer metadata legible instead of a single run-on line */
.av-site .footer-company-details{display:flex;gap:4px 13px;flex-wrap:wrap;margin:0 0 5px}
.av-site .footer-company-details span{white-space:nowrap}
.av-site .footer-copyright{display:block}
.av-site .footer-legal-links a{background-image:none!important}
.av-site .footer-legal-links a::after,.av-site .footer-legal-links button::after{content:none!important}
/* Preserve logo fidelity: do not exceed original aspect ratio */
.av-site .brand img,.av-site .footer-brand img{object-fit:contain;image-rendering:auto}
/* Responsive: fix older grid forcing accreditation content into a 1-letter-wide column */
@media(max-width:820px){
 .av-site #company .company-overview{display:flex!important;flex-direction:column!important;gap:17px!important}
 .av-site #company .company-copy,.av-site #company .company-why{width:100%;min-width:0;max-width:100%;height:auto!important}
 .av-site #company .accreditation{display:grid!important;grid-template-columns:35px minmax(0,1fr)!important;gap:13px!important;min-width:0!important;max-width:100%!important;padding:16px!important}
 .av-site #company .accreditation>div:last-child{min-width:0!important;width:auto!important;word-break:normal!important;overflow-wrap:break-word!important}
 .av-site #company .accreditation h3{font-size:18px!important;line-height:1.35!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:auto}
 .av-site #company .accreditation p{font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere}
 .av-site .situations .situations-grid{grid-template-columns:1fr!important;gap:14px}
 .av-site .situations .situations-grid>div{min-height:185px!important;padding:22px!important}
 .av-site .situations .situations-grid h3{margin:17px 0 12px}
 .av-site .situations .situations-grid p{font-size:15px;margin:0}
 .av-site .footer-company-details{flex-direction:column;gap:5px;align-items:flex-start}
 .av-site .footer-bottom{gap:16px}
 .av-site .footer-legal-links{width:100%;display:flex;flex-direction:column;gap:10px;align-items:flex-start!important;justify-content:flex-start!important}
 .av-site .footer-legal-links a,.av-site .footer-legal-links button{margin:0!important;padding:0!important;text-align:left;font-size:13px}
}
@media(max-width:650px){
 .av-site #company .company-copy{display:flex!important;flex-direction:column!important;max-width:100%}
 .av-site #company .accreditation{width:100%!important;margin-top:13px!important}
 .av-site #company .accreditation-mark{width:35px;min-width:35px}
 .av-site #company .company-why .value-points{grid-template-columns:1fr!important}
 .av-site #calculator .section-heading h2,.av-site .faq-section .faq-heading h2{white-space:normal!important;font-size:clamp(28px,7.3vw,37px)}
 .av-site #contact .lead-form{padding:22px 18px!important;gap:13px!important}
 .av-site #contact .lead-form .form-title{font-size:20px!important}
 .av-site #contact .lead-form textarea{min-height:104px!important}
 .av-site .brand img{width:144px!important;height:auto!important}
 .av-site .footer-brand img{width:170px!important;height:auto!important}
 .av-site .footer-company-details span{white-space:normal}
}
/* The floating modal has its own deliberate compact spacing, unaffected by contact-section sizing */
.av-site .av-lead-dialog #lead-form{padding:0!important;gap:12px 13px!important;align-content:start!important}
.av-site .av-lead-dialog #lead-form textarea{min-height:82px!important}
/* On phones v1.8 intentionally hides the accreditation mark; content must occupy the full track. */
@media(max-width:650px){
 .av-site #company .accreditation{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 .av-site #company .accreditation>div:last-child{grid-column:1/-1!important;width:100%!important;min-width:0!important}
}
