/* Homepage composition. The site's existing Big Shoulders / Barlow fonts are retained. */
:is(.portfolio,.portfolio-home) .item .img > img { width: 100%; aspect-ratio: 8/5; height: auto; object-fit: cover; }
/* Keep the client mark intact in the first real portfolio project's cover. */
:is(.portfolio,.portfolio-home) img[src$="/autism-md/site-logo.png"] { width: 100%; aspect-ratio: 8/5; height: auto; object-fit: contain; padding: clamp(24px,4vw,58px); box-sizing: border-box; background: #faf8f2; }
:is(.portfolio,.portfolio-home) img[src$="/autism-md/site-preview.webp"] { width: 100%; aspect-ratio: 8/5; height: auto; object-fit: cover; object-position: top; }
/* A single project keeps a normal card width instead of filling the section. */
.portfolio-home :is(.portfolio-home-carousel,.bcore-web-project-carousel).bcore-project-carousel-single { width: 100%; max-width: 640px; margin-inline: auto; }
html[data-theme] .portfolio-home .item .con .title h6 { color: #30363c; }
.rotatex a[data-bcore-video] { display: inline-block; }
[data-bcore-video]:focus-visible { outline: 2px solid #D66A3C; outline-offset: 5px; }
html[data-theme] .bcore-about-page .bcore-about-title-base { color: var(--bcore-text); }
.bcore-about-page .bcore-about-eyebrow { position: relative; font: 500 20px/1.5 "Big Shoulders","BCORE Cyrillic Display",sans-serif; color: #fff; letter-spacing: 1px; margin-bottom: 10px; display: inline-flex; align-items: center; padding-left: 15px; text-transform: uppercase; }
.bcore-about-page .bcore-about-eyebrow::after { content: ''; width: 6px; height: 6px; background: #D66A3C; position: absolute; left: 0; top: 36%; border-radius: 50%; }
.bcore-about-page .bcore-about-video-label { color: #fff; font: 500 20px/1.5 "Big Shoulders","BCORE Cyrillic Display",sans-serif; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.bcore-about-page .bcore-about-image-label { transform: scaleX(-1); font: 500 15px/15px "Big Shoulders","BCORE Cyrillic Display",sans-serif; color: #D66A3C; margin-bottom: 0; position: relative; display: inline-block; text-transform: uppercase; letter-spacing: 4px; }
.bcore-about-page .bcore-about-review-name { color: var(--bcore-text); font: 500 20px/1 "Big Shoulders","BCORE Cyrillic Display",sans-serif; margin-bottom: 0; text-transform: uppercase; letter-spacing: 1px; }
.bcore-about-modal-title { font: 500 20px/1.5 "Big Shoulders","BCORE Cyrillic Display",sans-serif; margin-bottom: 15px; }
body.bcore-video-open { overflow: hidden !important; }
.bcore-video-dialog .YouTubePopUp-Close { border: 0; border-radius: 0; padding: 0; min-width: 24px; background: none; color: #fff; font: 400 32px/24px Arial,sans-serif; }
.bcore-video-dialog .YouTubePopUp-Close:focus-visible { outline: 2px solid #D66A3C; outline-offset: 6px; }
.bcore-video-dialog .bcore-video-external { position: absolute; bottom: 15px; left: 0; color: #fff; font: 400 15px/1.5 "Barlow","BCORE Cyrillic Text",sans-serif; text-decoration: underline; }
/* The homepage card opens the video from the preview area on the physical monitor. */
.bcore-home-video-card { display: block; cursor: pointer; }
.bcore-home-video-card > img { display: block; }
.bcore-home-video-card :is(.bottom-fade,.icon,.title) { pointer-events: none; }
.bcore-home-video-card .bcore-video-origin { position: absolute; left: 29.1%; top: 12.2%; width: 32.8%; height: 26.5%; pointer-events: none; }
.bcore-home-video-card:focus-visible { outline: 3px solid #D66A3C; outline-offset: 5px; }
.bcore-video-expanded { display: grid; place-items: center; padding: 64px 16px; overflow-y: auto; background: rgba(8,10,12,.94); }
.bcore-video-expanded .YouTubePopUp-Content { width: min(1080px, 100%, calc((100svh - 128px) * 16 / 9)); max-width: none; min-height: 200px; height: auto; aspect-ratio: 16 / 9; margin: 0; transform-origin: top left; }
.bcore-video-expanded .YouTubePopUp-Content iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0; border-radius: 10px; background: #101214; }
.bcore-video-expanded .YouTubePopUp-Close { top: -45px; right: 0; bottom: auto; width: 36px; height: 36px; margin: 0; z-index: 3; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: #1c2024; font-size: 28px; }
.bcore-video-expanded .bcore-video-external { bottom: -36px; left: 0; z-index: 3; }
.bcore-video-screen-poster { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 10px; background-color: #f3f3f6; background-repeat: no-repeat; background-size: 305% 377%; background-position: 43.3% 16.6%; opacity: 1; transition: opacity .2s; }
.bcore-video-screen-poster.is-ready { opacity: 0; }
.bcore-video-expanded:is(.is-opening,.is-closing) :is(.YouTubePopUp-Close,.bcore-video-external) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .bcore-video-screen-poster { transition: none; } }
/* The image fades upward into its own space above the video artwork. */
.video-wrapper.section-padding {
  --bcore-video-fade: clamp(120px, 12vw, 180px);
  --bcore-video-padding: 48px;
  margin-top: 40px;
  padding-top: calc(var(--bcore-video-fade) + var(--bcore-video-padding));
  background-color: var(--bcore-bg);
  background-size: 0 0;
}
html[data-theme] .video-wrapper[data-overlay-dark]::before {
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  filter: brightness(.3);
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 calc(100% - var(--bcore-video-fade)), rgba(0,0,0,.9) calc(100% - var(--bcore-video-fade) * .65), rgba(0,0,0,.45) calc(100% - var(--bcore-video-fade) * .35), transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 calc(100% - var(--bcore-video-fade)), rgba(0,0,0,.9) calc(100% - var(--bcore-video-fade) * .65), rgba(0,0,0,.45) calc(100% - var(--bcore-video-fade) * .35), transparent 100%);
  pointer-events: none;
}
/* A slower fade blends the dark photograph into the light page without a visible edge. */
html[data-theme="light"] .video-wrapper.bcore-home-video-banner { --bcore-video-fade: clamp(200px,20vw,300px); padding-top: calc(clamp(120px,12vw,180px) + var(--bcore-video-padding)); }
html[data-theme="light"] .video-wrapper.bcore-home-video-banner[data-overlay-dark]::before {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.015) calc(var(--bcore-video-fade) * .12), rgba(0,0,0,.06) calc(var(--bcore-video-fade) * .25), rgba(0,0,0,.16) calc(var(--bcore-video-fade) * .38), rgba(0,0,0,.34) calc(var(--bcore-video-fade) * .52), rgba(0,0,0,.57) calc(var(--bcore-video-fade) * .68), rgba(0,0,0,.8) calc(var(--bcore-video-fade) * .84), #000 var(--bcore-video-fade), #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.015) calc(var(--bcore-video-fade) * .12), rgba(0,0,0,.06) calc(var(--bcore-video-fade) * .25), rgba(0,0,0,.16) calc(var(--bcore-video-fade) * .38), rgba(0,0,0,.34) calc(var(--bcore-video-fade) * .52), rgba(0,0,0,.57) calc(var(--bcore-video-fade) * .68), rgba(0,0,0,.8) calc(var(--bcore-video-fade) * .84), #000 var(--bcore-video-fade), #000 100%);
}
@media (max-width: 991px) { .video-wrapper.section-padding { --bcore-video-padding: 40px; margin-top: 32px; } }
@media (max-width: 767px) { .video-wrapper.section-padding { --bcore-video-padding: 32px; margin-top: 24px; } }
.bcore-home-about .section-title .bcore-about-title-rest { color: inherit; }
.bcore-home-about-actions { display: contents; }
/* Center the two introductory text blocks only on phones. */
@media (max-width: 767px) {
  :is(.bcore-home-about, .bcore-about-page > .banner-header + .about) .content { text-align: center; }
  .bcore-about-page .bcore-about-benefits { text-align: center; }
  .bcore-about-page .bcore-about-benefits .list { max-width: 500px; margin: 26px auto 0; }
  .bcore-about-page .bcore-about-benefits .list > li { flex-direction: row; align-items: flex-start; gap: 12px; text-align: left; }
  .bcore-about-page .bcore-about-benefits .list > li + li { margin-top: 16px; }
  .bcore-about-page .bcore-about-benefits .list-icon { flex: 0 0 28px; width: 28px; height: 28px; line-height: 28px; margin-top: 2px; }
  .bcore-about-page .bcore-about-benefits .list-icon span { font-size: 12px; }
  .bcore-about-page .bcore-about-benefits .list-text { flex: 1; min-width: 0; margin-left: 0; }
  .bcore-about-page .bcore-about-benefits .list-text p { font-size: 17px; line-height: 1.65; }
  :is(.bcore-home-about, .bcore-about-page > .banner-header + .about) .content > :is(.button-1, .phone) { margin-left: 8px; margin-right: 8px; }
  .bcore-home-about-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
  .bcore-home-about-actions .button-1 { flex: 0 0 auto; margin: 0; margin-bottom: 0 !important; padding: 12px 18px; font-size: 18px; line-height: 1.2; white-space: nowrap; }
  .bcore-home-about-actions .phone { flex: 0 0 auto; margin: 0; font-size: 20px; letter-spacing: .5px; }
  .bcore-home-about-actions .phone a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; white-space: nowrap; }
  .bcore-home-about-actions .phone i { width: 40px; height: 40px; line-height: 40px; margin-right: 0; font-size: 17px; }
}
@media (max-width: 359px) {
  .bcore-home-about-actions { gap: 10px; }
  .bcore-home-about-actions .button-1 { padding-left: 14px; padding-right: 14px; font-size: 18px; }
  .bcore-home-about-actions .phone { font-size: 18px; }
  .bcore-home-about-actions .phone a { gap: 6px; }
  .bcore-home-about-actions .phone i { width: 36px; height: 36px; line-height: 36px; font-size: 16px; }
}
.bcore-services-intro { max-width: 820px; margin: 0 auto 20px; }
.bcore-projects-intro { max-width: 820px; margin: 0 auto 20px; }
.bcore-reviews-intro { max-width: 820px; margin: 0 auto 20px; }
.testimonials .owl-carousel .owl-stage { display: flex; align-items: stretch; }
.testimonials .owl-carousel .owl-stage::after { content: none; }
.testimonials .owl-carousel .owl-item { display: flex; flex-shrink: 0; }
.testimonials .owl-carousel .owl-item > .item { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; min-width: 0; }
.testimonials .owl-carousel .item > .text { flex: 1 1 auto; }
.testimonials .owl-carousel .item > .info { flex-shrink: 0; }
.bcore-review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 30px 20px; }
.bcore-review-grid > .item { display: flex; flex-direction: column; min-width: 0; }
.bcore-review-grid .text { flex: 1 1 auto; }
.bcore-reviews .item .text p { overflow-wrap: anywhere; }
@media (max-width: 991px) { .bcore-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 599px) { .bcore-review-grid { grid-template-columns: minmax(0,1fr); } }
.scrolling.scrolling-ticker .content > span { white-space: nowrap; }
html[data-theme] .testimonials .section-title .bcore-reviews-title-base { color: var(--bcore-text); }
.bcore-projects-actions { margin-top: 30px; text-align: center; }
.bcore-blog-intro { max-width: 820px; margin: 0 auto 20px; }
.bcore-blog-actions { margin-top: 30px; text-align: center; }
html[data-theme] .blog .section-title .bcore-blog-title-base { color: var(--bcore-text); }
.blog .bcore-blog-card { display: block; }
.blog .bcore-blog-card > img { aspect-ratio: 4 / 5; object-fit: cover; }
.blog .bcore-blog-card .title h3 { color: #fff; font-size: 27px; margin-bottom: 0; line-height: 1.4; text-transform: uppercase; letter-spacing: 1px; }
.blog .bcore-blog-card .bcore-blog-category { display: block; color: #D66A3C; font-size: 13px; line-height: 1.4; margin-bottom: 8px; text-transform: uppercase; }
.bcore-blog-card .bcore-blog-category:empty { display: none; }
.blog .bcore-blog-card .icon .icon-show { text-align: center; }
html[data-theme] .blog .bcore-blog-card .icon .icon-show span { font-family: "Big Shoulders",sans-serif; font-weight: 500; line-height: 15px; vertical-align: middle; font-size: 27px; color: #D66A3C; }
.blog .bcore-blog-card .icon .icon-show span i { font-family: "Barlow",sans-serif; font-weight: 400; font-style: normal; font-size: 10px; line-height: 12px; color: #fff; }
.blog .bcore-blog-card:hover .icon .icon-show { display: none; }
.bcore-blog-card:focus-visible { outline: 2px solid #D66A3C; outline-offset: 4px; }
.bcore-partners .wrap .item img { object-fit: contain; }
.lets-talk .bcore-contact-strip { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.lets-talk .bcore-contact-strip .bcore-social-pending { opacity: .6; cursor: default; }
.lets-talk .bcore-contact-strip > a > span { color: inherit; }
@media (max-width: 767px) {
  .lets-talk .bcore-contact-strip { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .lets-talk .bcore-contact-strip .dv { display: none; }
  .lets-talk .bcore-contact-strip .social .icon { min-width: 44px; max-width: 44px; min-height: 44px; max-height: 44px; font-size: 20px; }
  .lets-talk .bcore-contact-strip > a { font-size: 18px; max-width: 100%; overflow-wrap: anywhere; }
}
/* Homepage FAQ: native, keyboard-accessible accordion in the site's typography. */
.bcore-home-faq { background: var(--bcore-bg); }
.bcore-home-blog.section-padding { padding-bottom: 48px; }
.bcore-home-faq.section-padding { padding-top: 48px; }
html[data-theme] .bcore-home-faq .section-title .bcore-faq-title-base { color: var(--bcore-text); }
.bcore-faq-intro { max-width: 820px; margin: 0 auto; }
.bcore-faq-list { max-width: 1040px; margin: 36px auto 0; border-bottom: 1px solid var(--bcore-line); }
.bcore-faq-item { border-top: 1px solid var(--bcore-line); }
.bcore-faq-item summary { display: grid; grid-template-columns: 56px minmax(0,1fr) 32px; gap: 24px; align-items: center; padding: 23px 0; list-style: none; cursor: pointer; color: var(--bcore-text); font-family: inherit; font-size: 18px; font-weight: 500; line-height: 1.5; }
.bcore-faq-item summary::-webkit-details-marker { display: none; }
.bcore-faq-item summary::marker { content: ""; }
.bcore-home-faq .bcore-faq-number { color: #D66A3C; font-family: "Big Shoulders",sans-serif; font-size: 26px; font-weight: 500; line-height: 1; border-right: 1px solid var(--bcore-line); padding: 0 20px 0 0; }
.bcore-faq-question { transition: color .2s ease; }
.bcore-faq-item summary:hover .bcore-faq-question { color: #D66A3C; }
.bcore-faq-item summary:focus-visible { outline: 2px solid #D66A3C; outline-offset: 5px; border-radius: 4px; }
.bcore-home-faq .bcore-faq-toggle { position: relative; width: 30px; height: 30px; border: 1px solid #D66A3C; border-radius: 50%; color: #D66A3C; }
.bcore-faq-toggle::before, .bcore-faq-toggle::after { content: ""; position: absolute; left: 8px; top: 13px; width: 12px; height: 1px; background: currentColor; transition: transform .2s ease,opacity .2s ease; }
.bcore-faq-toggle::after { transform: rotate(90deg); }
.bcore-faq-item[open] .bcore-faq-toggle::after { transform: rotate(0); opacity: 0; }
.bcore-faq-answer { padding: 0 56px 26px 80px; color: var(--bcore-muted); }
.bcore-faq-answer p { margin: 0; }
.bcore-faq-answer .bcore-faq-contact { margin-top: 12px; color: #D66A3C; text-decoration: underline; text-underline-offset: 4px; }
.bcore-faq-item[open] .bcore-faq-answer { animation: bcore-faq-reveal .22s ease-out; }
@keyframes bcore-faq-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) {
  .bcore-faq-list { margin-top: 28px; }
  .bcore-faq-item summary { grid-template-columns: 32px minmax(0,1fr) 28px; gap: 12px; padding: 21px 0; font-size: 17px; }
  .bcore-home-faq .bcore-faq-number { font-size: 23px; padding-right: 10px; }
  .bcore-home-faq .bcore-faq-toggle { width: 27px; height: 27px; }
  .bcore-faq-toggle::before, .bcore-faq-toggle::after { left: 7px; top: 12px; width: 11px; }
  .bcore-faq-answer { padding: 0 0 24px 44px; }
}
@media (max-width: 991px) { .bcore-home-blog.section-padding { padding-bottom: 40px; } .bcore-home-faq.section-padding { padding-top: 40px; } }
@media (max-width: 767px) { .bcore-home-blog.section-padding { padding-bottom: 32px; } .bcore-home-faq.section-padding { padding-top: 32px; } }
@media (prefers-reduced-motion: reduce) { .bcore-faq-item[open] .bcore-faq-answer { animation: none; } .bcore-faq-toggle::before, .bcore-faq-toggle::after, .bcore-faq-question { transition: none; } }
.bcore-team .section-title .bcore-team-title-base, html[data-theme="dark"] .bcore-team .section-title .bcore-team-title-base { color: var(--bcore-text); }
.bcore-team .wrapper img { aspect-ratio: 3 / 4; object-fit: cover; }
.bcore-team[data-member-count="1"] .team-container { width: 100%; max-width: 380px; }
.bcore-team[data-member-count="2"] .team-container { width: 100%; }
.bcore-team-intro { max-width: 820px; margin: 0 auto 36px; }
.bcore-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
@media (max-width: 991px) { .bcore-team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px) { .bcore-team-grid { grid-template-columns: minmax(0,1fr); } }
/* About page: alternating stages sit directly on the curved SVG timeline. */
.bcore-process { background: var(--bcore-bg); }
.bcore-process-layout { display: grid; grid-template-columns: minmax(260px,.85fr) minmax(0,2.15fr); gap: 48px; align-items: center; }
.bcore-process-heading .section-title span { display: block; }
html[data-theme] .bcore-process-heading .section-title .bcore-process-title-base { color: var(--bcore-text); }
.bcore-process-heading p { margin-bottom: 24px; }
.bcore-process-timeline { position: relative; height: 660px; min-width: 0; }
.bcore-process-wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bcore-process-steps { position: relative; width: 100%; height: 100%; padding: 0; margin: 0; list-style: none; scroll-margin-top: 120px; }
.bcore-process-step { position: absolute; width: 20%; height: 0; min-width: 0; }
.bcore-process-step:nth-child(1) { left: 4%; top: 21.969697%; }
.bcore-process-step:nth-child(2) { left: 26%; top: 50.757576%; }
.bcore-process-step:nth-child(3) { left: 52%; top: 24.242424%; }
.bcore-process-step:nth-child(4) { left: 74%; top: 52.272727%; }
.bcore-process-mobile-link { display: none; }
html[data-theme] .bcore-process-icon { position: absolute; left: 0; bottom: 94px; transform: translateX(-50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--bcore-panel); border: 1px solid rgba(214,106,60,.35); color: #D66A3C; }
html[data-theme] .bcore-process-step:nth-child(even) .bcore-process-icon { top: 60px; bottom: auto; }
.bcore-process-icon svg { width: 30px; height: 30px; }
.bcore-process-node { position: absolute; top: 0; left: 0; width: 0; height: 0; }
.bcore-process-node::before { content: ""; position: absolute; left: 0; bottom: 0; height: 94px; border-left: 1px dashed rgba(214,106,60,.65); }
.bcore-process-step:nth-child(even) .bcore-process-node::before { top: 0; bottom: auto; height: 60px; }
html[data-theme] .bcore-process-dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: #D66A3C; box-shadow: 0 0 0 7px var(--bcore-bg),0 0 0 8px rgba(214,106,60,.6); position: absolute; top: 0; left: 0; transform: translate(-50%,-50%); z-index: 2; }
.bcore-process-copy { position: relative; left: 44px; top: -160px; text-align: left; }
.bcore-process-step:nth-child(even) .bcore-process-copy { top: 60px; }
html[data-theme] .bcore-process-number { display: block; font-family: "Big Shoulders",sans-serif; font-size: 26px; font-weight: 500; line-height: 1.2; color: #D66A3C; margin-bottom: 8px; }
.bcore-process-number::after { content: ""; display: inline-block; width: 50px; height: 1px; background: var(--bcore-line); margin-left: 14px; vertical-align: middle; }
.bcore-process-copy h3 { color: var(--bcore-text); font-size: 22px; line-height: 1.3; letter-spacing: .35px; text-transform: uppercase; margin-bottom: 12px; }
.bcore-process-copy p { font-size: 16px; line-height: 1.65; color: var(--bcore-muted); margin-bottom: 0; }
@media (min-width: 768px) { html[lang="ru"] .bcore-process-copy { width: 110%; } }
@media (max-width: 1199px) {
  .bcore-process-layout { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .bcore-process-heading { max-width: 680px; margin: auto; text-align: center; }
  .bcore-process-heading .section-title span { display: inline; }
}
@media (max-width: 991px) and (min-width: 768px) { .bcore-process-timeline { height: 700px; } }
@media (max-width: 767px) {
  .bcore-process-heading .section-title span { display: block; }
  .bcore-process-timeline { height: auto; }
  .bcore-process-wave { display: none; }
  .bcore-process-steps { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; height: auto; }
  .bcore-process .bcore-process-step { position: relative; left: auto; top: auto; width: 100%; height: auto; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 18px; padding-left: 44px; }
  .bcore-process-mobile-link { display: block; position: absolute; left: 0; top: 32px; width: 24px; height: calc(100% + 28px); pointer-events: none; }
  html[data-theme] .bcore-process-icon { position: relative; left: auto; bottom: auto; transform: none; grid-column: 1; grid-row: 1; }
  html[data-theme] .bcore-process-step:nth-child(even) .bcore-process-icon { top: auto; }
  .bcore-process-node { left: 12px; top: 32px; }
  .bcore-process-node::before { content: none; }
  .bcore-process-copy { grid-column: 2; grid-row: 1; left: auto; top: auto; }
  .bcore-process-step:nth-child(even) .bcore-process-copy { top: auto; }
  .bcore-process-copy h3 { font-size: 22px; }
}
/* Why BCORE uses the same plain light/dark surface as the rest of the page. */
.bcore-why { background: var(--bcore-bg); }
html[data-theme] .bcore-why .section-title .bcore-why-heading-base { color: var(--bcore-text); }
.bcore-why-intro { max-width: 820px; margin: 0 auto; }
.bcore-why-heading { margin-bottom: 32px; }
.bcore-why-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 20px; }
.bcore-why .bcore-why-card { padding: 26px 24px 28px; margin-bottom: 0; min-width: 0; border-radius: 20px; outline: 1px solid transparent; outline-offset: -1px; transition: transform .3s ease, box-shadow .3s ease, outline-color .3s ease; }
.bcore-why-card-top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
html[data-theme] .bcore-why-number { font-family: "Big Shoulders",sans-serif; font-size: 28px; font-weight: 500; line-height: 1; color: #D66A3C; }
.bcore-why-rule { flex: 1; height: 1px; background: var(--bcore-line); }
html[data-theme] .bcore-why-symbol { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px; color: #D66A3C; border: 1px solid #D66A3C; border-radius: 50%; }
.bcore-why-symbol svg { width: 30px; height: 30px; }
.bcore-why-symbol { transition: transform .3s ease; }
.bcore-why-card h3 { color: var(--bcore-text); font-size: 22px; line-height: 1.3; letter-spacing: .35px; text-transform: uppercase; margin-bottom: 12px; }
.bcore-why-card p { color: var(--bcore-muted); margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bcore-why-card:hover { transform: translateY(-7px); outline-color: rgba(214,106,60,.55); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
  .bcore-why-card:hover .bcore-why-symbol { transform: rotate(8deg) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .bcore-why .bcore-why-card, .bcore-why-symbol { transition: none; } }
@media (max-width: 1199px) { .bcore-why-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px) { .bcore-why-grid { grid-template-columns: minmax(0,1fr); } .bcore-why .bcore-why-card { padding: 26px 26px 28px; } }
/* Stretch every service card to the tallest card at the current viewport width. */
#services .owl-carousel .owl-stage { display: flex; align-items: stretch; }
#services .owl-carousel .owl-stage::after { content: none; }
#services .owl-carousel .owl-item { display: flex; flex-shrink: 0; }
#services .owl-carousel .owl-item > .item { flex: 1 1 auto; width: 100%; min-width: 0; }
#services .owl-carousel .item .text { overflow-wrap: anywhere; }
.bcore-mobile-language { display: none; }
.navbar .navbar-nav > .nav-item > .nav-link.active { position: relative; }
@media (min-width: 992px) {
  .navbar .navbar-nav > .nav-item > .nav-link.active::after { content: ""; position: absolute; right: 12px; bottom: -8px; left: 12px; height: 2px; background: #D66A3C; }
}
.header.bcore-home-hero, .bcore-home-hero .owl-item { height: 100vh; height: 100svh; min-height: 680px; }
.header.bcore-home-hero .item::before { background: linear-gradient(90deg, rgba(0,0,0,.67), rgba(0,0,0,.54)); opacity: 1; }
.bcore-home-hero .item .caption { top: 53%; }
.bcore-hero-copy { position: relative; isolation: isolate; max-width: 840px; }
@media (min-width: 992px) {
  .bcore-hero-copy::before { content: ""; position: absolute; inset: -45px 5px -40px -90px; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 42% 50%, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 43%, rgba(0,0,0,.38) 65%, transparent 82%); filter: blur(30px); }
  .bcore-hero-copy > * { position: relative; z-index: 1; }
}
.header.bcore-home-hero .caption .bcore-hero-eyebrow { color: #fff; font-size: 19px; letter-spacing: 3px; margin-bottom: 20px; padding-left: 19px; }
.header.bcore-home-hero .caption .bcore-hero-eyebrow::after { width: 7px; height: 7px; top: 38%; }
.header.bcore-home-hero .caption .bcore-hero-title { position: relative; color: #fff; font-family: "Big Shoulders", sans-serif; font-weight: 500; text-transform: uppercase; animation-delay: .4s; font-size: clamp(90px, 8.1vw, 132px); line-height: 1.04; letter-spacing: 0; margin: 0 0 22px; }
.header.bcore-home-hero .caption .bcore-hero-title .bcore-hero-line { display: block; color: #fff; white-space: nowrap; }
.header.bcore-home-hero .caption .bcore-hero-title .bcore-hero-word { color: #fff; }
.header.bcore-home-hero .caption .bcore-hero-title .bcore-hero-accent { color: #D66A3C; }
.header.bcore-home-hero .caption .bcore-hero-description { color: #f5f5f5; font-size: clamp(20px, 1.55vw, 25px); line-height: 1.48; max-width: 660px; padding: 0; margin: 0 0 32px; }
.header.bcore-home-hero .caption .bcore-hero-description::after { content: none; }
.bcore-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.bcore-hero-actions .bcore-hero-button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 66px; padding: 16px 38px; border: 2px solid #D66A3C; border-radius: 999px; font-size: 20px; font-weight: 600; line-height: 1.2; color: #fff; text-transform: none; transition: background .2s, border-color .2s; }
.bcore-hero-actions .bcore-hero-button span { color: inherit; }
.bcore-hero-primary { background: #D66A3C; }
.bcore-hero-actions .bcore-hero-primary:hover { background: #bd582e; border-color: #bd582e; color: #fff; }
.bcore-hero-secondary { background: transparent; min-width: 180px; }
.bcore-hero-actions .bcore-hero-secondary:hover { background: #D66A3C; color: #fff; }
.bcore-hero-actions .bcore-hero-button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.bcore-hero-button svg { flex: none; }
html[lang="ru"] .header.bcore-home-hero .caption .bcore-hero-title { font-family: "Big Shoulders", "BCORE Cyrillic Display", sans-serif; font-size: clamp(52px, 4.9vw, 80px); }
@media (max-width: 1199px) and (min-width: 992px) {
  .header.bcore-home-hero .caption .bcore-hero-title { font-size: 100px; }
  html[lang="ru"] .header.bcore-home-hero .caption .bcore-hero-title { font-size: 64px; }
}
@media (max-width: 991px) {
  .navbar, .nav-scroll { height: 88px; }
  .navbar .container { min-height: 88px; padding: 0 20px; }
  .navbar .logo-wrapper, .nav-scroll .logo-wrapper { padding: 0; }
  .navbar .logo-img, .nav-scroll .logo-img { width: 150px; }
  .navbar .bcore-mobile-language { display: block; margin-left: auto; margin-right: 19px; padding-right: 18px; border-right: 1px solid #D66A3C; }
  .navbar .bcore-mobile-language .nav-link { display: flex; align-items: center; gap: 9px; padding: 5px 0; color: #fff; font-family: "Big Shoulders", sans-serif; font-size: 22px; line-height: 1; }
  .navbar .bcore-mobile-language .nav-link i { padding: 0; font-size: 9px; }
  .navbar .bcore-mobile-language .dropdown-menu { position: absolute; top: calc(100% + 18px); right: 0; left: auto; min-width: 145px; padding: 12px 16px; background: #111418; border: 1px solid #343b43; border-radius: 8px; }
  .navbar .bcore-mobile-language .dropdown-item { padding: 2px 0; }
  .navbar .navbar-nav .bcore-language { display: none; }
  .navbar .navbar-toggler { margin: 0; padding: 8px 0; width: 28px; }
  .navbar .navbar-toggler:focus-visible { outline: 2px solid #D66A3C !important; outline-offset: 5px; }
  .navbar .navbar-toggler .navbar-toggler-icon { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 27px; height: 28px; }
  .navbar .navbar-toggler .navbar-toggler-icon::before, .navbar .navbar-toggler .navbar-toggler-icon::after, .navbar .navbar-toggler .navbar-toggler-icon i { content: ""; display: block; height: 1.5px; width: 27px; background: #fff; }
  .navbar .navbar-toggler .navbar-toggler-icon i::before { content: none; }
  .navbar .navbar-collapse { flex-basis: calc(100% + 40px); margin: 0 -20px; max-height: 70svh; }
  .bcore-home-hero .container { padding-right: 20px; padding-left: 20px; }
  .header.bcore-home-hero .caption .bcore-hero-title { font-size: clamp(70px, 11vw, 100px); }
  html[lang="ru"] .header.bcore-home-hero .caption .bcore-hero-title { font-size: clamp(44px, 6.9vw, 65px); }
  .header.bcore-home-hero .caption .bcore-hero-description { font-size: 20px; max-width: 610px; }
}
@media (max-width: 575px) {
  .header.bcore-home-hero, .bcore-home-hero .owl-item { min-height: 680px; }
  .bcore-home-hero .item { background-position: 64% center; }
  .header.bcore-home-hero .item::before { background: linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.54) 65%, rgba(0,0,0,.45)); }
  .bcore-home-hero .item .caption { top: 55%; }
  .header.bcore-home-hero .caption .bcore-hero-eyebrow { font-size: 16px; letter-spacing: 1.6px; margin-bottom: 20px; padding-left: 14px; }
  .header.bcore-home-hero .caption .bcore-hero-eyebrow::after { width: 5px; height: 5px; }
  .header.bcore-home-hero .caption .bcore-hero-title { font-size: clamp(43px, 14.1vw, 80px); line-height: 1.07; margin-bottom: 19px; }
  html[lang="ru"] .header.bcore-home-hero .caption .bcore-hero-title { font-size: clamp(26px, 8.2vw, 48px); }
  .header.bcore-home-hero .caption .bcore-hero-description { font-size: 17px; line-height: 1.5; margin-bottom: 23px; max-width: 390px; }
  .bcore-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 10px; }
  .bcore-hero-actions .bcore-hero-button { min-width: 0; min-height: 52px; width: 100%; padding: 12px 10px; max-width: 100%; font-size: 14px; line-height: 1.25; text-align: center; }
  .bcore-home-hero .owl-theme .owl-dots { bottom: 25px; }
  .bcore-home-hero .owl-theme .owl-dots .owl-dot span { width: 11px; height: 11px; }
}
@media (max-width: 359px) {
  .navbar .container { padding-right: 16px; padding-left: 16px; }
  .navbar .logo-img, .nav-scroll .logo-img { width: 130px; }
  .navbar .bcore-mobile-language { margin-right: 14px; padding-right: 14px; }
  .bcore-home-hero .container { padding-right: 16px; padding-left: 16px; }
  .header.bcore-home-hero .caption .bcore-hero-description { font-size: 16px; }
}

/* Shared BCORE footer keeps the existing typefaces and dark surface. */
.footer.bcore-footer .top { padding: 64px 0 48px; }
.bcore-footer-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; }
.bcore-footer-grid > .item { min-width: 0; }
.footer.bcore-footer .top .item .logo { display: block; width: 160px; margin-bottom: 20px; }
.footer.bcore-footer .top .item h3 { margin-bottom: 20px; }
.footer.bcore-footer .bcore-footer-brand p { max-width: 340px; margin-bottom: 20px; }
.footer.bcore-footer .top .item .links ul li { margin-bottom: 9px; }
.footer.bcore-footer .top .item .links a { line-height: 1.6; }
html[data-theme] .footer.bcore-footer .bcore-footer-contact > a { display: block; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer.bcore-footer .bcore-footer-contact p { margin-bottom: 8px; }
html[data-theme] .footer.bcore-footer .bcore-footer-contact > a:hover { color: #D66A3C; }
.footer.bcore-footer .top .social-icons li { width: 44px; height: 44px; line-height: 44px; font-size: 17px; }
.footer.bcore-footer .social-icons li > :is(a,span) { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit; border-radius: inherit; }
html[data-theme] .footer.bcore-footer .social-icons .bcore-footer-social-pending { opacity: .55; cursor: default; background: #1b1b1b; color: #fff; }
.footer.bcore-footer .bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.bcore-footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-right: 64px; }
html[data-theme] .bcore-footer-legal a { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.6; }
html[data-theme] .bcore-footer-legal a:hover { color: #D66A3C; }
.bcore-footer a:focus-visible { outline: 2px solid #D66A3C; outline-offset: 5px; }
@media (max-width: 1199px) { .bcore-footer-grid { gap: 28px; } }
@media (max-width: 991px) {
  .bcore-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 48px; }
  .footer.bcore-footer .bottom { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 575px) {
  .footer.bcore-footer .top { padding: 48px 0 36px; }
  .bcore-footer-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .footer.bcore-footer .top .item h3 { margin-bottom: 14px; }
  .footer.bcore-footer .bottom { padding: 22px 0; }
  .bcore-footer-legal { gap: 10px 20px; }
}

/* Longer service headlines keep the established two-line composition. */
.header.bcore-home-hero :is(.bcore-hero-slide-2,.bcore-hero-slide-3) .caption .bcore-hero-title { font-size: clamp(78px, 6.45vw, 108px); }
html[lang="ru"] .header.bcore-home-hero :is(.bcore-hero-slide-2,.bcore-hero-slide-3) .caption .bcore-hero-title { font-size: clamp(52px, 4.25vw, 72px); }
@media (max-width: 575px) {
  .header.bcore-home-hero :is(.bcore-hero-slide-2,.bcore-hero-slide-3) .caption .bcore-hero-title { font-size: clamp(34px, 11.55vw, 64px); }
  html[lang="ro"] .header.bcore-home-hero .bcore-hero-slide-3 .caption .bcore-hero-title { font-size: clamp(30px, calc(13vw - 7px), 64px); }
  html[lang="ru"] .header.bcore-home-hero :is(.bcore-hero-slide-2,.bcore-hero-slide-3) .caption .bcore-hero-title { font-size: clamp(24px, 7.5vw, 43px); }
}

@keyframes bcoreHeroEnter {
  from { opacity: 0; transform: translate3d(0,24px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
.bcore-home-hero .owl-item.active :is(.bcore-hero-eyebrow,.bcore-hero-title,.bcore-hero-description,.bcore-hero-button) {
  animation-name: bcoreHeroEnter;
  animation-duration: .7s;
  animation-timing-function: cubic-bezier(.22,.61,.36,1);
  animation-fill-mode: both;
}
.bcore-home-hero .owl-item.active .bcore-hero-eyebrow { animation-delay: .08s; }
.bcore-home-hero .owl-item.active .bcore-hero-title { animation-delay: .2s; }
.bcore-home-hero .owl-item.active .bcore-hero-description { animation-delay: .35s; }
.bcore-home-hero .owl-item.active .bcore-hero-primary { animation-delay: .5s; }
.bcore-home-hero .owl-item.active .bcore-hero-secondary { animation-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
  .bcore-home-hero .owl-item.active :is(.bcore-hero-eyebrow,.bcore-hero-title,.bcore-hero-description,.bcore-hero-button) { animation: none; }
}

/* Dedicated mobile hero photographs keep the people distant in the portrait frame. */
@media (max-width: 767px) {
  .header.bcore-home-hero .bcore-hero-slide-1 { background-image: url("../img/slider/home-agency-mobile-v2.webp") !important; background-position: center center; }
  .header.bcore-home-hero .bcore-hero-slide-2 { background-image: url("../img/slider/home-web-mobile-v2.webp") !important; background-position: center center; }
  .header.bcore-home-hero .bcore-hero-slide-3 { background-image: url("../img/slider/home-seo-mobile-v2.webp") !important; background-position: center center; }
}

/* Keep the production camera in view within the narrow video banner. */
@media (max-width: 767px) {
  .video-wrapper.section-padding.bcore-home-video-banner { --bcore-video-fade: 48px; --bcore-video-padding: 24px; margin-top: 20px; padding-bottom: 36px; }
  html[data-theme="light"] .video-wrapper.section-padding.bcore-home-video-banner { --bcore-video-fade: 80px; --bcore-video-padding: 16px; padding-top: 96px; padding-bottom: 32px; }
  .bcore-home-video-banner .rotatex { padding-top: 0; padding-bottom: 0; }
  .bcore-home-video-banner .rotate-box,.bcore-home-video-banner .rotate-box .rotate-circle svg { width: 180px; height: 180px; }
  .bcore-home-video-banner .rotate-box .icon { width: 72px; height: 72px; font-size: 32px; }
  html[data-theme] .video-wrapper.bcore-home-video-banner[data-overlay-dark]::before { background-position: 84% center; }
}

/* About hero crops retain the planning materials on phones. */
@media (max-width: 767px) {
  .bcore-about-page .bcore-about-hero { background-position: 72% center; background-attachment: scroll; }
}
