:root {
  --container: 1520px;
  --dark: #131722;
  --text: #191c27;
  --muted: #6f7178;
  --red: #c7153f;
  --red-dark: #b91138;
  --orange: #d98632;
  --orange-dark: #c77426;
  --card: #f6f6f6;
  --card-2: #f3f3f3;
  --border: #ececec;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 7px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

body {
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font-family: inherit;
}

.page {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

.page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 2415px;
  height: 1368px;
  background: url("../assets/images/Vector 9.png") no-repeat center top / 2415px 1368px;
  transform: translateX(-50%);
  pointer-events: none;
}


.container {
  width: 100%;
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

.decor {
  display: none;
}

.decor--bottom-right {
  right: -275px;
  bottom: 260px;
  width: 790px;
  height: 790px;
  border-radius: 50%;
  border: 54px solid #df3c34;
  border-left-color: transparent;
  border-top-color: transparent;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  background: transparent;
}

.header__inner {
  height: 76px;
  display: grid;
  grid-template-columns: 180px 1fr 190px;
  align-items: center;
}

.logo img {
  width: 190px;
  height: auto;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #1f222b;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header.is-menu-open .burger span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.header.is-menu-open .burger span:nth-child(2) {
  opacity: 0;
}

.header.is-menu-open .burger span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 39px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #1f222b;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav__link--dropdown::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-item.is-open .nav__link--dropdown::after {
  transform: translateY(2px) rotate(-135deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 60;
  min-width: 220px;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(19, 23, 34, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.3;
  color: #1f222b;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown__link:hover {
  background: #f6f6f6;
  color: var(--red);
}

.nav-dropdown__link--active {
  background: #f6f6f6;
  color: var(--red);
}

.nav__link:hover,
.nav__link--active {
  color: var(--red);
}

.nav__link--active {
  font-weight: 700;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #10131c;
}

.header-phone span {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.header-phone small {
  font-size: 12px;
  font-weight: 400;
  color: #3b3e47;
}

.btn {
  min-width: 255px;
  height: 53px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  box-shadow: 0 14px 28px rgba(19, 23, 34, 0.16);
  filter: saturate(1.05);
}

.btn img {
  width: 18px;
  height: 12px;
  flex: 0 0 auto;
}

.btn--red {
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}

.btn--orange {
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
}

.section-label {
  width: auto;
  min-width: 100px;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #949494;
  border-radius: 15px;
  color: #949494;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.section-label--center {
  width: 100px;

  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.section-label--about {
  width: 146px;
}

.section-label--specialists {
  width: 160px;
}

.section-label--services {
  width: 100px;
}

.section-label--reviews {
  width: 109px;
}

.section-title {
  margin: 18px 0 32px;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}

.section-title--center {
  text-align: center;
}

.section-title--specialists {
  margin-top: 20px;
  margin-bottom: 34px;
}

.section-title--services-citizens,
.section-title--services-business {
  margin-top: 0;
  margin-bottom: 40px;
}

.section-title--reviews {
  margin-bottom: 27px;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 54px 0 91px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 660px;
  gap: 20px;
  align-items: center;
}

.hero__content {
  width: 775px;
  max-width: 100%;
  padding-left: 28px;
  padding-top: 15px;
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--dark);
  text-align: center;
}

.hero-title-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px 14px 6px;
  border-radius: 18px;
  background: transparent;
}

.hero-title-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(90deg, #C51535 0%, #EFBF04 56%, #FFD700 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.hero-title-accent {
  color: #A8122E;
}

.hero p {
  max-width: 540px;
  margin: 52px auto 35px;
  font-size: 17px;
  font-weight: 400;
  text-align: center;
  color: #363945;
}

.hero__buttons {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
}

.hero__buttons .btn--red {
  background:
    linear-gradient(90deg, #00000000 0%, #00000033 33%, rgba(255, 255, 255, 0.3) 66%, #0000004D 100%),
    #C51535;
}

.hero__buttons .btn--orange {
  background:
    linear-gradient(90deg, #00000000 0%, #FF000033 33%, rgba(255, 255, 255, 0.3) 66%, #FF00004D 100%),
    #CD7F32;
}

.page-hero .btn--red {
  background:
    linear-gradient(90deg, #00000000 0%, #00000033 33%, rgba(255, 255, 255, 0.3) 66%, #0000004D 100%),
    #C51535;
}

.page-hero .btn--orange {
  background:
    linear-gradient(90deg, #00000000 0%, #FF000033 33%, rgba(255, 255, 255, 0.3) 66%, #FF00004D 100%),
    #CD7F32;
}

.hero__image {
  width: auto;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview {
  position: relative;
  z-index: 2;
  padding: 20px 0 114px;
}

.about-card {
  position: relative;
  min-height: 405px;
  padding: 65px 0 65px 125px ;
  background: rgba(246, 246, 246, 0.5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.about-card__content {
  position: relative;
  z-index: 2;
  display: block;
}

.about-card__text {
  padding-top: 21px;
  max-width: 820px;
}

.about-card h2 {
  margin: 0 0 20px;
  font-size: 50px;
  font-weight: 400;
  color: var(--dark);
}

.about-card p {
  margin: 0;
  max-width: 780px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  color: #343743;
}

.stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  max-width: 730px;
}

.stats__item strong {
  display: block;
  margin-bottom: 14px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--red);
}

.stats__item span {
  display: block;
  max-width: 225px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: #222631;
}

.specialists {
  position: relative;
  z-index: 2;
  padding: 0 0 58px;
}

.specialists__inner {
  background: rgba(246, 246, 246, 0.5);
  border-radius: var(--radius-lg);
  padding-top: 43px;
  padding-bottom: 67px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.specialists__slider {
  position: relative;
  padding: 0 44px;
}

.specialists__viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}


.specialists__grid {
  width: 100%;
  max-width: 1232px;
  margin: 0 auto;
  display: flex;
  gap: 26px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.specialists__viewport.is-dragging {
  cursor: grabbing;
}

.specialists__viewport.is-dragging .specialists__grid {
  transition: none;
}

.specialist-card {
  min-width: calc((100% - 78px) / 4);
  flex: 0 0 calc((100% - 78px) / 4);
}

.specialist-card img {
  width: 100%;
  height: 318px;
  border-radius: 15px;
  object-fit: cover;
  background: #ddd;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.specialist-card h3 {
  margin: 25px 0 19px;
  font-size: 32px;
  font-weight: 300;
  color: var(--dark);
}

.specialist-card p {
  margin: 0 0 9px;
  font-size: 17px;
  font-weight: 300;
  color: var(--red);
}

.specialist-card span {
  display: block;
  font-size: 17px;
  color: var(--red);
}

.slider-arrow {
  position: absolute;
  top: 85px;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 3;
  background: transparent;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.slider-arrow:not(:disabled) {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.slider-arrow img {
  width: 40px;
  height: 40px;
  display: block;
  transition: filter 0.2s ease;
}

.slider-arrow:not(:disabled):hover img {
  filter: drop-shadow(0 10px 18px rgba(197, 21, 53, 0.2));
}

.slider-arrow--left {
  left: 22px;
  transform: rotate(180deg);
}

.slider-arrow--left:not(:disabled):hover {
  transform: rotate(180deg) translateY(1px);
}

.slider-arrow--right {
  right: 22px;
}

.slider-arrow--right:not(:disabled):hover {
  transform: translateY(-1px);
}

.services {
  position: relative;
  z-index: 2;
  padding: 18px 0 35px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  width: 100%;
  min-width: 0;
  height: 220px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 21px 18px;
  border-radius: 16px;
  background: #f8f8f8;
  overflow: hidden;
  color: #1f222c;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(19, 23, 34, 0.1);
  background: #f0f0f0;
}

.service-card--wide {
  grid-column: span 1;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 161px;
  object-fit: cover;
  z-index: 1;
}

.service-card--image {
  padding-bottom: 17px;
}

.service-card span {
  position: relative;
  z-index: 2;
  max-width: 100%;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.18;
}

.service-card i {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}

.service-card i img {
  width: 40px;
  height: 40px;
  display: block;
}

.services__more {
  display: flex;
  justify-content: flex-end;
  margin-top: 21px;
}

.services__more a {
  min-width: 265px;
  height: 70px;
  padding: 0 26px 0 ;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  background: #f7f7f7;
  font-size: 22px;
  color: #333640;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.services__more a:hover {
  transform: translateY(-2px);
  background: #f1f1f1;
  box-shadow: 0 14px 28px rgba(19, 23, 34, 0.08);
}

.services__more span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.services__more span img {
  width: 40px;
  height: 40px;
  display: block;
}

.reviews {
  position: relative;
  z-index: 2;
  padding: 44px 0 50px;
}

.reviews__inner {
  padding: 0;
}

.reviews__subtitle {
  max-width: 1010px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 17px;
  line-height: 1.45;
  color: #4c4f57;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}

.review-card {
  width: 100%;
  min-height: 185px;
  padding: 26px 27px ;
  background: #f6f6f6;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.review-card p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.48;
  color: #333742;
}

.review-card strong {
  display: block;
  margin-top: auto;
  font-size: 17px;
  font-weight: 400;
  color: #222631;
}

.cta {
  position: relative;
  z-index: 2;
  padding: 18px 0 120px;
}

.cta__inner {
  width: 660px;
  text-align: center;
  background-color: #f8f8f8;
  padding: 30px 0;
  border-radius: 16px;
  margin: 0 auto;
}

.cta h2 {
  margin: 0 0 30px;
  font-size: 36px;
  font-weight: 400;
  color: var(--dark);
}

.cta .btn {
  min-width: 286px;
  background:
    linear-gradient(90deg, #00000000 0%, #00000033 33%, rgba(255, 255, 255, 0.3) 66%, #0000004D 100%),
    #C51535;
}

.footer {
  position: relative;
  z-index: 2;
  background: #E6E6E680;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.footer__inner {
  padding: 40px 0;
}

.footer__top {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 316px 276px 0fr;
  gap: 80px;
  align-items: center;
  justify-items: center;
}

.footer__logo img {
  width: 190px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 700;
  color: #151923;
  transition: color 0.2s ease, transform 0.2s ease;
  text-align: right;
}

.footer-contact:hover {
  color: var(--red);
  transform: translateY(-1px);
}

.footer-icon {
  width: 40px;
  height: 40px;
  display: block;
  flex: 0 0 auto;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.footer-socials a img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  background: #f9e7ea;
  border-color: #c51535;
}

.footer__bottom {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  gap: 55px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.footer__bottom .footer-col:first-child {
  text-align: right;
  justify-self: end;
}

.footer__bottom .footer-col:nth-child(2) {
  text-align: center;
  justify-self: center;
}

.footer__bottom .footer-col:last-child {
  text-align: left;
  justify-self: start;
}

.footer-col h3 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  color: #1d2029;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0;
  font-size: 17px;
  line-height: 1.25;
  color: #242731;
}

.footer-col a {
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-col a + a {
  margin-top: 2px;
}

.footer-col--dev {
  margin-top: 38px;
  text-align: center;
}

.footer-col--dev p {
  font-weight: 500;
  font-size: 24px;
}

.footer-col--dev b {
  color: var(--red);
}

@media (max-width: 1200px) {
  :root {
    --container: 1040px;
  }

  .header__inner {
    grid-template-columns: 150px 1fr 165px;
  }

  .nav {
    gap: 22px;
  }

  .hero__inner {
    grid-template-columns: 1fr 470px;
    gap: 50px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero__image {
    width: 470px;
  }

  .about-card__content {
    grid-template-columns: 1fr 300px;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .header {
    height: auto;
  }

  .header__inner {
    height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    grid-template-columns: 1fr auto auto;
    gap: 20px;
  }

  .burger {
    display: inline-flex;
  }

  .nav {
    grid-column: 1 / -1;
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 40px rgba(19, 23, 34, 0.08);
    overflow: visible;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .header.is-menu-open .nav {
    display: flex;
  }

  .nav__link,
  .nav-item {
    width: 100%;
  }

  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    font-size: 15px;
  }

  .nav-item {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-dropdown {
    position: static;
    min-width: 0;
    margin-top: 4px;
    padding: 6px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    transform: none;
  }

  .nav-item.is-open .nav-dropdown {
    display: block;
    transform: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero__content {
    width: 100%;
    padding-left: 0;
    padding-top: 0;
  }

  .hero h1 {
    font-size: 34px;
    max-width: 100%;
  }

  .hero__image {
    width: 100%;
    height: 300px;
  }

  .hero p {
    margin: 24px auto 28px;
  }

  .hero__buttons {
    justify-content: center;
  }

  .about-card {
    padding: 30px 24px;
  }

  .about-card__content {
    grid-template-columns: 1fr;
  }

  .about-card__image {
    display: none;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .specialists__grid {
    gap: 20px;
  }

  .specialist-card {
    min-width: calc((100% - 20px) / 2);
    flex-basis: calc((100% - 20px) / 2);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    height: 200px;
  }

  .service-card span {
    font-size: 18px;
  }

  .services__more a {
    min-width: 220px;
    height: 60px;
    font-size: 18px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 0;
  }

  .footer__top {
    width: 100%;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 20px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer__bottom {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    gap: 28px 20px;
  }

  .footer__bottom .footer-col:first-child,
  .footer__bottom .footer-col:nth-child(2),
  .footer__bottom .footer-col:last-child {
    text-align: center;
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .page::before {
    top: 120px;
    left: 42%;
    width: 1300px;
    height: 700px;
    background-size: 1300px 700px;
  }

  .page::after {
    width: 420px;
    height: 420px;
  }

  .header-phone {
    display: none;
  }

  .header__inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .burger {
    grid-row: 1;
    justify-self: end;
  }

  .logo {
    grid-row: 1;
  }

  .nav-item {
    flex-shrink: 0;
  }

  .nav {
    gap: 14px;
    width: calc(100% + 32px);
    margin-left: 12px;
    margin-right: -16px;
    border-radius: 0;
    align-items: center;
    text-align: center;
    border-radius: 15px;
  }

  .nav__link {
    font-size: 15px;
    justify-content: center;
  }

  .logo img {
    width: 150px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  .hero p {
    margin: 18px auto 24px;
    font-size: 14px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn,
  .cta .btn {
    width: 100%;
    min-width: 0;
    height: 50px;
    font-size: 18px;
  }

  .hero__image {
    height: 220px;
  }

  .section-title {
    font-size: 32px;
    line-height: 1.12;
  }

  .section-label {
    min-width: 0;
    height: 36px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
  }

  .section-label--about,
  .section-label--specialists,
  .section-label--services,
  .section-label--reviews {
    width: auto;
  }

  .about-card {
    padding: 22px 18px;
  }

  .about-card__text {
    padding-top: 20px;
  }

  .about-card h2 {
    font-size: 32px;
  }

  .about-card p,
  .stats__item span {
    font-size: 14px;
  }

  .stats__item strong {
    font-size: 28px;
  }

  .specialists__inner {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .specialists__slider {
    padding: 0 28px;
  }

  .specialists__viewport::before,
  .specialists__viewport::after {
    display: none;
  }

  .services-grid,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .specialists__grid {
    gap: 0;
  }

  .specialist-card {
    min-width: 100%;
    flex-basis: 100%;
  }

  .specialist-card img {
    height: 370px;
  }

  .specialist-card h3 {
    margin: 18px 0 10px;
    font-size: 24px;
  }

  .specialist-card p,
  .specialist-card span {
    font-size: 15px;
  }

  .service-card {
    height: 200px;
    min-height: 200px;
    padding: 0 16px 16px;
  }

  .service-card img {
    height: 147px;
  }

  .service-card span {
    font-size: 18px;
  }

  .service-card i,
  .service-card i img,
  .services__more span img {
    width: 34px;
    height: 34px;
  }

  .services__more {
    margin-top: 16px;
  }

  .services__more a {
    width: 100%;
    min-width: 0;
    height: 56px;
    font-size: 16px;
  }

  .reviews {
    padding-top: 35px;
  }

  .reviews__subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .review-card {
    padding: 18px;
  }

  .review-card p,
  .review-card strong {
    font-size: 14px;
  }

  .cta h2 {
    font-size: 24px;
  }

  .cta {
    padding-bottom: 72px;
  }

  .footer__inner {
    padding: 24px 0;
  }

  .footer__top {
    gap: 16px;
  }

  .footer__logo img {
    width: 150px;
  }

  .footer-contact {
    font-size: 16px;
    gap: 10px;
  }

  .footer-icon,
  .footer-socials a {
    width: 32px;
    height: 32px;
  }

  .footer__bottom {
    margin-top: 24px;
    gap: 20px;
  }

  .footer-col h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .footer-col a,
  .footer-col p,
  .footer-col--dev p {
    font-size: 14px;
  }

  .footer-col--dev {
    margin-top: 24px;
  }
}
.about-card__image {
  position: absolute;
  top: -111px;
    right: -2px;
    height: calc(100% + 178px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
}

.about-card__image img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: top right;
}

/* =========================
   SERVICES CITIZENS PAGE
========================= */

.services-citizens-page .page::before {
  top: 120px;
  left: 46%;
  transform: translateX(-50%) rotate(-10deg);
}

.services-citizens-page .page::after {
  bottom: 80px;
}

.page-hero {
  position: relative;
  z-index: 2;
  padding: 90px 0 120px;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 660px;
  gap: 96px;
  align-items: center;
}

.page-hero__content {
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero h1 {
  margin: 0 0 34px;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.03em;
  text-align: center;
  color: var(--dark);
}

.page-hero__subtitle {
  margin: 0 0 30px;
  max-width: 100%;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: 0.02em;
  color: var(--dark);
  text-align: center;
}

.page-hero__image {
  width: 660px;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-about {
  position: relative;
  z-index: 2;
  padding: 0 0 120px;
}

.service-about__card {
  position: relative;
  min-height: 430px;
  padding: 65px 0 65px 125px;
  background: rgba(246, 246, 246, 0.5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.service-about__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 410px;
  gap: 60px;
}

.service-about__text {
  padding-top: 31px;
  max-width: 820px;
}

.service-about h2 {
  margin: 0 0 30px;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.service-about p {
  margin: 0 0 15px;
  max-width: 790px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.46;
  color: #343743;
}

.service-about p:last-of-type {
  margin-bottom: 0;
}

.service-about__image {
  position: absolute;
  top: -111px;
  right: -2px;
  height: calc(100% + 178px);
  opacity: 0.38;
  pointer-events: none;
  z-index: 1;
}

.service-about__image img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: top right;
}

.service-about .stats {
  margin-top: 34px;
}

.service-about .stats__item strong {
  color: var(--red);
}

.services--citizens-page,
.services--business-page {
  padding-top: 4px;
}

.services--citizens-page .service-card,
.services--business-page .service-card {
  height: 220px;
  display: grid;
  align-items: stretch;
  padding: 0;
}

.services--citizens-page .service-card span,
.services--business-page .service-card span {
  font-size: 22px;
  line-height: 1.18;
  align-self: end;
  padding: 18px 21px;
}

.services--citizens-page .service-card--image,
.services--business-page .service-card--image {
  grid-template-rows: minmax(0, 1fr) auto;
}

.services--citizens-page .service-card--image img,
.services--business-page .service-card--image img {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
}

.services--citizens-page .services-grid,
.services--business-page .services-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 220px);
  align-items: start;
}

.services--citizens-page .service-card i,
.services--citizens-page .service-card i img,
.services--business-page .service-card i,
.services--business-page .service-card i img {
  width: 40px;
  height: 40px;
}

.services--citizens-page .service-card--citizens-family {
  grid-column: 1;
  grid-row: 1;
}

.services--citizens-page .service-card--citizens-state {
  grid-column: 3 / span 2;
  grid-row: 1;
}

.services--citizens-page .service-card--citizens-labor {
  grid-column: 1;
  grid-row: 2;
}

.services--citizens-page .service-card--citizens-court {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 460px;
}

.services--citizens-page .service-card--citizens-property {
  grid-column: 3;
  grid-row: 2;
}

.services--citizens-page .service-card--citizens-consumer {
  grid-column: 4;
  grid-row: 2 / span 2;
  height: 460px;
}

.services--citizens-page .service-card--citizens-real-estate {
  grid-column: 1 / span 2;
  grid-row: 3;
}

.services--citizens-page .service-card--citizens-bankruptcy {
  grid-column: 3;
  grid-row: 3;
}

.services--business-page .service-card--business-family {
  grid-column: 1;
  grid-row: 1;
}

.services--business-page .service-card--business-state {
  grid-column: 3 / span 2;
  grid-row: 1;
}

.services--business-page .service-card--business-labor {
  grid-column: 1;
  grid-row: 2;
}

.services--business-page .service-card--business-court {
  grid-column: 2;
  grid-row: 1 / span 2;
  height: 460px;
}

.services--business-page .service-card--business-property {
  grid-column: 3;
  grid-row: 2;
}

.services--business-page .service-card--business-consumer {
  grid-column: 4;
  grid-row: 2 / span 2;
  height: 460px;
}

.services--business-page .service-card--business-real-estate {
  grid-column: 1 / span 2;
  grid-row: 3;
}

.services--business-page .service-card--business-bankruptcy {
  grid-column: 3;
  grid-row: 3;
}

.fit-block {
  position: relative;
  z-index: 2;
  padding: 85px 0 105px;
}

.fit-block__inner {
  background: rgba(246, 246, 246, 0.72);
  border-radius: var(--radius-lg);
  padding: 63px 40px 48px;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.fit-block .section-title {
  margin-top: 22px;
  margin-bottom: 30px;
}

.fit-block__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

.fit-card img {
  width: 100%;
  height: 355px;
  border-radius: 8px;
  object-fit: cover;
  background: #ddd;
}

.fit-card p {
  margin: 24px 0 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.13;
  color: #20232d;
}

.services-citizens-page .cta .btn {
  background:
    linear-gradient(90deg, #00000000 0%, #FF000033 33%, rgba(255, 255, 255, 0.3) 66%, #FF00004D 100%),
    #CD7F32;
}

.section-label--service-about {
  width: 136px;
}

.section-label--services-cases {
  width: 100px;
}

.section-label--fit {
  width: 111px;
}

.section-title--services-page {
  margin-top: 36px;
  margin-bottom: 35px;
}

.section-title--fit {
  margin-top: 12px;
  margin-bottom: 30px;
}

.page-hero__subtitle--cases {
  font-size: 24px;
  font-weight: 600;
  color: rgba(100, 100, 100, 1);
  margin-bottom: 70px;
}

@media (max-width: 1200px) {
  .page-hero__inner {
    grid-template-columns: 1fr 470px;
    gap: 50px;
  }

  .page-hero__image {
    width: 470px;
  }

  .service-about__content {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 900px) {
  .page-hero {
    padding-top: 42px;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-hero__content {
    padding-left: 0;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .page-hero__subtitle {
    font-size: 20px;
  }

  .page-hero__image {
    width: 100%;
    height: 300px;
  }

  .service-about__card {
    padding: 30px 24px;
  }

  .service-about__content {
    grid-template-columns: 1fr;
  }

  .service-about__image {
    display: none;
  }

  .fit-block__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services--citizens-page .services-grid,
  .services--business-page .services-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .services--citizens-page .service-card--citizens-family,
  .services--citizens-page .service-card--citizens-state,
  .services--citizens-page .service-card--citizens-labor,
  .services--citizens-page .service-card--citizens-court,
  .services--citizens-page .service-card--citizens-property,
  .services--citizens-page .service-card--citizens-consumer,
  .services--citizens-page .service-card--citizens-real-estate,
  .services--citizens-page .service-card--citizens-bankruptcy,
  .services--business-page .service-card--business-family,
  .services--business-page .service-card--business-state,
  .services--business-page .service-card--business-labor,
  .services--business-page .service-card--business-court,
  .services--business-page .service-card--business-property,
  .services--business-page .service-card--business-consumer,
  .services--business-page .service-card--business-real-estate,
  .services--business-page .service-card--business-bankruptcy {
    grid-column: auto;
    grid-row: auto;
    height: 200px;
  }
}

@media (max-width: 560px) {
  .page-hero h1 {
    font-size: 28px;
  }

  .page-hero__subtitle {
    font-size: 17px;
  }

  .page-hero__image {
    height: 220px;
  }

  .service-about h2 {
    font-size: 28px;
  }

  .fit-block__inner {
    padding: 30px 18px;
  }

  .fit-block__grid {
    grid-template-columns: 1fr;
  }

  .services--citizens-page .services-grid,
  .services--business-page .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .services--citizens-page .service-card--citizens-family,
  .services--citizens-page .service-card--citizens-state,
  .services--citizens-page .service-card--citizens-labor,
  .services--citizens-page .service-card--citizens-court,
  .services--citizens-page .service-card--citizens-property,
  .services--citizens-page .service-card--citizens-consumer,
  .services--citizens-page .service-card--citizens-real-estate,
  .services--citizens-page .service-card--citizens-bankruptcy,
  .services--business-page .service-card--business-family,
  .services--business-page .service-card--business-state,
  .services--business-page .service-card--business-labor,
  .services--business-page .service-card--business-court,
  .services--business-page .service-card--business-property,
  .services--business-page .service-card--business-consumer,
  .services--business-page .service-card--business-real-estate,
  .services--business-page .service-card--business-bankruptcy {
    height: 170px;
  }

  .services--business-page .service-card {
    height: 220px;
    min-height: 0;
  }

  .service-about {
    padding-bottom: 70px;
  }

  .page-hero {
    padding-bottom: 70px;
  }

  .fit-block {
    padding-top: 30px;
  }
}

.cta__text {
  max-width: 560px;
  margin: -4px auto 16px;
  font-size: 17px;
  line-height: 1.4;
  color: #343743;
}

.service-real-estate-page .cta__text,
.service-construction-page .cta__text {
  max-width: 720px;
}

.services-help {
  position: relative;
  z-index: 2;
  padding: 8px 0 60px;
}

.services-help .section-title {
  margin-top: 14px;
  margin-bottom: 34px;
}

.services-help__grid {
  max-width: 1494px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.services-help__card {
  width: 360px;
  height: 160px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 30px;
  background: #f6f6f6;
  border-radius: 8px;
}

.services-help__icon {
  flex: 0 0 20px;
  width: 44px;
  height: auto;
  display: block;
  object-fit: contain;
}

.services-help__card p {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.15;
  color: #20232d;
}

@media (max-width: 1200px) {
  .services-help__grid {
    max-width: 100%;
  }

  .services-help__card {
    width: calc((100% - 36px) / 3);
    min-width: 0;
    height: 140px;
    padding: 15px 22px;
  }
}

@media (max-width: 900px) {
  .cta {
    padding: 18px 0 72px;
  }

  .cta__inner {
    width: 100%;
    max-width: 100%;
    padding: 28px 24px;
  }

  .cta h2 {
    font-size: 30px;
    line-height: 1.16;
    margin-bottom: 20px;
  }

  .cta .btn {
    min-width: 220px;
  }

  .services-help__grid {
    max-width: 100%;
  }

  .services-help__card {
    width: calc((100% - 18px) / 2);
    height: 130px;
  }

  .services-help__card p {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .cta {
    padding: 8px 0 48px;
  }

  .cta__inner {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
  }

  .cta h2 {
    font-size: 24px;
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .cta .btn {
    width: 100%;
    max-width: 320px;
    min-width: 0;
  }

  .services-help__card {
    width: 100%;
    height: auto;
    min-height: 68px;
    padding: 15px 18px;
  }

  .services-help__card p {
    font-size: 18px;
  }

  .service-real-estate-page .cta h2,
  .service-construction-page .cta h2 {
    font-size: 24px;
    line-height: 1.18;
  }

  .service-real-estate-page .cta__text,
  .service-construction-page .cta__text {
    max-width: 100%;
    margin: 8px auto 18px;
    padding: 0 8px;
    font-size: 18px;
    line-height: 1.45;
  }

}

/* =========================
   ABOUT PAGE
========================= */

.about-company {
  position: relative;
  z-index: 2;
  padding: 76px 0 52px;
}

.section-label--about-company {
  width: 140px;
}

.section-label--about-history {
  width: 160px;
}

.about-company__card {
  position: relative;
  min-height: 1510px;
  padding: 50px 60px 68px;
  background: rgba(230, 230, 230, 0.5);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-radius: 14px;
  overflow: hidden;
}

.about-company__hero {
  position: relative;
  z-index: 2;
  min-height: 980px;
  margin-top: 26px;
}

.about-company__column {
  position: absolute;
  top: 0;
  left: 50%;
  width: 520px;
  transform: translateX(-50%);
  z-index: 1;
}

.about-company__title {
  position: absolute;
  top: 285px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  margin: 0;
  font-size: 184px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #101424;
}

.about-company__stat {
  position: absolute;
  top: 455px;
  z-index: 4;
  width: 230px;
  margin-top: 30px;
  text-align: center;
}

.about-company__stat--left {
  left: 315px;
  text-align: right;
}

.about-company__stat--right {
  right: 315px;
  text-align: left;
}

.about-company__stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--red);
}

.about-company__stat span {
  display: block;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: #252833;
}

.about-company__text {
  width: 910px;
  position: absolute;
  left: 50%;
  top: 720px;
  z-index: 4;
  min-height: 92px;
  transform: translateX(-50%);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(65, 65, 65, 0.25));
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  text-align: center;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  color: #2f323b;
}

.about-history {
  position: relative;
  z-index: 3;
  margin-top: 390px;
  text-align: center;
}

.about-history h2 {
  margin: 30px 0 20px;
  font-size: 54px;
  font-weight: 700;
  line-height: 1.1;
  color: #111522;
}

.about-history > p {
  margin: 0 auto 56px;
  max-width: 470px;
  font-size: 17px;
  line-height: 1.35;
  color: #6b6d75;
}

.timeline {
  position: relative;
  width: 1160px;
  max-width: 100%;
  height: 96px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.timeline__asset {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.timeline__point {
  position: relative;
  z-index: 2;
  width: 90px;
  height: 72px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.timeline__point span {
  position: absolute;
  top: 0px;
  left: 50%;
  width: 13px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #e3b327;
  transition: transform 0.2s ease;
}

.timeline__point b {
  position: absolute;
  left: 0;
  right: 0;
  top: 43px;
  font-size: 15px;
  font-weight: 400;
  color: #252833;
}

.timeline__point--active span {
  top: -7px;
  width: 26px;
  height: 26px;
  background: var(--red);
}

.timeline__point:not(.timeline__point--active):hover span {
  transform: translateX(-50%) scale(1.12);
}

.timeline__point--active b {
  top: 43px;
  font-size: 26px;
  font-weight: 500;
  color: var(--red);
}

.timeline__arrow {
  position: absolute;
  right: -18px;
  top: 5px;
  color: var(--red);
  font-size: 26px;
  line-height: 1;
}

.timeline__caption {
  margin-top: 18px;
  text-align: left;
  padding-left: 70px;
  font-size: 24px;
  font-weight: 600;
  color: #646464;
}

.about-logo-block {
  position: relative;
  z-index: 2;
  padding: 90px 0 110px;
  text-align: center;
}

.about-logo-block img {
  width: 360px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .about-company__card {
    min-height: 1340px;
  }

  .about-company__title {
    font-size: 110px;
  }

  .about-company__stat--left {
    left: 190px;
  }

  .about-company__stat--right {
    right: 190px;
  }

  .about-company__column {
    width: 410px;
  }
}

@media (max-width: 900px) {
  .about-company {
    padding-top: 42px;
  }

  .about-company__card {
    min-height: auto;
    padding: 36px 22px 44px;
  }

  .about-company__hero {
    min-height: 760px;
  }

  .about-company__column {
    width: 300px;
  }

  .about-company__title {
    top: 210px;
    font-size: 84px;
  }

  .about-company__stat {
    top: 330px;
    width: 170px;
    margin-top: 0;
  }

  .about-company__stat--left {
    left: 40px;
  }

  .about-company__stat--right {
    right: 40px;
  }

  .about-company__text {
    top: 470px;
    width: calc(100% - 40px);
    padding: 24px 22px;
    font-size: 14px;
  }

  .about-history {
    margin-top: 220px;
  }

  .about-history h2 {
    margin: 24px 0 14px;
    font-size: 40px;
  }

  .about-history > p {
    margin-bottom: 32px;
    font-size: 14px;
  }

  .timeline {
    width: max-content;
    min-width: 760px;
    overflow-x: auto;
    gap: 24px;
    padding-top: 12px;
  }

  .timeline__caption {
    padding-left: 0;
    text-align: center;
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .about-company {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .about-company__card {
    padding: 28px 16px 34px;
  }

  .about-company__hero {
    min-height: 640px;
    margin-top: 18px;
  }

  .about-company__column {
    width: 220px;
  }

  .about-company__title {
    top: 158px;
    font-size: 42px;
    letter-spacing: 0.04em;
  }

  .about-company__stat {
    position: absolute;
    top: 250px;
    width: 115px;
    margin-bottom: 0;
  }

  .about-company__stat strong {
    font-size: 24px;
  }

  .about-company__stat span {
    font-size: 13px;
  }

  .about-company__stat--left {
    left: 0;
    text-align: right;
  }

  .about-company__stat--right {
    right: 0;
    text-align: left;
  }

  .about-company__text {
    top: 392px;
    width: calc(100% - 16px);
    min-height: 0;
    padding: 18px 16px;
    font-size: 12px;
    line-height: 1.45;
  }

  .about-history {
    margin-top: 0;
  }

  .about-history h2 {
    font-size: 30px;
  }

  .about-history > p {
    margin-bottom: 24px;
    font-size: 13px;
  }

  .timeline {
    min-width: 100%;
    height: 86px;
    gap: 18px;
    padding-top: 8px;
  }

  .timeline__point {
    width: 76px;
  }

  .timeline__point b {
    top: 38px;
    font-size: 14px;
  }

  .timeline__point--active b {
    top: 38px;
    font-size: 18px;
  }

  .timeline__caption {
    text-align: center;
    font-size: 15px;
    line-height: 1.35;
  }

  .about-logo-block {
    padding: 26px 0 44px;
  }

  .about-logo-block img {
    width: 220px;
  }

  .timeline__asset {
    top: 12px;
  }

  .timeline__point--active span {
    width: 20px;
    height: 20px;

    top: -3px;
  }
}

/* =========================
   CONTACTS PAGE
========================= */

.contacts-section {
  position: relative;
  z-index: 2;
  padding: 76px 0 72px;
}

.contacts-card {
  position: relative;
  min-height: 640px;
  padding: 58px 95px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  background: #f6f6f6;
  border-radius: 14px;
  overflow: hidden;
}



.contacts-card__col {
  position: relative;
  z-index: 2;
}

.contacts-card h1,
.contacts-card__col--right h2 {
  margin: 0 0 42px;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--dark);
}

.contacts-card__col--left {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 19px;
}

.contacts-list__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #141722;
}

.contacts-list__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  max-width: none;
  display: block;
  object-fit: contain;
}

.contacts-cta {
  margin-top: auto;
  padding-top: 48px;
}

.contacts-cta h2 {
  margin: 0 0 22px;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
}

.contacts-cta .btn {
  width: 220px;
  background:
    linear-gradient(90deg, #00000000 0%, #00000033 33%, rgba(255, 255, 255, 0.3) 66%, #0000004D 100%),
    #C51535;
}

.contacts-card__col--right p {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.35;
  color: #2d3039;
}

.contacts-map {
  width: 100%;
  max-width: 550px;
  height: 480px;
  border-radius: 8px;
  overflow: hidden;
  background: #ddd;
}

.contacts-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contacts-logo-block {
  padding-top: 0;
  padding-bottom: 72px;
}

@media (max-width: 1200px) {
  .contacts-card {
    gap: 60px;
    padding-left: 60px;
    padding-right: 60px;
  }

  .contacts-list__item {
    font-size: 17px;
  }
}

@media (max-width: 900px) {
  .contacts-section {
    padding-top: 42px;
  }

  .contacts-card {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 38px 28px;
  }

  .contacts-card__col,
  .contacts-card__col--left,
  .contacts-card__col--right {
    text-align: center;
    align-items: center;
  }

  .contacts-card h1,
  .contacts-card__col--right h2 {
    margin-bottom: 28px;
    font-size: 36px;
  }

  .contacts-cta {
    margin-top: 70px;
    padding-top: 0;
  }

  .contacts-map {
    max-width: 100%;
    height: 300px;
  }

  .contacts-list {
    align-items: center;
  }
}

@media (max-width: 560px) {
  .contacts-card {
    padding: 30px 18px;
  }

  .contacts-card h1,
  .contacts-card__col--right h2 {
    font-size: 30px;
  }

  .contacts-list__item {
    font-size: 18px;
    gap: 10px;
  }

  .contacts-list__icon {
    width: 30px;
    height: auto;
  }

  .contacts-cta h2 {
    font-size: 25px;
  }

  .contacts-cta .btn {
    width: 190px;
  }

  .contacts-map {
    height: 230px;
  }

  .contacts-card__col--right p {
    font-size: 18px;
  }
}

/* =========================
   CASES PAGE
========================= */

.cases-reasons {
  position: relative;
  z-index: 2;
  padding: 8px 0 70px;
}

.cases-reasons .section-title {
  margin-top: 44px;
  margin-bottom: 50px;
}

.cases-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cases-reasons__card {
  min-height: 82px;
  padding: 30px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  column-gap: 16px;
  row-gap: 8px;
  background: #f6f6f6;
  border-radius: 8px;
}

.cases-reasons__icon {
  width: 30px;
  height: auto;
  align-self: center;
  object-fit: contain;
}

.cases-reasons__card > div {
  display: contents;
}

.cases-reasons__card h3 {
  margin: 0;
  align-self: center;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--dark);
}

.cases-reasons__card > div p {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: #343743;
}

.cases-examples {
  position: relative;
  z-index: 2;
  padding: 6px 0 64px;
}

.cases-examples__inner {
  position: relative;
  padding: 42px 48px 50px;
  background: #f6f6f6;
  border-radius: 14px;
}

.cases-examples__slider {
  position: relative;
  padding: 0 44px;
}

.cases-examples .section-title {
  margin-top: 25px;
  margin-bottom: 30px;
}

.section-label--cases-examples {
  width: 115px;
}

.cases-examples__grid {
  max-width: none;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.cases-examples__viewport::before {
  background: linear-gradient(90deg, #f6f6f6 8%, rgba(246, 246, 246, 0) 100%);
}

.cases-examples__viewport::after {
  background: linear-gradient(270deg, #f6f6f6 8%, rgba(246, 246, 246, 0) 100%);
}

.specialists__viewport.is-dragging .cases-examples__grid {
  transition: none;
}

.case-card {
  min-width: calc((100% - 66px) / 4);
  flex: 0 0 calc((100% - 66px) / 4);
}

.case-card img {
  width: 100%;
  height: 355px;
  border-radius: 8px;
  object-fit: cover;
  background: #ddd;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.case-card h3 {
  margin: 27px 0 20px;
  min-height: 48px;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--dark);
}

.case-card p {
  margin: 0 0 13px;
  font-size: 17px;
  line-height: 1.3;
  color: #343743;
}

.case-card p:first-of-type {
  color: var(--red);
}

.cases-examples__arrow {
  top: 50%;
}

.cases-examples__arrow--left {
  left: -10px;
  transform: translateY(-50%) rotate(180deg);
}

.cases-examples__arrow--right {
  right: -10px;
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .cases-reasons__grid {
    grid-template-columns: 1fr;
  }

  .cases-examples__grid {
    gap: 20px;
  }

  .case-card {
    min-width: calc((100% - 20px) / 2);
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .cases-examples__inner {
    padding: 36px 24px 42px;
  }
}

@media (max-width: 560px) {
  .cases-examples__slider {
    padding: 0 28px;
  }

  .cases-examples__grid {
    gap: 0;
  }

  .case-card h3 {
    min-height: auto;
    font-size: 21px;
  }

  .case-card {
    min-width: 100%;
    flex: 0 0 100%;
  }

  .cases-reasons__card h3 {
    font-size: 24px;
  }

  .cases-reasons__icon {
    width: 24px;
    height: auto;
  }
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 23, 34, 0.46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
  padding: 34px 32px 30px;
  border-radius: 18px;
  background: rgba(248, 248, 248, 0.98);
  box-shadow: 0 30px 80px rgba(19, 23, 34, 0.22);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.contact-modal.is-open .contact-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.contact-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ececec;
  color: #1f222b;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-modal__close:hover {
  background: #e2e2e2;
  transform: rotate(90deg);
}

.contact-modal__close::before,
.contact-modal__close::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.contact-modal__close::before {
  transform: rotate(45deg);
}

.contact-modal__close::after {
  transform: rotate(-45deg);
}

.contact-modal__title {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--dark);
}

.contact-modal__text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.45;
  color: #4c4f57;
}

.contact-modal__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-modal__field {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: 1px solid #dddddd;
  border-radius: 14px;
  background: #fff;
  font-size: 18px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-modal__field:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(199, 21, 63, 0.12);
}

.contact-modal__checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.4;
  color: #4c4f57;
  cursor: pointer;
}

.contact-modal__checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--red);
}

.contact-modal__checkbox a {
  color: var(--red);
}

.contact-modal__submit {
  width: 100%;
  min-width: 0;
}

.is-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .contact-modal {
    padding: 16px;
  }

  .contact-modal__dialog {
    padding: 28px 18px 20px;
    border-radius: 16px;
  }

  .contact-modal__title {
    font-size: 28px;
  }

  .contact-modal__text {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .contact-modal__field {
    height: 54px;
    padding: 0 16px;
    font-size: 16px;
  }
}
