/* ==========================================================================
   «Минские окна» — сайт-визитка
   Стили: общие блоки, компоненты, адаптивность
   ========================================================================== */

/* ---------- Переменные ---------- */
:root {
  --teal: #4fccb4;
  --teal-dark: #2f9d87;
  --teal-soft: #e7f8f4;
  --accent: #df5a49;
  --accent-dark: #c9493a;
  --dark: #1b2f38;
  --dark-2: #244550;
  --dark-3: #16262d;
  --text: #2c3b42;
  --muted: #66777f;
  --line: #dfe8ea;
  --bg: #f4f8f8;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(18, 48, 58, 0.12);
  --shadow-sm: 0 8px 22px rgba(18, 48, 58, 0.08);
  --container: 1180px;
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, sans-serif;
}

/* ---------- Сброс и база ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

::selection {
  background: var(--teal);
  color: var(--dark);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* ---------- Утилиты ---------- */
.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--alt {
  background: var(--bg);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.section-head h2 {
  font-size: clamp(27px, 3.1vw, 40px);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.text-accent {
  color: var(--teal);
}

.text-accent-dark {
  color: var(--teal-dark);
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--dark);
  box-shadow: 0 10px 24px rgba(79, 204, 180, 0.28);
}

.btn--primary:hover {
  background: #6ad9c3;
  border-color: #6ad9c3;
  box-shadow: 0 14px 30px rgba(79, 204, 180, 0.36);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(79, 204, 180, 0.08);
}

.btn--outline-dark {
  background: transparent;
  border-color: #b9c9ce;
  color: var(--dark);
}

.btn--outline-dark:hover {
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  background: var(--teal-soft);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 13.5px;
}

.btn--block {
  width: 100%;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--teal-dark);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(20, 35, 42, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(18, 31, 37, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  flex: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: none;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.brand-name span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 10px 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: var(--white);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-phone:hover {
  color: var(--teal);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Главный экран ---------- */
.hero {
  position: relative;
  padding: 148px 0 0;
  color: var(--white);
  background: radial-gradient(
      circle at 78% 18%,
      rgba(79, 204, 180, 0.2),
      transparent 38%
    ),
    linear-gradient(135deg, #172a32 0%, #234550 58%, #1b333c 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(
    circle at 30% 40%,
    #000 0,
    transparent 72%
  );
  mask-image: radial-gradient(circle at 30% 40%, #000 0, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
  padding-bottom: 74px;
}

.hero .eyebrow {
  color: var(--teal);
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(33px, 4.5vw, 57px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero-lead {
  max-width: 580px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts li {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-facts li:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}

.hero-facts strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.58);
}

.hero-media {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(79, 204, 180, 0.35);
  border-radius: 34px;
  transform: rotate(-3deg);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 16px;
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.hero-badge strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--teal-dark);
}

.hero-badge span {
  max-width: 96px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted);
}

/* ---------- Бегущая строка брендов ---------- */
.hero-brands {
  position: relative;
  z-index: 1;
  padding: 0;
  background: var(--white);
}

.marquee {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 140px;
  padding: 20px 0;
  overflow: hidden;
  background: var(--white);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-list {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  gap: 50px;
  padding-right: 50px;
}

.marquee-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 0;
  background: none;
}

.marquee-list img {
  width: auto;
  height: 100px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Карточки продуктов и услуг ---------- */
.product-card,
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.product-card {
  align-items: center;
  text-align: center;
}

.product-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.product-card:hover::before,
.service-card:hover::before {
  transform: scaleX(1);
}

.product-card img {
  width: auto;
  height: 82px;
  margin-bottom: 18px;
}

.service-card img {
  width: auto;
  height: 66px;
  margin-bottom: 18px;
}

.product-card h3,
.service-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.product-card p,
.service-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.product-card__more,
.service-card__more {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
}

/* ---------- Преимущества ---------- */
.feature {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal-dark);
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 9px;
}

.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.feature .span-percent {
  display: inline-block;
  margin-top: 6px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

/* ---------- Спецпредложение ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 100px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge--accent {
  background: #fdecea;
  color: var(--accent-dark);
}

.offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.offer-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 218px;
  padding: 26px;
  background: linear-gradient(180deg, #edf4f4, #f9fcfc);
}

.offer-card__media img {
  width: auto;
  max-height: 172px;
}

.offer-card__label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.offer-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
}

.offer-card__body h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.offer-size {
  font-size: 13.5px;
  color: var(--muted);
}

.offer-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 20px;
}

.offer-old {
  font-size: 14px;
  color: #9aa8ae;
  text-decoration: line-through;
}

.offer-price {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--dark);
}

.offer-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.offer-card .btn {
  margin-top: auto;
}

.offer-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px dashed #bcd3d6;
  font-size: 13.5px;
  color: var(--muted);
}

.offer-note strong {
  color: var(--dark);
}

/* ---------- Блок с формой ---------- */
.cta {
  position: relative;
  padding: 88px 0;
  color: var(--white);
  background: radial-gradient(
      circle at 12% 20%,
      rgba(79, 204, 180, 0.16),
      transparent 34%
    ),
    linear-gradient(135deg, #172a32 0%, #234550 62%, #1a313a 100%);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    circle at 85% 30%,
    #000 0,
    transparent 65%
  );
  mask-image: radial-gradient(circle at 85% 30%, #000 0, transparent 65%);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.cta .eyebrow {
  color: var(--teal);
}

.cta h2 {
  margin-bottom: 16px;
  font-size: clamp(27px, 3.2vw, 40px);
  color: var(--white);
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-copy .btn {
  margin-top: 8px;
}

.cta-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.cta-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}

.cta-list li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--dark-2);
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-contacts a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--teal);
}

.cta-contacts a:hover {
  color: var(--white);
}

/* ---------- Форма ---------- */
.form-card {
  padding: 32px;
  border-radius: 22px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.form-card h3 {
  margin-bottom: 6px;
  font-size: 22px;
}

.form-card__lead {
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* Скрытое поле-ловушка для спам-ботов */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.field label .req {
  color: var(--accent);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9e4e6;
  border-radius: 10px;
  background: #fbfdfd;
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9caeb4;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(79, 204, 180, 0.22);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(223, 90, 73, 0.16);
}

.field-error {
  display: none;
  font-size: 12px;
  color: var(--accent-dark);
}

.field.has-error .field-error {
  display: block;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 4px 0 18px;
}

.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
}

.radio input {
  width: 17px;
  height: 17px;
  accent-color: var(--teal-dark);
  cursor: pointer;
}

.form-note {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.form-success {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #b9e8dc;
  border-radius: 10px;
  background: var(--teal-soft);
  color: #1e6b5a;
  font-size: 14px;
}

.form-success[hidden] {
  display: none;
}

/* ---------- Попап с таймером акции ---------- */
body.timer-open {
  overflow: hidden;
}

.timer__section {
  position: fixed;
  inset: auto auto 0% 0%;
  z-index: 120;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-width: 100vw;
  height: 0;
  min-height: 100vh;
  overflow: auto;
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transform: translate(0, 150vh);
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1),
    visibility 0s linear 0.6s;
}

.timer__section.is-open {
  visibility: visible;
  transform: translate(0, 0);
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1),
    visibility 0s linear 0s;
}

.timer__contein-blur {
  display: flex;
  flex-flow: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 100px 20px;
}

.timer__contein {
  display: flex;
  flex-flow: column;
  align-items: stretch;
  width: min(670px, calc(100vw - 40px));
  max-width: 100%;
  background-color: var(--white);
  border-radius: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 16px 32px rgba(0, 0, 0, 0.2);
}

.timer__close__contein {
  margin-bottom: 60px;
}

.timer__close__contein::after {
  content: "";
  display: table;
  clear: both;
}

.timer__closetriger {
  float: right;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin-top: 30px;
  margin-right: 30px;
  padding: 0 0 4px;
  border: 0;
  border-radius: 100px;
  background-color: #f2f2f2;
  color: var(--dark);
  cursor: pointer;
  transition: background-color 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.timer__closetriger:hover {
  background-color: #c4c4c4;
}

.timer__close-element {
  display: block;
  width: 60px;
  height: 4px;
  margin-bottom: -4px;
  border-radius: 2px;
  background-color: #23454d;
  transform: rotate(45deg);
}

.timer__close-element._45 {
  transform: rotate(-45deg);
}

.timer__acia-contein {
  display: flex;
  flex-flow: column;
  align-items: center;
  margin-bottom: 60px;
  padding-left: 60px;
  padding-right: 60px;
}

.timer__head {
  color: var(--dark);
  font-size: 24px;
  font-weight: 400;
  line-height: 50px;
  text-align: center;
}

.text-span {
  font-size: 100px;
  font-weight: 700;
  line-height: 100px;
}

.text-span-4 {
  font-size: 100px;
  font-weight: 300;
  line-height: 100px;
}

.text-span-3 {
  font-size: 0;
}

.timer__contein-clock {
  display: flex;
  padding-bottom: 60px;
  padding-left: 60px;
  padding-right: 60px;
}

.tmer__clock-contein {
  width: 100%;
  margin-left: 10px;
  margin-right: 10px;
}

.timer__contein-cifri {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.timer__txt-clock {
  font-size: 50px;
  font-weight: 400;
  line-height: 50px;
}

.timer__clock-txt {
  margin-top: 20px;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
}

.div-block-12 {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 100px;
}

.text-block-3 {
  font-size: 50px;
  line-height: 100%;
}

.timer__contein-uslovie-action {
  display: flex;
  justify-content: flex-start;
  align-self: center;
  align-items: flex-start;
  padding-bottom: 60px;
  padding-left: 60px;
  padding-right: 60px;
  color: var(--muted);
  font-size: 16px;
}

.timer__contein-uslovie-action p {
  margin: 0;
}

.timer__contein-form {
  margin-bottom: 60px;
  padding-left: 60px;
  padding-right: 60px;
}

.div-block-11 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.div-block-15 {
  margin-right: 10px;
}

.timer__field {
  flex: 0 1 350px;
  min-width: 350px;
  margin-bottom: 0;
  gap: 7px;
}

.timer__field label {
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
}

.timer__field input.timer__text-field {
  width: 100%;
  min-width: 350px;
  height: 60px;
  margin-bottom: 0;
  padding: 0 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: var(--white);
  color: var(--text);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 100%;
}

.timer__field input.timer__text-field::placeholder {
  color: #9caeb4;
}

.timer__field input.timer__text-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(223, 90, 73, 0.16);
}

.timer__field.has-error input.timer__text-field {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(223, 90, 73, 0.16);
}

.timer__field .field-error {
  font-size: 12px;
  color: var(--accent-dark);
}

.timer__submit-button {
  flex: none;
  height: 60px;
  margin-top: 29px;
  padding: 0 40px;
  border: 0;
  border-radius: 5px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  line-height: 100%;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.timer__submit-button:hover {
  background-color: var(--accent-dark);
}

.timer__submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.timer__contein-form .form-success {
  margin-top: 14px;
}

@media (max-width: 991px) {
  .timer__contein-blur {
    padding-left: 20px;
    padding-right: 20px;
  }

  .timer__close__contein {
    margin-bottom: 30px;
  }

  .timer__closetriger {
    width: 50px;
    height: 50px;
  }

  .timer__close-element {
    width: 40px;
  }

  .timer__acia-contein {
    margin-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .timer__contein-clock {
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .timer__contein-cifri {
    height: 90px;
  }

  .timer__txt-clock {
    font-size: 30px;
  }

  .timer__clock-txt {
    font-size: 14px;
  }

  .timer__contein-uslovie-action {
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .timer__contein-form {
    margin-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .div-block-11 {
    display: block;
  }

  .div-block-15 {
    margin-right: 0;
  }

  .timer__field {
    min-width: 0;
  }

  .timer__field input.timer__text-field {
    min-width: 0;
  }

  .timer__submit-button {
    width: 100%;
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .timer__contein {
    border-radius: 22px;
  }

  .timer__contein-blur {
    padding: 40px 14px;
  }

  .timer__close__contein {
    margin-bottom: 20px;
  }

  .timer__closetriger {
    width: 44px;
    height: 44px;
    margin-top: 18px;
    margin-right: 18px;
  }

  .timer__close-element {
    width: 32px;
  }

  .timer__acia-contein {
    margin-bottom: 24px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .timer__head {
    font-size: 18px;
    line-height: 1.4;
  }

  .text-span,
  .text-span-4 {
    font-size: 64px;
    line-height: 1;
  }

  .timer__contein-clock {
    padding-bottom: 24px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .tmer__clock-contein {
    margin-left: 3px;
    margin-right: 3px;
  }

  .timer__contein-cifri {
    height: 64px;
  }

  .timer__txt-clock {
    font-size: 22px;
    line-height: 1;
  }

  .timer__clock-txt {
    margin-top: 10px;
    font-size: 11px;
  }

  .text-block-3 {
    font-size: 28px;
  }

  .timer__contein-uslovie-action {
    padding-bottom: 22px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 13px;
  }

  .timer__contein-form {
    margin-bottom: 22px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .timer__field input.timer__text-field {
    height: 52px;
    padding: 0 14px;
    font-size: 18px;
  }

  .timer__submit-button {
    height: 52px;
    margin-top: 10px;
    font-size: 17px;
  }
}

/* ---------- Внутренние страницы: hero ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 76px;
  color: var(--white);
  background: radial-gradient(
      circle at 82% 12%,
      rgba(79, 204, 180, 0.18),
      transparent 36%
    ),
    linear-gradient(135deg, #172a32 0%, #234550 60%, #1b333c 100%);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(
    circle at 70% 30%,
    #000 0,
    transparent 70%
  );
  mask-image: radial-gradient(circle at 70% 30%, #000 0, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: clamp(31px, 4.1vw, 49px);
  color: var(--white);
  line-height: 1.12;
}

.page-hero .lead {
  max-width: 760px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero--split .container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 52px;
  align-items: center;
}

.page-hero__media {
  position: relative;
  justify-self: end;
  width: min(100%, 420px);
}

.page-hero__media img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--teal);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.page-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-hero__facts li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Видео-hero ---------- */
.video-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 82vh;
  padding: 170px 0 82px;
  color: var(--white);
  background: #0e1b20;
  overflow: hidden;
}

.video-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-hero__media video,
.video-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(9, 19, 23, 0.55) 0%,
    rgba(9, 19, 23, 0.12) 42%,
    rgba(9, 19, 23, 0.88) 100%
  );
}

.video-hero .container {
  position: relative;
  z-index: 2;
}

.video-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
}

.video-hero .lead {
  max-width: 640px;
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255, 255, 255, 0.8);
}

.video-hero .eyebrow {
  color: var(--teal);
}

.video-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.video-hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.video-hero__hint::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--teal);
}

/* ---------- Контентные блоки ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #edf4f4, #f9fcfc);
  border: 1px solid var(--line);
}

.split-media img {
  width: 100%;
  max-width: 400px;
  max-height: 470px;
  object-fit: contain;
}

.split h2 {
  font-size: clamp(27px, 3.1vw, 40px);
  margin-bottom: 16px;
}

.split p {
  color: var(--muted);
}

.content h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 16px;
}

.content h3 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.content p,
.content li {
  color: var(--muted);
}

.content ul {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.content ul li {
  position: relative;
  padding-left: 22px;
}

.content ul li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--teal-soft);
  color: #256354;
  font-size: 14.5px;
}

.note--accent {
  border-left-color: var(--accent);
  background: #fdecea;
  color: #8f382d;
}

/* ---------- Характеристики ---------- */
.spec-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row dt {
  font-size: 14.5px;
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  text-align: right;
  color: var(--dark);
}

.spec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Шаги ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal-dark);
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Статистика ---------- */
.stat-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat-number {
  display: block;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: var(--teal-dark);
}

.stat-card h3 {
  font-size: 17px;
  margin: 12px 0 8px;
}

.stat-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Цвета профиля ---------- */
.swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.swatch {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.swatch:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-sm);
}

.swatch img {
  width: 100%;
  height: 210px;
  padding: 18px;
  object-fit: contain;
  background: linear-gradient(180deg, #f0f6f6, #fbfdfd);
}

.swatch h3 {
  padding: 14px 10px;
  font-size: 14px;
}

/* ---------- Видеообзор ---------- */
.video-embed {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #0e1b20;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.video-embed iframe,
.video-embed img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-embed__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(10, 22, 27, 0.34);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.video-embed__play:hover {
  background: rgba(10, 22, 27, 0.52);
}

.video-embed__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--dark);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.video-embed__play:hover .video-embed__play-icon {
  transform: scale(1.07);
}

.video-embed__play-icon svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.video-embed__play span {
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ---------- Портфолио ---------- */
.projects {
  display: grid;
  gap: 76px;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 48px;
  align-items: center;
}

.project:nth-child(even) {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.project:nth-child(even) .project-media {
  order: 2;
}

.project-main {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #e9f0f1;
  aspect-ratio: 4 / 3;
}

.project-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-main:hover img {
  transform: scale(1.04);
}

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.project-thumbs a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #e9f0f1;
  aspect-ratio: 1 / 1;
}

.project-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-thumbs a:hover img {
  transform: scale(1.08);
}

.project-body .eyebrow {
  margin-bottom: 10px;
}

.project-body h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  margin-bottom: 12px;
}

.project-body p {
  color: var(--muted);
}

.project-meta {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-meta div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.project-meta dt {
  font-size: 13.5px;
  color: var(--muted);
}

.project-meta dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  text-align: right;
  color: var(--dark);
}

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 16, 20, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.lightbox__image {
  max-width: min(1120px, 100%);
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  max-width: min(760px, 90%);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  text-align: center;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(79, 204, 180, 0.24);
  border-color: var(--teal);
}

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

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

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

/* ---------- Контакты ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 52px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.contact-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h3 {
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-item p,
.contact-item a {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dark);
}

.contact-item a:hover {
  color: var(--teal-dark);
}

.contact-item small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.map-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.map-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.map-card img {
  width: auto;
  height: 30px;
}

.map-card img.map-card__icon {
  width: 30px;
  height: 30px;
  filter: invert(1);
}

.map-card__note {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.cta-list--light li {
  color: var(--muted);
}

.cta-list--light li::before {
  box-shadow: inset 0 0 0 4px var(--white);
}

.contact-form-wrap {
  padding: 32px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.contact-form-wrap > p {
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- CTA-полоса ---------- */
.cta-band {
  padding: 56px 0;
  color: var(--white);
  background: linear-gradient(120deg, #1b333c, #2a5560);
}

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

.cta-band h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--white);
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
}

/* ---------- Подвал ---------- */
.site-footer {
  padding-top: 64px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--dark-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 300px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-contacts {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-contacts a,
.footer-contacts span {
  display: block;
}

.footer-contacts a {
  font-weight: 600;
  color: var(--white);
  transition: color 0.2s ease;
}

.footer-contacts a:hover {
  color: var(--teal);
}

.footer-contacts small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--teal);
  background: rgba(79, 204, 180, 0.12);
}

.footer-social img {
  width: 18px;
  height: 18px;
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
  color: var(--teal);
}

/* ---------- Кнопка «наверх» ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--dark);
  box-shadow: 0 10px 26px rgba(18, 48, 58, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease,
    background-color 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: #6ad9c3;
}

.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- Появление при скролле ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1100px) {
  .nav {
    gap: 14px;
  }

  .nav-link {
    padding: 10px 8px;
    font-size: 13.5px;
  }

  .nav-extra {
    gap: 12px;
    padding-left: 14px;
  }

  .nav-phone {
    font-size: 13px;
  }

  .hero-grid {
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .burger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-height: calc(100vh - 80px);
    padding: 22px 20px 30px;
    overflow-y: auto;
    background: rgba(18, 31, 37, 0.99);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 13px 14px;
    font-size: 16px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    background: rgba(79, 204, 180, 0.12);
    color: var(--teal);
  }

  .nav-extra {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .nav-phone {
    padding: 0 14px;
    font-size: 17px;
  }

  .nav-extra .btn {
    width: 100%;
  }

  .hero-grid,
  .page-hero--split .container,
  .split,
  .split--reverse,
  .cta-grid,
  .contact-grid,
  .project,
  .project:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
    padding-bottom: 56px;
  }

  .hero-media,
  .page-hero__media {
    justify-self: start;
    width: min(100%, 440px);
  }

  .hero-badge {
    left: 14px;
  }

  .split--reverse .split-media,
  .project:nth-child(even) .project-media {
    order: 0;
  }

  .cta-grid {
    gap: 38px;
  }

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

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

  .swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-media {
    max-width: 720px;
  }

  .marquee {
    min-height: 120px;
  }

  .marquee-list {
    gap: 40px;
    padding-right: 40px;
  }

  .marquee-list img {
    height: 80px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head--row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

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

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

  .hero {
    padding-top: 122px;
  }

  .hero h1 {
    font-size: clamp(30px, 7vw, 42px);
  }

  .hero-facts {
    margin-top: 30px;
  }

  .hero-facts li {
    padding-right: 18px;
    margin-right: 18px;
  }

  .hero-facts strong {
    font-size: 21px;
  }

  .hero-facts span {
    font-size: 11.5px;
  }

  .page-hero {
    padding: 124px 0 58px;
  }

  .page-hero h1 {
    font-size: clamp(29px, 6.4vw, 40px);
  }

  .video-hero {
    min-height: 74vh;
    padding: 130px 0 60px;
  }

  .video-hero h1 {
    font-size: clamp(34px, 10vw, 56px);
  }

  .form-card,
  .contact-form-wrap {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-grid > :first-child,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 14px;
  }

  .nav {
    top: 72px;
    max-height: calc(100vh - 72px);
  }

  .grid-3,
  .grid-4,
  .swatches {
    grid-template-columns: 1fr;
  }

  .swatch img {
    height: 240px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .hero-facts li {
    padding: 0;
    margin: 0;
    border: 0;
  }

  .hero-badge {
    left: auto;
    right: 12px;
    bottom: 12px;
  }

  .marquee {
    min-height: 110px;
    padding: 15px 0;
  }

  .marquee-list {
    gap: 32px;
    padding-right: 32px;
  }

  .marquee-list img {
    height: 70px;
  }

  .offer-prices {
    margin-bottom: 16px;
  }

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

  .footer-grid > :first-child,
  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  .project-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-meta div {
    flex-direction: column;
    gap: 2px;
  }

  .project-meta dd {
    text-align: left;
  }
}

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-track {
    animation: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Печать ---------- */
@media print {
  .site-header,
  .to-top,
  .hero-brands,
  .timer__section,
  .video-hero__media,
  .video-hero__overlay,
  .lightbox {
    display: none !important;
  }

  body {
    color: #000;
  }

  .hero,
  .page-hero,
  .cta,
  .cta-band,
  .site-footer {
    color: #000;
    background: #fff !important;
  }

  .hero h1,
  .page-hero h1,
  .cta h2,
  .cta-band h2,
  .site-footer .brand {
    color: #000;
  }
}
