@charset "UTF-8";
:root {
  --clr-accent: #2f8f9d;
  --clr-accent-hover: #256e78;
  --clr-soft-bg: #e8f4f5;
  --clr-text: #556569;
  --clr-heading: #1f2a2b;
  --clr-site-bg: #f4fcfd;
  --clr-card-bg: #ffffff;
  --clr-card-border: #e5e7eb;
  --clr-card-hover-bg: #f4fafb;
  --clr-card-hover-border: #d7ecef;
  --ff-main: 'Inter Tight', -apple-system, sans-serif;
  --container-width: 1600px;
  --section-padding: 92px 0;
  --border-radius: 30px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol, li {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

input, textarea, button, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  padding: 0;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-main);
  color: var(--clr-text);
  background: var(--clr-site-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ——— Типографика: корректные переносы ——— */
p,
li,
.section-title,
.services__desc,
.advantages__card p,
.about__content {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

h1, h2, h3, .hero__title {
  text-wrap: balance;
}

#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  padding: 40px;
  pointer-events: all;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-percentage {
  font-size: 72px;
  font-weight: 700;
  color: var(--clr-accent);
  min-width: 160px;
  text-align: right;
  animation: bounce-in 1s forwards;
}

@keyframes bounce-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  #preloader {
    padding: 24px;
  }
  .loader-percentage {
    font-size: 48px;
    min-width: 110px;
  }
}
.layout-with-sticky-footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.layout-with-sticky-footer > main {
  flex: 1 0 auto;
}

/* ——— Заголовки секций ——— */
.section-heading {
  text-align: left;
  margin-bottom: 40px;
}
.section-heading--dark .section-title,
.section-heading--dark .section-subtitle {
  color: #fff;
}
.section-heading--dark .section-subtitle::before {
  background: #fff;
}
.section-heading--dark .highlight {
  color: var(--clr-accent);
}

.section-subtitle {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--clr-accent);
  position: relative;
  padding-left: 64px;
  margin-bottom: 16px;
  display: inline-block;
}
.section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 1px;
  background: var(--clr-accent);
}
@media (max-width: 768px) {
  .section-subtitle {
    padding-left: 40px;
  }
  .section-subtitle::before {
    width: 32px;
  }
}

.section-title {
  font-size: 32px;
  line-height: 1.3;
  color: var(--clr-heading);
  font-weight: 600;
}
@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }
}

.highlight {
  color: var(--clr-accent);
}

/* ——— Планшетная адаптация всех секций (≤1024px) ——— */
@media (max-width: 1024px) {
  .about {
    padding: 64px 0;
  }
  .services {
    padding: 56px 0;
  }
  .portfolio {
    padding: 56px 0;
  }
  .advantages__inner {
    padding: 80px 0 96px;
  }
  .services__inner {
    gap: 40px;
  }
  .services__title {
    font-size: 20px;
  }
  .section-title {
    font-size: 29px;
  }
  .portfolio__img {
    height: 260px;
  }
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-char {
  display: inline-block;
  opacity: 0.12;
  will-change: opacity;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .reveal-char {
    opacity: 1 !important;
  }
}
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--clr-accent);
  border-radius: 12px;
  flex-shrink: 0;
}
.icon-box i {
  font-size: 24px;
  color: #fff;
}
.icon-box--dark {
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  padding: 0 60px 0 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
}
.btn__text {
  position: relative;
  z-index: 3;
  margin-right: 8px;
}
.btn__icon-wrapper {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s;
}
.btn__icon {
  font-size: 18px;
  transition: transform 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.btn:hover .btn__icon {
  transform: rotate(90deg);
}
.btn--primary, .btn--external {
  background: var(--clr-accent);
  color: #fff !important;
}
.btn--primary .btn__text, .btn--external .btn__text {
  color: #fff;
}
.btn--primary .btn__icon, .btn--external .btn__icon {
  color: var(--clr-accent);
}
.btn--primary .btn__icon-wrapper, .btn--external .btn__icon-wrapper {
  background: #fff;
}
.btn--primary:hover, .btn--external:hover {
  background: var(--clr-accent-hover);
}
.btn--outline {
  background: transparent;
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent) !important;
}
.btn--outline .btn__text,
.btn--outline .btn__icon {
  color: var(--clr-accent);
}
.btn--outline .btn__icon-wrapper {
  background: #fff;
}
.btn--outline:hover {
  transform: none;
  background: rgba(47, 143, 157, 0.15);
}
.btn--outline:hover .btn__icon {
  transform: rotate(90deg);
}
.btn--outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
}
.btn--outline-light .btn__text {
  color: #fff;
}
.btn--outline-light .btn__icon {
  color: var(--clr-accent);
}
.btn--outline-light .btn__icon-wrapper {
  background: rgba(255, 255, 255, 0.85);
}
.btn--outline-light:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}
.btn--outline-light:hover .btn__icon {
  transform: rotate(90deg);
}
@media (max-width: 600px) {
  .btn {
    padding: 0 56px 0 24px;
    font-size: 15px;
  }
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--clr-accent);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.scroll-to-top i {
  pointer-events: none;
}
.scroll-to-top:hover {
  transform: translateY(-3px);
  background: var(--clr-accent-hover);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}

.global-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.2235294118);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
.global-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.global-header__logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--clr-heading);
  letter-spacing: -0.02em;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.global-header__logo:hover {
  opacity: 0.85;
}
.global-header__logo-accent {
  color: var(--clr-accent);
}
.global-header__right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.global-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.global-header__nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
.global-header__nav-link:hover {
  color: var(--clr-accent);
}
.global-header__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--clr-heading);
  color: #fff;
  transition: transform 0.3s, background 0.3s;
  flex-shrink: 0;
}
.global-header__telegram i {
  font-size: 20px;
}
.global-header__telegram:hover {
  transform: translateY(-2px);
  background: var(--clr-accent);
}

.mobile-menu-btn {
  display: none;
  font-size: 26px;
  color: var(--clr-heading);
  background: none;
}

@media (max-width: 900px) {
  .global-header__nav {
    display: none;
  }
  .global-header__logo {
    font-size: 17px;
  }
  .mobile-menu-btn {
    display: block;
  }
}
.hero {
  position: sticky;
  top: 0;
  z-index: 1;
  width: 100%;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  width: 100%;
  padding-top: var(--header-h);
  padding-bottom: 56px;
  background-image: url("../img/promo/row (1).jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}
.hero__content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}
.hero__text {
  max-width: 640px;
}
.hero__title {
  background: linear-gradient(to bottom, #1f1f1f, #2f8f9d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 900;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__graphics {
  text-align: right;
}
.hero__graphics .hero__title {
  font-size: clamp(32px, 5vw, 68px);
}
.hero__subtitle {
  margin-top: 24px;
  max-width: 576px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--clr-accent-hover);
}
.hero__buttons {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__mobile {
  display: none;
}
.hero {
  /* ——— Адаптация ≤1024px (планшет) ——— */
}
@media (max-width: 1024px) {
  .hero__inner {
    padding-bottom: 48px;
  }
  .hero__content {
    gap: 20px;
  }
  .hero__text {
    max-width: 400px;
  }
  .hero__title {
    font-size: 54px;
    line-height: 1.1;
  }
  .hero__graphics .hero__title {
    font-size: 42px;
  }
  .hero__subtitle {
    font-size: 20px;
    margin: 0 0 24px;
    max-width: 400px;
  }
  .hero__buttons {
    gap: 12px;
    max-width: 450px;
  }
}
.hero {
  /* ——— Адаптация ≤768px (мобильная вёрстка, 100dvh) ——— */
}
@media (max-width: 768px) {
  .hero__inner {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    padding-top: var(--header-h);
    background-image: url("../img/promo/fon2.jpg");
  }
  .hero__container {
    display: none;
  }
  .hero__mobile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: calc(100dvh - var(--header-h));
  }
  .hero__mobile-top {
    padding: 0 32px;
    margin-top: 20px;
    width: 100%;
  }
  .hero__mobile-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
    font-weight: 900;
    background: linear-gradient(to bottom, #1f1f1f, #2f8f9d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .hero__mobile-subtitle {
    font-size: 16px;
    color: var(--clr-text);
    margin: 12px 0 0;
  }
  .hero__mobile-bottom {
    margin-bottom: 32px;
    width: 100%;
    padding: 0 32px;
  }
  .hero__mobile-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
  }
  .hero__mobile-buttons .btn {
    width: auto;
    flex: 0 1 auto;
  }
}
.hero {
  /* ——— Адаптация ≤510px (узкий мобильный) ——— */
}
@media (max-width: 510px) {
  .hero__mobile-title {
    font-size: 28px;
  }
  .hero__mobile-top, .hero__mobile-bottom {
    padding: 0 20px;
  }
  .hero__mobile-buttons {
    flex-direction: column;
    gap: 16px;
  }
  .hero__mobile-buttons .btn {
    width: 100%;
    flex: 1 1 auto;
  }
}

.marquee {
  position: relative;
  z-index: 2;
  background: var(--clr-site-bg);
  overflow: hidden;
  padding: 32px 0 80px;
}
.marquee__row {
  display: flex;
  gap: 12px;
  width: -moz-max-content;
  width: max-content;
  margin-bottom: 12px;
}
.marquee__row img {
  width: 420px;
  height: 270px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.marquee__row img:hover {
  transform: scale(1.03);
}
.marquee__row--right {
  animation: marquee-right 90s linear infinite;
}
.marquee__row--left {
  animation: marquee-left 110s linear infinite;
}
@media (max-width: 768px) {
  .marquee__row img {
    width: 280px;
    height: 180px;
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-left {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__row--right,
  .marquee__row--left {
    animation: none;
  }
}
.about {
  position: relative;
  z-index: 2;
  padding: var(--section-padding);
  background: var(--clr-site-bg);
}
@media (max-width: 768px) {
  .about {
    padding: 48px 0;
  }
}
.about__inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
@media (max-width: 900px) {
  .about__inner {
    flex-direction: column;
    gap: 24px;
  }
}
.about__marker {
  flex: 0 0 25%;
  max-width: 25%;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--clr-accent);
  position: relative;
  padding-left: 64px;
  padding-top: 8px;
}
.about__marker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 48px;
  height: 1px;
  background: var(--clr-heading);
}
@media (max-width: 768px) {
  .about__marker {
    flex: 1 1 auto;
    text-align: center;
    padding-left: 0;
    padding-bottom: 16px;
  }
  .about__marker::before {
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -8px;
  }
}
.about__content {
  flex: 1 1 75%;
  min-width: 0;
  font-size: 18px;
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .about__content {
    font-size: 17px;
  }
}
@media (max-width: 900px) {
  .about__content {
    flex: 1 1 auto;
  }
}
.about__content p {
  margin-bottom: 24px;
}
.about__content strong {
  color: var(--clr-accent);
  font-weight: 700;
}
.about__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
@media (max-width: 768px) {
  .about__stats-grid {
    grid-template-columns: 1fr;
  }
}
.about__stat-number {
  font-size: 48px;
  font-weight: 500;
  color: var(--clr-accent-hover);
  margin-bottom: 8px;
  line-height: 1.1;
}
.about__stat-label {
  color: var(--clr-text);
  font-size: 15px;
}
.about__divider {
  border: none;
  height: 1px;
  background: #d5e3e5;
  margin: 32px 0;
  width: 100%;
  display: block;
}
.about__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about__tool-tag {
  background: rgba(47, 143, 157, 0.12);
  color: var(--clr-text);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.services {
  position: relative;
  z-index: 2;
  padding: 64px 0;
  background: var(--clr-site-bg);
}
@media (max-width: 768px) {
  .services {
    padding: 48px 0;
  }
}
.services__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .services__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.services__list {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.services__image-container {
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
}
@media (max-width: 900px) {
  .services__image-container {
    display: none;
  }
}
.services__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}
.services__image.active {
  opacity: 1;
  z-index: 1;
}
.services__item {
  position: relative;
  padding-bottom: 24px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  transition: padding-left 0.3s, opacity 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.services__item:hover {
  padding-left: 12px;
}
@media (max-width: 420px) {
  .services__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
.services__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  order: 1;
}
@media (max-width: 420px) {
  .services__text {
    width: 100%;
  }
}
.services__divider {
  order: 2;
  width: 100%;
  height: 1px;
  background: #d5e3e5;
  margin-top: 20px;
}
.services__title {
  font-size: 22px;
  font-weight: 500;
  color: var(--clr-heading);
  line-height: 1.3;
}
.services__title .highlight {
  color: inherit;
}
.services__desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--clr-text);
  margin: 0;
}

.advantages {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--clr-site-bg);
}
.advantages__inner {
  position: relative;
  width: 100%;
  padding: 112px 0 128px;
  color: #fff;
  background-image: url("../img/promo/advantages.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@media (max-width: 768px) {
  .advantages__inner {
    padding: 64px 0 72px;
  }
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1024px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages__grid > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
@media (max-width: 768px) {
  .advantages__grid {
    grid-template-columns: 1fr;
  }
}
.advantages__card--pos1 {
  grid-column: 1;
  grid-row: 1;
}
.advantages__card--pos3 {
  grid-column: 3;
  grid-row: 1;
}
.advantages__card--pos4 {
  grid-column: 4;
  grid-row: 1;
}
.advantages__card--pos6 {
  grid-column: 2;
  grid-row: 2;
}
.advantages__card--pos8 {
  grid-column: 4;
  grid-row: 2;
}
.advantages__card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 180px;
}
.advantages__card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.advantages__card h3 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
  color: #fff;
}
.advantages__card p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  flex-grow: 1;
}

.portfolio {
  position: relative;
  z-index: 2;
  background: var(--clr-soft-bg);
  padding: 64px 0;
}
@media (max-width: 768px) {
  .portfolio {
    padding: 48px 0;
  }
}
.portfolio__tabs {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .portfolio__tabs {
    gap: 8px;
    margin-bottom: 24px;
  }
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
}
.portfolio__link {
  display: block;
  background: var(--clr-card-bg);
  border: 1px solid var(--clr-card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.portfolio__link:hover {
  transform: translateY(-2px);
  background: var(--clr-card-hover-bg);
  border-color: var(--clr-card-hover-border);
  box-shadow: 0 12px 35px rgba(47, 143, 157, 0.15);
}
.portfolio__link:hover .portfolio__img img {
  transform: scale(1.05);
}
.portfolio__link:hover .portfolio__link-icon {
  transform: translateY(-3px) rotate(90deg);
  background: var(--clr-accent-hover);
}
.portfolio__img {
  position: relative;
  overflow: hidden;
  height: 400px;
}
@media (max-width: 1200px) {
  .portfolio__img {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .portfolio__img {
    height: 200px;
  }
}
.portfolio__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--clr-heading);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  z-index: 2;
}
.portfolio__link-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: var(--clr-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}
.portfolio__info {
  padding: 20px;
}
.portfolio__info h3 {
  margin-bottom: 10px;
  font-size: 21px;
  color: var(--clr-heading);
  line-height: 1.4;
  font-weight: 500;
}
.portfolio__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio__tags span {
  border: 1px solid var(--clr-text);
  color: var(--clr-text);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.portfolio__btn-wrap {
  text-align: center;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .portfolio__btn-wrap {
    margin-top: 32px;
  }
  .portfolio__btn-wrap .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0 60px 0 24px;
  }
}

.tab-btn {
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  background: transparent;
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tab-btn--active {
  background: var(--clr-accent);
  color: #fff;
}
.tab-btn:hover:not(.tab-btn--active) {
  background: rgba(47, 143, 157, 0.08);
}

.contact {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  background: var(--clr-site-bg);
}
@media (max-width: 480px) {
  .contact {
    padding: 40px 0;
  }
}
@media (min-width: 768px) {
  .contact {
    padding: 112px 0;
  }
}
.contact__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 64px 40px;
  background: linear-gradient(135deg, #1f1f1f 0%, #12383f 100%);
  color: #fff;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) {
  .contact__centered {
    padding: 32px 30px;
  }
}
.contact__centered > *:not(.contact__bg-word) {
  position: relative;
  z-index: 1;
}
.contact__centered h2 {
  max-width: 640px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.contact__centered p {
  font-size: 19px;
  color: #ccc;
  max-width: 576px;
  margin: 0;
}
.contact__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 768px) {
  .contact__btns {
    flex-direction: column;
    width: 100%;
  }
  .contact__btns .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0 60px 0 24px;
  }
}
.contact__bg-word {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -80px;
  font-size: 288px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .contact__bg-word {
    font-size: 224px;
    bottom: -40px;
  }
}
@media (max-width: 768px) {
  .contact__bg-word {
    font-size: 144px;
    bottom: -20px;
  }
}
@media (max-width: 480px) {
  .contact__bg-word {
    font-size: 70px;
    bottom: 0;
  }
}

.contact {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  background: var(--clr-site-bg);
}
@media (max-width: 480px) {
  .contact {
    padding: 40px 0;
  }
}
@media (min-width: 768px) {
  .contact {
    padding: 112px 0;
  }
}
.contact__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  padding: 64px 40px;
  background: linear-gradient(135deg, #1f1f1f 0%, #12383f 100%);
  color: #fff;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) {
  .contact__centered {
    padding: 32px 30px;
  }
}
.contact__centered > *:not(.contact__bg-word) {
  position: relative;
  z-index: 1;
}
.contact__centered h2 {
  max-width: 640px;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
.contact__centered p {
  font-size: 19px;
  color: #ccc;
  max-width: 576px;
  margin: 0;
}
.contact__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 768px) {
  .contact__btns {
    flex-direction: column;
    width: 100%;
  }
  .contact__btns .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 0 60px 0 24px;
  }
}
.contact__bg-word {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -80px;
  font-size: 288px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  z-index: 0;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .contact__bg-word {
    font-size: 224px;
    bottom: -40px;
  }
}
@media (max-width: 768px) {
  .contact__bg-word {
    font-size: 144px;
    bottom: -20px;
  }
}
@media (max-width: 480px) {
  .contact__bg-word {
    font-size: 70px;
    bottom: 0;
  }
}

.footer {
  background: var(--clr-heading);
  color: #fff;
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
.footer__tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.policy {
  color: #ccc;
}
.policy:hover {
  text-decoration: underline;
}

.tag-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  transition: background-color 0.3s;
}
.tag-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 85%;
  max-width: 320px;
  background: #fff;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.08);
  padding: 32px 24px;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu__close {
  position: absolute;
  top: 19px;
  right: 19px;
  font-size: 24px;
  color: var(--clr-heading);
}
.mobile-menu__logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-heading);
  margin-bottom: 32px;
}
.mobile-menu__nav-item {
  margin-bottom: 19px;
}
.mobile-menu__nav-link {
  color: var(--clr-heading);
  font-size: 20px;
  font-weight: 500;
  display: block;
  padding: 8px 0;
}
.mobile-menu__nav-link:hover {
  color: var(--clr-accent);
}
.mobile-menu__social {
  position: absolute;
  bottom: 32px;
  left: 24px;
}
.mobile-menu__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.mobile-menu__social a:hover {
  transform: translateY(-2px);
}
.mobile-menu__social a i {
  color: #fff;
  font-size: 20px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ================================================================
   00. ОГЛАВЛЕНИЕ
   ----------------------------------------------------------------
   01. Общие стили шапки проектов (project-header)
   02. Кейс-герой / баннер (case-hero + presentation-hero)
   03. Вводный блок проекта (project-intro, project-note)
   04. Хлебные крошки (breadcrumbs)
   05. Кейс-секции и типографика (case-section, case-split, case-h2, case-text, case-list)
   06. Кейс-раздел «Решение» (case-solution)
   07. Кейс-раздел «Полная картинка» (case-full-label)
   08. Кейс-раздел «Полоса» (case-band, case-label-band)
   09. Кейс-раздел «Showcase» (case-showcase)
   10. Кейс-трио (case-trio)
   11. Кнопка btn--sm
   12. Галерея (gallery) + лайтбокс (lightbox)
   13. Presentation hero (устаревший, но есть в вёрстке)
   14. Presentation task / structure
   15. Presentation slider — ГЛАВНОЕ ИСПРАВЛЕНИЕ
   16. Presentation style
   17. Presentation cards
   18. Comparison section (до/после)
   19. Case-next, case-stage, case-aside
   20. Privacy policy
   21. Scroll progress + sticky hero + фоновые цвета секций
   ================================================================ */
/* ================================================================
   01. ОБЩИЕ СТИЛИ ШАПКИ ПРОЕКТОВ
   ================================================================ */
.project-header {
  background: rgba(255, 255, 255, 0.92);
}

/* ================================================================
   02. КЕЙС-ГЕРОЙ / БАННЕР
   ----------------------------------------------------------------
   Desktop → Mobile в каждой группе
   ================================================================ */
/* --- 02.1 Общая заготовка (desktop) --- */
.case-hero,
.presentation-hero {
  position: sticky;
  top: 0;
  z-index: 1;
}

.case-hero .reveal-up,
.case-hero .reveal-up *,
.presentation-hero .reveal-up,
.presentation-hero .reveal-up * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  visibility: visible !important;
}

/* --- 02.2 Хлебные крошки внутри баннера (desktop) --- */
.case-hero .breadcrumbs,
.case-hero .breadcrumbs *,
.presentation-hero .breadcrumbs,
.presentation-hero .breadcrumbs * {
  pointer-events: auto !important;
}

.case-hero .breadcrumbs__link,
.presentation-hero .breadcrumbs__link {
  cursor: pointer;
}

.case-hero .breadcrumbs--light .breadcrumbs__link,
.presentation-hero .breadcrumbs--light .breadcrumbs__link {
  color: #ffffff;
}

.case-hero .breadcrumbs--light .breadcrumbs__separator,
.presentation-hero .breadcrumbs--light .breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.6);
}

.case-hero .breadcrumbs--light .breadcrumbs__current,
.presentation-hero .breadcrumbs--light .breadcrumbs__current {
  color: var(--clr-accent);
  font-weight: 600;
}

/* --- 02.3 Медиа и оверлей (desktop) --- */
.case-hero__media {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #1d2022;
}

.case-hero__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.case-hero__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  animation: hero-zoom 14s ease-out forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
.case-hero__word {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(80px, 19vw, 272px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
  line-height: 1;
}

.case-hero__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 80px 0 32px;
  background: linear-gradient(to top, rgba(29, 32, 34, 0.9) 0%, rgba(29, 32, 34, 0.45) 60%, rgba(29, 32, 34, 0) 100%);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
}

.case-hero__overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  pointer-events: auto;
}

.case-hero__overlay-inner .breadcrumbs {
  margin-bottom: 16px;
}

.case-hero__title {
  font-size: clamp(20px, 1.7vw, 42px);
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  max-width: 672px;
  line-height: 1.3;
}

/* --- 02.4 Ряд «заголовок + кнопка» (desktop) --- */
.case-hero__head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.case-hero__head-row .case-hero__title {
  max-width: 70%;
  margin: 0;
}

.case-hero__head-row .btn {
  flex-shrink: 0;
}

/* --- 02.5 Presentation hero (desktop, отдельный баннер) --- */
.presentation-hero {
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.presentation-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.presentation-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 31, 95, 0.9) 0%, rgba(0, 44, 132, 0.58) 48%, rgba(10, 50, 126, 0.12) 100%);
}

.presentation-hero__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
}

.presentation-hero__eyebrow {
  font-size: 26px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.presentation-hero__title {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  font-weight: 900;
  max-width: 620px;
  color: #fff;
  text-transform: uppercase;
}

.presentation-hero__tags {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.presentation-hero__tags span,
.presentation-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 28px;
  border-radius: 90px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 18px rgba(30, 70, 130, 0.18);
  color: #6f7f96;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
}

.presentation-pill--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.presentation-hero__word {
  position: absolute;
  left: 3%;
  bottom: 5%;
  font-size: clamp(70px, 14vw, 180px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.18);
  z-index: 1;
  line-height: 1;
}

/* --- 02.6 Ряд заголовка на presentation-hero (desktop) --- */
.presentation-hero__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.presentation-hero__title-row .case-hero__title {
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  line-height: 1.1;
  max-width: 100%;
}

.presentation-hero__title-row .presentation-hero__tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
}

.case-hero .presentation-hero__eyebrow {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 0;
}

/* --- 02.7 Мобильная версия баннера (≤768px) --- */
@media (max-width: 768px) {
  .case-hero,
  .presentation-hero {
    position: relative;
    top: auto;
    z-index: auto;
  }
  .case-hero__media {
    height: 100vh;
    min-height: 100vh;
  }
  .case-hero__overlay {
    padding: 48px 0 24px;
  }
  .case-hero__overlay-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .case-hero__overlay-inner .btn {
    width: 100%;
    justify-content: flex-start;
  }
  .case-hero__head-row {
    gap: 16px;
  }
  .case-hero__head-row .case-hero__title {
    max-width: 100%;
  }
  .case-hero__title {
    font-size: 24px;
  }
  .presentation-hero__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .presentation-hero__title-row h1 {
    white-space: normal !important;
  }
  .presentation-hero__title-row .case-hero__title {
    font-size: 32px;
    white-space: normal;
  }
}
/* --- 02.8 Мобильная версия баннера (≤900px) --- */
@media (max-width: 900px) {
  .presentation-hero__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .presentation-hero__title-row .case-hero__title {
    font-size: clamp(32px, 5vw, 46px);
    white-space: normal;
  }
}
/* --- 02.9 Мобильная версия баннера (≤560px) --- */
@media (max-width: 560px) {
  .presentation-hero__eyebrow {
    font-size: 16px;
  }
  .presentation-hero__title {
    font-size: 32px;
  }
}
/* ================================================================
   03. ВВОДНЫЙ БЛОК ПРОЕКТА
   ================================================================ */
/* --- 03.1 Desktop --- */
.project-intro {
  padding: calc(var(--header-h) + 48px) 0 40px;
  background: #fff;
}

.section-project {
  min-width: 0;
}

.project-intro__subtitle {
  margin-bottom: 12px;
}

.project-intro__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--clr-heading);
  font-weight: 700;
  margin: 0 0 16px;
  text-wrap: balance;
}

.project-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--clr-text);
  background: rgba(47, 143, 157, 0.1);
  border-radius: 20px;
  padding: 6px 16px;
  margin: 0;
}

.project-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
}

.project-intro__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

/* --- 03.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .project-intro {
    padding: calc(var(--header-h) + 24px) 0 28px;
  }
  .project-intro__header {
    flex-direction: column;
    align-items: stretch;
  }
  .project-intro__header .project-intro__title {
    margin-bottom: 12px;
  }
  .project-intro__header .btn--external {
    width: 100%;
    justify-content: flex-start;
  }
}
/* ================================================================
   04. ХЛЕБНЫЕ КРОШКИ
   ================================================================ */
/* --- 04.1 Desktop --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--clr-text);
  margin-bottom: 40px;
}

.breadcrumbs__link {
  color: var(--clr-text);
  transition: color 0.3s ease;
}

.breadcrumbs__link:hover {
  color: var(--clr-accent);
  text-decoration: underline;
}

.breadcrumbs__separator {
  margin: 0 10px;
  color: #b6c2c8;
}

.breadcrumbs__current {
  color: var(--clr-heading);
  font-weight: 500;
}

.breadcrumbs--light .breadcrumbs__link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.breadcrumbs--light .breadcrumbs__link:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumbs--light .breadcrumbs__separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs--light .breadcrumbs__current {
  color: var(--clr-accent);
  font-weight: 500;
}

/* --- 04.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .breadcrumbs {
    font-size: 13px;
    margin-bottom: 24px;
  }
}
/* ================================================================
   05. КЕЙС-СЕКЦИИ И ТИПОГРАФИКА
   ================================================================ */
/* --- 05.1 Desktop --- */
.case-section {
  padding: 84px 0;
  background: #fff;
}

.case-section--tight {
  padding: 56px 0 84px;
}

.case-section--image-only {
  padding: 0;
  background: #fff;
}

.case-section--image-only .project-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.case-credit {
  font-size: 14px;
  color: #9aa5ab;
  text-align: right;
  margin: 0 0 40px;
  padding-bottom: 24px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #e4e7e8;
}

.case-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e4e7e8;
  padding-top: 14px;
  margin-bottom: 56px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #9aa5ab;
}

.case-line--dark {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.6);
}

.case-line--on-gray {
  border-top-color: rgba(31, 31, 31, 0.2);
}

.case-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.case-split--intro {
  grid-template-columns: 6fr 6fr;
}

.case-split--reverse {
  grid-template-columns: 6fr 6fr;
  align-items: center;
}

.case-split--text-only {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.case-split__media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 24, 26, 0.18);
  background: #e8eaea;
}

.case-split__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.case-split__media:hover img {
  transform: scale(1.04);
}

.case-h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--clr-heading);
  margin: 0;
  letter-spacing: -0.01em;
}

.case-h2--accent {
  color: #4a7f88;
  font-weight: 500;
}

.case-h2--white {
  color: #fff;
  font-weight: 500;
}

.case-text {
  font-size: 16px;
  line-height: 1.75;
  color: #5f6b71;
  margin: 0 0 20px;
  max-width: 640px;
}

.case-text--on-dark {
  color: rgba(255, 255, 255, 0.72);
}

.case-text--label {
  font-weight: 600;
  color: var(--clr-heading);
  margin: 28px 0 4px;
}

.case-text--label.case-text--on-dark {
  color: #fff;
}

/* Списки со стрелками */
.case-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 4px 15px 32px;
  border-bottom: 1px solid #edeff0;
  font-size: 15px;
  color: #4a565c;
  position: relative;
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.case-list li:hover {
  padding-left: 36px;
  color: var(--clr-heading);
}

.case-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 15px;
  color: #57a7b2;
  font-size: 20px;
  line-height: 1;
  display: block;
  font-family: inherit;
  transition: transform 0.3s ease, color 0.3s ease;
}

.case-list li:hover::before {
  transform: translateX(4px);
}

.case-list--on-dark li {
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}

.case-list--on-dark li:hover {
  color: #fff;
}

.case-list--on-dark li::before {
  color: #57a7b2;
}

.case-dark {
  position: relative;
  background: #43464b;
  overflow: hidden;
}

/* --- 05.2 Mobile (≤900px) --- */
@media (max-width: 900px) {
  .case-split,
  .case-split--intro,
  .case-split--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-split--reverse .case-split__media {
    order: -1;
  }
}
/* --- 05.3 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .case-section {
    padding: 30px 0;
  }
  .case-credit {
    text-align: left;
    margin: 0 0 16px;
  }
  .case-line {
    margin-bottom: 16px;
  }
  /* Скрываем строку-метку с линией на тёмных блоках, заголовки оставляем */
  .case-line--dark {
    display: none;
  }
  .case-text {
    margin: 0 0 16px;
  }
  .case-list li {
    padding: 10px 4px 10px 32px;
  }
  .case-list li::before {
    top: 10px;
  }
}
/* ================================================================
   06. КЕЙС-РАЗДЕЛ «РЕШЕНИЕ» (case-solution)
   ================================================================ */
/* --- 06.1 Desktop --- */
.case-solution {
  position: relative;
  overflow: hidden;
  background: #43464b;
  margin: 0;
}

.case-solution__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}

.case-solution__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
}

.case-solution__inner {
  position: relative;
  z-index: 2;
  padding: 84px 0;
}

.case-solution--image-height .case-solution__bg {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: initial;
     object-fit: initial;
}

.case-solution--image-height .case-solution__inner {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: var(--container-width);
  transform: translateX(-50%);
  padding: 84px 32px;
}

/* --- 06.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .case-solution__inner {
    padding: 52px 0;
  }
  .case-solution--image-height .case-solution__inner {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    background: #ffffff;
    padding: 40px 20px;
  }
  /* Превращаем тёмный текст в светлый, т.к. фон становится белым */
  .case-solution--image-height .case-h2--white {
    color: var(--clr-heading);
    text-shadow: none;
  }
  .case-solution--image-height .case-text--on-dark {
    color: var(--clr-text);
    text-shadow: none;
  }
  .case-solution--image-height .case-text--label.case-text--on-dark {
    color: var(--clr-heading);
  }
  /* Скрываем строку-метку на тёмных блоках и в этой секции */
  .case-solution--image-height .case-line--dark {
    display: none;
  }
  .case-solution--image-height .case-list--on-dark li {
    border-bottom-color: #edeff0;
    color: #4a565c;
  }
  .case-solution--image-height .case-list--on-dark li:hover {
    color: var(--clr-heading);
  }
  .case-solution--image-height .case-list--on-dark li::before {
    color: #57a7b2;
  }
}
/* ================================================================
   07. КЕЙС-РАЗДЕЛ «ПОЛНАЯ КАРТИНКА» (case-full-label)
   ================================================================ */
/* --- 07.1 Desktop --- */
.case-full-label {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.case-full-label__img {
  display: block;
  width: 100%;
  height: auto;
}

.case-full-label__inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.case-full-label__content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 32px 48px;
}

.case-full-label .case-line--dark {
  color: rgba(255, 255, 255, 0.9);
  border-top-color: rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  margin-bottom: 24px;
}

.case-full-label .case-h2--white {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  font-size: clamp(21px, 2.2vw, 29px);
}

/* --- 07.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .case-full-label__content {
    padding: 10px 20px 20px;
  }
  .case-full-label__inner {
    padding-top: 28px;
    padding-bottom: 16px;
  }
  /* Строку-метку убираем (уже скрыто в общем блоке, дублируем для надёжности) */
  .case-full-label .case-line--dark {
    display: none;
  }
  .case-full-label .case-h2--white {
    font-size: 18px;
  }
}
/* --- 07.3 Mobile (≤480px) --- */
@media (max-width: 480px) {
  .case-full-label__inner {
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .case-full-label .case-h2--white {
    font-size: 15px;
  }
}
/* ================================================================
   08. КЕЙС-РАЗДЕЛ «ПОЛОСА» (case-band, case-label-band)
   ================================================================ */
/* --- 08.1 Desktop --- */
.case-band {
  margin: 0;
  background: #fff;
}

.case-band img {
  width: 100%;
  display: block;
}

.case-label-band {
  position: relative;
  overflow: hidden;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  padding: 56px 0 40px;
  background-color: #fff;
}

.case-label-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(29, 32, 34, 0.55) 0%, rgba(29, 32, 34, 0.82) 100%);
}

.case-label-band .container {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

/* --- 08.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .case-label-band {
    padding: 40px 0 28px;
  }
}
/* ================================================================
   09. КЕЙС-РАЗДЕЛ «SHOWCASE»
   ================================================================ */
/* --- 09.1 Desktop --- */
.case-showcase {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #1d2022;
}

.case-showcase__word {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(96px, 21vw, 304px);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.22);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

/* Убираем сквозные отступы, если секции идут друг за другом */
.case-showcase + .case-showcase,
.case-showcase + .case-extra,
.case-extra,
.case-solution + .case-solution,
.case-solution + .case-band,
.case-band + .case-solution,
.case-extra + .case-solution,
.case-solution + .case-extra,
.case-band + .case-band,
.case-band {
  margin-top: 0;
  padding-top: 0;
}

/* Мобильный код не требуется — наследуется */
/* ================================================================
   10. КЕЙС-ТРИО
   ================================================================ */
/* --- 10.1 Desktop --- */
.case-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
  background: #fff;
}

.case-trio__item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(20, 24, 26, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background: #e8eaea;
}

.case-trio__item img {
  width: 100%;
  display: block;
}

.case-trio__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 70px rgba(20, 24, 26, 0.3);
}

.case-trio__item--mid {
  transform: translateY(36px);
}

.case-trio__item--mid:hover {
  transform: translateY(28px);
}

/* --- 10.2 Mobile (≤820px) --- */
@media (max-width: 820px) {
  .case-trio {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-trio__item--mid {
    transform: none;
  }
  .case-trio__item--mid:hover {
    transform: translateY(-8px);
  }
}
/* ================================================================
   11. КНОПКА btn--sm
   ================================================================ */
/* --- 11.1 Desktop --- */
.btn--sm {
  height: 46px;
  padding: 0 46px 0 22px;
  font-size: 14px;
}

.btn--sm .btn__icon-wrapper {
  width: 38px;
  height: 38px;
}

.btn--sm .btn__icon {
  font-size: 16px;
}

/* Мобильный код не требуется */
/* ================================================================
   12. ГАЛЕРЕЯ + ЛАЙТБОКС
   ================================================================ */
/* --- 12.1 Desktop --- */
.gallery {
  padding: 80px 0;
  background: var(--clr-site-bg);
}

.gallery__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}

.gallery__nav {
  display: flex;
  gap: 12px;
}

.gallery__nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--clr-heading);
  border: 1px solid rgba(31, 31, 31, 0.1);
  font-size: 24px;
  transition: all 0.3s ease;
}

.gallery__nav-btn:hover:not(:disabled) {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
  transform: translateY(-2px);
}

.gallery__nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery__viewport {
  overflow: hidden;
  border-radius: 16px;
}

.gallery__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gallery__slide {
  flex-shrink: 0;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.gallery__slide img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__slide::after {
  content: "\eb6b";
  font-family: "remixicon";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  background: rgba(31, 31, 31, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery__slide:hover img {
  transform: scale(1.06);
}

.gallery__slide:hover::after {
  opacity: 1;
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 20, 22, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: lightbox-in 0.3s ease;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 26px;
  transition: background 0.3s ease;
}

.lightbox__close:hover,
.lightbox__arrow:hover {
  background: var(--clr-accent);
}

.lightbox__close {
  top: 20px;
  right: 20px;
}

.lightbox__arrow--prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__arrow--next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* --- 12.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .gallery {
    padding: 48px 0;
  }
  .gallery__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
/* --- 12.3 Mobile (≤640px) — лайтбокс --- */
@media (max-width: 640px) {
  .lightbox {
    padding: 40px 16px;
  }
  .lightbox__arrow {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }
  .lightbox__arrow--prev {
    left: 8px;
  }
  .lightbox__arrow--next {
    right: 8px;
  }
}
/* ================================================================
   13. PRESENTATION HERO — заголовки/eyebrow
   (см. секцию 02, здесь только то, чего там нет)
   ================================================================ */
/* --- 13.1 Desktop --- */
/* .presentation-hero и связанные базовые стили вынесены в раздел 02 */
/* --- 13.2 Mobile (≤560px) --- */
@media (max-width: 560px) {
  /* presentation-hero__eyebrow и __title уже в 02.9 */
}
/* ================================================================
   14. PRESENTATION TASK / STRUCTURE
   ================================================================ */
/* --- 14.1 Desktop --- */
.presentation-task {
  padding: 90px 0 50px;
  background: #f5f7fb;
}

.presentation-task__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 72px;
  align-items: start;
}

.presentation-task__text {
  max-width: 650px;
  color: #6b7280;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.presentation-task__text p {
  margin-bottom: 18px;
}

.presentation-structure {
  padding: 90px 0;
  background: #f5f7fb;
}

.presentation-structure__grid {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 72px;
}

.presentation-structure__body h2 {
  color: #6f7f96;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* --- 14.2 Mobile (≤900px) --- */
@media (max-width: 900px) {
  .presentation-task__grid,
  .presentation-structure__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
/* --- 14.3 Mobile (≤560px) --- */
@media (max-width: 560px) {
  .presentation-task__text {
    font-size: 18px;
  }
}
/* ================================================================
   15. PRESENTATION SLIDER — ГЛАВНОЕ ИСПРАВЛЕНИЕ
   ----------------------------------------------------------------
   ДЕСКТОП: 3 окна, по 2 слоя.
   МОБИЛКА: 1 окно (center), N слоёв, чистый кроссфейд по opacity.
   ================================================================ */
/* --- 15.1 Desktop — общая обёртка слайдера --- */
.presentation-slider-section {
  overflow: hidden;
  padding: 10px 0 80px;
  background: #ffffff;
}

.presentation-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 34px);
  width: 100%;
  padding: 0 32px;
  box-sizing: border-box;
}

.presentation-slide {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

.presentation-slide--side {
  width: clamp(260px, 20vw, 360px);
  aspect-ratio: 16/9;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0, 40, 110, 0.16);
}

.presentation-slide--center {
  width: clamp(480px, 45vw, 880px);
}

.presentation-slider__device {
  background: #202124;
  padding: clamp(10px, 1.2vw, 18px);
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(0, 34, 92, 0.28);
}

.presentation-slider__screen {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #001f5f;
}

/* Фолбэк для браузеров без aspect-ratio (iOS Safari < 15) */
@supports not (aspect-ratio: 16/9) {
  .presentation-slider__screen,
  .presentation-slide--side {
    height: 0;
    padding-top: 56.25%;
  }
}
/* Слои (desktop — со сдвигом, как было) */
.presentation-slide__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(7%);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.presentation-slide__layer.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.presentation-slide__layer.is-leaving {
  opacity: 0;
  transform: translateX(-7%);
}

.presentation-slide__layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* --- 15.2 Desktop (планшетный диапазон ≤1024px) --- */
@media (max-width: 1024px) {
  .presentation-slide--side {
    width: clamp(200px, 22vw, 300px);
  }
  .presentation-slide--center {
    width: clamp(380px, 52vw, 700px);
  }
}
/* --- 15.3 Mobile (≤768px) — ЧИСТЫЙ КРОССФЕЙД --- */
@media (max-width: 768px) {
  .presentation-slider-section {
    padding: 10px 0 30px;
  }
  .presentation-slider {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 0 16px;
  }
  /* Боковые скрыты полностью — работает только центр */
  .presentation-slide--side {
    display: none !important;
  }
  .presentation-slide--center {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
  }
  .presentation-slider__device {
    width: 100%;
    border-radius: 14px;
    padding: 8px;
  }
  .presentation-slider__screen {
    border-radius: 8px;
    aspect-ratio: 16/9;
    min-height: 200px; /* фолбэк, если aspect-ratio не сработает */
  }
  /* КЛЮЧЕВОЕ: на мобилке все слои строго друг на друге.
     Только opacity — никаких translateX, никакого is-leaving. */
  .presentation-slider__screen .presentation-slide__layer {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: none;
    transition: opacity 0.7s ease;
    will-change: opacity;
    z-index: 1;
  }
  .presentation-slider__screen .presentation-slide__layer.is-active {
    opacity: 1;
    z-index: 2;
  }
  /* is-leaving в мобильном режиме JS не ставит, но на всякий случай глушим */
  .presentation-slider__screen .presentation-slide__layer.is-leaving {
    opacity: 0;
    transform: none;
  }
}
.case-solution__picture {
  display: block;
  width: 100%;
  line-height: 0;
}

/* ================================================================
   16. PRESENTATION STYLE
   ================================================================ */
/* --- 16.1 Desktop --- */
.presentation-style {
  position: relative;
  color: #fff;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #0a2a5e;
  background-image: linear-gradient(90deg, #062352 0%, #0b3573 100%);
}

.presentation-style__bg {
  display: block;
  width: 100%;
  height: auto;
}

.presentation-style__overlay {
  display: none;
}

.presentation-style__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 150px 32px 32px;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 72px;
  align-items: start;
}

.presentation-style__content > .case-line {
  grid-column: 1/-1;
  margin-bottom: 0;
}

.presentation-style__right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 760px;
}

.presentation-style__content p {
  font-size: 22px;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

/* --- 16.2 Mobile (≤900px) --- */
@media (max-width: 900px) {
  .presentation-style {
    display: flex;
    align-items: stretch;
    min-height: 420px;
  }
  .presentation-style__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .presentation-style__overlay {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(6, 35, 82, 0.86) 0%, rgba(11, 53, 115, 0.92) 100%);
  }
  .presentation-style__content {
    position: relative;
    top: auto;
    padding: 30px 0 0 0;
    gap: 28px;
    grid-template-columns: 1fr;
  }
  .presentation-style__content > .case-line {
    margin-bottom: 4px;
  }
  /* Скрываем строку-метку, заголовок .case-h2--white остаётся */
  .presentation-style__content .case-line--dark {
    display: none;
  }
  .presentation-style__content p {
    font-size: 16px;
  }
}
/* ================================================================
   17. PRESENTATION CARDS
   ================================================================ */
/* --- 17.1 Desktop --- */
.presentation-cards {
  padding: 50px 0;
  background: #f5f7fb;
}

.presentation-cards__lead {
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 22px;
  line-height: 1.35;
  text-align: center;
  color: #6f7f96;
}

.presentation-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0 auto;
}

.presentation-card {
  min-height: 280px;
  border-radius: 20px;
  padding: 28px;
  background: rgba(47, 143, 157, 0.12);
  color: #6b7280;
}

.presentation-card--dark {
  background: linear-gradient(145deg, #04316f 0%, #0c58b8 100%);
  color: #fff;
}

.presentation-card--result {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #07367c;
}

.presentation-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.presentation-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 37, 91, 0.48), rgba(3, 24, 61, 0.6));
}

.presentation-card__content {
  position: relative;
  z-index: 1;
}

/* Списки в карточках */
.presentation-card ul {
  margin-top: 24px;
  list-style: none;
  padding: 0;
}

.presentation-card li {
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid rgba(107, 114, 128, 0.35);
  font-size: 15px;
  position: relative;
}

.presentation-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 12px;
  color: #f36b32;
  font-size: 20px;
  line-height: 1;
  display: block;
  font-family: inherit;
  transition: transform 0.3s ease;
}

.presentation-card li:hover::before {
  transform: translateX(4px);
}

.presentation-card--dark li {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.presentation-card--dark li::before {
  color: #f36b32;
}

.presentation-card p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.45;
}

/* Специфичные пилюли внутри карточек */
.presentation-task .presentation-pill,
.presentation-structure .presentation-pill,
.presentation-style .presentation-pill,
.presentation-card .presentation-pill {
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 64px);
  padding-left: 32px;
  padding-right: 32px;
  justify-self: start;
  align-self: start;
  border-radius: 90px;
}

/* --- 17.2 Mobile (≤900px) --- */
@media (max-width: 900px) {
  .presentation-cards__grid {
    grid-template-columns: 1fr;
  }
}
/* --- 17.3 Mobile (≤560px) --- */
@media (max-width: 560px) {
  .presentation-cards__lead {
    font-size: 16px;
  }
}
/* ================================================================
   18. COMPARISON SECTION (ДО / ПОСЛЕ)
   ================================================================ */
/* --- 18.1 Desktop --- */
.comparison-section {
  padding: 20px 0px 150px;
  background-color: #ffffff !important;
}

.tablet-frame {
  border: 16px solid #111111;
  border-radius: 24px;
  background-color: #000000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 0 0 2px #333333;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 400px;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background-color: #222222;
}

.image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  pointer-events: none;
}

.image-overlay {
  width: 100%;
  clip-path: inset(0 calc(100% - var(--position, 50%)) 0 0);
  z-index: 2;
}

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position, 50%);
  width: 2px;
  background: #ffffff;
  z-index: 5;
  transform: translateX(-50%);
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 24px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: "Inter Tight", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  pointer-events: none;
  z-index: 7;
}

.badge-before {
  left: 24px;
}

.badge-after {
  right: 24px;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: var(--position, 50%);
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  z-index: 6;
  pointer-events: none;
  transition: transform 0.1s ease;
}

.comparison-slider:hover .slider-handle {
  transform: translate(-50%, -50%) scale(1.1);
}

.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 10;
  margin: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

/* --- 18.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .comparison-section {
    padding: 0px 0px 30px;
  }
  .tablet-frame {
    border-width: 10px;
    border-radius: 16px;
  }
  .comparison-slider {
    aspect-ratio: 4/2.5;
    min-height: 220px;
  }
  .section-title {
    font-size: 24px;
  }
  .badge {
    top: 16px;
    padding: 6px 12px;
    font-size: 11px;
  }
  .badge-before {
    left: 16px;
  }
  .badge-after {
    right: 16px;
  }
  .slider-handle {
    width: 40px;
    height: 40px;
  }
}
/* ================================================================
   19. CASE-NEXT, CASE-STAGE, CASE-ASIDE
   ================================================================ */
/* --- 19.1 Desktop --- */
.case-next {
  display: block;
  background: #ffffff;
  padding: 64px 0;
  border-top: 1px solid #e4e7e8;
  border-bottom: 1px solid #e4e7e8;
}

.case-next__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
}

.case-next__label {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text);
  font-weight: 500;
}

.case-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.case-stage__main {
  width: min(78%, 920px);
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 40px 90px rgba(15, 20, 22, 0.4);
}

.case-stage--single .case-stage__main {
  width: min(70%, 860px);
}

.case-stage__phone {
  position: absolute;
  width: clamp(90px, 12vw, 150px);
  border-radius: 22px;
  border: 6px solid #17171a;
  box-shadow: 0 30px 60px rgba(10, 14, 16, 0.45);
  -o-object-fit: cover;
     object-fit: cover;
  background: #222;
}

.case-stage__phone--right {
  right: 2%;
  top: -4%;
}

.case-stage__phone--left {
  left: 0;
  bottom: -6%;
}

.case-aside {
  font-size: 15px;
  color: #5f6b71;
  max-width: 520px;
  margin: -18px 0 48px auto;
  text-align: right;
}

.case-full-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 32px 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* --- 19.2 Mobile (≤900px) --- */
@media (max-width: 900px) {
  .case-stage__main {
    width: 100%;
  }
  .case-stage__phone {
    display: none;
  }
}
/* --- 19.3 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .case-next {
    padding: 32px 0;
  }
  .case-next__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .case-aside {
    text-align: left;
    margin-left: 0;
  }
}
/* ================================================================
   20. PRIVACY POLICY
   ================================================================ */
/* --- 20.1 Desktop --- */
.privacy-policy {
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: #ffffff;
}

.privacy-policy h2 {
  font-size: 22px;
  margin: 36px 0 16px;
  color: var(--clr-heading);
  font-weight: 600;
}

.privacy-policy p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--clr-text);
  margin-bottom: 20px;
}

.privacy-policy p strong {
  color: var(--clr-heading);
  font-weight: 600;
}

.privacy-policy a {
  color: var(--clr-accent);
  text-decoration: underline;
}

.privacy-policy a:hover {
  color: var(--clr-accent-hover);
}

/* --- 20.2 Mobile (≤768px) --- */
@media (max-width: 768px) {
  .privacy-policy {
    padding: calc(var(--header-h) + 24px) 0 40px;
  }
}
/* ================================================================
   21. SCROLL PROGRESS + STICKY HERO + ФОНОВЫЕ ЦВЕТА СЕКЦИЙ
   ================================================================ */
/* --- 21.1 Scroll progress --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 1100;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-hover));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* --- 21.2 Sticky hero: секции наезжают поверх баннера --- */
.case-hero ~ .case-section,
.case-hero ~ .case-section--image-only,
.case-hero ~ .case-solution,
.case-hero ~ .case-full-label,
.case-hero ~ .case-label-band,
.case-hero ~ .case-band,
.case-hero ~ .case-showcase,
.case-hero ~ .case-trio,
.case-hero ~ .case-next,
.case-hero ~ .case-goal,
.case-hero ~ .project-intro,
.case-hero ~ .project-image-container,
.case-hero ~ .design-concept,
.case-hero ~ .full-width-images-stack,
.case-hero ~ .gallery,
.case-hero ~ .case-dark,
.case-hero ~ .contact,
.case-hero ~ .footer,
.case-hero ~ .comparison-section,
.case-hero ~ .presentation-task,
.case-hero ~ .presentation-slider-section,
.case-hero ~ .presentation-structure,
.case-hero ~ .presentation-style,
.case-hero ~ .presentation-cards,
.case-hero ~ .presentation-full-photo,
.presentation-hero ~ .presentation-task,
.presentation-hero ~ .presentation-slider-section,
.presentation-hero ~ .presentation-structure,
.presentation-hero ~ .presentation-style,
.presentation-hero ~ .presentation-cards,
.presentation-hero ~ .presentation-full-photo,
.presentation-hero ~ .case-next,
.presentation-hero ~ .contact,
.presentation-hero ~ .footer,
.presentation-hero ~ .comparison-section {
  position: relative;
  z-index: 2;
}

/* --- 21.3 Явные фоны секций --- */
.case-section {
  background: #ffffff;
}

.case-section--image-only {
  background: #ffffff;
}

.case-full-label {
  background: #ffffff;
}

.case-label-band {
  background: #ffffff;
}

.case-band {
  background: #ffffff;
}

.case-trio {
  background: #ffffff;
}

.case-dark {
  background: #43464b;
}

.case-showcase {
  background: #1d2022;
}

.case-next {
  background: #ffffff;
}

.comparison-section {
  background: #ffffff;
}

.presentation-slider-section {
  background: #ffffff;
}

.presentation-task {
  background: #f5f7fb;
}

.presentation-cards {
  background: #f5f7fb;
}

.presentation-full-photo {
  background: #ffffff;
}

.presentation-style {
  background: #0a2a5e;
}

/* --- 21.4 Mobile (≤768px): выключаем sticky hero --- */
@media (max-width: 768px) {
  .case-hero,
  .presentation-hero {
    position: relative;
    top: auto;
    z-index: auto;
  }
}
.page-404-body {
  background: #1a2536;
}

.page-404 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 48px) 24px 64px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(29, 34, 40, 0.82) 0%, rgba(47, 143, 157, 0.55) 100%), url("../img/promo/advantages.jpg") center/cover no-repeat;
}
.page-404__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(96px, 22vw, 352px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
}
.page-404__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.page-404__number {
  font-size: clamp(140px, 28vw, 380px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--clr-accent) 0%, var(--clr-accent-hover) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 8px 32px rgba(47, 143, 157, 0.35);
  margin-bottom: -70px;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: float404 6s ease-in-out infinite;
}
.page-404__card {
  position: relative;
  z-index: 1;
  max-width: 620px;
  width: 100%;
  padding: 64px 40px 40px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  color: #fff;
}
.page-404__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #fff;
  text-wrap: balance;
}
.page-404__text {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 32px;
}
.page-404__btn {
  margin: 0 auto;
}
@media (max-width: 640px) {
  .page-404 {
    padding: calc(var(--header-h) + 32px) 16px 48px;
  }
  .page-404__number {
    margin-bottom: -30px;
    text-shadow: 0 6px 20px rgba(47, 143, 157, 0.3);
  }
  .page-404__card {
    padding: 48px 24px 32px;
    border-radius: 20px;
  }
  .page-404__title {
    font-size: 18px;
  }
  .page-404__text {
    font-size: 15px;
  }
  .page-404__btn {
    width: 100%;
    justify-content: flex-start;
  }
}

@keyframes float404 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}/*# sourceMappingURL=main.css.map */