@font-face {
    font-family: "Manrope";
    src: url("/public/fonts/Manrope-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

/* --- MANROPE FONT APPLIED GLOBALLY --- */

/* --- MANROPE FONT APPLIED GLOBALLY --- */

/* =========================================================
   01) TOKENS (общие CSS-переменные)
   ========================================================= */
:root{
  /* Цвета */
  --bg: #f3f8fc;
  --bg-soft: #eef6fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #6b7280;
  --primary: #0c70d4;
  --primary-700:#63b3ff;
  --accent:#1e90ff;
  --line:#e6eef5;

  /* Тени/радиусы */
  --shadow: 0 14px 38px rgba(32, 86, 138, 0.14);
  --radius: 20px;
  --radius-lg: 26px;

  /* Константы макета */
  --container: 1360px;
  --sidebar: 260px;
  --gutter: 28px;
}

/* =========================================================
   02) BASE & UTILS
   ========================================================= */
*{ box-sizing: border-box; }
html,body{ height:100%; }
html,body{ overflow-x: hidden; }

/* =========================================================
   CONTAINER (Bootstrap-like, because bootstrap-lite may omit .container)
   ========================================================= */
.container{
  width:100%;
  max-width: var(--container);
  margin-left:auto;
  margin-right:auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing:border-box;
}
@media (max-width: 992px){
  .container{
    padding-left: 16px;
    padding-right: 16px;
  }
}

body{
  margin:0;
  font-family:"Manrope",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#f6fbff, #f0f6fb 40%, #eef5fb 100%);
  font-size:17px;
  line-height:1.65;
  letter-spacing:.1px;
}

a{ color:var(--primary); text-decoration:none; }
.muted{ color:#6b7a8f; }
.small{ font-size:12px; }
.accent-strong{ color:#3a8dde; }

/* Подцентровка заголовков и сабтайтлов (на всех страницах) */
h2, h3,
.section-title,
.title-xl
{
  text-align:center;
}

/* =========================================================
   03) COMMON COMPONENTS (карточки, типографика, кнопки, инпуты)
   ========================================================= */

/* Cards */
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:32px;
}

/* Typography */
.h1{
  font-size:48px;
  line-height:1.2;
  margin:0 0 18px 0;
  font-weight:800;
}
.section-title{
  font-size:32px;
  margin:0 0 16px 0;
  font-weight:800;
}
.title-xl{
  /* Responsive: prevents heading overflow on small screens */
  font-size:clamp(28px, 5.2vw, 52px);
  line-height:1.2;
  margin:0 0 16px 0;
  font-weight:800;
  letter-spacing:.2px;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
}
.subtitle{
  text-align: Center;
  font-size:20px;
  color:#667c93;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 18px;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:700;
  font-size:16px;
  cursor:pointer;
  transition:.2s;
}
.btn-sm{
  padding:10px 14px;
  border-radius:12px;
  font-size:14px;
}
.btn-block{ display:block; width:100%; }
.btn-primary{ background:var(--primary); color:#fff; }
.btn-primary:hover{ background:var(--primary-700); }
.btn-secondary{ background:#edf5fb; color:var(--primary); border-color:#d9e7f4; }
.btn-secondary:hover{ background:#e6f1fb; }
.btn-outline{ background:transparent; color:var(--primary); border-color:var(--primary); }
.btn-ghost{ background:transparent; color:var(--primary); border:1px solid #d9e7f4; }
.btn-ghost:hover{ background:#f2f7fc; }
.btn-grad{
  background:linear-gradient(180deg,#3b8fd3,#2c7ab0);
  color:#fff;
  border:none;
  border-radius:12px;
  padding:12px 16px;
  box-shadow:0 10px 24px rgba(59,143,211,.25);
}

/* Inputs */
.input{
  width:100%;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  outline:none;
  font-size:16px;
}
.input-lg{ padding:16px 18px; border-radius:12px; }
.input:focus{ border-color:#c6d8ea; box-shadow:0 0 0 4px rgba(54,140,182,.08); }
.label{ display:block; margin-bottom:8px; color:#334155; font-size:15px; }
.badge{
  display:inline-block;
  background:#e9f5ff;
  border:1px solid #d0e9ff;
  color:#0763a9;
  padding:10px 14px;
  border-radius:14px;
  font-weight:800;
}
.pill{
  display:inline-block;
  background:#f6f9fc;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  font-size:14px;
}
.dot{ width:8px; height:8px; border-radius:50%; background:var(--primary); margin-right:8px; }
.dot-small{ display:inline-block; width:8px; height:8px; border-radius:50%; background:#2f7fb0; margin-right:8px; }

/* Tabs glass card: compact pill + horizontal scroll on overflow */
.tabs.card.card--glass {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  max-width: 100%;
  width: fit-content;
  box-sizing: border-box;
  padding: 6px 10px !important; /* override .card padding */
  border-radius: 16px;
  scrollbar-width: thin;
}
.tabs.card.card--glass .tab {
  white-space: nowrap;
  flex: 0 0 auto;
}
.tabs.card.card--glass::-webkit-scrollbar { height: 6px; }
.tabs.card.card--glass::-webkit-scrollbar-thumb {
  background: rgba(30,144,255,.35);
  border-radius: 999px;
}
.tabs.card.card--glass::-webkit-scrollbar-track { background: transparent; }
@media (max-width: 600px) {
  .tabs.card.card--glass {
    gap: 6px;
    padding: 6px 8px !important;
  }
  .tabs.card.card--glass .tab {
    padding: 8px 12px;
  }
}

/* Общая иконка для контролов (кальк и т.п.) */
.ctrl-icon{
  width:48px;
  height:48px;
  object-fit:contain;
  margin-right:8px;
  display:inline-block;
  vertical-align:middle;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}


/* Letter-by-letter wave animation for discount title */
.wave-letter{
  display:inline-block;
  animation: waveAnim 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.12s);
}

@keyframes waveAnim {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-8px) scale(1.15); }
}
/* ===== Footer card (Navis-like) ===== */
.footer.footer--card{
  padding: 14px 0 18px;
}

/* внешняя "карточка" */
.footer__shell{
  max-width: 1180px;              /* визуально как в референсе */
  margin: 0 auto;
  padding: 0 14px;
}

.footer__inner{
  background: linear-gradient(180deg, rgba(234,246,255,.92) 0%, rgba(234,246,255,.70) 100%);
  border: 1px solid rgba(30,144,255,.14);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(2, 20, 40, 0.08);
  overflow: hidden;
}

/* внутренние отступы */
.footer__inner{
  padding: 16px 18px 12px;
}

/* 3 колонки */
.footer__cols{
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

/* адаптив */
@media (max-width: 991.98px){
  .footer__cols{
    grid-template-columns: 1fr 1fr;
  }
  .footer__col--feedback{
    grid-column: 1 / -1;
  }
}
@media (max-width: 575.98px){
  .footer__cols{
    grid-template-columns: 1fr;
  }
}

/* заголовки */
.footer__title{
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 800;
  color: #1e90ff;
}
.footer__title--center{
  text-align: center;
}

/* ссылки: чёрные -> accent */
.footer a{
  color: #000;
  text-decoration: none;
  font-weight: 600;
}
.footer a:hover{
  color: #1e90ff;
}

/* услуги: строго вертикально под h3 */
.footer__services{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

/* CTA маленькая кнопка */
.footer__cta{
  margin: 10px auto 0;   /* ← КЛЮЧЕВОЕ */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  color: #fff !important;
  font-weight: 800;
  background: linear-gradient(135deg, #1E90FF 0%, #6A4CFF 100%);
  box-shadow: 0 10px 20px rgba(30,144,255,.18);
}

.footer__cta:hover{
  color: #fff !important;
  filter: brightness(.98);
}

/* контакты компактно */
.footer__contacts{ display: grid; gap: 10px; }

.footer__phones{
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}
.footer__phones a{
  white-space: nowrap; /* не переносить номер */
}

@media (max-width: 991.98px){
  .footer__phones{ flex-wrap: wrap; }
}

/* “чип” под телефоны */
.footer__chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(30,144,255,.14);
}

/* строка с иконкой */
.footer__row{
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: start;
}

/* адреса парой */
.footer__addrGrid{
  display: grid;
  grid-template-columns: 1fr; /* ОДНА колонка */
  gap: 10px;
}

@media (max-width: 991.98px){
  .footer__addrGrid{ grid-template-columns: 1fr; }
}

/* иконки 48×48, визуально как "плитка" */
.footer__ico{
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(30,144,255,.10);
  border: 1px solid rgba(30,144,255,.18);
  object-fit: contain;
}

/* соц.иконки снизу */
.footer__socials{
  display: flex;
  gap: 10px;
  padding-left: 58px; /* 48 + 10 */
}
@media (max-width: 575.98px){
  .footer__socials{ padding-left: 0; }
}

/* subscribe компактно */
.footer__subscribe{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
@media (max-width: 575.98px){
  .footer__subscribe{ grid-template-columns: 1fr; }
}

/* график немного компактнее */
.footer__schedule{
  margin-top: 10px;
}

/* разделитель + низ */
.footer__divider{
  height: 1px;
  background: rgba(30,144,255,.18);
  margin: 12px 0 10px;
}

.footer__bottom{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
}
.footer__copy{ color: rgba(0,0,0,.65); }
.footer__legal{ color: rgba(0,0,0,.65); }
.footer__sep{ margin: 0 8px; color: rgba(0,0,0,.35); }
/* Footer card should fill main column width (no center max-width) */
.footer__shell{
  max-width: none;
  margin: 0;              /* не центрируем */
  padding: 0 16px;        /* небольшой внутренний отступ от краёв main-col */
}

/* если хочешь прям в край — поставь 0 */
@media (max-width: 575.98px){
  .footer__shell{ padding: 0 12px; }
}
/* Phones without white chips */
.footer__chip{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
/* Center footer card inside main-col */
.footer.footer--card{
  width: 100%;
}

.footer__shell{
  width: 100%;
  max-width: none;
  margin: 0 auto;         /* центрируем оболочку */
  padding: 0 18px;        /* одинаковые отступы слева/справа */
  box-sizing: border-box;
}

@media (max-width: 575.98px){
  .footer__shell{ padding: 0 12px; }
}
/* Icons: remove tiles/background completely */
.footer__ico{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: 24px !important;     /* аккуратнее без плитки */
  height: 24px !important;
}

/* Contact rows: подстроить сетку под 24px */
.footer__row{
  grid-template-columns: 24px 1fr !important;
  gap: 10px !important;
}

/* Phones: remove white chips */
.footer__chip{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Phones in one line on wide screens */
.footer__phones{
  gap: 16px !important;
}
.footer__phones a{
  white-space: nowrap;
}
.footer__brand{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer__logo{
  width: 94px;
  height: 94px;
  object-fit: contain;
}

.footer__brandName{
  font-weight: 800;
  color: #000;
  line-height: 1.2;
}

.footer__brandSub{
  color: rgba(0,0,0,.65);
  font-size: 13px;
  line-height: 1.2;
}

.footer__aboutText{
  margin: 0;
  color: rgba(0,0,0,.75);
  font-size: 13px;
  line-height: 1.35;
}
/* =========================================================
   FEEDBACK PANEL (pretty UI)
   ========================================================= */

.remote-panel--feedback .remote-panel__title{
  font-size:18px;
  letter-spacing:-0.2px;
}

.remote-panel--feedback .remote-panel__text{
  color:#374151;
}

.remote-panel--feedback .remote-panel__actions{
  gap:10px;
}

/* Поля ввода */
.remote-panel--feedback .form-control{
  border-radius:14px;
  border:1px solid rgba(30,144,255,.22);
  background:rgba(30,144,255,.04);
  padding:10px 12px;
  font-size:14px;
  line-height:1.2;
  box-shadow:none;
  transition:border-color .15s ease, background .15s ease, transform .15s ease;
}

.remote-panel--feedback .form-control::placeholder{
  color:#6b7280;
}

.remote-panel--feedback .form-control:focus{
  border-color:rgba(30,144,255,.55);
  background:#fff;
  outline:none;
  box-shadow:0 0 0 4px rgba(30,144,255,.14);
}

/* Кнопка */
.remote-panel--feedback .remote-panel__btn{
  border-radius:14px;
  font-weight:700;
  padding:10px 12px;
  box-shadow:0 12px 28px rgba(30,144,255,.22);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.remote-panel--feedback .remote-panel__btn:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 36px rgba(30,144,255,.28);
}

.remote-panel--feedback .remote-panel__btn:active{
  transform:translateY(0);
  box-shadow:0 10px 22px rgba(30,144,255,.22);
}

/* Маленькая подсказка снизу (если добавите) */
.remote-panel--feedback .remote-panel__hint{
  margin:2px 0 0 0;
  font-size:12px;
  color:#6b7280;
}


/* --- Text justification (site-wide in main content) --- */
.content p,
.content li{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
}

/* Subtitles should be centered (override global justification in .content) */
.content .subtitle{
  text-align: center;
  text-justify: auto;
}

/* --- Download disclaimer under RustDesk buttons --- */
.download-disclaimer{
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(0,0,0,.6);
}

/* --- Thank you modal (used after successful form submit) --- */
#digexThanksModal{ position: fixed; inset: 0; display: none; z-index: 99999; }
#digexThanksModal.is-open{ display: block; }

.digex-thanks__backdrop{
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
}

.digex-thanks__card{
  position:absolute; left:50%; top:50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 22px 22px 18px;
  border: 1px solid rgba(30,144,255,.18);
  text-align: center;
}

.digex-thanks__close{
  position:absolute; right:12px; top:10px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(30,144,255,.25);
  background:#fff;
  font-size: 22px;
  line-height: 1;
}

.digex-thanks__icon{
  width: 54px; height: 54px;
  border-radius: 16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(30,144,255,.12);
  color:#1e90ff;
  font-weight: 800;
  font-size: 28px;
  margin: 0 auto 12px;
}
.digex-thanks__card--error .digex-thanks__icon{
  background: rgba(230,126,34,.15);
  color: #e67e22;
}

.digex-thanks__title{
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.digex-thanks__text{
  color: #2b2f38;
  line-height: 1.45;
  margin-bottom: 14px;
}

.digex-thanks__btn{
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  background: #1e90ff;
  color: #fff;
  font-weight: 700;
}
.digex-thanks__btn:hover{ filter: brightness(0.95); }


