﻿/* Компоненты */

/* Шапка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--color-dark);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}

.header-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.header-logo:hover {
  color: var(--color-primary);
}

.header-menu .nav-link {
  font-weight: 500;
  color: var(--color-dark);
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color var(--transition), background-color var(--transition);
}

.header-menu .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.header-menu .nav-link:hover {
  color: var(--color-primary);
}

.header-menu .nav-link:hover::after {
  transform: scaleX(1);
}

.header-menu .nav-link.active {
  color: var(--color-primary);
  background-color: rgba(0, 73, 183, 0.1);
  border-radius: var(--radius);
}

.header-menu .nav-link.active::after {
  transform: scaleX(1);
}

.header-phone {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.header-phone:hover {
  color: var(--color-primary);
}

.navbar-collapse {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  margin-top: 0.25rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 992px) {
  .navbar-collapse {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
  }
}

/* Герой */
.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 5rem;
  background-color: #1e293b;
  min-height: 70vh;
}

.hero--bg-image {
  min-height: 100%;
  height: auto;
  background: #1e293b;
}

.hero--bg-image::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.3) 0%,
      rgba(30, 41, 59, 0.2) 50%,
      rgba(15, 23, 42, 0.3) 100%);
  z-index: 0;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: rgba(0, 73, 183, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 73, 183, 0.4);
  animation: fadeInDown 0.8s ease;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #fff;
  margin-top: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero__list {
  font-size: 1.1rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: #fff;
  list-style: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__list li::before {
  content: "✓";
  color: #4ade80;
  position: absolute;
  left: 0;
  font-weight: 800;
  font-size: 1.2rem;
}

.hero-form {
  border: 2px solid rgba(0, 73, 183, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition);
  animation: fadeInRight 0.8s ease 0.4s both;
}

.hero-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 73, 183, 0.3);
  border-color: rgba(0, 73, 183, 0.6);
}

.hero-form .card-body {
  padding: 2rem;
}

.hero-form .form-label {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.hero-form .form-control {
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 73, 183, 0.15);
}

.hero-form .btn-primary {
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

.hero-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 73, 183, 0.4);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__title,
.hero__subtitle,
.hero__list,
.hero__badge {
  position: relative;
  z-index: 2;
}

.hero .card {
  position: relative;
  z-index: 10;
}

/* Статистика */
.stat,
.stat-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card__icon svg {
  width: 48px;
  height: 48px;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Типы домов */
.card-type {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-type:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-type-img {
  height: 200px;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  position: relative;
  overflow: hidden;
}

.media-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.media-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.card-type-body {
  padding: 1.5rem;
}

.card-type-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.card-type-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card-type-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Карточка проекта */
.card-project {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.card-project:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card-project:hover::before {
  transform: scaleX(1);
}

.card-project-img {
  height: 180px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.card-project-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
  pointer-events: none;
}

.card-project:hover .card-project-img::after {
  opacity: 1;
}

.card-project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 73, 183, 0.4);
  transition: transform var(--transition);
  z-index: 2;
}

.card-project:hover .card-project-badge {
  transform: scale(1.05);
}

.card-project-badge--new {
  background: var(--color-success);
}

.card-project-content {
  padding: 1.25rem;
}

.card-project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.card-project-spec {
  margin-bottom: 1rem;
}

.card-project-spec .spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.card-project-spec dt {
  color: var(--color-muted);
  font-weight: 400;
}

.card-project-spec dd {
  color: var(--color-dark);
  font-weight: 600;
  margin: 0;
}

.card-project-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* Карточка услуги */
.card-service {
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 1.1rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(12, 28, 62, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-service::before {
  content: none;
}

.card-service:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 73, 183, 0.24);
  box-shadow: 0 14px 28px rgba(8, 24, 54, 0.11);
}

.card-service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  margin-bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 73, 183, 0.1);
  color: var(--color-primary);
}

.card-service-icon svg {
  width: 24px;
  height: 24px;
}

.card-service-title {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

.card-service-desc {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 0.95rem;
  line-height: 1.55;
  flex-grow: 1;
}

.card-service .btn {
  align-self: stretch;
  border-width: 1.5px;
  border-radius: 0.75rem;
  padding-inline: 1rem;
  min-height: 40px;
}

/* Этапы работы */
.card-step {
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-step::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(0, 73, 183, 0.76) 0%, rgba(0, 124, 199, 0.52) 100%);
}

.card-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(0, 73, 183, 0.1);
  line-height: 1;
}

.card-step-title {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.card-step--final {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: 0;
}

.card-step--final::before {
  background: rgba(255, 255, 255, 0.6);
}

.card-step--final .card-step-number {
  color: rgba(255, 255, 255, 0.2);
}

.card-step--final .card-step-title,
.card-step--final p {
  color: #fff;
}

/* Карточка преимущества */
.card-advantage {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 1.1rem;
  padding: 1.25rem;
  text-align: left !important;
  box-shadow: 0 8px 20px rgba(12, 28, 62, 0.07);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-advantage::before {
  content: none;
}

.card-advantage:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(8, 24, 54, 0.11);
  border-color: rgba(0, 73, 183, 0.24);
}

.card-advantage-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 73, 183, 0.1);
  color: var(--color-primary);
}

.card-advantage-icon svg {
  width: 22px;
  height: 22px;
}

.card-advantage-title {
  color: var(--color-dark);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.card-advantage-desc {
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.52;
  margin-bottom: 0;
}

/* Карточка отзыва */
.card-review {
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card-review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-review-rating {
  color: #f59e0b;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(120, 74, 0, 0.18);
}

.card-review-text {
  flex: 1;
  font-style: italic;
  color: var(--color-dark-light);
}

.card-review-text p {
  margin-bottom: 0;
}

.card-review-author {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.card-review-author cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-dark);
  display: block;
}

.card-review-author time {
  display: block;
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.card-review-house-project {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.card-review-house-type {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 73, 183, 0.1);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.card-review-verified {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: #166534;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.card-review-verified::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2316a34a'/%3E%3Cpath d='M5.2 10.4 8.2 13.2 14.8 6.9' stroke='white' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.card-review--real {
  position: relative;
}

/* Карточка портфолио */
.card-portfolio {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  min-height: 200px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  cursor: pointer;
  background-size: cover;
  background-position: center;
}

.card-portfolio:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.card-portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.card-portfolio:hover .card-portfolio-overlay {
  opacity: 1;
}

.card-portfolio-title {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.card-portfolio-type {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* Подвал */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #b7bfcc;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: #c7ced8;
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo:hover {
  color: #e2e8f0;
}

.footer-brand p {
  color: #9ea8b7;
}

.footer-nav {
  font-size: 0.875rem;
}

.footer-nav a {
  color: #b7bfcc;
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #e5ebf4;
}

.site-footer__nav a {
  color: #b7bfcc;
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__nav a:hover {
  color: #e5ebf4;
}

.footer .h6,
.footer h4,
.footer small,
.footer .text-white,
.footer .text-white-50,
.footer .text-secondary,
.footer li,
.footer span,
.footer a {
  color: #b7bfcc !important;
}

.footer hr {
  border-color: rgba(183, 191, 204, 0.22);
}

.footer .footer-logo span {
  transition: color 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer .footer-logo:hover span {
  color: var(--color-primary-light) !important;
}

.footer .site-footer__nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 0.15rem;
  transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer .site-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08rem;
  width: 100%;
  height: 1.5px;
  border-radius: 999px;
  background: var(--color-primary-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer .site-footer__nav a:hover {
  color: var(--color-primary-light) !important;
}

.footer .site-footer__nav a:hover::after {
  transform: scaleX(1);
}

.footer ul.list-unstyled.text-white-50.small a:not(.btn) {
  transition: color 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer ul.list-unstyled.text-white-50.small a:not(.btn):hover {
  color: var(--color-primary-light) !important;
}

.footer-back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin: 2rem auto 0;
}

.footer-back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.footer-back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Призыв к действию */
.section--cta {
  background: linear-gradient(135deg, #0b1323 0%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}

.section--cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-form .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 0;
}

.cta-form .form-control:focus {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Альтернативная секция */
.section--alt {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

/* Полоса витрины */
.showcase-band__panel {
  border: 1px solid rgba(216, 225, 239, 0.95);
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.08);
}

.showcase-band__media {
  min-height: 100%;
  position: relative;
}

.showcase-band__media-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.showcase-band__media-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.showcase-band__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(8, 20, 44, 0.86), rgba(0, 73, 183, 0.46));
  z-index: 1;
}

.showcase-band__media-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: clamp(1.3rem, 4vw, 2.4rem);
}

.showcase-band__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-band__title {
  margin-top: 0.9rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.showcase-band__text {
  margin: 0;
  max-width: 40ch;
  font-size: 1.04rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.showcase-band__content {
  height: 100%;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  display: grid;
  gap: 0.9rem;
  align-content: center;
}

.showcase-band__metric {
  border: 1px solid rgba(216, 225, 239, 0.92);
  border-radius: 0.95rem;
  background: #fff;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.2rem;
}

.showcase-band__metric-value {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-primary-dark);
}

.showcase-band__metric-label {
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.45;
}

.showcase-band__quote {
  border-left: 3px solid rgba(0, 73, 183, 0.42);
  padding-left: 0.9rem;
  color: var(--color-dark-light);
  font-size: 1.03rem;
  line-height: 1.6;
}

/* Контакты */
.contact-card {
  border: 1px solid rgba(216, 225, 239, 0.95);
  border-radius: 1.35rem;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
  padding: clamp(1rem, 3vw, 1.6rem);
}

.contact-card--form {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(6, 16, 35, 0.96), rgba(8, 30, 66, 0.88)),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.22));
  box-shadow: 0 24px 56px rgba(8, 15, 31, 0.24);
}

.contact-card--form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg-4.webp") center 38% / cover no-repeat;
  opacity: 0.42;
  transform: scale(1.03);
  transform-origin: center;
  filter: saturate(0.96) contrast(1.04);
  pointer-events: none;
}

.contact-card--form::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(5, 10, 20, 0.2), rgba(5, 10, 20, 0.68)),
    radial-gradient(circle at top right, rgba(125, 179, 255, 0.22), transparent 38%);
  pointer-events: none;
}

.contact-card--form>* {
  position: relative;
  z-index: 2;
}

.contact-card__intro {
  margin-bottom: 1.1rem;
}

.contact-card--form .contact-card__intro {
  margin-bottom: 1.3rem;
}

.contact-card__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(0, 73, 183, 0.08);
  border: 1px solid rgba(0, 73, 183, 0.14);
  border-radius: 999px;
  padding: 0.36rem 0.75rem;
  margin-bottom: 0.7rem;
}

.contact-card--form .contact-card__eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.contact-card--form h3 {
  color: #ffffff;
}

.contact-card--form .text-muted {
  color: rgba(232, 241, 255, 0.86) !important;
}

.contact-card--form .js-form {
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border-radius: 1.2rem;
  background: rgba(10, 18, 35, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.contact-card--form .form-label,
.contact-card--form .form-check-label {
  color: #f8fbff;
}

.contact-card--form .form-control {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-card--form .form-control::placeholder {
  color: #6b7280;
}

.contact-card--form .form-control:focus {
  box-shadow: 0 0 0 4px rgba(125, 179, 255, 0.18);
}

.contact-card--form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card--form .form-check-input {
  position: static;
  float: none;
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  margin-top: 0.12rem;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.98);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  accent-color: #0d5bd1;
}

.contact-card--form .form-check-input:focus {
  border-color: #8fc1ff;
  box-shadow: 0 0 0 3px rgba(125, 179, 255, 0.22);
}

.contact-card--form .form-check-input:checked {
  background-color: #0d5bd1;
  border-color: #0d5bd1;
}

.contact-card--form .form-check-label {
  margin: 0;
  line-height: 1.5;
}

.contact-card--form .form-check-label a {
  color: #bfe0ff;
}

.contact-card--form .form-check-label a:hover,
.contact-card--form .form-check-label a:focus-visible {
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .contact-card--form::before {
    background-position: center 35%;
    opacity: 0.4;
    transform: scale(1.04);
  }
}

.contact-live-stat {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  padding: 0.85rem 0.95rem;
}

.contact-live-stat__header {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 0.38rem;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.contact-live-stat__dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.32);
  animation: contactPulse 2.4s infinite;
}

.contact-live-stat__value {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.contact-live-stat__label,
.contact-live-stat__text {
  color: #64748b;
}

.contact-live-stat__label {
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-live-stat__text {
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 34ch;
}

.contact-map {
  border-radius: 1.35rem;
  border: 1px solid rgba(216, 225, 239, 0.95);
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.09);
  background: #fff;
}

.contact-map__inner {
  position: relative;
  min-height: 380px;
}

.contact-map__frame {
  width: 100%;
  height: 380px;
  border: 0;
  filter: saturate(0.8) contrast(1.02);
}

.contact-map__overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  max-width: 320px;
  border-radius: 0.95rem;
  border: 1px solid rgba(216, 225, 239, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.8rem 0.95rem;
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
}

.contact-map__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 0.35rem;
}

.contact-map__hint {
  margin: 0;
  color: var(--color-dark-light);
  font-size: 0.86rem;
}

.contact-map__address {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.btn-telegram,
.btn-max {
  border-width: 1px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.btn-telegram {
  background: linear-gradient(135deg, #2aa7e8, #1f91db);
  border-color: #2aa7e8;
  color: #fff;
}

.btn-telegram:hover,
.btn-telegram:focus-visible {
  background: linear-gradient(135deg, #219cde, #187fc2);
  border-color: #219cde;
  color: #fff;
}

.btn-max {
  background: linear-gradient(135deg, #1a2648, #0d1224);
  border-color: #1a2648;
  color: #fff;
}

.btn-max:hover,
.btn-max:focus-visible {
  background: linear-gradient(135deg, #243561, #121a30);
  border-color: #243561;
  color: #fff;
}

/* Блик кнопки */
.btn-shine {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 30%;
  height: 320%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.32) 45%, rgba(255, 255, 255, 0) 100%);
  animation: btnShine 2.8s ease-in-out infinite;
  pointer-events: none;
}

/* Список контактов */
.contact-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(216, 225, 239, 0.92);
}

.contact-list-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-list-item--address {
  align-items: stretch;
}

.contact-list-item--address .contact-address-card {
  width: 100%;
}

.contact-list-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.75rem;
  color: var(--color-primary);
  background: rgba(0, 73, 183, 0.08);
}

.contact-list-icon svg {
  width: 18px;
  height: 18px;
}

.contact-list-item a,
.contact-list-item [itemprop="address"] {
  word-break: keep-all;
  overflow-wrap: normal;
}

.contact-address-card {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem 1rem 1.15rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 58%, #ffffff 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.contact-address-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #2aa7e8, #0049b7);
}

.contact-address-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-address-card__pin {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #2aa7e8, #1f91db);
  box-shadow: 0 12px 24px rgba(42, 167, 232, 0.28);
}

.contact-address-card__content {
  min-width: 0;
  display: grid;
  gap: 0.3rem;
}

.contact-address-card__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f4fb5;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 0.3rem 0.68rem;
  border: 1px solid rgba(42, 167, 232, 0.14);
}

.contact-address-card__street {
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
}

.contact-address-card__city {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

.btn-telegram svg,
.btn-max svg,
.btn-max .messenger-logo {
  flex-shrink: 0;
}

.messenger-logo {
  display: block;
  object-fit: contain;
}

.messenger-logo--max {
  border-radius: 0.45rem;
}

/* Бейджи доверия */
.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge {
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 1.1rem;
  padding: 1.25rem;
  text-align: left;
  box-shadow: 0 8px 20px rgba(12, 28, 62, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(8, 24, 54, 0.11);
}

.trust-badge::before {
  content: none;
}

.trust-badge__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  margin: 0 0 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 73, 183, 0.1);
  color: var(--color-primary-dark);
  font-size: 0;
}

.trust-badge__icon svg {
  width: 22px;
  height: 22px;
}

.trust-badge__title {
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.trust-badge__desc {
  color: #4b5563;
  font-size: 0.93rem;
  line-height: 1.52;
}

/* Аккордеон ЧаВо */
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  padding: 1rem 1.25rem;
  background: #fff;
}

.accordion-button:not(.collapsed) {
  background: rgba(0, 73, 183, 0.05);
  color: var(--color-primary);
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(0, 73, 183, 0.1);
}

.accordion-body {
  padding: 1rem 1.25rem;
  color: var(--color-muted);
}

/* Карусель отзывов */
.reviews-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.reviews-carousel__track {
  padding: 0 50px;
}

/* Стрелки карусели */
.reviews-carousel .slick-prev,
.reviews-carousel .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5e7eb;
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.reviews-carousel .slick-prev:hover,
.reviews-carousel .slick-next:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.reviews-carousel .slick-prev {
  left: 0;
}

.reviews-carousel .slick-next {
  right: 0;
}

.reviews-carousel .slick-prev:before,
.reviews-carousel .slick-next:before {
  display: none;
}

.reviews-carousel .slick-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Карточки отзывов */
.reviews-carousel .card-review {
  padding: 1.5rem;
  margin: 0 10px;
}

/* Плавающие контакты */
.contact-floating {
  position: fixed;
  right: 20px;
  bottom: calc(40px + var(--safe-area-bottom));
  z-index: 1040;
}

.contact-floating-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 73, 183, 0.4);
  transition: transform var(--transition), background var(--transition);
  position: relative;
  padding: 0;
  color: #fff;
}

.contact-floating-main:hover {
  background: var(--color-primary-dark);
  transform: scale(1.1);
}

.contact-floating-main svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  stroke: currentColor;
}

.contact-floating-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ripple 2s infinite;
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes btnShine {
  0% {
    left: -45%;
  }

  34% {
    left: 125%;
  }

  100% {
    left: 125%;
  }
}

@keyframes contactPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.56);
  }

  75% {
    box-shadow: 0 0 0 11px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.contact-floating-popup {
  position: absolute;
  bottom: 70px;
  right: 50%;
  background: transparent;
  border-radius: var(--radius);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(50%, 10px) scale(0.95);
  transition: all var(--transition);
}

.contact-floating-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(50%, 0) scale(1);
}

.contact-floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
  opacity: 0;
  transform: translateY(10px);
}

.contact-floating-popup.is-visible .contact-floating-btn {
  opacity: 1;
  transform: translateY(0);
}

.contact-floating-popup.is-visible .contact-floating-btn:nth-child(1) {
  transition-delay: 300ms;
}

.contact-floating-popup.is-visible .contact-floating-btn:nth-child(2) {
  transition-delay: 200ms;
}

.contact-floating-popup.is-visible .contact-floating-btn:nth-child(3) {
  transition-delay: 100ms;
}

.contact-floating-btn:hover {
  transform: scale(1.15);
}

.contact-floating-btn--telegram {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(42, 167, 232, 0.35);
}

.contact-floating-btn--max {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 152, 227, 0.34);
}

.contact-floating-btn--phone {
  background: var(--color-primary);
  color: #fff;
}

.contact-floating-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

.contact-floating-btn .messenger-logo {
  display: block;
  object-fit: contain;
}

.contact-floating-btn--max .messenger-logo--max {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.22));
}

/* Страница проекта */
.project-detail {
  padding: 2rem 0 4rem;
}

.project-detail__breadcrumb {
  margin-bottom: 1.5rem;
}

.project-detail__breadcrumb .breadcrumb {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.project-detail__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.project-detail__subtitle {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.project-detail__gallery {
  height: 400px;
  background: linear-gradient(135deg, #cfd9e8, #a0b8dd);
  border-radius: var(--radius-lg);
  display: block;
  color: #64748b;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.project-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail__gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.project-detail__gallery-placeholder.has-image {
  padding: 0;
}

.project-detail__gallery-placeholder.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-detail__specs {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-detail__specs-title {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.project-detail__specs-list {
  margin-bottom: 0;
}

.project-detail__specs-list dt {
  color: var(--color-muted);
  font-weight: 400;
}

.project-detail__specs-list dd {
  font-weight: 600;
  color: var(--color-dark);
}

.project-detail__price-block {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.project-detail__price-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.project-detail__price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.project-detail__price-note {
  font-size: 0.75rem;
  opacity: 0.8;
}

.project-detail__description {
  margin-bottom: 2rem;
}

.project-detail__description h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.project-detail__description p {
  color: var(--color-dark-light);
  margin-bottom: 1rem;
}

.project-detail__features {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.project-detail__features-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-detail__features-list {
  margin-bottom: 0;
}

.project-detail__features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-detail__features-list li:last-child {
  border-bottom: 0;
}

.project-detail__features-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Страница проектов */
.projects-page__hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #e8f4ff 100%);
  padding: 4rem 0 3rem;
}

.projects-page__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.projects-filter .btn {
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

/* Страницы ошибок */
.error-page-main {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

html.dynamic-viewport body.page-error .error-page-main {
  min-height: calc((var(--app-vh, 1svh) * 100) - var(--header-height));
}

.error-page-card {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(206, 219, 236, 0.96);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 52px rgba(12, 28, 62, 0.11);
  padding: clamp(1.25rem, 4vw, 2.4rem);
}

.error-page-code {
  margin: 0 0 0.5rem;
  font-size: clamp(3rem, 11vw, 6rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--color-primary-dark);
}

.error-page-title {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--color-dark);
}

.error-page-text {
  margin: 0 auto 1.25rem;
  max-width: 42ch;
  color: #4b5563;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.filter-anim-item {
  opacity: 1;
  transition: opacity 180ms ease;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.filter-anim-item.is-filter-hidden {
  display: none !important;
  opacity: 0;
  pointer-events: none;
}

.filter-anim-item.is-filter-enter {
  opacity: 0;
}

/* Куки-файлы */
.cookie-banner {
  position: fixed;
  bottom: calc(1rem + var(--safe-area-bottom));
  left: 1rem;
  right: 1rem;
  z-index: 1080;
  background: #1e293b;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 1rem 1.25rem;
  max-width: 480px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  white-space: nowrap;
}

.cookie-banner__actions #cookieSettings.btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.1);
}

.cookie-banner__actions #cookieSettings.btn:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.2);
}

body.modal-open .cookie-banner,
body.cookie-settings-open .cookie-banner {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
}

body.modal-open .mobile-sticky-cta,
body.cookie-settings-open .mobile-sticky-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}

body.modal-open .contact-floating,
body.cookie-settings-open .contact-floating {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#cookieSettingsModal .modal-body {
  overscroll-behavior: contain;
}

.form-check-label a {
  color: #0b4da8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.form-check-label a:hover,
.form-check-label a:focus-visible {
  color: #083671;
}

.cookie-setting {
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--radius);
}

.cookie-setting h3 {
  font-size: 0.95rem;
}

/* Улучшения интерфейса */
.header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(216, 225, 239, 0.92);
  box-shadow: 0 12px 40px rgba(23, 33, 43, 0.06);
}

.header .navbar {
  min-height: clamp(64px, var(--header-height), 104px);
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.header.header--opaque,
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
}

.navbar-toggler {
  border: 1px solid rgba(23, 33, 43, 0.12);
  padding: 0.5rem 0.7rem;
  border-radius: 0.9rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(0, 73, 183, 0.14);
}

.header-menu .nav-link {
  border-radius: 999px;
}

.header-phone {
  white-space: nowrap;
}

.navbar-collapse {
  border: 1px solid rgba(216, 225, 239, 0.92);
}

.hero,
.hero--bg-image {
  min-height: 100svh;
}

.hero--bg-image {
  height: auto;
}

.hero {
  display: flex;
  align-items: stretch;
  padding-bottom: 0;
}

.hero .container {
  display: flex;
  align-items: center;
}

.hero .row {
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  align-items: center;
}

html.dynamic-viewport body.page-home .hero,
html.dynamic-viewport body.page-home .hero--bg-image {
  min-height: calc(var(--app-vh, 1svh) * 100);
}

html.dynamic-viewport body.page-home .hero .row {
  min-height: calc((var(--app-vh, 1svh) * 100) - var(--header-height));
}

html.dynamic-viewport body.page-home #home {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: visible;
}

html.dynamic-viewport body.page-home main>section:not(#home) {
  position: relative;
  z-index: 2;
}

.hero--bg-image::before {
  background:
    linear-gradient(135deg, rgba(10, 16, 28, 0.9) 0%, rgba(10, 16, 28, 0.74) 48%, rgba(10, 16, 28, 0.86) 100%),
    radial-gradient(circle at right top, rgba(0, 124, 199, 0.2), transparent 32%);
}

.hero-badge,
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
}

.hero-badge svg,
.hero__badge svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.hero-title,
.hero__title {
  max-width: 12ch;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  line-height: 0.95;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.05em;
  margin-bottom: 1rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.hero-subtitle,
.hero__subtitle {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-list,
.hero__list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.hero-list li,
.hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.hero-list li::before,
.hero__list li::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%230049b7'/%3E%3Cpath d='M4 8.2 6.5 10.7 12 5.4' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  position: static;
}

.hero-form {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.18);
}

.hero-form:hover {
  transform: translateY(-4px);
}

.hero-form .card-body {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.stat,
.stat-card,
.card-project,
.card-step,
.card-review,
.project-detail__specs,
.project-detail__features {
  border-color: rgba(216, 225, 239, 0.95);
  box-shadow: var(--shadow-sm);
}

.stat,
.stat-card,
.card-step,
.card-review {
  background: rgba(255, 255, 255, 0.96);
}

.stat-icon,
.stat-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 73, 183, 0.12), rgba(0, 124, 199, 0.08));
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.stat-icon svg,
.stat-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.card-advantage-title,
.card-service-title,
.card-project-title,
.trust-badge__title,
.projects-page__title,
.project-detail__title {
  letter-spacing: -0.03em;
}

.card-project,
.card-portfolio {
  border-radius: 1.35rem;
}

.card-project-img,
.card-portfolio {
  background-color: #d9dfe6;
}

.card-project-content,
.card-type-body,
.card-project .card-body {
  padding: 1.35rem;
}

.card-step-number {
  font-size: 2.1rem;
}

.card-step.card-step--final {
  background: linear-gradient(145deg, #0d2c61 0%, #0049b7 52%, #007cc7 100%) !important;
  border: 0 !important;
  box-shadow: 0 20px 36px rgba(0, 73, 183, 0.24) !important;
}

.card-step.card-step--final .card-step-number {
  color: rgba(255, 255, 255, 0.34) !important;
}

.card-step.card-step--final:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(0, 73, 183, 0.28) !important;
}

.card-step.card-step--final .card-step-title,
.card-step.card-step--final p,
.card-step.card-step--final .text-muted,
.card-step.card-step--final .small {
  color: #ffffff !important;
}

.section--cta {
  background:
    linear-gradient(135deg, #101827 0%, #1f3654 54%, #264b7a 100%);
}

.build-section .row {
  box-shadow: none;
  border-radius: inherit;
  overflow: hidden;
}

.build-section {
  background: linear-gradient(180deg, rgba(237, 244, 255, 0.9) 0%, rgba(244, 248, 255, 0.96) 100%);
}

.build-section__panel {
  overflow: hidden;
  border: 1px solid rgba(0, 73, 183, 0.12);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 60px rgba(9, 32, 77, 0.14);
}

.build-section__media {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(0, 21, 54, 0.82), rgba(0, 44, 110, 0.58)),
    url("../images/bg-3.jpg") center / cover no-repeat;
}

.build-section__media-overlay {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
}

.build-section__eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.build-section__lead {
  max-width: 34rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.build-section__media .check-list li {
  color: rgba(255, 255, 255, 0.94);
}

.build-section__form-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.98));
}

.build-section__form {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border: 1px solid rgba(0, 73, 183, 0.1);
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 18px 32px rgba(13, 31, 65, 0.08);
}

.build-section__form .row {
  --bs-gutter-x: 0.95rem;
  --bs-gutter-y: 0.9rem;
  margin: 0;
}

.build-section__form .form-label {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.38rem;
}

.build-section__form .form-control {
  min-height: 48px;
  border: 1px solid rgba(216, 225, 239, 0.96);
  background: rgba(248, 251, 255, 0.92);
}

.build-section__form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.build-section__form .btn {
  margin-top: 0.2rem;
}

.build-section__form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(216, 225, 239, 0.88);
  border-radius: 0.8rem;
  background: rgba(248, 251, 255, 0.72);
}

.build-section__form .form-check-input {
  position: static;
  margin: 0;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.build-section__form .form-check-label {
  margin: 0;
  line-height: 1.45;
}

.check-list {
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
}

.check-list li::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='8' fill='%230049b7'/%3E%3Cpath d='M4 8.2 6.5 10.7 12 5.4' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.timeline {
  counter-reset: timeline;
}

.project-detail__gallery,
.project-detail__specs,
.project-detail__price-block,
.project-detail .bg-white.border.rounded-4 {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.project-detail__gallery {
  min-height: 340px;
  background: linear-gradient(135deg, #dce4ea, #b3c3d6);
}

.project-detail__gallery-placeholder {
  padding: 1.25rem;
}

.project-detail__description h2 {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.project-detail__features-list li {
  padding: 0.85rem 0;
}

.reviews-carousel .card-review,
.reviews-carousel__list .slick-slide {
  height: auto;
}

.footer .btn-outline-light {
  border-color: rgba(183, 191, 204, 0.38);
  background: rgba(255, 255, 255, 0.02);
  color: #b7bfcc !important;
}

.footer .btn-outline-light:hover {
  background: rgba(183, 191, 204, 0.12);
  border-color: rgba(183, 191, 204, 0.55);
  color: #edf2fa !important;
}

.cookie-banner {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
  .header-contacts {
    gap: 0.75rem !important;
    flex-wrap: wrap;
  }

  .navbar-collapse {
    max-height: calc((var(--app-vh, 1svh) * 100) - var(--header-height) - 1rem);
    overflow-y: auto;
  }

  .hero .row {
    min-height: auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .hero-title,
  .hero__title {
    max-width: none;
  }

  .build-section__media {
    min-height: 420px;
  }

  .showcase-band__media {
    min-height: 320px;
  }

  .showcase-band__content {
    padding: 1.15rem;
  }

  .contact-card {
    border-radius: 1.1rem;
  }

  .contact-map__inner,
  .contact-map__frame {
    height: 360px;
    min-height: 360px;
  }
}

@media (max-width: 767.98px) {

  .hero-badge,
  .hero__badge {
    font-size: 0.78rem;
    padding: 0.55rem 0.85rem;
  }

  .hero-title,
  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-subtitle,
  .hero__subtitle {
    font-size: 0.98rem;
  }

  body.page-home .hero .row {
    justify-content: center;
    text-align: center;
  }

  body.page-home .hero .row>[class*="col-"]:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.page-home .hero-list,
  body.page-home .hero__list {
    max-width: 25rem;
    margin-left: auto;
    margin-right: auto;
  }

  body.page-home .hero-list li,
  body.page-home .hero__list li {
    text-align: left;
  }

  body.page-home .hero .d-flex.flex-wrap.gap-2 {
    justify-content: center;
  }

  .card-project,
  .card-service,
  .card-step,
  .card-advantage,
  .trust-badge,
  .card-review {
    border-radius: 1.15rem;
  }

  .card-step::before {
    left: 0.55rem;
    top: 0.72rem;
    bottom: 0.72rem;
  }

  .contact-floating {
    bottom: calc(18px + var(--safe-area-bottom));
    right: 16px;
  }

  .build-section__panel {
    border-radius: 1.3rem;
  }

  .build-section__media {
    min-height: 320px;
  }

  .build-section__media-overlay,
  .build-section__form-wrap {
    padding: 1.1rem;
  }

  .build-section__form {
    padding: 1rem;
    border-radius: 1rem;
  }

  .showcase-band__panel {
    border-radius: 1.15rem;
  }

  .showcase-band__media {
    min-height: 250px;
  }

  .showcase-band__metric {
    padding: 0.75rem 0.85rem;
  }

  .showcase-band__metric-label {
    font-size: 0.94rem;
  }

  .contact-map__inner,
  .contact-map__frame {
    height: 340px;
    min-height: 340px;
  }

  .contact-map__overlay {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    max-width: none;
    padding: 0.68rem 0.74rem;
  }

  .contact-list-item {
    gap: 0.7rem;
  }

  .contact-list-item a.fs-5 {
    font-size: 1.12rem !important;
    white-space: nowrap;
  }

  .contact-list-item a[itemprop="email"],
  .contact-list-item [itemprop="address"] {
    font-size: 0.96rem;
    white-space: nowrap;
  }

  .footer-logo img {
    width: 48px;
    height: 48px;
  }

  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + var(--safe-area-bottom));
    max-width: none;
  }

  #cookieSettingsModal .modal-dialog {
    align-items: flex-end;
    min-height: calc(100% - 1rem);
    margin: max(0.75rem, var(--safe-area-top)) 0.75rem max(0.75rem, var(--safe-area-bottom));
  }

  #cookieSettingsModal .modal-content {
    max-height: calc(100svh - var(--safe-area-top) - var(--safe-area-bottom) - 1.5rem);
    border-radius: 1.2rem;
    overflow: hidden;
  }

  #cookieSettingsModal .modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }

  #cookieSettingsModal .modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
  }

  #cookieSettingsModal .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    gap: 0.65rem;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
    padding-bottom: calc(1rem + var(--safe-area-bottom));
  }

  #cookieSettingsModal .cookie-setting {
    padding: 0.9rem;
  }

  #cookieSettingsModal .cookie-setting .d-flex {
    gap: 0.85rem;
  }

  #cookieSettingsModal .form-switch {
    flex-shrink: 0;
  }

}

@media (max-width: 991.98px) {
  body.has-mobile-cta .cookie-banner {
    bottom: calc(max(var(--mobile-cta-offset, 64px), 84px) + env(safe-area-inset-bottom) + 0.65rem);
    z-index: 1105;
  }

  body.has-mobile-cta.cookie-banner-open .cookie-banner {
    bottom: calc(env(safe-area-inset-bottom) + 0.75rem);
  }
}

@media (max-width: 575.98px) {
  .projects-filter .btn {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .error-page-card {
    border-radius: 1rem;
  }

  .contact-list-item a.fs-5 {
    font-size: 1.04rem !important;
  }

  .contact-list-item a[itemprop="email"],
  .contact-list-item [itemprop="address"] {
    font-size: 0.9rem;
  }

  .cookie-banner__content {
    align-items: stretch;
  }

  .cookie-banner__text {
    min-width: 0;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    justify-content: center;
  }

  .cookie-banner__actions .btn:last-child {
    flex-basis: 100%;
  }

  #cookieSettingsModal .modal-dialog {
    margin: max(0.5rem, var(--safe-area-top)) 0.5rem max(0.5rem, var(--safe-area-bottom));
  }

  #cookieSettingsModal .modal-content {
    max-height: calc(100svh - var(--safe-area-top) - var(--safe-area-bottom) - 1rem);
    border-radius: 1rem;
  }

  #cookieSettingsModal .modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  #cookieSettingsModal .modal-footer .btn {
    width: 100%;
    margin: 0;
  }

  #cookieSettingsModal .cookie-setting .d-flex {
    align-items: flex-start !important;
  }
}

/* Герой */
body.page-home .hero .col-lg-5 {
  display: flex;
  justify-content: center;
}

body.page-home .hero-form {
  width: min(100%, 32rem);
  margin-inline: auto;
}

body.page-home .hero-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding-left: 0;
  margin-bottom: 0.95rem;
}

body.page-home .hero-form .form-check-input {
  position: static;
  float: none;
  margin: 0;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

body.page-home .hero-form .form-check-label {
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 767.98px) {
  body.page-home .hero .container {
    display: block;
  }

  body.page-home .hero .col-lg-5 {
    padding-left: 0;
    padding-right: 0;
  }

  body.page-home .hero-form {
    width: min(100%, 31rem);
  }
}

/* Этапы работы */
#steps {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 73, 183, 0.09), transparent 24%),
    radial-gradient(circle at 96% 22%, rgba(0, 124, 199, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

#steps::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(92%, 1120px);
  height: 5px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #0049b7 0%, #007cc7 100%);
}

#steps .section-header {
  position: relative;
  z-index: 1;
}

#steps .section-title {
  text-shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
}

#steps .timeline {
  position: relative;
  z-index: 1;
  row-gap: 1rem;
}

#steps .card-step {
  border: 2px solid rgba(159, 181, 219, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.96) 100%);
  box-shadow: 0 16px 36px rgba(14, 40, 86, 0.12);
  padding: 1.25rem 1.15rem 1.1rem 1.95rem;
}

#steps .card-step::before {
  width: 6px;
  left: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #0049b7 0%, #007cc7 100%);
}

#steps .card-step-title {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

#steps .card-step p {
  color: #334155 !important;
  line-height: 1.5;
}

#steps .card-step-number {
  width: 2.3rem;
  height: 2.3rem;
  top: 0.65rem;
  right: 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #0049b7 0%, #007cc7 100%);
  box-shadow: 0 10px 20px rgba(0, 73, 183, 0.26);
}

#steps .card-step--final {
  animation: finalStepPulse 2.5s ease-in-out infinite;
}

#steps .card-step--final .card-step-title,
#steps .card-step--final p,
#steps .card-step--final .text-muted,
#steps .card-step--final .small {
  color: #ffffff !important;
}

#steps .card-step--final .card-step-number {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(8, 32, 76, 0.24);
}

@keyframes finalStepPulse {

  0%,
  100% {
    box-shadow: 0 20px 36px rgba(0, 73, 183, 0.24);
  }

  50% {
    box-shadow: 0 24px 44px rgba(0, 73, 183, 0.34);
  }
}

/* Карусель отзывов */
.reviews-carousel {
  overflow: visible;
}

.reviews-carousel__track {
  padding: 0 72px;
}

.reviews-carousel .reviews-carousel__btn,
.reviews-carousel .slick-prev,
.reviews-carousel .slick-next {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(0, 73, 183, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  color: #0049b7;
  box-shadow: 0 12px 28px rgba(12, 38, 81, 0.14);
  transition: box-shadow var(--transition), color var(--transition), background var(--transition), border-color var(--transition), opacity var(--transition);
}

.reviews-carousel .reviews-carousel__btn svg,
.reviews-carousel .slick-prev svg,
.reviews-carousel .slick-next svg {
  width: 20px;
  height: 20px;
}

.reviews-carousel .reviews-carousel__btn:hover,
.reviews-carousel .slick-prev:hover,
.reviews-carousel .slick-next:hover {
  background: linear-gradient(180deg, #0049b7 0%, #003f9f 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(0, 73, 183, 0.3);
}

.reviews-carousel .reviews-carousel__btn:active,
.reviews-carousel .slick-prev:active,
.reviews-carousel .slick-next:active {
  box-shadow: 0 12px 28px rgba(12, 38, 81, 0.14);
}

.reviews-carousel .reviews-carousel__btn:focus-visible,
.reviews-carousel .slick-prev:focus-visible,
.reviews-carousel .slick-next:focus-visible {
  outline: 3px solid rgba(0, 73, 183, 0.24);
  outline-offset: 3px;
}

.reviews-carousel .slick-prev {
  left: -20px;
}

.reviews-carousel .slick-next {
  right: -14px;
}

/* Единая высота карточек отзывов внутри Slick */
.reviews-carousel__list .slick-track {
  display: flex !important;
  align-items: stretch;
}

.reviews-carousel__list .slick-slide {
  height: auto !important;
  display: flex !important;
}

.reviews-carousel__list .slick-slide>div {
  width: 100%;
  display: flex;
}

.reviews-carousel .card-review {
  width: 100%;
  height: 100%;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
}

.reviews-carousel .card-review:hover {
  transform: none;
}

.reviews-carousel .card-review-text {
  flex: 1 1 auto;
}

@media (max-width: 767.98px) {
  .reviews-carousel__track {
    padding: 0 0 4.4rem;
  }

  .reviews-carousel .reviews-carousel__btn,
  .reviews-carousel .slick-prev,
  .reviews-carousel .slick-next {
    top: auto;
    bottom: 0;
    bottom: -2rem;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .reviews-carousel .slick-prev {
    left: calc(50% - 50px);
  }

  .reviews-carousel .slick-next {
    right: calc(50% - 50px);
  }

  .cookie-banner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(30, 41, 59, 0.98);
  }

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }
}

/* Строящиеся объекты */
.construction-sites-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.construction-site-card {
  position: relative;
  border: 1px solid rgba(216, 225, 239, 0.94);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(11, 35, 80, 0.07);
}

.construction-site-card::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  bottom: 0.85rem;
  left: 0.72rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0049b7 0%, #007cc7 100%);
}

.construction-site-card__title,
.construction-site-card__address,
.construction-site-card__meta,
.construction-site-card__progress {
  margin-left: 0.9rem;
}

.construction-site-card__title {
  margin-bottom: 0.4rem;
  font-size: 1.03rem;
  font-weight: 700;
  color: #0f172a;
}

.construction-site-card__address {
  margin-bottom: 0.7rem;
  color: #4b5563;
  font-size: 0.93rem;
}

.construction-site-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.83rem;
  color: #334155;
}

.construction-site-card__progress {
  margin-top: 0.48rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
}

.construction-site-card__progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0049b7 0%, #007cc7 100%);
}

/* Dashboard */
body.page-dashboard {
  min-height: calc(var(--app-vh, 1svh) * 100);
  display: flex;
  flex-direction: column;
}

body.page-dashboard main {
  flex: 1 0 auto;
}

body.page-dashboard .section {
  padding-top: 1.6rem !important;
  padding-bottom: calc(1.6rem + var(--safe-area-bottom)) !important;
}

body.page-dashboard .footer {
  margin-top: 0;
  padding-top: 2.1rem !important;
  padding-bottom: calc(1.35rem + var(--safe-area-bottom)) !important;
}

.dashboard-page-header {
  margin-bottom: 1.2rem;
}

.dashboard-auth {
  max-width: 520px;
  margin-bottom: 0;
}

#dashboardApp[hidden],
#dashboardAuthGate[hidden] {
  display: none !important;
}

.dashboard-page-title {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.dashboard-page-subtitle {
  margin: 0.45rem 0 0;
  color: #475569;
}

.dashboard-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.dashboard-analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-stat {
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  padding: 0.95rem 1rem;
  box-shadow: 0 10px 24px rgba(11, 35, 80, 0.08);
}

.dashboard-stat__label {
  margin: 0;
  color: #64748b;
  font-size: 0.83rem;
  font-weight: 600;
}

.dashboard-stat__value {
  margin: 0.28rem 0 0;
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}

.dashboard-stat__hint {
  margin: 0.25rem 0 0;
  font-size: 0.77rem;
  line-height: 1.35;
  color: #64748b;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.dashboard-card {
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(11, 35, 80, 0.08);
}

.dashboard-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.dashboard-card__title {
  margin: 0;
  font-size: 1.03rem;
  font-weight: 700;
  color: #0f172a;
}

.dashboard-card__body {
  padding: 0.95rem 1rem;
}

.dashboard-updated {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
}

.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dashboard-kpi {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(255, 255, 255, 0.98));
  padding: 0.9rem;
}

.dashboard-kpi__label,
.dashboard-kpi__hint,
.dashboard-kpi__value {
  margin: 0;
}

.dashboard-kpi__label {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}

.dashboard-kpi__value {
  margin-top: 0.3rem;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.dashboard-kpi__hint {
  margin-top: 0.3rem;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.dashboard-chart__bars {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.45rem;
  align-items: end;
  min-height: 220px;
}

.dashboard-chart__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.dashboard-chart__value {
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
}

.dashboard-chart__bar {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
}

.dashboard-chart__bar span {
  display: block;
  width: 100%;
  min-height: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #007cc7 0%, #0049b7 100%);
}

.dashboard-chart__label {
  font-size: 0.73rem;
  color: #64748b;
}

.dashboard-sites-list {
  display: grid;
  gap: 0.7rem;
}

.dashboard-site-card {
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: none;
  padding: 0.88rem 0.92rem;
}

.dashboard-site-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.dashboard-site-card__identity {
  min-width: 0;
}

.dashboard-site-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem 0.9rem;
  margin-bottom: 0.72rem;
}

.dashboard-site-card__item {
  min-width: 0;
}

.dashboard-site-card__item--switch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dashboard-site-card__label {
  display: block;
  margin-bottom: 0.22rem;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-site-card__text,
.dashboard-site-card__content {
  display: block;
  color: #334155;
  font-size: 0.84rem;
}

.dashboard-project-name {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: #0f172a;
}

.dashboard-project-address {
  margin: 0.18rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.dashboard-deadline {
  display: grid;
  gap: 0.12rem;
}

.dashboard-deadline__line {
  display: block;
  font-size: 0.8rem;
  color: #334155;
  line-height: 1.35;
  white-space: nowrap;
}

.dashboard-deadline__line strong {
  font-weight: 700;
  color: #0f172a;
}

.dashboard-deadline__delta {
  display: inline-flex;
  width: fit-content;
  padding: 0.14rem 0.38rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  color: #475569;
  background: rgba(148, 163, 184, 0.15);
}

.dashboard-progress {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.dashboard-progress__bar {
  position: relative;
  height: 0.38rem;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.18);
}

.dashboard-progress__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0049b7 0%, #007cc7 100%);
}

.dashboard-progress__value {
  font-size: 0.78rem;
  color: #334155;
  font-weight: 600;
}

.dashboard-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dashboard-status--active {
  color: #166534;
  background: rgba(34, 197, 94, 0.14);
}

.dashboard-status--paused {
  color: #854d0e;
  background: rgba(234, 179, 8, 0.16);
}

.dashboard-status--done {
  color: #0f766e;
  background: rgba(20, 184, 166, 0.16);
}

.dashboard-status--delay {
  color: #9a3412;
  background: rgba(249, 115, 22, 0.17);
}

.dashboard-status--risk {
  color: #991b1b;
  background: rgba(239, 68, 68, 0.16);
}

.dashboard-status--warning {
  color: #92400e;
  background: rgba(245, 158, 11, 0.2);
}

.dashboard-row-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(226, 232, 240, 0.82);
}

.dashboard-row-actions .btn {
  min-width: 0;
  padding: 0.46rem 0.78rem;
  border-radius: 0.75rem;
  font-size: 0.78rem;
  box-shadow: none;
}

.dashboard-switch {
  display: inline-flex;
  justify-content: center;
}

.dashboard-form-grid {
  display: grid;
  gap: 0.78rem;
}

.dashboard-form-grid .form-label {
  font-weight: 600;
  font-size: 0.86rem;
  color: #1e293b;
}

.dashboard-form-grid .form-control,
.dashboard-form-grid .form-select {
  border-color: rgba(203, 213, 225, 0.9);
}

.dashboard-form-grid .form-control:focus,
.dashboard-form-grid .form-select:focus {
  border-color: rgba(0, 73, 183, 0.42);
  box-shadow: 0 0 0 0.22rem rgba(0, 73, 183, 0.14);
}

.dashboard-progress-control {
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 0.6rem;
  align-items: center;
}

.dashboard-stage-list {
  display: grid;
  gap: 0.55rem;
}

.dashboard-stage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.72rem;
  border-radius: 0.78rem;
  background: rgba(248, 251, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.88);
}

.dashboard-stage-item__main {
  flex: 1;
  min-width: 0;
}

.dashboard-stage-item__name {
  margin: 0;
  font-size: 0.85rem;
  color: #334155;
}

.dashboard-stage-item__bar {
  margin-top: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.7);
  overflow: hidden;
}

.dashboard-stage-item__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0049b7 0%, #0ea5e9 100%);
}

.dashboard-stage-item__meta {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}

.dashboard-stage-item__count {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

.dashboard-stage-item__percent {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
}

.dashboard-planfact {
  display: grid;
  gap: 0.85rem;
}

.dashboard-planfact__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.dashboard-planfact__pill {
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.88);
  background: rgba(248, 251, 255, 0.95);
}

.dashboard-planfact__pill-label {
  display: block;
  margin-bottom: 0.24rem;
  font-size: 0.77rem;
  color: #64748b;
  font-weight: 600;
}

.dashboard-planfact__pill strong {
  font-size: 1.1rem;
  color: #0f172a;
}

.dashboard-planfact__bar {
  display: flex;
  height: 0.72rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.95);
}

.dashboard-planfact__segment--ontime {
  background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
}

.dashboard-planfact__segment--delay {
  background: linear-gradient(90deg, #ea580c 0%, #f97316 100%);
}

.dashboard-planfact__segment--pending {
  background: rgba(148, 163, 184, 0.9);
}

.dashboard-planfact__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  color: #475569;
  font-size: 0.78rem;
}

.dashboard-dot {
  display: inline-block;
  width: 0.62rem;
  height: 0.62rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  vertical-align: middle;
}

.dashboard-dot--ontime {
  background: #22c55e;
}

.dashboard-dot--delay {
  background: #f97316;
}

.dashboard-dot--pending {
  background: #94a3b8;
}

.dashboard-planfact__note {
  color: #475569;
  font-size: 0.83rem;
}

.dashboard-empty {
  margin: 0;
  padding: 0.9rem;
  border-radius: 0.82rem;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  color: #64748b;
  background: rgba(248, 250, 252, 0.75);
  text-align: center;
}

@media (max-width: 1199.98px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-analytics-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-site-card__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.page-dashboard .section {
    padding-top: 1rem !important;
  }

  .dashboard-page-header {
    margin-bottom: 0.9rem;
  }

  .dashboard-toolbar {
    justify-content: stretch;
  }

  .dashboard-toolbar .btn {
    flex: 1 1 100%;
  }

  .dashboard-card__header,
  .dashboard-card__body {
    padding: 0.82rem;
  }

  .dashboard-kpi-grid,
  .dashboard-planfact__stats {
    grid-template-columns: 1fr;
  }

  .dashboard-chart__bars {
    gap: 0.35rem;
    min-height: 190px;
  }

  .dashboard-chart__bar {
    height: 120px;
  }

  .dashboard-site-card {
    padding: 0.8rem;
  }

  .dashboard-site-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-site-card__grid {
    grid-template-columns: 1fr;
  }

  .dashboard-row-actions {
    justify-content: stretch;
  }

  .dashboard-row-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
  }

  .dashboard-status {
    width: fit-content;
  }

  .dashboard-progress-control {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  body.page-dashboard .container {
    padding-left: calc(var(--container-padding) + 0.1rem);
    padding-right: calc(var(--container-padding) + 0.1rem);
  }

  .dashboard-stats,
  .dashboard-analytics-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    border-radius: 1rem;
  }

  .dashboard-project-name {
    font-size: 0.92rem;
  }

  .dashboard-project-address {
    font-size: 0.8rem;
  }

  .dashboard-page-title {
    font-size: 1.35rem;
  }

  .dashboard-page-subtitle {
    font-size: 0.9rem;
  }

  .dashboard-chart__label {
    font-size: 0.68rem;
  }
}

/* О компании */
@media (min-width: 1200px) and (max-width: 1400px) and (min-height: 1200px) {
  #about .section-header {
    max-width: 860px;
    margin-inline: auto;
  }

  #about .section__text {
    max-width: 780px;
    margin-inline: auto;
  }

  #about .row {
    justify-content: center;
  }
}

@media (hover: none) {

  .btn:hover,
  .card-project:hover,
  .card-service:hover,
  .card-step:hover,
  .card-advantage:hover,
  .trust-badge:hover,
  .hero-form:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .filter-anim-item {
    transition: none !important;
  }

  .filter-anim-item.is-filter-hidden {
    transform: none;
  }
}