/* =========================
   ШРИФТ PRETENDARD
========================= */

@font-face {
  font-family: "PretendardCustom";
  src: url("../fonts/Pretendard-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PretendardCustom";
  src: url("../fonts/Pretendard-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "PretendardCustom", Arial, sans-serif;
  font-weight: 300;
  color: #f4fbff;
  background: linear-gradient(125deg, #0ab7ae 0%, #0b233c 45%, #050b1f 100%);
  overflow-x: hidden;
}

h1,
h2,
h3,
li,
span,
.logo-text,
.glass-btn,
.request-btn,
.advantage-number,
.vr-play,
.contact-phone-glow {
  font-family: "PretendardCustom", Arial, sans-serif;
  font-weight: 900;
}

p,
input,
textarea,
select,
label {
  font-family: "PretendardCustom", Arial, sans-serif;
  font-weight: 300;
}

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

/* =========================
   ФОН
========================= */

.page-bg {
  position: fixed;
  inset: -80vh -40vw;
  z-index: -3;

  background:
    radial-gradient(circle at 8% 12%, rgba(20, 214, 194, 0.95), transparent 28%),
    radial-gradient(circle at 85% 22%, rgba(15, 73, 135, 0.95), transparent 34%),
    radial-gradient(circle at 35% 85%, rgba(9, 142, 143, 0.65), transparent 38%),
    radial-gradient(circle at 90% 92%, rgba(16, 67, 139, 0.7), transparent 34%),
    linear-gradient(125deg, #0ab7ae 0%, #0b233c 45%, #050b1f 100%);

  transform: translate3d(0, 0, 0) scale(1.15);
  will-change: transform;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.18;
  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: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 85%);
}

.glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.26;
  pointer-events: none;
  z-index: -1;
  background: #14e6d0;
  left: -160px;
  top: 280px;
}

/* =========================
   ШАПКА
========================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 22px clamp(24px, 5vw, 72px);
  background: transparent;
  border: none;
}


.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  object-fit: contain;
  display: block;
}

.logo-desktop {
  width: 128px;
  height: 82px;
}

.logo-mobile {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 44px);
  list-style: none;

  font-size: clamp(14px, 1.35vw, 22px);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;

  font-family: "PretendardCustom", Arial, sans-serif;
  font-weight: 900;

  transition: 0.25s ease;
  text-shadow: 0 8px 30px rgba(0,0,0,0.24);
}

.nav-links a:hover {
  color: #F9E100;
  text-shadow:
    0 0 10px rgba(249, 225, 0, 0.32),
    0 0 22px rgba(249, 225, 0, 0.14);
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 10px;
}

/* =========================
   ОСНОВНАЯ СЕТКА
========================= */

main {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 150px clamp(18px, 4vw, 54px) 90px;
}

section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 0;
}

.hero-section {
  min-height: 92vh;
  flex-direction: column;
  gap: 42px;
}

.section-title {
  text-align: center;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.hero-section .section-title {
  transform: translateY(-55px);
  margin-bottom: -25px;
}

.brand-word {
  position: relative;
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-wrap {
  position: relative;
  display: inline-block;
}

.brand-word {
  position: relative;
  display: inline-block;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 2;
}

.brand-underline {
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 105%;
  height: auto;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

/* =========================
   GLASS-КАРТОЧКИ
========================= */

.glass-card {
  width: min(960px, 100%);
  position: relative;
  overflow: hidden;
  border-radius: 54px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 34px 90px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(26px) saturate(145%);
  transform: translateY(48px);
  opacity: 0;
  transition: 0.8s cubic-bezier(.2,.8,.2,1);
}

.glass-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255,255,255,0.28), transparent 22%),
    linear-gradient(120deg, rgba(255,255,255,0.18), transparent 42%);
  pointer-events: none;
  opacity: 0.45;
}

.about-card {
  display: grid;
  grid-template-columns: 38% 62%;
  min-height: 430px;
}

.about-image {
  min-height: 430px;
  background-image: url("../images/about.jpg");
  background-size: cover;
  background-position: center;
}

.split-card {
  display: grid;
  grid-template-columns: 59% 41%;
  min-height: 430px;
}

.order-card {
  width: min(960px, 100%);
  min-height: 300px;
}

.calculator-card {
  min-height: 380px;
}

.card-content {
  position: relative;
  z-index: 1;
  padding: clamp(36px, 5vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
}

.card-content h2 {
  font-size: clamp(22px, 2vw, 28px);
  margin-bottom: 36px;
  font-weight: 900;
}

.card-content p {
  max-width: 570px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.34;
  color: rgba(255,255,255,0.86);
}

.map-frame {
  position: relative;
  z-index: 1;
  min-height: 430px;
  height: 100%;
  overflow: hidden;
  border-radius: 0 54px 54px 0;
  background: rgba(255,255,255,0.1);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
  filter: saturate(0.8) contrast(1.02);
}

.qr {
  width: 112px;
  height: 112px;
  object-fit: contain;
  border-radius: 12px;
  background: white;
  padding: 6px;
  margin-top: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.button-row {
  display: flex;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: 0.25s ease;
}

.glass-btn:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.2);
}

/* =========================
   КАЛЬКУЛЯТОР
========================= */

.calc-grid {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.field label {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  padding-left: 4px;
}

.field input,
.field select {
  height: 54px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background: rgba(0,0,0,0.18);
  color: white;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
}

.field select option {
  color: #111;
}

.calc-result {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.1);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  text-align: center;
}

.calculator-content {
  width: 100%;
}

.calcus-wrapper {
  width: 100%;
  max-width: 760px;
  margin-top: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  overflow: visible;
}

/* =========================
   ЗАЯВКА НА РАСЧЕТ
========================= */

.request-card {
  width: min(960px, 100%);
  min-height: 360px;
}

.request-content {
  width: 100%;
}

.request-form {
  width: min(760px, 100%);
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-field label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 4px;
}

.form-field input {
  width: 100%;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
  transition: 0.25s ease;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-field input:focus {
  border-color: rgba(249, 225, 0, 0.75);
  background: rgba(0, 0, 0, 0.26);
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.privacy-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;

  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: 0.25s ease;
}

.custom-checkbox::after {
  content: "";
  width: 10px;
  height: 6px;

  border-left: 2px solid #06152c;
  border-bottom: 2px solid #06152c;

  transform: rotate(-45deg) scale(0);
  transition: 0.2s ease;
}

.privacy-check input:checked + .custom-checkbox {
  background: #F9E100;
  border-color: #F9E100;
}

.privacy-check input:checked + .custom-checkbox::after {
  transform: rotate(-45deg) scale(1);
}

.privacy-text {
  color: rgba(255, 255, 255, 0.78);
}

.request-btn {
  align-self: center;
  min-height: 58px;
  padding: 0 34px;
  margin-top: 8px;
  border: none;
  border-radius: 20px;
  background: rgba(249, 225, 0, 0.95);
  color: #06152c;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.request-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.field-error {
  min-height: 18px;
  margin-top: 4px;
  padding-left: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #F9E100;
  opacity: 0;
  transform: translateY(-4px);
  transition: 0.2s ease;
}

.field-error.show {
  opacity: 1;
  transform: translateY(0);
}

.form-field input.error {
  border-color: rgba(249, 225, 0, 0.9);
  box-shadow: 0 0 0 3px rgba(249, 225, 0, 0.12);
}

.privacy-error {
  display: block;
  text-align: left;
  width: min(760px, 100%);
}


/* =========================
    КОНТАКТЫ
========================= */

.contact-buttons {
  margin-top: 28px;
  margin-bottom: 26px;
}

.contact-phone {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 27px;
  font-weight: 500;
}

.contact-phone-text {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.contact-phone-glow {
  display: inline-block;

  color: #ffffff;
  text-decoration: none;

  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.045em;

  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.45),
    0 0 18px rgba(255, 255, 255, 0.28),
    0 0 34px rgba(255, 255, 255, 0.16);

  transition:
    transform 0.25s ease,
    text-shadow 0.25s ease,
    color 0.25s ease;
}

.contact-phone-glow:hover {
  transform: translateY(-2px) scale(1.04);

  color: #ffffff;

  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 24px rgba(255, 255, 255, 0.65),
    0 0 48px rgba(255, 255, 255, 0.38),
    0 0 80px rgba(255, 255, 255, 0.18);
}

@media (max-width: 620px) {
  .contact-phone-text {
    font-size: 19px;
  }

  .contact-phone-glow {
    font-size: 24px;
    letter-spacing: 0.025em;
  }
}

.contact-phone-glow {
  animation: phoneGlow 2.8s ease-in-out infinite;
}

@keyframes phoneGlow {
  0%,
  100% {
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.45),
      0 0 18px rgba(255, 255, 255, 0.28),
      0 0 34px rgba(255, 255, 255, 0.16);
  }

  50% {
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.72),
      0 0 26px rgba(255, 255, 255, 0.42),
      0 0 52px rgba(255, 255, 255, 0.22);
  }
}

@media (hover: hover) and (pointer: fine) {
  .contact-phone-glow {
    cursor: default;
  }
}

@media (max-width: 620px) {
  .contact-buttons {
    margin-top: 22px;
    margin-bottom: 22px;
  }

  .contact-phone {
    font-size: 20px;
  }
}

.contact-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;

  margin: 30px 0 30px;
}

.contact-logo {
  width: 128px;
  height: 128px;

  object-fit: contain;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.96);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    0 0 28px rgba(255, 255, 255, 0.14);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-logo:hover {
  transform: translateY(-4px) scale(1.04);

  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    0 0 38px rgba(255, 255, 255, 0.24);
}

.contact-logo-simple {
  display: block;

  width: 130px;
  height: auto;

  margin: 30px auto 32px;

  object-fit: contain;
}

@media (max-width: 620px) {
  .contact-logo-simple {
    width: 110px;
    margin: 24px auto 26px;
  }
}

/* =========================
   БЛОК "НАШИ ПРЕИМУЩЕСТВА"
========================= */

.advantages-card {
  display: block;
  width: min(960px, 100%);
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.advantages-compact-layout {
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: 440px;
}

/* ===== Левая часть ===== */

.advantages-info {
  padding: 38px 42px 34px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.advantages-info h2 {
  margin: 0 0 16px;

  text-align: center;
  font-size: 32px;
  line-height: 1.15;
  color: #ffffff;
}

.advantages-lead {
  max-width: 600px;
  margin: 0 auto 24px;

  text-align: center;
  font-size: 19px;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.80);
}

/* ===== Список преимуществ ===== */

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.advantage-row {
  position: relative;

  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;

  padding: 13px 15px;

  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045));

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.10);

  overflow: hidden;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


.advantage-row:hover {
  transform: translateY(-3px);

  border-color: rgba(249, 225, 0, 0.25);

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 18px 34px rgba(0, 0, 0, 0.16);
}

.advantage-row:hover {
  border-color: rgba(249, 225, 0, 0.28);
  background: rgba(255, 255, 255, 0.115);
}

.advantage-number {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: rgba(249, 225, 0, 0.95);
  color: #06152c;

  font-size: 14px;
  font-weight: 900;

  box-shadow:
    0 0 16px rgba(249, 225, 0, 0.24);
}

.advantage-text h3 {
  margin: 0 0 5px;

  font-size: 19px;
  line-height: 1.15;
  color: #ffffff;
}

.advantage-text p {
  margin: 0;

  text-align: left;
  font-size: 14.8px;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.80);
}

.advantage-text strong {
  color: #ffffff;
  font-weight: 900;
}

/* ===== Мини-блок услуг ===== */

.advantages-services-mini {
  margin-top: 18px;
}

.advantages-services-mini h3 {
  margin: 0 0 12px;

  text-align: center;
  font-size: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.advantages-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.advantages-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 32px;
  padding: 0 13px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);

  font-size: 13.5px;
  font-weight: 800;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.advantages-tags span:hover {
  transform: translateY(-2px);

  background: rgba(249, 225, 0, 0.95);
  color: #06152c;
  border-color: rgba(249, 225, 0, 0.95);
}

/* ===== Фото в блоке преимуществ ===== */

.advantages-photo {
  position: relative;
  overflow: hidden;

  min-height: 440px;

  background: rgba(255, 255, 255, 0.04);
}

.advantages-photo-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  opacity: 0;

  transition: opacity 1s ease;
}

.advantages-photo-slide.active {
  opacity: 1;
}

/* полностью убираем затемнения и лишние наложения */
.advantages-photo::before,
.advantages-photo::after {
  display: none;
}

@media (max-width: 900px) {
  .advantages-photo {
    grid-row: 1;
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  .advantages-photo {
    min-height: 230px;
  }
}

/* ===== Адаптив ===== */

@media (max-width: 900px) {
  .advantages-compact-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .advantages-photo {
    grid-row: 1;
    min-height: 300px;
  }

  .advantages-info {
    grid-row: 2;
    padding: 36px 28px 32px;
  }

  .advantages-photo::after {
    box-shadow:
      inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 620px) {
  .advantages-card {
    width: 100%;
  }

  .advantages-photo {
    min-height: 230px;
  }

  .advantages-info {
    padding: 30px 18px 28px;
  }

  .advantages-info h2 {
    font-size: 27px;
  }

  .advantages-lead {
    margin-bottom: 22px;
    font-size: 16.5px;
  }

  .advantage-row {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .advantage-number {
    width: 38px;
    height: 38px;

    border-radius: 13px;

    font-size: 13px;
  }

  .advantage-text h3 {
    font-size: 17px;
  }

  .advantage-text p {
    font-size: 14px;
  }

  .advantages-services-mini {
    margin-top: 16px;
  }

  .advantages-services-mini h3 {
    font-size: 18px;
  }

  .advantages-tags {
    gap: 7px;
  }

  .advantages-tags span {
    min-height: 31px;
    padding: 0 11px;
    font-size: 12.8px;
  }
}

/* =========================
   БЛОК "ВИДЕООБЗОРЫ"
========================= */

.video-reviews-card {
  width: min(960px, 100%);
  padding: 0;
  overflow: hidden;
}

.video-reviews-layout {
  display: grid;
  grid-template-columns: 52% 48%;
  min-height: 450px;
  overflow: visible;
}

/* ===== Левая часть: компактный коллаж ===== */

.video-collage-compact {
  position: relative;
  z-index: 1;
  min-height: 360px;
  overflow: visible;
  isolation: isolate;
  border-radius: 34px 0 0 34px;
  background: transparent;
}


/* общая плитка */

.vc-tile {
  position: absolute;

  width: 14.5%;
  aspect-ratio: 1 / 1;

  display: block;
  overflow: hidden;

  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;

  z-index: 1;
  transform: scale(1);

  box-shadow:
    0 7px 15px rgba(0, 0, 0, 0.16);

  transition:
    transform 0.32s ease,
    opacity 0.25s ease,
    filter 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;

  will-change: transform;
}

.vc-tile img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;

  transform: scale(1);
  transition: transform 0.35s ease;
}

.vc-tile::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
  pointer-events: none;
}

/* когда навели на один кадр — остальные темнеют */

.video-collage-compact:has(.vc-tile:hover) .vc-tile {
  opacity: 0.28;
  filter: brightness(0.72);
}

.video-collage-compact:has(.vc-tile:hover) .vc-tile:hover {
  opacity: 1;
  filter: brightness(1);
}

.vc-tile:hover {
  z-index: 30;

  transform: scale(3.3);

  border-color: rgba(249, 225, 0, 0.50);

  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.36),
    0 0 18px rgba(249, 225, 0, 0.12);
}

.vc-tile:hover img {
  transform: scale(1.2);
}

/* ===== Нормальная группировка 23 кадров внутри прямоугольника ===== */

.vc-tile:nth-child(1)  { left: 9%;  top: 9%;  }
.vc-tile:nth-child(2)  { left: 22%; top: 4%;  }
.vc-tile:nth-child(3)  { left: 38%; top: 7%;  }
.vc-tile:nth-child(4)  { left: 58%; top: 5%;  }
.vc-tile:nth-child(5)  { left: 74%; top: 9%;  }

.vc-tile:nth-child(6)  { left: 13%; top: 23%; }
.vc-tile:nth-child(7)  { left: 29%; top: 20%; }
.vc-tile:nth-child(8)  { left: 45%; top: 23%; }
.vc-tile:nth-child(9)  { left: 61%; top: 20%; }
.vc-tile:nth-child(10) { left: 77%; top: 25%; }

.vc-tile:nth-child(11) { left: 5%;  top: 40%; }
.vc-tile:nth-child(12) { left: 21%; top: 38%; }
.vc-tile:nth-child(13) { left: 37%; top: 41%; }
.vc-tile:nth-child(14) { left: 53%; top: 38%; }
.vc-tile:nth-child(15) { left: 69%; top: 41%; }
.vc-tile:nth-child(16) { left: 84%; top: 38%; }

.vc-tile:nth-child(17) { left: 13%; top: 56%; }
.vc-tile:nth-child(18) { left: 29%; top: 56%; }
.vc-tile:nth-child(19) { left: 45%; top: 59%; }
.vc-tile:nth-child(20) { left: 61%; top: 56%; }
.vc-tile:nth-child(21) { left: 77%; top: 59%; }

.vc-tile:nth-child(22) { left: 36%; top: 75%; }
.vc-tile:nth-child(23) { left: 52%; top: 75%; }

.vc-tile:nth-child(24) { left: 6%;  top: 69%; }
.vc-tile:nth-child(25) { left: 21%; top: 72%; }

.vc-tile:nth-child(26) { left: 68%; top: 72%; }
.vc-tile:nth-child(27) { left: 83%; top: 69%; }

/* ===== Чтобы увеличенные крайние кадры не вылезали за блок ===== */

/* верхний левый угол */
.vc-tile:nth-child(1),
.vc-tile:nth-child(2),
.vc-tile:nth-child(3),
.vc-tile:nth-child(6) {
  transform-origin: left top;
}

/* верхний правый угол */
.vc-tile:nth-child(4),
.vc-tile:nth-child(5),
.vc-tile:nth-child(10) {
  transform-origin: right top;
}

/* левый край по центру */
.vc-tile:nth-child(11),
.vc-tile:nth-child(17) {
  transform-origin: left center;
}

/* правый край по центру */
.vc-tile:nth-child(16),
.vc-tile:nth-child(21) {
  transform-origin: right center;
}

/* нижний левый низ */
.vc-tile:nth-child(22) {
  transform-origin: left bottom;
}

/* нижний правый низ */
.vc-tile:nth-child(23) {
  transform-origin: right bottom;
}

/* нижний ряд */
.vc-tile:nth-child(18),
.vc-tile:nth-child(19),
.vc-tile:nth-child(20) {
  transform-origin: center bottom;
}

.vc-tile:nth-child(24) {
  transform-origin: left bottom;
}

.vc-tile:nth-child(25),
.vc-tile:nth-child(26) {
  transform-origin: center bottom;
}

.vc-tile:nth-child(27) {
  transform-origin: right bottom;
}

/* ===== Фикс верхнего ряда, чтобы фотки не липли к верху карточки ===== */


/* ===== Правая часть ===== */

.video-reviews-info {
  position: relative;
  z-index: 5;

  padding: 34px 34px 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
}

.video-reviews-info h2 {
  margin: 0 0 18px;

  font-size: 30px;
  line-height: 1.15;
  color: #ffffff;
}

.video-reviews-info p {
  margin: 0 0 16px;

  font-size: 17px;
  line-height: 1.34;
  color: rgba(255, 255, 255, 0.82);
}

.video-reviews-small {
  font-size: 14.5px !important;
  color: rgba(255, 255, 255, 0.66) !important;
}

.video-reviews-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;

  margin-top: 8px;
}

/* ===== Автоувеличение на телефоне ===== */

.video-collage-compact.is-mobile-random .vc-tile {
  opacity: 0.28;
  filter: brightness(0.72);
}

.video-collage-compact.is-mobile-random .vc-tile.is-active {
  z-index: 30;

  opacity: 1;
  filter: brightness(1);

  transform: scale(1.42);

  border-color: rgba(249, 225, 0, 0.50);

  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.30),
    0 0 16px rgba(249, 225, 0, 0.10);
}

.video-collage-compact.is-mobile-random .vc-tile.is-active img {
  transform: scale(1.06);
}

/* ===== Адаптив ===== */

@media (max-width: 900px) {
  .video-reviews-card {
    width: min(960px, 100%);
  }

  .video-reviews-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .video-collage-compact {
    min-height: 360px;
    border-radius: 34px 34px 0 0;
  }

  .video-reviews-info {
    padding: 34px 28px 32px;
  }
}

@media (max-width: 620px) {
  .video-reviews-card {
    width: 100%;
  }

  .video-collage-compact {
    min-height: 310px;
  }

  .vc-tile {
    width: 15.5%;
    border-radius: 8px;
  }

  .vc-tile:hover {
    transform: scale(1);
  }

  .video-collage-compact:has(.vc-tile:hover) .vc-tile {
    opacity: 1;
    filter: none;
  }

  .video-reviews-info {
    padding: 28px 18px 28px;
  }

  .video-reviews-info h2 {
    font-size: 26px;
  }

  .video-reviews-info p {
    font-size: 15.5px;
  }

  .video-reviews-small {
    font-size: 13.5px !important;
  }

  .video-collage-compact.is-mobile-random .vc-tile.is-active {
    transform: scale(1.25);
  }
}

/* ===== ТОЛЬКО размер активного кадра на телефоне ===== */

@media (max-width: 620px), (hover: none) {
  .video-collage-compact.is-mobile-random .vc-tile.is-active {
    transform: scale(2.3) !important;
  }

  .video-collage-compact.is-mobile-random .vc-tile.is-active img {
    transform: scale(1.08);
  }
}

/* =========================
   АДАПТИВ: ПЛАНШЕТ
========================= */

@media (max-width: 980px) {
  .logo-img {
  object-fit: contain;
  display: block;
}

.logo-desktop {
  width: 128px;
  height: 82px;
}

.logo-mobile {
  display: none;
}

  .nav-links {
    position: fixed;
    top: 86px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 28px;
    background: rgba(6, 20, 43, 0.72);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(24px);
    font-size: 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 18px;
    border-radius: 18px;
  }

  .nav-links li a:hover {
    background: rgba(255,255,255,0.08);
  }

  .burger {
    display: block;
  }

  main {
    padding-top: 116px;
  }

  section {
    min-height: auto;
    padding: 42px 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 80px;
  }

  .about-card,
  .split-card {
    grid-template-columns: 1fr;
  }

  .about-image,
  .map-frame {
    min-height: 260px;
  }

  .about-image {
    border-radius: 54px 54px 0 0;
  }

  .map-frame {
    border-radius: 0 0 54px 54px;
  }
}

/* =========================
   АДАПТИВ: ТЕЛЕФОН
========================= */

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .logo-img {
  object-fit: contain;
  display: block;
}

.logo-desktop {
  display: none;
}

.logo-mobile {
  display: block;
  width: 170px;
  height: auto;
}

  main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-title {
    line-height: 1.22;
  }

  .glass-card {
    border-radius: 34px;
  }

  .card-content {
    padding: 32px 22px;
  }

  .card-content h2 {
    margin-bottom: 20px;
  }

  .card-content p {
    font-size: 17px;
  }

  .about-image {
    min-height: 220px;
    border-radius: 34px 34px 0 0;
  }

  .map-frame {
    min-height: 240px;
    border-radius: 0 0 34px 34px;
  }

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

  .brand-underline {
  display: block;
  width: 108%;
  bottom: -18px;
  }

  .hero-section {
    gap: 34px;
  }
}


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

.request-form {
  margin-top: 22px;
  gap: 14px;
}

.request-small-text {
  margin-top: 18px;
  font-size: 16px !important;
  color: rgba(255, 255, 255, 0.62) !important;
}

.request-btn {
  align-self: center;
  min-height: 58px;
  padding: 0 34px;
  margin-top: 8px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;

  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;

  backdrop-filter: blur(18px);
}

.request-btn:hover {
  transform: translateY(-3px);
  background: rgba(249, 225, 0, 0.95);
  color: #06152c;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

/* =========================
   АДМИНКА
========================= */

.admin-page {
  max-width: 1200px;
  padding-top: 80px;
}

/* ===== Карточка входа ===== */

.admin-login-card {
  width: min(520px, 100%);
  min-height: 320px;
}

.admin-login-form {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.admin-error {
  color: #F9E100;
  font-size: 14px;
  font-weight: 700;
}

/* ===== Основная админ-карточка ===== */

.admin-card {
  width: min(1050px, 100%);
  min-height: 480px;
}

.admin-content {
  width: 100%;
  align-items: stretch;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.admin-header h2 {
  margin-bottom: 0;
}

/* ===== Фильтры ===== */

.admin-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.admin-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 0 18px;

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);

  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;

  text-decoration: none;
  font-size: 14px;
  font-weight: 800;

  transition: 0.25s ease;
}

.admin-filter:hover,
.admin-filter.active {
  background: rgba(249, 225, 0, 0.95);
  color: #06152c;
}

/* ===== Таблица ===== */

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;

  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);

  background: rgba(255, 255, 255, 0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  color: #ffffff;
}

.admin-table th,
.admin-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.admin-table th {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.admin-table td {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.90);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr {
  transition: 0.25s ease;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* ===== Галочка "отзвонено" ===== */

.called-toggle {
  width: 34px;
  height: 34px;

  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);

  background: rgba(255, 255, 255, 0.08);
  color: #06152c;

  font-size: 20px;
  font-weight: 900;
  line-height: 1;

  cursor: pointer;
  transition: 0.25s ease;
}

.called-toggle:hover {
  transform: translateY(-2px);
  background: rgba(249, 225, 0, 0.95);
  border-color: rgba(249, 225, 0, 0.95);
}

.called-row {
  opacity: 0.58;
}

.called-row .called-toggle {
  background: rgba(249, 225, 0, 0.95);
  border-color: rgba(249, 225, 0, 0.95);
}

/* чтобы форма с кнопкой-галочкой не ломала таблицу */
.admin-table form {
  display: flex;
  align-items: center;
}

/* ===== Пустое состояние ===== */

.admin-empty {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== Адаптив админки ===== */

@media (max-width: 620px) {
  .admin-page {
    padding-top: 40px;
  }

  .admin-header {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .admin-header .glass-btn {
    width: 100%;
  }

  .admin-filters {
    justify-content: center;
  }

  .admin-filter {
    flex: 1 1 auto;
  }

  .admin-table th,
  .admin-table td {
    padding: 14px 12px;
    font-size: 14px;
  }

  .called-toggle {
    width: 32px;
    height: 32px;
  }
}

/* =========================
   СЛАЙДЕР В БЛОКЕ "О НАС"
========================= */

.about-slider {
  position: relative;
  width: 100%;
  min-height: 430px;
  overflow: hidden;

  border-radius: 34px 0 0 34px;
  background: rgba(255, 255, 255, 0.08);
}

.about-slides {
  position: absolute;
  inset: 0;
}

.about-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  opacity: 0;
  transform: scale(1.06);

  transition:
    opacity 0.85s ease,
    transform 2.4s ease;
}

.about-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* стрелки */

.about-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;

  font-size: 34px;
  line-height: 1;
  cursor: pointer;

  backdrop-filter: blur(12px);

  transform: translateY(-50%);
  transition: 0.25s ease;
}

.about-arrow:hover {
  background: rgba(249, 225, 0, 0.95);
  color: #06152c;
  transform: translateY(-50%) scale(1.08);
}

.about-prev {
  left: 16px;
}

.about-next {
  right: 16px;
}

/* точки снизу */

.about-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 5;

  display: flex;
  align-items: center;
  gap: 9px;

  transform: translateX(-50%);
}

.about-dot {
  width: 9px;
  height: 9px;

  border: none;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;

  transition: 0.25s ease;
}

.about-dot.active {
  width: 28px;
  background: rgba(249, 225, 0, 0.95);
}

/* мобильная версия */

@media (max-width: 900px) {
  .about-slider {
    min-height: 320px;
    border-radius: 34px 34px 0 0;
  }
}

@media (max-width: 620px) {
  .about-slider {
    min-height: 260px;
  }

  .about-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(29, 29, 29, 0.38);
  backdrop-filter: blur(14px);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin: 0;

  color: #ffffff;
  line-height: 0;
  font-size: 0;

  cursor: pointer;

  transform: translateY(-50%);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.about-arrow-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.about-prev {
  left: 28px;
}

.about-next {
  right: 28px;
}

.about-prev .about-arrow-icon {
  transform: translateX(-1px);
}

.about-next .about-arrow-icon {
  transform: translateX(1px);
}

.about-arrow:hover {
  background: rgba(249, 225, 0, 0.92);
  border-color: rgba(249, 225, 0, 0.95);
  color: #171D32;

  transform: translateY(-50%) scale(1.08);

  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(249, 225, 0, 0.28);
}

.about-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 620px) {
  .about-arrow {
    width: 46px;
    height: 46px;
  }

  .about-arrow-icon {
    width: 21px;
    height: 21px;
  }

  .about-prev {
    left: 16px;
  }

  .about-next {
    right: 16px;
  }
}

  .about-dots {
    bottom: 12px;
  }
}