/* Fill photo frames proportionally; logos retain their separate contain rule. */
.scene{background-image:none;display:flex;align-items:center;justify-content:center;overflow:hidden;background-color:#f0f7fc;min-width:0}
.scene-photo{display:block;width:100%;height:100%;min-width:0;flex-shrink:1}
.service-main:hover>.scene{transform:none}
.hero .hero-photo{object-fit:cover;object-position:center;animation:photo-enter 1.2s ease both}
.hero-home .hero-photo{inset:auto 0 0;width:100%;height:calc(100% - 135px);max-width:100%;margin-inline:auto;object-position:center bottom}
.hero-home{height:760px;background:linear-gradient(#fff,#edf7fd)}
.hero-home .hero-wash{background:linear-gradient(180deg,#fff 0%,#ffffffcf 17%,transparent 35%)}
.hero:not(.hero-home) .hero-photo{width:58%;left:auto;right:0;object-position:center}
.service-main{display:flex;flex-direction:column;min-height:0}
.service-main>.scene{position:relative;inset:auto;height:auto;aspect-ratio:1;flex:1}
.service-copy{position:relative;inset:auto;flex-shrink:0;border-radius:0;padding:19px 23px}
.services-grid{grid-template-columns:39% 1fr}
.service-side{grid-template-columns:40% 1fr}
.service-side>.scene{height:100%;min-height:0}
.industry-intro>.scene{height:auto;aspect-ratio:16/9}
.registration-price>.scene{min-height:0;height:auto;aspect-ratio:1;align-self:center}
.accounting-card>.scene{height:auto;aspect-ratio:4/3}
.prepare-card>.scene{mask-image:none;min-height:0;height:auto;aspect-ratio:1;align-self:center;margin:0 0 0 14px;border-radius:12px}
.agency-card>.scene{min-height:0;height:auto;aspect-ratio:1;align-self:center}
.business-consult>img{object-fit:cover;object-position:right center}
.business-consult:before{background:linear-gradient(90deg,#edf9ff 35%,#edf9ffc0 48%,transparent 65%)}
.cta-back{background-size:100% 100%,cover;background-repeat:no-repeat;background-position:center,right center}
.call-card{background-size:100% 100%,cover;background-repeat:no-repeat;background-position:center}
.location-grid>.scene{min-height:0;height:auto;aspect-ratio:1}
.location-grid>.map-card{height:auto;min-height:0;aspect-ratio:1}
@keyframes photo-enter{from{opacity:0}to{opacity:1}}
@media(min-width:1600px){.hero-home{height:800px}}
@media(min-width:701px) and (max-width:1020px){.hero-home{height:670px}.hero-home .hero-photo{height:calc(100% - 150px)}.service-copy{padding:18px 14px;gap:11px}.service-copy h3{font-size:23px}.service-copy p{font-size:15px}.service-copy .icon-badge{width:62px;height:62px}.agency-card>.scene{grid-row:span 2;height:auto;min-height:0;align-self:start}}
@media(max-width:700px){
 .hero,.hero-home,.hero-registration,.hero-accounting,.hero-business,.hero-contact{height:auto;min-height:0;display:flex;flex-direction:column;background:#f2f9fe}
 .hero .hero-inner{order:0;background:white;width:100%;padding:0 18px}
 .hero .hero-copy{padding:25px 0 20px}
 .hero .hero-photo,.hero-home .hero-photo,.hero:not(.hero-home) .hero-photo{position:relative;inset:auto;order:1;width:100%;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;flex-shrink:0;margin:0}
 .hero .hero-wash{display:none}
 .hero-home .hero-sub{max-width:none}
 .hero-home .hero-extra{position:static;margin-top:18px;display:flex;justify-content:center}
 .hero-home .hero-actions{position:static;margin-top:16px;justify-content:center;flex-wrap:wrap}
 .hero-accounting .hero-extra{display:flex;justify-content:flex-start}
 .hero .hero-actions{margin-top:16px;margin-bottom:0}
 .hero-business .hero-extra{margin-top:20px}
 .services-grid{grid-template-columns:1fr}
 .service-main>.scene{flex:none;aspect-ratio:1;height:auto}
 .service-copy{padding:19px 18px;gap:15px}
 .service-side{grid-template-columns:43% 1fr}
 .service-side>.scene{height:100%;min-height:0}
 .industry-intro>.scene{height:auto;aspect-ratio:4/3}
 .registration-price>.scene{min-height:0;height:auto;aspect-ratio:1}
 .accounting-card>.scene{height:auto;aspect-ratio:4/3}
 .agency-card>.scene{grid-row:auto;height:auto;min-height:0;aspect-ratio:1}
 .prepare-card>.scene{width:30%;margin-left:12px;height:auto;aspect-ratio:1}
 .business-consult{display:flex;flex-direction:column;min-height:0;padding:0;background:#edf9ff}
 .business-consult>img{position:relative;inset:auto;order:1;width:100%;max-width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center}
 .business-consult-copy{padding:25px 22px;order:0;width:100%;background:#edf9ff}
 .business-consult:before{display:none}
 .location-grid>.scene,.location-grid>.map-card{height:auto;min-height:0;aspect-ratio:1}
}
@media(prefers-reduced-motion:reduce){.hero .hero-photo{animation:none;transform:none}}
