body {
  font-family: 'Inter', sans-serif;
}

/* Меню */
.navbar .nav-link {
  font-weight: 600;              /* делаем меню жирным */
  color: #0b5aa5;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

/* Эффект полоски снизу (из центра к краям) */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #0b5aa5;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar .nav-link:hover {
  color: #084b87;
}

.navbar .nav-link:hover::after {
  width: 100%;
}

.hero {
  min-height: calc(109vh - 70px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Кнопка со стрелкой */
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  background: rgb(255 255 255 / 0%);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.scroll-down img {
  width: 60px;
  height: 28px;
}

/* Заголовок секции */
.section-title {
  font-size: 2.2rem;     /* больше */
  font-weight: 700;      /* жирный */
  color: #0b5aa5;
}

/* Контейнер с кнопкой и линиями */
.scroll-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Линии по краям */
.scroll-block .line {
  flex: 1;
  height: 2px;
  background-color: #9fa4a9;
  max-width: 200px;
}

/* Кнопка */
.btn-scroll {
  background: #9fa4a9;
  border: none;
  border-radius: 999px;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-scroll img {
  width: 60px;   /* размер SVG стрелок внутри кнопки */
  height: auto;
}

.btn-scroll:hover {
  background: #0b5aa5;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.full-image {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.full-image img {
  width: 100%;
  height: auto;           /* по высоте подстраивается */
  display: block;
  object-fit: cover;      /* если нужно обрезать под экран */
}
/* Заголовок */
.section-title { font-size: 2.2rem; font-weight: 700; color:#0b5aa5; }

/* Карточка */
.product-card{
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateZ(0);
}
.product-card img{ width:100%; height:560px; object-fit:cover; display:block;
  transition: transform .5s ease, filter .5s ease;
  filter: saturate(1) brightness(1);
}
.product-card .overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; gap:18px;
  align-items:center; justify-content:center; text-align:center;
  padding:24px; color:#fff; 
  background: radial-gradient(80% 80% at 50% 50%, rgba(10,70,130,.55) 0%, rgba(10,70,130,.75) 100%);
  opacity:0; transition: opacity .35s ease, background .35s ease;
}
.product-card h3{ font-weight:700; font-size:1.4rem; line-height:1.2; margin:0; }

/* Ховер-эффекты */
.product-card:hover img{
  transform: scale(1.05);
  filter: saturate(1.1) brightness(.95);
}
.product-card:hover .overlay{ opacity:1; }

/* Кнопка-пилюля + линии по краям */
.lined-cta{ display:flex; align-items:center; gap:16px; }
.lined-cta .line{ width:120px; max-width:20vw; height:2px; background:#c7ccd2; }
.btn-pill{
  background:#9fa4a9; border:0; border-radius:999px; padding:12px 28px;
  display:inline-flex; align-items:center; justify-content:center;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.btn-pill img{ width:64px; height:auto; display:block; transition: transform .25s ease; }
.product-card:hover .btn-pill{ background:#0b5aa5; transform: translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.18); }
.product-card:hover .btn-pill img{ transform: translateX(6px); }

/* Нижняя большая версия */
.lined-cta.big .line{ width:180px; }
.lined-cta.big .btn-pill{ padding:14px 40px; }
.lined-cta.big .btn-pill img{ width:72px; }

.btn-scroll:hover{ background:#0a5ab0; }

/* Адаптив */
@media (max-width: 576px){
  .product-card img{ height:380px; }
  .lined-cta .line{ width:70px; }
}

/* Кнопка-пилюля + линии по краям */
.lined-cta {
  display: flex;
  align-items: center;
  justify-content: center; /* центрируем */
  gap: 16px;
  flex-wrap: nowrap;
}

.lined-cta .line {
  flex: 1;                   /* линии растягиваются */
  min-width: 50px;           /* не меньше, чтобы не ломалось */
  height: 2px;
  background: #c7ccd2;
}

.btn-pill {
  background:#9fa4a9;
  border:0;
  border-radius:999px;
  padding:12px 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  flex-shrink: 0;            /* кнопка не сжимается */
}

.btn-pill img {
  width:64px;
  height:auto;
  display:block;
  transition: transform .25s ease;
}

/* Адаптив */
@media (max-width: 576px){
  .lined-cta {
    flex-direction: column;   /* линии уходят вверх/вниз */
    gap: 10px;
  }
  .lined-cta .line {
    width: 70px;
    flex: none;
  }
}


/* общие */
.section-title{ font-size:2.2rem; font-weight:700; color:#0b5aa5; }

/* карточка новости */
.news-card{ border-radius:16px; overflow:hidden; background:#fff; }
.news-thumb{ display:block; overflow:hidden; }
.news-thumb img{
  width:100%; height:580px; object-fit:cover; display:block;
  transition: transform .45s ease, filter .45s ease;
}
.news-card:hover .news-thumb img{
  transform: scale(1.03);
  filter: saturate(1.05) brightness(.98);
}

/* тело с пунктирной рамкой */
.news-body{
  border:2px dashed #c7ccd2;
  border-radius:12px;
  margin:18px 12px 0;
  padding:18px 18px 24px;
}
.news-title{
  font-weight:700;
  font-size:1.15rem;
  line-height:1.35;
  margin:0 0 10px;
  color:#1a2b3c;
}
.news-excerpt{
  margin:0;
  color:#4b5563;
}

/* кнопка-пилюля с линиями — использует твои прежние классы */
.lined-cta{ display:flex; align-items:center; justify-content:center; gap:16px; }
.lined-cta .line{ flex:1 1 120px; min-width:60px; height:2px; background:#c7ccd2; }
.btn-pill{
  flex:0 0 auto;
  background:#fff;
  border:2px solid #0b5aa5;
  color:#0b5aa5;
  border-radius:999px;
  padding:10px 24px;
  display:inline-flex; align-items:center; justify-content:center;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn-pill img{ width:64px; height:auto; display:block; transition: transform .25s ease; }

/* hover эффект кнопки и линий */
.news-card:hover .btn-pill{
  background:#6ab0f3; border-color:#0b5aa5; color:#fff;
  transform: translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.15);
}
.news-card:hover .btn-pill img{ transform: translateX(6px); }

/* адаптив */
@media (max-width: 576px){
  .news-thumb img{ height:220px; }
  .news-title{ font-size:1.05rem; }
  .lined-cta .line{ flex:1 1 50px; min-width:40px; }
  .btn-pill{ padding:9px 18px; }
  .btn-pill img{ width:56px; }
}

/* Заголовок */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #6b7280; /* серый */
}

/* Логотипы */
.partner-logo {
  max-height: 70px;
  width: auto;
  filter: grayscale(100%) brightness(0.6); /* серые */
  transition: all 0.4s ease;
  opacity: 0.8;
  cursor: pointer;
}

.partner-logo:hover {
  filter: none;          /* возвращаем цвет */
  opacity: 1;
  transform: scale(1.05); /* лёгкое увеличение при наведении */
}

.fullwidth-image {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.fullwidth-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
/* ===== Footer ===== */
.site-footer{
  background: linear-gradient(#f6f9fc, #ffffff);
  border-top: 1px solid rgba(0,0,0,.06);
}
.footer-title{
  color:#0b5aa5;
  font-weight:700;
  margin-bottom:.75rem;
}
.footer-list{ list-style:none; padding:0; margin:0; }
.footer-list li+li{ margin-top:.5rem; }
.footer-list a{
  color:#4b5563;
  text-decoration:none;
  transition: color .2s ease;
}
.footer-list a:hover{ color:#0b5aa5; }
.footer-hr{ border:0; border-top:1px solid rgba(0,0,0,.08); }

/* ===== Back-to-top button ===== */
.to-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: #e9edf1;     /* светло-серая */
  color: #0b5aa5;           /* цвет стрелки */
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, opacity .25s ease, box-shadow .25s ease;
  opacity: 0;               /* скрыта до скролла */
  pointer-events: none;
  z-index: 1030;            /* выше футера/контента */
}
.to-top:hover{
  background:#dfe4ea;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
/* Показываем кнопку, когда добавим класс .show из JS */
.to-top.show{
  opacity: 1;
  pointer-events: auto;
}

/* На очень маленьких экранах чуть меньше */
@media (max-width: 420px){
  .to-top{ right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
