/* montserrat-500 - latin */
@font-face {
  font-display: swap; 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('/public/fonts/montserrat/montserrat-v30-latin-500.woff2') format('woff2');
}
/* montserrat-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('/public/fonts/montserrat/montserrat-v30-latin-700.woff2') format('woff2');
}
/* montserrat-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  src: url('/public/fonts/montserrat/montserrat-v30-latin-900.woff2') format('woff2');
}


/* poppins-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/public/fonts/poppins/poppins-v23-latin-regular.woff2') format('woff2');
}
/* poppins-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/public/fonts/poppins/poppins-v23-latin-500.woff2') format('woff2');
}
/* poppins-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/public/fonts/poppins/poppins-v23-latin-700.woff2') format('woff2');
}
/* poppins-900 - latin */
@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('/public/fonts/poppins/poppins-v23-latin-900.woff2') format('woff2');
}



body {
    font-family: 'Montserrat', sans-serif;
}


.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: #fff;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(26, 44, 58, 0.1);
  min-height: 70px;
}
a {
  text-decoration: none;
}


.header__logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}


.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.header__brand {
  font-weight: 600;
  font-size: 20px;
  color: #1a2c3a;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.header__nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: #1a2c3a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 4px;
}

.nav__link:hover {
  color: #0a1a24;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #1a2c3a;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__button {
  background: linear-gradient(135deg, #e78a2e 0%, #f4922f 100%);
  color: #000000;
  border-radius: 10px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 44, 58, 0.3);
  display: block;
}

.nav__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 44, 58, 0.4);
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.header__toggle span {
  width: 100%;
  height: 3px;
  background-color: #1a2c3a;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

.header__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .header {
    padding: 18px 32px;
  }
  
  .nav__list {
    gap: 32px;
  }
}


@media (max-width: 768px) {
  .header {
    padding: 16px 24px;
    min-height: 60px;
  }

  .logo-img {
    height: 35px;
  }

  .header__brand {
    font-size: 1.1rem;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #1a2c3a; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px); 
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
  }

  .header__nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 500px;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    padding: 0.5rem 0;
    padding-left: 0;
  }

  .nav__link {
    box-sizing: border-box;
    color: #f0f4ff;
    padding: 18px 24px;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
    display: block;
    text-align: center;
    transition: all 0.25s ease-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav__link:hover, .nav__link:focus {
    background-color: rgba(255, 255, 255, 0.05);
    color: #e78a2e;
  }
  .nav__link::after {
    display: none;
  }
  .nav__list li:last-child {
    padding: 1.5rem 2rem 1.5rem; 
  }

  .nav__button {
    box-sizing: border-box;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(26, 44, 58, 0.3);
    padding: 14px 32px;
    background: linear-gradient(135deg, #e78a2e 0%, #f4922f 100%);
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    transition: all 0.25s ease-out;
  }

  .nav__button:hover, .nav__button:focus {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(231, 138, 46, 0.4);
    background: linear-gradient(135deg, #f4922f 0%, #e78a2e 100%);
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 20px;
    min-height: 55px;
  }

  .header__nav {
    top: 55px;
  }

  .logo-img {
    height: 35px;
  }

  .header__brand {
    font-size: 1rem;
    letter-spacing: 0.5px;
  }

  .header__toggle {
    width: 28px;
    height: 22px;
  }
  .nav__link {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  .nav__list li:last-child {
      padding: 0.75rem 1.5rem;
  }

  .nav__button {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

body.menu-open {
  overflow-x: hidden;
}

.header__toggle:focus {
  outline: 2px solid #1a2c3a;
  outline-offset: 2px;
}

.header__nav:not(.is-active) {
  transition-delay: 0.1s;
}

@media (max-height: 500px) and (orientation: landscape) {
  .header__nav {
    max-height: 300px;
    overflow-y: auto;
  }
  .nav__link,
  .nav__button {
    padding: 12px;
  }
}