:root {
  --vl-blue: #1967f2;
  --vl-dark: #070b16;
  --vl-text: #52627a;
}


/* ==================================================
   RQCHAT
================================================== */

#RQchatWidget .navbar {
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  background: transparent !important;
}

#RQchatWidget #hero > .container {
  width: calc(100% - 32px) !important;
  max-width: 930px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* ==================================================
   ОБЩАЯ ОБЛАСТЬ
================================================== */

.vl-screen {
  width: 100%;
  padding: 14px 16px 28px;
  box-sizing: border-box;

  background:
    radial-gradient(
      circle at 47% 25%,
      #edf6ff 0%,
      #f7fbff 38%,
      #ffffff 78%
    );

  font-family: Arial, sans-serif;
}

.vl-shell {
  width: calc(100% - 20px);
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* ==================================================
   ШАПКА
================================================== */

.vl-header {
  height: 62px;

  display: flex;
  align-items: center;

  padding: 0 26px;

  box-sizing: border-box;

  background: rgba(255,255,255,.96);

  border-radius: 14px;
}

.vl-brand {
  color: var(--vl-blue);

  font-size: 27px;
  line-height: 1;

  font-weight: 900;

  letter-spacing: -1px;
}


/* ==================================================
   DESKTOP
================================================== */

.vl-desktop {
  display: block;
  padding-top: 18px;
}

.vl-mobile {
  display: none;
}

.vl-main {
  width: 100%;

  display: grid;

  grid-template-columns:
    calc(52% - 9px)
    calc(48% - 9px);

  gap: 18px;

  align-items: start;

  box-sizing: border-box;
}

.vl-left {
  min-width: 0;

  padding: 18px 0 0 4px;

  box-sizing: border-box;
}


/* ==================================================
   KICKER
================================================== */

.vl-kicker {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 18px;

  color: #60728e;

  font-size: 9px;
  line-height: 1;

  font-weight: 700;

  letter-spacing: 3.1px;
}

.vl-dot {
  color: #335a93;
  font-size: 9px;
}

.vl-line {
  display: inline-block;

  width: 44px;
  height: 1px;

  margin-left: 6px;

  background: #355a90;
}


/* ==================================================
   DESKTOP — ЗАГОЛОВОК
================================================== */

.vl-title {
  margin: 0 0 17px !important;
  padding: 0 !important;

  color: var(--vl-dark) !important;

  font-size: 40px !important;
  line-height: 1.07 !important;

  font-weight: 800 !important;

  letter-spacing: -1px;

  text-align: left !important;
}

.vl-title strong {
  color: var(--vl-blue);

  font-weight: 800;
}

.vl-subtitle {
  margin-bottom: 18px;

  color: #40516e;

  font-size: 16px;
  line-height: 1.42;
}


/* ==================================================
   DESKTOP — ПРЕИМУЩЕСТВА
================================================== */

.vl-benefits {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;

  padding: 20px;

  box-sizing: border-box;

  border-radius: 18px;

  background: rgba(255,255,255,.97);

  box-shadow: 0 10px 30px rgba(31,76,132,.06);
}

.vl-benefit {
  display: grid;

  grid-template-columns: 52px 1fr;

  gap: 12px;

  align-items: start;
}

.vl-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-radius: 12px;

  background: #e8f2ff;

  color: var(--vl-blue);

  font-size: 24px;
  font-weight: 700;
}

.vl-benefit b {
  display: block;

  margin: 2px 0 6px;

  color: #075bd6;

  font-size: 14px;
  line-height: 1.2;

  font-weight: 700;
}

.vl-benefit p {
  margin: 0;

  color: #627087;

  font-size: 11px;
  line-height: 1.42;
}


/* ==================================================
   DESKTOP — ГЛАВНЫЙ РЕНДЕР
================================================== */

.vl-render {
  position: relative;

  width: 100%;
  height: 500px;

  min-width: 0;

  overflow: hidden;

  box-sizing: border-box;

  border-radius: 18px;

  background: #dceafa;
}

.vl-render img {
  width: 100%;
  height: 500px;

  max-width: 100%;

  display: block;

  object-fit: cover;
  object-position: center center;
}

.vl-render::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 120px;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.62) 0%,
      rgba(0,0,0,.22) 55%,
      rgba(0,0,0,0) 100%
    );

  z-index: 1;

  pointer-events: none;
}

.vl-render-text {
  position: absolute;

  left: 27px;
  bottom: 24px;

  z-index: 2;

  color: #ffffff;

  font-size: 24px;
  line-height: 1.13;

  font-weight: 700;

  letter-spacing: -.3px;

  text-shadow:
    0 2px 7px rgba(0,0,0,.85),
    0 4px 15px rgba(0,0,0,.55);
}


/* ==================================================
   DESKTOP — ГАЛЕРЕЯ
================================================== */

.vl-gallery {
  width: 100%;

  margin-top: 18px;

  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 16px;

  padding: 15px;

  box-sizing: border-box;

  border-radius: 18px;

  background: rgba(255,255,255,.97);

  box-shadow: 0 10px 30px rgba(31,76,132,.05);
}

.vl-gallery-card {
  min-width: 0;
}

.vl-gallery-card img {
  width: 100%;
  height: 125px;

  display: block;

  object-fit: cover;

  border-radius: 12px;
}

.vl-gallery-card div {
  padding: 9px 3px 2px;

  color: #20395f;

  font-size: 12px;
  line-height: 1.25;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1000px) and (min-width: 721px) {

  .vl-title {
    font-size: 35px !important;
  }

  .vl-subtitle {
    font-size: 15px;
  }

  .vl-render,
  .vl-render img {
    height: 470px;
  }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 720px) {

  .vl-screen {
    padding: 0;

    background:
      linear-gradient(
        to bottom,
        #eef7ff 0%,
        #ffffff 55%,
        #ffffff 100%
      );
  }

  .vl-shell {
    width: 100%;
    max-width: none;

    margin: 0;
  }


  /* ---------- HEADER ---------- */

  .vl-header {
    height: 50px;

    padding: 0 16px;

    border-radius: 0;

    background: transparent;
  }

  .vl-brand {
    font-size: 18px;
  }


  /* ---------- DESKTOP OFF ---------- */

  .vl-desktop {
    display: none !important;
  }


  /* ---------- MOBILE ON ---------- */

  .vl-mobile {
    display: block !important;

    width: 100%;

    padding: 5px 12px 17px;

    box-sizing: border-box;
  }


  /* ---------- KICKER ---------- */

  .vl-mobile-kicker {
    margin: 0 0 8px;

    text-align: center;

    color: #60718b;

    font-size: 7px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: 2px;
  }


  /* ---------- TITLE ---------- */

  .vl-mobile-title {
    margin: 0 0 11px !important;
    padding: 0 !important;

    color: #070b16 !important;

    font-size: 22px !important;
    line-height: 1.07 !important;

    font-weight: 800 !important;

    letter-spacing: -.55px;

    text-align: center !important;
  }

  .vl-mobile-title strong {
    color: var(--vl-blue);

    font-weight: 800;
  }


  /* ---------- IMAGE ---------- */

  .vl-mobile-render {
    width: 100%;

    height: auto;

    overflow: hidden;

    border-radius: 13px;

    background: #dceafa;
  }

  .vl-mobile-render img {
    width: 100%;

    height: auto;

    display: block;

    object-fit: cover;
  }


  /* ---------- SUBTITLE ---------- */

  .vl-mobile-subtitle {
    padding: 11px 6px 13px;

    text-align: center;

    color: #66758c;

    font-size: 11px;
    line-height: 1.35;
  }


  /* ==================================================
     MOBILE — ПРЕИМУЩЕСТВА
     ТЕКСТ УЖЕ УВЕЛИЧЕН
  ================================================== */

  .vl-mobile-benefits {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;
  }

  .vl-mobile-benefit {
    min-width: 0;
    min-height: 132px;

    display: grid;

    grid-template-columns: 38px 1fr;

    gap: 9px;

    padding: 11px;

    box-sizing: border-box;

    border-radius: 13px;

    background: rgba(255,255,255,.98);

    box-shadow: 0 5px 17px rgba(31,76,132,.07);
  }

  .vl-mobile-benefit .vl-icon {
    width: 36px;
    height: 36px;

    border-radius: 9px;

    font-size: 19px;
  }

  .vl-mobile-benefit b {
    display: block;

    margin: 1px 0 5px;

    color: var(--vl-blue);

    font-size: 12px;
    line-height: 1.2;

    font-weight: 700;
  }

  .vl-mobile-benefit p {
    margin: 0;

    color: #5f6d82;

    font-size: 10.5px;
    line-height: 1.35;

    font-weight: 400;
  }


  /* ---------- MOBILE GALLERY ---------- */

  .vl-mobile-gallery {
    width: 100%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 9px;
  }

  .vl-mobile-gallery-card {
    min-width: 0;

    overflow: hidden;

    border-radius: 11px;

    background: #ffffff;

    box-shadow: 0 5px 16px rgba(31,76,132,.06);
  }

  .vl-mobile-gallery-card img {
    width: 100%;
    height: 78px;

    display: block;

    object-fit: cover;
  }

  .vl-mobile-gallery-card span {
    min-height: 30px;

    padding: 5px 7px;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    color: #213b62;

    font-size: 9px;
    line-height: 1.2;
  }


  /* ---------- BOTTOM ---------- */

  .vl-mobile-bottom {
    margin-top: 9px;

    padding: 10px 5px 5px;

    text-align: center;

    color: #5073a6;

    font-size: 7px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: 2.5px;
  }


  /* ---------- CHAT ---------- */

  #RQchatWidget #hero > .container {
    width: 100% !important;
    max-width: 100% !important;

    padding-left: 7px !important;
    padding-right: 7px !important;

    box-sizing: border-box;
  }

}


/* =========================
   MOBILE — ФИНАЛЬНАЯ ПРАВКА
   только текст + гардеробная
========================= */

@media (max-width: 720px) {

  /* Текст под заголовками преимуществ */
  .vl-mobile-benefit p {
    font-size: 13px !important;
    line-height: 1.3 !important;
    color: #5f6d82 !important;
  }

  /* Чуть больше места под увеличенный текст */
  .vl-mobile-benefit {
    min-height: 145px !important;
  }

  /* Убираем лишний кусок слева на фото гардеробной */
  .vl-mobile-gallery-card:nth-child(4) img {
    transform: scale(1.16);
    transform-origin: right center;
  }

}

/* =========================
   MOBILE — триггеры в строчку
========================= */
@media (max-width: 720px) {

  .vl-mobile-benefits {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .vl-mobile-benefit {
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 40px 1fr !important;
    gap: 10px !important;
    padding: 12px !important;
    align-items: start !important;
  }

  .vl-mobile-benefit .vl-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }

  .vl-mobile-benefit b {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin: 0 0 4px !important;
  }

  .vl-mobile-benefit p {
    font-size: 12px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }

}

@media (max-width: 720px) {

  .vl-mobile-benefit b {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .vl-mobile-benefit p {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

}

@media (max-width: 720px) {

  .vl-mobile-benefit b {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  .vl-mobile-benefit p {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .vl-mobile-gallery-card span {
    font-size: 16px !important;
    line-height: 1.25 !important;
    min-height: 48px !important;
    padding: 8px 10px !important;
  }

}