/* =========================================================
   Extracted inline styles from Webflow HTML
   Sources: index.html + detail_projects.html
   ========================================================= */

/* --- Block 1: head <style> (index.html + detail_projects.html) --- */

#fluid {
  display: block;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  width: 100dvw;
  height: 100dvh;
  transform: translateZ(0);
}

.webgl {
  --about-webgl-mask-size: 180vmax;
  --about-webgl-scale: 1;
  --about-webgl-blur: 10px;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, filter;
}

.webgl.webgl--about-gather {
  filter: blur(var(--about-webgl-blur));
  transform: scale(var(--about-webgl-scale));
  transform-origin: 50% 50%;
  -webkit-mask-image: url("../img/image.svg");
  mask-image: url("../img/image.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 50% 52%;
  mask-position: 50% 52%;
  -webkit-mask-size: var(--about-webgl-mask-size) auto;
  mask-size: var(--about-webgl-mask-size) auto;
  will-change: filter, transform, -webkit-mask-size, mask-size;
}

.stretch-image {
    transition: transform 0.5s ease-out;
    transform-origin: center top;
}

/* Блокировка скролла при интро-анимации */
.locked {
    overflow: visible;
}

/* Исходное состояние для элементов с анимацией проявления */
.fade-in-element {
    opacity: 0;
    filter: blur(15px);
}

.image-fade-in {
    opacity: 0;
    filter: blur(15px);
}

.img-inf-left {
  animation: scroll-left 60s linear infinite;
}
.img-inf-right {
  animation: scroll-right 60s linear infinite;
}

@keyframes scroll-left {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}
@keyframes scroll-right {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.SmartCaptcha-Shield.SmartCaptcha-Shield_position_right {
    display: none;
}

/* Button hover states (detail_projects.html head style) */
.hero-p__site-button,
.hero-p__site-button-2 {
  transition: background 400ms ease, color 400ms ease;
}
.hero-p__site-button:hover,
.hero-p__site-button-2:hover  {
  background: white;
  color: black;
}
.hero-p__site-button path,
.hero-p__site-button-2 path {
  transition: stroke 400ms ease;
}
.hero-p__site-button:hover path,
.hero-p__site-button-2:hover path {
  stroke: black;
}

.project-button {
  overflow: visible !important;
}

/* --- Block 2: .main-css w-embed <style> (both pages, identical) --- */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body,
.body {
  background-color: #000000 !important;
}

input, textarea, select, button {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

input:focus {
    outline: none;
}

body {
 font-size: 1vw;
}

@property --special-card-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* Max Font Size */
@media screen and (min-width:1920px) {
 body { font-size: 19px; }
}
@media screen and (max-width:1919px) {
 body { font-size: 1vw; }
}
@media screen and (max-width:991px) {
 body { font-size: 1.613vw; }
}
@media screen and (max-width:768px) {
 body { font-size: 2.083vw; }
}
@media screen and (max-width:480px) {
 body { font-size: 4.4vw; }
}
@media screen and (max-width:200px) {
 body { font-size: 5.000vw; }
}

*:focus {
    outline: none;
}

a {
    color: inherit;
}

.no-scroll::-webkit-scrollbar {
  display: none;
}
.no-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.projects__head-span-2 {
  width: 100%;
  font-family: Avenirnextcyr, sans-serif;
  font-size: 0.9em;
  font-style: normal;
  font-weight: 400;
  line-height: 0.9;
}

/* --- Block 3: .projects--css w-embed <style> (index.html) --- */

.projects__save-button {
  transition: background 400ms ease, color 400ms ease;
}
.projects__save-button:hover {
  background: white;
  color: black;
}
.projects__save-button path {
  transition: fill 400ms ease;
}
.projects__save-button:hover path {
  fill: black;
}

.projects__content :nth-child(1)  { grid-column: 2 / 4; grid-row: 1; }
.projects__content :nth-child(2)  { grid-column: 1;     grid-row: 2; }
.projects__content :nth-child(3)  { grid-column: 2;     grid-row: 2; }
.projects__content :nth-child(4)  { grid-column: 1 / 4; grid-row: 3; }
.projects__content :nth-child(5)  { grid-column: 2;     grid-row: 4 / 6; }
.projects__content :nth-child(6)  { grid-column: 3;     grid-row: 5; }
.projects__content :nth-child(7)  { grid-column: 2 / 4; grid-row: 6; }
.projects__content :nth-child(8)  { grid-column: 1;     grid-row: 7; }
.projects__content :nth-child(9)  { grid-column: 2;     grid-row: 7; }
.projects__content :nth-child(10) { grid-column: 1 / 4; grid-row: 8; }
.projects__content :nth-child(11) { grid-column: 2;     grid-row: 9 / 11; }
.projects__content :nth-child(12) { grid-column: 3;     grid-row: 10; }
.projects__content :nth-child(13) { grid-column: 2 / 4; grid-row: 11; }
.projects__content :nth-child(14) { grid-column: 1;     grid-row: 12; }
.projects__content :nth-child(15) { grid-column: 2;     grid-row: 12; }
.projects__content :nth-child(16) { grid-column: 1 / 4; grid-row: 13; }
.projects__content :nth-child(17) { grid-column: 2;     grid-row: 14 / 16; }
.projects__content :nth-child(18) { grid-column: 3;     grid-row: 15; }

@media (min-width: 992px) {
  .projects__content-item:nth-of-type(1) .projects__header-container { max-width: 17em !important; }
  .projects__content-item:nth-of-type(2) .projects__header-container { max-width: 13em !important; }
  .projects__content-item:nth-of-type(4) .projects__header-container { max-width: 16em !important; }
}

@media (max-width: 991px) {
  .projects__content .projects__content-item {
    grid-column: 1;
    grid-row: auto;
  }
  .projects__content .projects__content-item:nth-child(even) .projects__case {
    border-radius: 4em;
    height: auto;
    min-height: 55em;
    padding: 3em 3em 3rem;
  }
  .projects__content .projects__content-item:nth-child(even) .projects__case-image {
    border-radius: 2em;
  }
  .projects__content .projects__content-item:nth-child(even) .projects__header-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .projects__content .projects__content-item:nth-child(even) .projects__case {
    border-radius: 2em;
    height: auto;
    min-height: 20em;
    padding: 3em;
  }
  .projects__content .projects__content-item:nth-child(even) .projects__case-image {
    border-radius: 0.75em;
  }
  .projects__content .projects__content-item:nth-child(even) .projects__header-container {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 479px) {
  .projects__content .projects__content-item:nth-child(even) .projects__case {
    border-radius: 2em;
    height: auto;
    min-height: 20em;
    padding: 1.5em;
  }
  .projects__content .projects__content-item:nth-child(even) .projects__case-image {
    border-radius: 0.75em;
  }
  .projects__content .projects__content-item:nth-child(even) .projects__header-container {
    margin-left: 0;
    margin-right: 0;
  }
}

/* --- Block 4: .projects--css w-embed <style> (detail_projects.html) --- */

@media (min-width: 991px) {
  .projects__inner-wrapper-anim {
    position: relative;
    animation: moveLeft 90s linear infinite;
  }
  @keyframes moveLeft {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  .projects__inner-wrapper-anim:hover {
    animation-play-state: paused;
  }
}

@media (min-width: 992px) {
  .projects__content-item--span--2 {
    grid-column: span 2;
  }
  .projects__content-item--span--2 .projects__header-container {
    max-width: 17em !important;
  }
  [data-prj="3d-animacii-dlya-mts"] .projects__header-container {
    max-width: 13em !important;
  }
  [data-prj="cifrovoy-diktankt"] .projects__header-container {
    max-width: 13em !important;
  }
  .none-scroll {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .none-scroll::-webkit-scrollbar {
    display: none;
  }
}

/* --- Block 5: .hero-p--css w-embed <style> (detail_projects.html) --- */

@media (min-width: 991px) {
  .main-block-p__image-wrapper--grid-1 {
      grid-area: 1 / 1 / 2 / 2 !important;
  }
  .main-block-p__image-wrapper--grid-2 {
      grid-area: 1 / 2 / 2 / 4 !important;
  }
}

/* Give a single case visual the same full-width, pill-shaped presence as the cover. */
.main-block-p__bottom--single-media {
  grid-template-columns: minmax(0, 1fr);
}

.main-block-p__bottom--single-media .main-block-p__image-wrapper {
  aspect-ratio: 16 / 9;
  width: 100%;
  min-width: 0;
  border-radius: 40em;
}

.main-block-p__bottom--single-media .main-block-p__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .main-block-p__bottom--single-media .main-block-p__image-wrapper {
    aspect-ratio: 16 / 10;
  }
}

/* --- Local additions: advertising special projects --- */

.special-projects-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.special-projects {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(720px, 1.35fr);
  gap: 64px;
  margin-top: 3rem;
}

.special-projects__intro,
.special-projects__card,
.special-landing__hero,
.special-landing-projects__card {
  container-type: inline-size;
}

body:not(.home) .main {
  position: relative;
  z-index: 1;
}

body:not(.home) .header-top.fade-in-element {
  opacity: 1;
  filter: none;
}

.special-projects__title {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(48px, 11cqi, 88px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.special-projects__text {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(20px, 4.2cqi, 30px);
  line-height: 1.35;
  letter-spacing: 0;
}

.special-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
  min-width: 0;
}

.special-projects__card {
  position: relative;
  display: flex;
  isolation: isolate;
  min-width: 0;
  min-height: 400px;
  padding: 24px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(17, 17, 17, 0.6);
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0);
  transition: border-color 0.35s ease, transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.special-projects__card--compact {
  min-height: 280px;
  gap: 28px;
}

.info-card {
  cursor: default;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  transform: none;
  transition: none;
}

.info-card::before,
.info-card::after {
  display: none;
}

.info-card:hover,
.info-card:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  transform: none;
}

.info-card:hover .special-projects__number,
.info-card:focus-visible .special-projects__number,
.info-card:hover .special-projects__lead,
.info-card:focus-visible .special-projects__lead,
.info-card:hover .special-projects__arrow,
.info-card:focus-visible .special-projects__arrow {
  opacity: inherit;
  transform: none;
}

.about-agency-section {
  overflow: hidden;
}

.about-agency__desktop,
.about-agency__mobile {
  container-type: inline-size;
}

.about-agency__desktop .span-section-ani,
.about-agency__mobile .span-section-ani {
  max-width: min(100%, 24ch);
  white-space: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
  letter-spacing: 0;
}

.about-agency__desktop .span-section-ani {
  font-size: clamp(2.75rem, 5.6cqi, 5.25rem);
  line-height: 0.98;
}

.about-agency__desktop .span-section-ani.add-right {
  margin-left: min(12vw, 2.5em);
}

.about-agency__desktop .section-box-text-down {
  margin-top: clamp(3rem, 8vw, 7rem);
}

.about-agency__desktop .p-sd-min.fix-right,
.about-agency__mobile .p-sd-min.fix-right {
  max-width: 42ch;
  margin-left: min(44vw, 32rem);
}

.trust-section,
.faq-section {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.trust-block,
.faq-block {
  align-items: start;
}

.trust-block {
  display: block;
}

.trust-block .special-projects__intro {
  width: 100%;
  max-width: none;
  container-type: normal;
}

.trust-block .special-projects__title {
  max-width: min(100%, 1180px);
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  font-weight: 300;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.trust-block .special-projects__text {
  max-width: 56ch;
  margin-top: clamp(3rem, 8vw, 7rem);
  margin-left: min(38vw, 32rem);
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.125em;
  line-height: 1.3;
}

.trust-slider-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: clamp(36px, 4.4vw, 60px);
  overflow: visible;
}

.trust-slider {
  width: 100%;
  overflow: visible;
  padding: 12px max(24px, 5vw) 20px;
}

.trust-slider .swiper-wrapper {
  align-items: center;
}

.trust-slide {
  display: flex;
  width: min(820px, 76vw);
  height: auto;
  min-height: clamp(390px, 34vw, 560px);
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 54%, rgba(255, 255, 255, 0.05));
  color: #fff;
  container-type: inline-size;
  opacity: 0.42;
  filter: blur(0.2px);
  transition: opacity 0.45s ease, filter 0.45s ease, border-color 0.45s ease, background 0.45s ease;
}

.trust-slide:nth-child(1) {
  --trust-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' fill-rule='evenodd' d='M32 4a28 28 0 1 0 0 56 28 28 0 0 0 0-56Zm0 8a20 20 0 1 1 0 40 20 20 0 0 1 0-40Zm0 12a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z'/%3E%3C/svg%3E");
  width: min(760px, 68vw);
  min-height: clamp(430px, 36vw, 600px);
  border-radius: 8px 8px 120px 8px;
}

.trust-slide:nth-child(2) {
  --trust-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' d='M32 8a10 10 0 1 1 0 20 10 10 0 0 1 0-20ZM14 18a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm36 0a8 8 0 1 1 0 16 8 8 0 0 1 0-16ZM8 50c0-8 5-13 13-13h2c2 0 4 1 5 2-3 3-5 7-5 13v2H10a2 2 0 0 1-2-2v-2Zm33-13h2c8 0 13 5 13 13v2a2 2 0 0 1-2 2H41v-2c0-6-2-10-5-13 1-1 3-2 5-2Zm-9-3c9 0 15 6 15 16v4H17v-4c0-10 6-16 15-16Z'/%3E%3C/svg%3E");
  width: min(900px, 78vw);
  min-height: clamp(360px, 30vw, 500px);
  border-radius: 120px 8px 120px 8px;
}

.trust-slide:nth-child(3) {
  --trust-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect fill='black' x='8' y='8' width='20' height='20' rx='5'/%3E%3Crect fill='black' x='36' y='8' width='20' height='20' rx='5'/%3E%3Crect fill='black' x='8' y='36' width='20' height='20' rx='5'/%3E%3Crect fill='black' x='36' y='36' width='20' height='20' rx='5'/%3E%3Cpath fill='black' d='M28 16h8v4h-8v-4Zm8 28h-8v4h8v-4ZM16 28h4v8h-4v-8Zm28 0h4v8h-4v-8Z'/%3E%3C/svg%3E");
  width: min(640px, 58vw);
  min-height: clamp(500px, 40vw, 640px);
  border-radius: 120px;
}

.trust-slide:nth-child(4) {
  --trust-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='black' fill-rule='evenodd' d='M32 6a26 26 0 1 0 0 52 26 26 0 0 0 0-52Zm0 8a18 18 0 1 1 0 36 18 18 0 0 1 0-36Zm13 13-4-4-12 13-6-6-4 4 10 10 16-17Z'/%3E%3C/svg%3E");
  width: min(840px, 74vw);
  min-height: clamp(390px, 32vw, 540px);
  border-radius: 8px 120px 8px 120px;
}

.trust-slide.swiper-slide-prev,
.trust-slide.swiper-slide-next {
  opacity: 0.72;
}

.trust-slide.swiper-slide-active {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 56%, rgba(255, 255, 255, 0.07));
  opacity: 1;
  filter: none;
}

.trust-slide__mark {
  display: block;
  width: clamp(34px, 9cqi, 58px);
  aspect-ratio: 1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.32), #fff 28%, rgba(186, 103, 79, 0.92) 48%, rgba(133, 120, 205, 0.9) 68%, #fff 86%);
  background-size: 260% 100%;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.18));
  -webkit-mask: var(--trust-icon, url("../img/image.svg")) center / contain no-repeat;
  mask: var(--trust-icon, url("../img/image.svg")) center / contain no-repeat;
  animation: trust-mark-shimmer 4.6s ease-in-out infinite;
}

@keyframes trust-mark-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
    opacity: 0.72;
  }

  45% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

.trust-slide__title {
  max-width: 9ch;
  margin: auto 0 0;
  color: #fff;
  font-size: clamp(44px, 14cqi, 82px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.trust-slide__text {
  max-width: 30ch;
  margin: clamp(28px, 7cqi, 48px) 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(19px, 5cqi, 28px);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: 0;
}

.trust-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.trust-slider__button {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.trust-slider__button:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.trust-slider__button.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.trust-slider__pagination {
  display: flex;
  align-items: center;
  gap: 9px;
  width: auto !important;
}

.trust-slider__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.42);
  opacity: 1;
}

.trust-slider__pagination .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.faq-accordion {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-question {
  position: relative;
  display: block;
  margin: 0;
  padding: 28px 56px 28px 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: clamp(24px, 3.2cqi, 38px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
  list-style: none;
  text-wrap: balance;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 28px;
  right: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9em;
  font-weight: 300;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  max-width: 720px;
  padding: 0 56px 30px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(18px, 2.1cqi, 25px);
  font-weight: 300;
  line-height: 1.38;
  letter-spacing: 0;
}

.faq-answer p {
  margin: 0;
}

.special-projects__card::before,
.special-projects__card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.special-projects__card::before {
  inset: -2px;
  z-index: -1;
  background: conic-gradient(
    from var(--special-card-angle),
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.18) 13%,
    rgba(255, 255, 255, 0.98) 18%,
    rgba(220, 226, 255, 0.38) 23%,
    rgba(255, 255, 255, 0.06) 34%,
    rgba(255, 255, 255, 0.02) 100%
  );
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.special-projects__card::after {
  z-index: 1;
  padding: 1px;
  background: conic-gradient(
    from var(--special-card-angle),
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.92) 11%,
    rgba(231, 235, 255, 0.98) 14%,
    rgba(255, 255, 255, 0.18) 26%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.5) 58%,
    rgba(255, 255, 255, 0.08) 72%,
    rgba(255, 255, 255, 0.08)
  );
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity 0.35s ease;
}

.special-projects__card:hover,
.special-projects__card:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(19, 19, 19, 0.6);
  box-shadow: 0 0 34px rgba(255, 255, 255, 0.08), inset 0 0 28px rgba(255, 255, 255, 0.04);
  transform: translateY(-0.25rem);
}

.special-projects__card:hover::before,
.special-projects__card:focus-visible::before {
  opacity: 0.72;
  animation: special-card-orbit 4s linear infinite;
}

.special-projects__card:hover::after,
.special-projects__card:focus-visible::after {
  opacity: 1;
  animation: special-card-orbit 4s linear infinite;
}

.special-projects__card > * {
  position: relative;
  z-index: 2;
}

.special-projects__number {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  transition: color 0.35s ease;
}

.special-projects__name {
  display: block;
  margin-top: auto;
  margin-bottom: 24px;
  font-size: clamp(34px, 15cqi, 54px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
  transition: text-shadow 0.35s ease;
}

.special-projects__lead {
  display: block;
  max-width: 100%;
  min-height: calc(1em * 1.32 * 6);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 6.8cqi, 24px);
  line-height: 1.32;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  transition: color 0.35s ease;
}

.special-projects__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  display: block;
  width: 22px;
  height: 22px;
  opacity: 0.72;
  transform-origin: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.special-projects__card:hover .special-projects__number,
.special-projects__card:focus-visible .special-projects__number,
.special-projects__card:hover .special-projects__lead,
.special-projects__card:focus-visible .special-projects__lead {
  color: rgba(255, 255, 255, 0.9);
}

.special-projects__card:hover .special-projects__arrow,
.special-projects__card:focus-visible .special-projects__arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

@keyframes special-card-orbit {
  100% {
    --special-card-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .special-projects__card,
  .special-projects__card::before,
  .special-projects__card::after,
  .special-projects__arrow {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

.special-landing {
  min-height: 76vh;
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.special-landing::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: -16vw;
  right: 14vw;
  bottom: -24vh;
  z-index: -1;
  height: 56vh;
  background:
    radial-gradient(ellipse at 22% 78%, rgba(184, 78, 96, 0.48), transparent 58%),
    radial-gradient(ellipse at 58% 52%, rgba(94, 84, 164, 0.4), transparent 62%);
  filter: blur(48px);
  opacity: 0.92;
}

.special-landing__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5rem;
  color: rgba(255, 255, 255, 0.62);
}

.special-landing__back {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.special-landing__back:hover {
  color: #fff;
}

.special-landing__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.58fr);
  gap: 5rem;
  align-items: center;
  min-width: 0;
  container-type: inline-size;
}

.special-landing__title {
  margin: 0;
  color: #fff;
  min-width: 0;
  max-width: 820px;
  font-size: clamp(48px, 8cqi, 92px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.special-landing__text {
  color: rgba(255, 255, 255, 0.76);
  min-width: 0;
  max-width: 560px;
  font-size: clamp(20px, 2.35cqi, 28px);
  line-height: 1.35;
  letter-spacing: 0;
}

.special-landing__text p {
  margin: 0;
}

.special-landing-services {
  padding-top: 2rem;
  padding-bottom: 7rem;
  position: relative;
  z-index: 1;
}

.special-landing-services__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.62fr);
  gap: 5rem;
  align-items: end;
  margin-top: 3rem;
}

.special-landing-services__title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 6cqi, 76px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.special-landing-services__note {
  max-width: 42ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(18px, 1.7cqi, 22px);
  line-height: 1.38;
  letter-spacing: 0;
}

.special-landing-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.special-landing-services__card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.035);
  container-type: inline-size;
  overflow: hidden;
}

.special-landing-services__card:nth-child(4n + 1) {
  border-radius: 8px 8px 92px 8px;
}

.special-landing-services__card:nth-child(4n + 2) {
  border-radius: 92px 8px 92px 8px;
}

.special-landing-services__card:nth-child(4n + 3) {
  border-radius: 92px 92px 92px 8px;
}

.special-landing-services__card:nth-child(4n) {
  border-radius: 92px;
}

.special-landing-services__card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 2cqi, 2rem);
}

.special-landing-services__name {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 9cqi, 46px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.special-landing-services__price {
  flex: 0 0 auto;
  justify-self: end;
  max-width: 100%;
  margin-top: 0.1em;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 4.4cqi, 22px);
  font-weight: 300;
  line-height: 1.1;
  white-space: nowrap;
}

.special-landing-services__currency {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92em;
  font-weight: 300;
  line-height: 1;
}

.icon-se-name--quiet {
  position: relative;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50% 50% 50% 14%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.24) 34%, transparent 58%);
  box-shadow:
    0 0 18px rgba(255, 255, 255, 0.18),
    inset 0 0 14px rgba(255, 255, 255, 0.12);
  transform: rotate(45deg);
}

.icon-se-name--quiet::after {
  content: "";
  position: absolute;
  inset: 37%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.42);
}

.special-landing-services__description {
  max-width: 46ch;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(18px, 1.7cqi, 22px);
  line-height: 1.38;
  letter-spacing: 0;
}

body.home .main,
body.tax-project_special .main {
  position: relative;
  z-index: 101;
}

.header-top {
  z-index: 200;
}

.special-landing-focus,
.special-landing-process {
  position: relative;
  z-index: 101;
  padding-bottom: 8rem;
}

.special-landing-focus__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(4rem, 8vw, 9rem);
  margin-top: 3rem;
}

.special-landing-focus__intro {
  align-self: start;
  position: sticky;
  top: 7rem;
}

.special-landing-focus__title,
.special-landing-process__title {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 5.4cqi, 72px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.special-landing-focus__text,
.special-landing-process__text {
  max-width: 48ch;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(18px, 1.7cqi, 22px);
  line-height: 1.38;
  letter-spacing: 0;
}

.special-landing-focus__list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.special-landing-focus__item {
  display: grid;
  grid-template-columns: 3.5rem minmax(12rem, 0.78fr) minmax(14rem, 1fr);
  gap: clamp(1.25rem, 2.8vw, 3rem);
  align-items: center;
  min-height: 190px;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.special-landing-focus__number,
.special-landing-process__number {
  align-self: start;
  color: rgba(255, 255, 255, 0.45);
  font-size: 16px;
  line-height: 1;
}

.special-landing-focus__name,
.special-landing-process__name {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3cqi, 42px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.special-landing-focus__description,
.special-landing-process__description {
  max-width: 40ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(17px, 1.55cqi, 21px);
  line-height: 1.4;
  letter-spacing: 0;
}

.special-landing-process__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.62fr);
  gap: 5rem;
  align-items: end;
  margin-top: 3rem;
}

.special-landing-process__text {
  margin-top: 0;
}

.special-landing-process__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 3.5rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.special-landing-process__step {
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  padding: 1.75rem clamp(1rem, 1.8vw, 1.75rem) 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.special-landing-process__step:first-child {
  border-left: 0;
}

.special-landing-process__step .special-landing-process__name {
  margin-top: clamp(3.5rem, 5vw, 5rem);
  font-size: clamp(25px, 2.5cqi, 38px);
}

.special-landing-process__description {
  margin-top: 1.25rem;
  font-size: clamp(16px, 1.3cqi, 19px);
}

.special-landing-projects {
  padding-bottom: 8rem;
}

.special-landing-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.special-landing-projects__card {
  display: grid;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  background: #101010;
  container-type: inline-size;
}

.special-landing-projects__card:nth-child(4n + 1) {
  border-radius: 8px 8px 92px 8px;
}

.special-landing-projects__card:nth-child(4n + 2) {
  border-radius: 92px 8px 92px 8px;
}

.special-landing-projects__card:nth-child(4n + 3) {
  border-radius: 92px 92px 92px 8px;
}

.special-landing-projects__card:nth-child(4n) {
  border-radius: 92px;
}

.special-landing-projects__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #191919;
}

.special-landing-projects__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-landing-projects__body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.special-landing-projects__title {
  font-size: clamp(26px, 9cqi, 44px);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.special-landing-projects__excerpt,
.special-landing-projects__highlight,
.special-landing-projects__empty {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 4.8cqi, 23px);
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.special-landing-projects__empty {
  max-width: 40rem;
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
}

@media (max-width: 1199px) {
  .special-projects {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .special-projects__title {
    max-width: 760px;
    font-size: clamp(44px, 9cqi, 72px);
  }

  .trust-block .special-projects__title {
    max-width: min(100%, 1180px);
    font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  }

  .special-projects__text {
    max-width: 760px;
    font-size: clamp(20px, 3.5cqi, 28px);
  }

  .trust-block .special-projects__text {
    max-width: 56ch;
    font-size: 1.125em;
  }

  .special-landing__hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .special-landing__title {
    max-width: 760px;
    font-size: clamp(42px, 9cqi, 72px);
  }

  .special-landing__text {
    max-width: 760px;
    font-size: clamp(20px, 3.2cqi, 28px);
  }

  .special-landing-services__head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .special-landing-services__grid {
    grid-template-columns: 1fr;
  }

  .special-landing-focus__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .special-landing-focus__intro {
    position: static;
  }

  .special-landing-process__head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .special-landing-process__text {
    margin-top: 0;
  }

  .special-landing-process__steps {
    grid-template-columns: 1fr;
  }

  .special-landing-process__step {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1rem 1.5rem;
    min-height: 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .special-landing-process__step:first-child {
    border-top: 0;
  }

  .special-landing-process__step .special-landing-process__name {
    margin-top: 0;
  }

  .special-landing-process__description {
    grid-column: 2;
    margin-top: 0;
  }
}

@media (max-width: 991px) {
  .about-agency-section {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .about-agency__desktop .span-section-ani,
  .about-agency__mobile .span-section-ani {
    max-width: 100%;
    font-size: clamp(2.5rem, 11cqi, 5rem);
  }

  .about-agency__desktop .span-section-ani.add-right,
  .about-agency__mobile .span-section-ani.add-right {
    margin-left: 0;
  }

  .about-agency__desktop .section-box-text-down,
  .about-agency__mobile .section-box-text-down {
    margin-top: 2.5rem;
  }

  .about-agency__desktop .p-sd-min.fix-right,
  .about-agency__mobile .p-sd-min.fix-right {
    max-width: 38rem;
    margin-left: 0;
  }

  .trust-block .special-projects__intro {
    max-width: 100%;
  }

  .trust-block .special-projects__title {
    max-width: 100%;
    font-size: clamp(2.5rem, 11vw, 5rem);
  }

  .trust-block .special-projects__text {
    max-width: 38rem;
    margin-top: 2.5rem;
    margin-left: 0;
    font-size: 1.125em;
  }

  .special-projects,
  .special-landing__hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .special-projects__grid,
  .special-landing-projects__grid,
  .special-landing-services__grid {
    grid-template-columns: 1fr;
  }

  .special-landing-focus__item {
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 1rem 1.5rem;
    min-height: 0;
  }

  .special-landing-focus__description {
    grid-column: 2;
  }

  .trust-slider-wrap {
    overflow: hidden;
  }

  .trust-slider {
    padding: 4px 0 10px;
  }

  .trust-slide {
    width: 100% !important;
    min-height: 360px;
    padding: 28px;
    border-radius: 8px 8px 72px 8px;
  }

  .trust-slide:nth-child(2) {
    border-radius: 72px 8px 72px 8px;
  }

  .trust-slide:nth-child(3) {
    border-radius: 72px;
  }

  .trust-slide:nth-child(4) {
    border-radius: 8px 72px 8px 72px;
  }

  .trust-slide__title {
    font-size: clamp(38px, 13cqi, 58px);
  }

  .trust-slide__text {
    font-size: clamp(18px, 5.2cqi, 24px);
  }

  .trust-slider__controls {
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
  }

  .trust-slider__button {
    width: 48px;
    height: 48px;
  }

  .faq-question {
    padding: 22px 44px 22px 0;
    font-size: clamp(22px, 6cqi, 32px);
    font-weight: 300;
  }

  .faq-question::after {
    top: 22px;
  }

  .faq-answer {
    padding-right: 44px;
    padding-bottom: 24px;
    font-size: clamp(17px, 4.4cqi, 22px);
  }

  .special-projects__title,
  .special-landing__title {
    font-size: clamp(42px, 10cqi, 68px);
  }

  .special-projects__card {
    min-height: 320px;
  }

  .special-projects__lead {
    min-height: 0;
  }

  .special-landing-services__card:nth-child(n),
  .special-landing-projects__card:nth-child(n) {
    border-radius: 8px 8px 72px 8px;
  }

  .special-landing-services__card:nth-child(4n + 2),
  .special-landing-projects__card:nth-child(4n + 2) {
    border-radius: 72px 8px 72px 8px;
  }

  .special-landing-services__card:nth-child(4n + 3),
  .special-landing-projects__card:nth-child(4n + 3) {
    border-radius: 72px 72px 72px 8px;
  }

  .special-landing-services__card:nth-child(4n),
  .special-landing-projects__card:nth-child(4n) {
    border-radius: 72px;
  }
}

@media (max-width: 479px) {
  .faq-accordion {
    background: rgba(0, 0, 0, 0.34);
  }

  .faq-item[open] {
    background: rgba(0, 0, 0, 0.62);
  }

  .special-projects-section,
  .special-landing-projects {
    padding-bottom: 5rem;
  }

  .special-landing {
    min-height: auto;
    padding-top: 7rem;
  }

  .special-landing::before {
    left: -34vw;
    right: -20vw;
    bottom: -18vh;
    height: 48vh;
    filter: blur(34px);
  }

  .special-projects__title,
  .special-landing__title {
    font-size: clamp(34px, 11cqi, 48px);
  }

  .trust-block .special-projects__title {
    font-size: clamp(2.5rem, 11vw, 5rem);
  }

  .trust-block .special-projects__text {
    margin-top: 2.5rem;
    font-size: 1.125em;
  }

  .special-projects__name {
    font-size: clamp(30px, 13cqi, 42px);
  }

  .special-landing-services {
    padding-bottom: 5rem;
  }

  .special-landing-focus,
  .special-landing-process {
    padding-bottom: 5rem;
  }

  .special-landing-services__title {
    font-size: clamp(34px, 11cqi, 48px);
  }

  .special-landing-focus__title,
  .special-landing-process__title {
    font-size: clamp(34px, 11cqi, 48px);
  }

  .special-landing-focus__text,
  .special-landing-process__text {
    font-size: clamp(17px, 4.6cqi, 20px);
  }

  .special-landing-focus__item,
  .special-landing-process__step {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.85rem 1rem;
  }

  .special-landing-focus__name,
  .special-landing-process__name,
  .special-landing-process__step .special-landing-process__name {
    font-size: clamp(25px, 8cqi, 34px);
  }

  .special-landing-focus__description,
  .special-landing-process__description {
    font-size: clamp(16px, 4.5cqi, 19px);
  }

  .special-landing-services__card {
    min-height: 260px;
    padding: 22px;
  }

  .special-landing-services__card:nth-child(n),
  .special-landing-projects__card:nth-child(n) {
    border-radius: 8px 8px 48px 8px;
  }

  .special-landing-services__card:nth-child(4n + 2),
  .special-landing-projects__card:nth-child(4n + 2) {
    border-radius: 48px 8px 48px 8px;
  }

  .special-landing-services__card:nth-child(4n + 3),
  .special-landing-projects__card:nth-child(4n + 3) {
    border-radius: 48px 48px 48px 8px;
  }

  .special-landing-services__card:nth-child(4n),
  .special-landing-projects__card:nth-child(4n) {
    border-radius: 48px;
  }

  .special-landing-services__card-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .special-landing-services__name {
    max-width: 100%;
    font-size: clamp(24px, 10cqi, 34px);
  }

  .special-landing-services__price {
    font-size: clamp(16px, 5.4cqi, 21px);
  }

  .special-landing-services__description {
    font-size: clamp(17px, 4.6cqi, 20px);
  }
}

/* Mobile rendering: stable cards and a soft fallback for limited WebGL devices. */
@media (max-width: 991px) {
  .trust-slider-wrap,
  .trust-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .trust-slider {
    padding: 4px 0 10px;
  }

  .trust-slider .swiper-wrapper {
    align-items: stretch;
  }

  .trust-slide,
  .trust-slide:nth-child(n) {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    min-height: clamp(350px, 108vw, 430px);
    height: auto;
    box-sizing: border-box;
    padding: clamp(24px, 7vw, 32px);
    overflow: hidden;
    background:
      radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.07), transparent 34%),
      linear-gradient(145deg, rgba(24, 24, 24, 0.9), rgba(8, 8, 8, 0.78));
  }

  .trust-slide__title,
  .trust-slide__text {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .trust-slider__controls {
    width: 100%;
    box-sizing: border-box;
  }

  .special-landing-services__card {
    background:
      radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.07), transparent 32%),
      linear-gradient(145deg, rgba(22, 22, 22, 0.9), rgba(8, 8, 8, 0.8));
  }

  .webgl {
    filter: blur(8px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .webgl::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -22%;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 24% 36%, rgba(160, 79, 61, 0.46), transparent 42%),
      radial-gradient(ellipse at 78% 62%, rgba(89, 77, 145, 0.36), transparent 44%),
      radial-gradient(ellipse at 54% 82%, rgba(181, 119, 68, 0.28), transparent 38%);
    filter: blur(42px);
    opacity: 0.72;
    transform: translate3d(-3%, -2%, 0) scale(1.08);
    animation: mobile-fluid-fallback 14s ease-in-out infinite alternate;
    transition: opacity 0.8s ease;
  }

  .webgl.webgl--fluid-ready::before {
    opacity: 0.24;
  }

  #fluid {
    z-index: 1;
    opacity: 1;
  }
}

@media (max-width: 479px) {
  .trust-slide,
  .trust-slide:nth-child(n) {
    min-height: clamp(340px, 112vw, 410px);
    padding: 24px;
  }

  .trust-slide__title {
    font-size: clamp(36px, 12cqi, 48px);
  }

  .trust-slide__text {
    font-size: clamp(17px, 5cqi, 20px);
  }
}

@keyframes mobile-fluid-fallback {
  0% {
    transform: translate3d(-5%, -3%, 0) scale(1.06) rotate(-2deg);
  }

  55% {
    transform: translate3d(4%, 2%, 0) scale(1.14) rotate(2deg);
  }

  100% {
    transform: translate3d(-1%, 6%, 0) scale(1.1) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .webgl::before {
    animation: none;
  }
}

/* Keep the fluid background behind case copy and media on every viewport. */
.single-project .body-wrapper > .section,
.home .body-wrapper > main > .section {
  z-index: 110;
}

/* Let the live fluid layer pass over the CEO video while UI stays readable. */
.body-wrapper > .footer {
  z-index: auto;
}

.footer > .se-name,
.footer > .section-box-name,
.footer > .section-box-name-mobile,
.form-box > .form-body,
.oksana-contact__caption,
.footer-down,
.footer-down-mobile {
  z-index: 120;
  position: relative;
}

.form-box {
  position: relative;
}

.form-box > .form-body {
  grid-column: 2;
  grid-row: 1;
}

.oksana-contact {
  z-index: auto;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: min(88%, 28rem);
  margin: 0 auto;
  position: relative;
}

.oksana-contact__portrait {
  aspect-ratio: 720 / 894;
  width: 100%;
  position: relative;
  overflow: visible;
  animation: oksana-float 7s ease-in-out infinite;
}

.oksana-contact__portrait::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  height: 32%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.18) 35%, #000 100%);
}

.oksana-contact__video {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  position: absolute;
  inset: 0;
  display: block;
  background: #000000;
}

.oksana-contact__caption {
  width: 100%;
  margin: 0.65rem auto 0;
  position: relative;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #fff;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  mix-blend-mode: difference;
}

.oksana-contact__caption span:first-child {
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
}

.oksana-contact__caption span:last-child {
  color: inherit;
  font-size: clamp(0.72rem, 0.8vw, 0.88rem);
  opacity: 0.55;
}

@keyframes oksana-float {
  0%, 100% { transform: translate3d(0, -0.35rem, 0) rotate(-0.5deg); }
  50% { transform: translate3d(0, 0.45rem, 0) rotate(0.5deg); }
}

@media (max-width: 991px) {
  .form-box {
    grid-template-columns: minmax(12rem, 0.45fr) minmax(0, 1fr);
    gap: 1.5rem;
    display: grid;
  }

  .oksana-contact {
    width: min(100%, 20rem);
  }
}

@media (max-width: 767px) {
  .form-box {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-box > .form-body,
  .oksana-contact {
    grid-column: 1;
  }

  .oksana-contact {
    grid-row: 1;
    width: min(62vw, 15rem);
    margin-bottom: 0.5rem;
  }

  .form-box > .form-body {
    grid-row: 2;
  }

  .oksana-contact__caption {
    margin-top: 0.5rem;
    gap: 0.25rem;
  }

  .oksana-contact__caption span:first-child {
    font-size: 1rem;
  }

  .oksana-contact__caption span:last-child {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oksana-contact__portrait {
    animation: none;
  }
}
