


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter UI", Arial, sans-serif;
  font-size: 16px;
  color: #212529;

}

html, body {
  overflow-x: hidden;
}


/* HEADER */
.header {
  background: #fff;
}

.top-inner {
  max-width: 1440px;
  margin: 0 auto;
   padding: 0 40px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

.top-inner {
  padding-left: 11%;
}

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

}

.logo img {
  height: 56px;
}

.header-actions {
  margin-left: auto;   /* 🔥 ОЦЕ ГОЛОВНЕ */
  display: flex;
  align-items: center;
  gap: 20px;
}


/* SUBNAV */
.subnav {
  padding-top: 10px;

  display: block !important;
  justify-content: center;
  height: 56px;
  position: sticky;
  top: -5px;
  z-index: 100;
  background: #fff !important;
min-height: 50px;

}

.subnav-list {
  list-style: none;
  display: inline-flex;
  gap: 28px;
  padding: 12px 0;
  margin: 0 auto;
  position: relative;

}

.subnav-inner {
  max-width: 1400px;
  margin: 0 auto;              /* ОЦЕ робить по центру */
  padding: 0 40px;
  display: flex;
  flex-direction: column;

}

.subnav-inner::before,
.subnav-inner::after {
  content: "";
  display: block;
  height: 1px;
  background: #e6e9ed;
  width: 1100px;          /* довжина рисок */
  margin: 0 auto;        /* по центру */
}

.subnav-inner::before {
  margin-bottom: 5px;   /* відступ до меню */
}

.subnav-inner::after {
  margin-top: 4px;      /* відступ після меню */
}


button.burger {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #0b2d4b;
}


.subnav-list a {
  text-decoration: none;
  color: #0b2d4b;
  font-weight: 500;
  position: relative;
  padding-bottom: 6px;
  white-space: nowrap;
}

/* активна оранжева риска */
.subnav-list a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 3px;
  background: #c5531b;
}


/* сіра риска при наведенні */
.subnav-list a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 100%;
  height: 2px;
  background: #e6e9ed;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* показуємо при hover */
.subnav-list a:hover::before {
  opacity: 1;
}

/* HERO */



.hero {
  --bg-height: 100%;
  margin-top: 20px;
  position: relative;

  background-image: url("/assets/images/hero-bg.jpg");
  background-size: cover;              /* 🔥 ГОЛОВНЕ */
  background-position: center top;
  background-repeat: no-repeat;

  width: 100%;
  min-height: 220px;                   /* 🔥 фіксує висоту */
  max-height: 400px;
  color: #fff;
  padding: 70px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bg-height);

  background: linear-gradient(
    135deg,
    rgba(11, 45, 75, 0.95) 0%,
    rgba(11, 45, 75, 0.85) 40%,
    rgba(11, 45, 75, 0.65) 70%,
    rgba(11, 45, 75, 0.5) 100%
  );

  z-index: 1;
  pointer-events: none;
}


.hero-inner {
   position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
   z-index: 2;
}

.hero h1 {
  font-size: 46px;
  font-weight: 300;
  margin-bottom: 12px;
}

.hero p {
  font-size: 24px;
  margin-bottom: 34px;
  opacity: 0.95;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: #fff;

  color: #0b2d4b;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,0.18);
    position: relative;
  top: 48px;
   z-index: 2;
}

.card {
  padding: 23px 15px 22px;
  border-right: 1px solid #e6e9ed;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.card:last-child {
  border-right: none;
}

.card h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.card p {
  font-size: 16px;
  line-height: 1.4;
  color: #62707c;
  margin: 0 0 auto;
}

.btn-orange {
  background: #c5531b;
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 10px 16px;
  border-radius: 6px;
   display: inline-flex;
  justify-content: space-between;
  text-decoration: none; 
  align-items: center;
  cursor: pointer;
}

.btn-orange:hover {
  background: #a94415;
}

.btn-orange span {
  font-size: 14px;
  opacity: 0.9;
}

/* NEWS */
.news {
  background: #fff;
  padding: 20px 0 60px; /* зверху багато повітря як в оригіналі */
}

.news-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.news-title {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 60px;
  margin-top: 100px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.news-item {
  padding-bottom: 28px;
  border-bottom: 1px solid #e6e9ed;
}

.news-date {
  display: block;
  font-size: 16px;
  color: #6b7a88;
  margin-bottom: 6px;
}

.news-heading {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #0b2d4b;
}

.news-link {
  font-size: 16px;
  color: #c5531b;
  text-decoration: none;
  font-weight: 500;
  text-decoration: underline;
}


.link-orange {
  color: #B94C19;
  text-decoration: none;
  cursor: pointer;
}

.link-orange:hover {
  text-decoration: underline;
}