/* ====================================================================
   Вектортелеком — стили главной страницы
   Bootstrap 5 + фирменные цвета. Контейнер фиксирован на 1200px.
   ==================================================================== */

:root {
  --brand: #dd3823;
  --brand-dark: #9e231f;
  --brand-light: #ed7634;
  --brand-gradient: linear-gradient(90deg, #ed7634 0%, #dd3823 50%, #9e231f 100%);
  --ink: #2b2a29;
  --soft: #f6f4f3;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  padding-top: 0;
}

h1, h2, h3, h4, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; }

/* ---- Брендовые утилиты ---- */
.text-brand { color: var(--brand) !important; }
.link-brand { color: var(--brand); font-weight: 600; }
.link-brand:hover { color: var(--brand-dark); }
.bg-light-soft { background-color: var(--soft); }

.btn-brand {
  background: var(--brand-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(221, 56, 35, .3);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(221, 56, 35, .4);
}

.btn-outline-brand {
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 600;
  background: transparent;
  transition: all .15s ease;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--brand);
  color: #fff;
}

.section-title { font-size: 2rem; font-weight: 800; color: var(--ink); }
.section-subtitle { color: #777; font-size: 1.05rem; }

/* ====================================================================
   ШАПКА (full-width, внутри container 1200)
   ==================================================================== */
.site-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
}

.header-top {
  width: 100%;
  background: var(--ink);
  color: #cfcfcf;
  font-size: .85rem;
  padding: 7px 0;
}
.header-top__link { color: #e8e8e8; }
.header-top__link:hover { color: #fff; }

.header-nav { padding: .6rem 0; background: #fff; }
.header-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--ink);
  padding: .5rem 1rem;
  position: relative;
}
.header-nav .nav-link:hover,
.header-nav .nav-link.active { color: var(--brand); }

/* ====================================================================
   HERO-СЛАЙДЕР (full-width фон)
   ==================================================================== */
.hero { width: 100%; background: var(--ink); }

.hero-slide {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 42, 41, .92) 0%, rgba(43, 42, 41, .6) 55%, rgba(43, 42, 41, .15) 100%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #fff;
  padding: 40px 0;
}
.hero-slide__content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
.hero-slide__content p {
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  color: #f0f0f0;
}

.hero-badge {
  display: inline-block;
  background: var(--brand-gradient);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}

/* Owl dots поверх слайдера */
.hero-carousel .owl-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
}
.hero-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 5px;
  background: rgba(255, 255, 255, .5);
  transition: all .2s ease;
}
.hero-carousel .owl-dots .owl-dot.active span,
.hero-carousel .owl-dots .owl-dot:hover span {
  background: var(--brand);
  width: 30px;
  border-radius: 6px;
}

/* ====================================================================
   ПОЧЕМУ МЫ
   ==================================================================== */
.advantage { padding: 1rem .5rem; }
.advantage__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(221, 56, 35, .1);
  color: var(--brand);
  font-size: 2.2rem;
}
.advantage__title { font-size: 1.15rem; margin-bottom: .5rem; }
.advantage__text { color: #777; font-size: .95rem; margin: 0; }

/* ====================================================================
   ТАРИФЫ
   ==================================================================== */
.tariff-card {
  border: 2px solid #ececec;
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: visible;
  position: relative;
}
.tariff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .1);
}
.tariff-card--featured {
  border-color: var(--brand);
  box-shadow: 0 14px 34px rgba(221, 56, 35, .18);
}
.tariff-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}
.tariff-card .card-body { padding: 2rem 1.5rem; }
.tariff-card__name { font-size: 1.5rem; margin-bottom: .25rem; }
.tariff-card__desc { color: #888; font-size: .9rem; min-height: 40px; margin-bottom: 1rem; }
.tariff-card__speed {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--brand);
  background: rgba(221, 56, 35, .08);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 1rem;
}
.tariff-card__price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.tariff-card__price span { font-size: 1rem; font-weight: 500; color: #999; }
.tariff-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}
.tariff-card__list li {
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .95rem;
  color: #555;
}
.tariff-card__list li i { color: #2ec27e; margin-right: 6px; }

/* ====================================================================
   АКЦИИ И НОВОСТИ
   ==================================================================== */
.news-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}
.news-card__img {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(43, 42, 41, .85);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.news-card__tag--promo { background: var(--brand); }
.news-card__date { font-size: .82rem; color: #999; margin-bottom: .5rem; }
.news-card__title { font-size: 1.1rem; margin-bottom: .5rem; line-height: 1.3; }
.news-card__text { font-size: .9rem; color: #777; margin-bottom: 1rem; }

/* ====================================================================
   ФОРМА ЗАЯВКИ
   ==================================================================== */
.connect-section {
  background: var(--ink);
  background-image: linear-gradient(110deg, #2b2a29 0%, #3a2320 100%);
  position: relative;
}
.connect-section__lead { color: #d8d8d8; font-size: 1.1rem; margin-bottom: 1.5rem; }
.connect-section__benefits { list-style: none; padding: 0; margin: 0; }
.connect-section__benefits li { color: #efefef; padding: 6px 0; font-size: 1rem; }
.connect-section__benefits li i { color: var(--brand-light); margin-right: 10px; }

.connect-card { border: none; border-radius: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.connect-card .form-label { font-weight: 600; font-size: .9rem; }
.connect-card__policy { font-size: .8rem; color: #999; margin: 0; }
.connect-card__policy a { color: var(--brand); }

/* ====================================================================
   CTA-ПЛИТКИ
   ==================================================================== */
.cta-tile {
  border-radius: 20px;
  padding: 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cta-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .2); color: #fff; }
.cta-tile--business { background: linear-gradient(120deg, #2b2a29 0%, #4a4847 100%); }
.cta-tile--pay { background: var(--brand-gradient); }
.cta-tile__icon { font-size: 2.6rem; margin-bottom: 1rem; opacity: .95; }
.cta-tile__title { font-size: 1.5rem; margin-bottom: .5rem; }
.cta-tile__text { opacity: .9; margin-bottom: 1.25rem; }
.cta-tile__link { font-family: 'Montserrat', sans-serif; font-weight: 600; }
.cta-tile__link i { transition: transform .2s ease; }
.cta-tile:hover .cta-tile__link i { transform: translateX(5px); }

/* ====================================================================
   ПОДВАЛ (full-width)
   ==================================================================== */
.site-footer {
  width: 100%;
  background: var(--ink);
  color: #b7b7b7;
}
.footer-about { font-size: .92rem; color: #9c9c9c; margin-bottom: 1.5rem; }
.footer-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}
.footer-list, .footer-contacts { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .6rem; }
.footer-list a { color: #b7b7b7; font-size: .92rem; }
.footer-list a:hover { color: var(--brand-light); }
.footer-contacts li { margin-bottom: .7rem; font-size: .92rem; }
.footer-contacts li i { color: var(--brand); margin-right: 8px; }
.footer-contacts a { color: #b7b7b7; }
.footer-contacts a:hover { color: var(--brand-light); }

.footer-emergency {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(221, 56, 35, .12);
  border: 1px solid rgba(221, 56, 35, .3);
  border-radius: 12px;
  padding: 12px 16px;
}
.footer-emergency i { font-size: 1.6rem; color: var(--brand-light); }
.footer-emergency span { display: block; font-size: .78rem; color: #b7b7b7; }
.footer-emergency a { display: block; color: #fff; font-weight: 700; font-size: 1.05rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: .85rem;
  color: #8d8d8d;
}
.footer-bottom__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom__links a { color: #8d8d8d; }
.footer-bottom__links a:hover { color: var(--brand-light); }

/* ====================================================================
   Адаптив (минимальный — основной макет десктопный, контейнер 1200)
   ==================================================================== */
@media (max-width: 991.98px) {
  .hero-slide { min-height: 440px; }
  .hero-slide__content h1 { font-size: 2.2rem; }
  .hero-slide__content p { font-size: 1.1rem; }
  .section-title { font-size: 1.6rem; }
  .header-nav .nav-link { padding: .5rem 0; }
}
