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

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-100.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-100Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-300.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-300Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-500Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-700Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-900.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Museo Sans";
  src: url("fonts/MuseoSansCyrl-900Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}


/* =========================================================
   БАЗОВЫЕ СТИЛИ
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-width: 320px;

  background: #0d0e10;
  color: #fff;

  font-family: "Museo Sans", sans-serif;
  font-weight: 500;

  font-synthesis: none;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
a,
input {
  font-family: "Museo Sans", sans-serif;
  font: inherit;

  font-synthesis: none;
}

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

button {
  border: 0;
}


/* =========================================================
   ПЕРЕМЕННЫЕ
   ========================================================= */

:root {
  --orange: #ff6a00;

  --green: #1aa915;

  --purple1: #6d35e9;
  --purple2: #4a20a8;

  --red1: #ff211f;
  --red2: #c90000;
}


/* =========================================================
   ОСНОВНОЙ ЭКРАН
   ========================================================= */

.hero {
  position: relative;

  width: min(100%, 920px);
  min-height: 100svh;

  margin: 0 auto;

  overflow: hidden;

  background: #d9d2ca;

  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;

  z-index: -3;

  width: 100%;
  height: 100%;

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

.hero__veil {
  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    linear-gradient(
      180deg,
      rgba(4, 5, 7, 0.03) 0%,
      rgba(4, 5, 7, 0.06) 19%,
      rgba(10, 10, 12, 0.18) 32%,
      rgba(8, 9, 11, 0.65) 52%,
      rgba(8, 9, 11, 0.93) 72%,
      rgba(8, 9, 11, 0.98) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.14),
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.08)
    );
}

.hero__content {
  min-height: 100svh;

  display: flex;
  flex-direction: column;

  padding:
    max(22px, env(safe-area-inset-top))
    clamp(18px, 5vw, 44px)
    max(20px, env(safe-area-inset-bottom));
}


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

.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 12px;

  font-family: "Museo Sans", sans-serif;
  font-size: clamp(14px, 3vw, 16px);
  font-weight: 700;

  letter-spacing: 0.04em;
}

.location {
  padding: 9px 12px;

  background: rgba(0, 0, 0, 0.58);

  border:
    1px solid rgba(255, 255, 255, 0.24);

  border-radius: 999px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.status {
  display: flex;
  align-items: center;

  gap: 8px;

  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.5);
}

.status i {
  width: 9px;
  height: 9px;

  flex: 0 0 9px;

  border-radius: 50%;

  background: #32e25a;

  box-shadow:
    0 0 0 4px rgba(50, 226, 90, 0.16);
}


/* =========================================================
   ГЛАВНЫЙ ЗАГОЛОВОК
   ========================================================= */

.headline-wrap {
  margin-top: auto;

  padding-top: 42vh;
}

.eyebrow {
  margin: 0 0 10px;

  color: #f1f1f1;

  font-family: "Museo Sans", sans-serif;
  font-size: clamp(13px, 3.2vw, 18px);
  font-weight: 700;

  line-height: 1.2;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  text-shadow:
    0 -1px 9px rgb(0 0 0);
}


/* Главный заголовок */

h1 {
  margin: 0;

  font-family: "Museo Sans", sans-serif;
  font-size: 12vw;
  font-weight: 700;

  line-height: 0.92;

  letter-spacing: -0.035em;

  text-transform: uppercase;

  font-synthesis: none;

  text-shadow:
    0 4px 28px rgb(0 0 0);
}

h1 span {
  display: block;

  white-space: nowrap;
}

.accent {
  color: var(--orange);
}


/* =========================================================
   ПОДЗАГОЛОВОК
   ========================================================= */

.subhead {
  max-width: 690px;

  margin: 18px 0 0;

  color: #f0f0f0;

  font-family: "Museo Sans", sans-serif;
  font-size: clamp(16px, 4vw, 24px);
  font-weight: 500;

  line-height: 1.25;

  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.55);
}


/* =========================================================
   ВЫЕЗД 30–60 МИНУТ
   ========================================================= */

.eta {
  width: max-content;
  max-width: 100%;

  margin-top: 20px;
  padding: 12px 15px;

  display: flex;
  align-items: center;

  gap: 12px;

  border-radius: 17px;

  background: var(--orange);

  box-shadow:
    0 14px 30px rgba(255, 106, 0, 0.24);
}

.eta__icon {
  width: 34px;
  height: 34px;

  min-width: 34px;

  object-fit: contain;
}

.eta div {
  display: flex;
  flex-direction: column;

  gap: 2px;
}

.eta b {
      font-family: "Museo Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.eta span {
  font-family: "Museo Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.15;
    opacity: 0.9;
}


/* =========================================================
   КАРТОЧКА ПРЕИМУЩЕСТВ
   ========================================================= */

.trust-card {
  margin-top: 20px;
  padding: 17px 8px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

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

  color: #111;

  border-radius: 24px;

  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.trust-item {
  min-width: 0;

  padding: 0 10px;

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

  gap: 8px;

  text-align: center;
}

.trust-item + .trust-item {
  border-left: 1px solid #ddd;
}

.iconbox {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;
}

.iconbox img {
  width: 38px;
  height: 38px;

  display: block;

  object-fit: contain;
}

.trust-item strong {
  display: block;
    font-family: "Museo Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-synthesis: none;
}

.trust-item span {
  display: block;
    margin-top: 4px;
    color: #666;
    font-family: "Museo Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.15;
}


/* =========================================================
   КНОПКИ
   ========================================================= */

.actions {
  display: grid;

  gap: 10px;

  margin-top: 18px;
}

.btn {
  min-height: 70px;

  padding: 0 12px;

  display: grid;
  grid-template-columns: 58px 1fr 58px;
  align-items: center;

  border-radius: 18px;

  color: #fff;

  font-family: "Museo Sans", sans-serif;
  font-size: clamp(22px, 5.5vw, 36px);
  font-weight: 700;

  line-height: 1;

  letter-spacing: -0.02em;

  text-align: center;

  font-synthesis: none;

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.24);

  cursor: pointer;

  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn:active {
  transform: scale(0.985);
}

.btn__icon {
  width: 38px;
  height: 38px;

  justify-self: center;

  display: block;

  object-fit: contain;
}

.btn span {
  grid-column: 2;
}

.btn__icon + span {
  grid-column: 2;
}

.btn--call {
  background:
    linear-gradient(
      180deg,
      #24bd1c,
      #118b0d
    );
}

.btn--max {
  background:
    linear-gradient(
      180deg,
      var(--purple1),
      var(--purple2)
    );
}

.btn--master {
  background:
    linear-gradient(
      180deg,
      var(--red1),
      var(--red2)
    );
}


/* =========================================================
   НИЖНИЙ ТЕКСТ
   ========================================================= */

.fineprint {
  margin: 12px 0 0;

  color:
    rgba(255, 255, 255, 0.7);

  font-family: "Museo Sans", sans-serif;
  font-size: 11px;
  font-weight: 500;

  line-height: 1.3;

  letter-spacing: 0.02em;

  text-align: center;
}


/* =========================================================
   МОДАЛЬНОЕ ОКНО
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;

  z-index: 50;

  display: none;
  place-items: center;

  padding: 20px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;

  background:
    rgba(0, 0, 0, 0.66);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal__dialog {
  position: relative;

  width: min(100%, 440px);

  padding: 28px;

  background: #fff;
  color: #161616;

  border-radius: 26px;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.4);
}

.modal__close {
  position: absolute;

  top: 10px;
  right: 14px;

  background: transparent;
  color: #777;

  font-family: "Museo Sans", sans-serif;
  font-size: 34px;
  font-weight: 300;

  cursor: pointer;
}

.modal__eyebrow {
  margin: 0 0 5px;

  color: var(--orange);

  font-family: "Museo Sans", sans-serif;
  font-size: 12px;
  font-weight: 900;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.modal h2 {
  margin: 0;

  font-family: "Museo Sans", sans-serif;
  font-size: 34px;
  font-weight: 900;

  line-height: 1.05;
}

.modal p {
  font-family: "Museo Sans", sans-serif;
  font-weight: 500;

  line-height: 1.45;
}

.modal label {
  display: grid;

  gap: 8px;

  font-family: "Museo Sans", sans-serif;
  font-weight: 700;
  padding: 20px 0 0px 0
}

.modal input {
  width: 100%;

  padding: 15px 16px;

  border:
    1px solid #d9d9d9;

  border-radius: 14px;

  font-family: "Museo Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;

  outline: none;
}

.modal input:focus {
  border-color: var(--orange);

  box-shadow:
    0 0 0 3px rgba(255, 106, 0, 0.12);
}

.submit {
  width: 100%;

  margin-top: 14px;
  padding: 16px;

  border-radius: 14px;

  background: var(--orange);
  color: #fff;

  font-family: "Museo Sans", sans-serif;
  font-weight: 900;

  cursor: pointer;
}

.success {
  margin-top: 14px;

  padding: 13px;

  border-radius: 12px;

  background: #edf9ee;
  color: #176d1e;

  font-family: "Museo Sans", sans-serif;
  font-weight: 700;
}


/* =========================================================
   МОБИЛЬНЫЕ ДО 560 PX
   ========================================================= */

@media (max-width: 560px) {
  .hero__content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .headline-wrap {
    padding-top: 35vh;
  }

  .trust-card {
    padding: 14px 3px;

    border-radius: 20px;
  }

  .trust-item {
    padding: 0 5px;
  }

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

  .iconbox img {
    width: 50px;
    height: 50px;
  }

  .btn {
    min-height: 64px;

    grid-template-columns:
      50px 1fr 50px;

    border-radius: 16px;
  }

  .btn__icon {
    width: 34px;
    height: 34px;
  }
}


/* =========================================================
   МАЛЕНЬКИЕ ТЕЛЕФОНЫ ДО 390 PX
   ========================================================= */

@media (max-width: 390px) {
  .headline-wrap {
    padding-top: 36vh;
  }

  .subhead {
    font-size: 15px;
  }

  .eta {
    margin-top: 15px;

    padding: 10px 12px;
  }

  .eta__icon {
    width: 29px;
    height: 29px;
    min-width: 29px;
  }

  .trust-card {
    margin-top: 15px;
  }

  .trust-item strong {
    font-size: 16px;
  }

  .trust-item span {
    font-size: 8px;
  }

  .actions {
    margin-top: 14px;
  }

  .btn {
    min-height: 58px;

    font-size: 21px;
  }
}


/* =========================================================
   ПЛАНШЕТ / ПК
   ========================================================= */

@media (min-width: 760px) {
  .hero__content {
    padding-bottom: 34px;
  }

  .headline-wrap {
    padding-top: 35vh;
  }

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

  .btn--master {
    grid-column:
      1 / -1;
  }
}


/* Ограничиваем размер заголовка,
   когда ширина самого сайта достигла 920px */

@media (min-width: 920px) {
  h1 {
    font-size: 110px;
  }
}