/* =========================================================
   ROBOTO
========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap");

/* =========================================================
   RESET
========================================================= */

.site-header,
.site-header * {
  box-sizing: border-box;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  width: 100%;
  height: 136px;

  margin: 0;
  padding: 0;

  background: #000000;
  border-bottom: 1px solid #3c5260;

  font-family: "Roboto", sans-serif;

  position: relative;
  z-index: 100;
}

/* =========================================================
   MAIN HEADER CONTAINER
========================================================= */

.header-container {
  position: relative;

  width: min(920px, 94%);
  height: 110px;

  margin: 0 auto;
  padding: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* =========================================================
   LOGO
========================================================= */

.brand-logo {
  position: absolute;

  left: 0;
  top: 22px;

  width: 115px;
  height: 125px;

  display: flex;
  align-items: flex-start;
  justify-content: center;

  text-decoration: none;

  z-index: 20;
}

.brand-logo img {
  display: block;

  width: 125px;
  height: 125px;

  object-fit: contain;
}

/* =========================================================
   COMPANY INFORMATION
========================================================= */

.company-info {
  width: calc(100% - 95px);

  margin-left: 95px;

  padding: 6px 0 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;
}

/* =========================================================
   COMPANY NAME
========================================================= */

.company-info h1 {
  margin: 0;

  color: #58b7e7;

  font-family: "Roboto", sans-serif;

  font-size: 38px;
  font-weight: 700;

  line-height: 1.15;
  letter-spacing: 0;

  white-space: nowrap;
}

/* =========================================================
   REGISTRATION NUMBER
========================================================= */

.company-info p {
  margin: 3px 0 0;

  color: #ffffff;

  font-family: "Roboto", sans-serif;

  font-size: 20px;
  font-weight: 600;

  line-height: 1.25;

  white-space: nowrap;
}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-nav {
  width: calc(100% - 95px);

  margin-left: 95px;
  margin-top: 7px;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  overflow-x: visible;
}

/* =========================================================
   NAVIGATION LINKS
========================================================= */

.desktop-nav a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 32px;

  padding: 0 11px;

  color: #ffffff;

  background: transparent;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 18px;
  font-weight: 600;

  line-height: 1;

  white-space: nowrap;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

/* =========================================================
   HOVER
========================================================= */

.desktop-nav a:hover {
  color: #58b7e7;
}

/* =========================================================
   ACTIVE NAVIGATION
========================================================= */

.desktop-nav a.active {
  color: #ffffff;
  background: #161616;
}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 0;
  margin: 0;

  border: 1px solid #444444;
  border-radius: 4px;

  background: transparent;

  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;

  gap: 5px;
}

.menu-toggle span {
  display: block;

  width: 21px;
  height: 2px;

  background: #ffffff;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* =========================================================
   MOBILE NAVIGATION
========================================================= */

.mobile-nav {
  display: none;

  width: 100%;

  margin: 0;
  padding: 5px 0 12px;

  background: #000000;
}

.mobile-nav a {
  display: block;

  padding: 12px 20px;

  color: #ffffff;

  text-decoration: none;

  font-family: "Roboto", sans-serif;

  font-size: 14px;
  font-weight: 500;

  border-bottom: 1px solid #222222;
}

.mobile-nav a:hover {
  background: #111111;
}

.mobile-nav a.active {
  color: #58b7e7;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
  .site-header {
    height: 105px;
  }

  .header-container {
    width: min(860px, 94%);
    height: 104px;
  }

  .brand-logo {
    left: 0;
    top: 19px;

    width: 85px;
    height: 112px;
  }

  .brand-logo img {
    width: 85px;
    height: 112px;
  }

  .company-info {
    width: calc(100% - 85px);
    margin-left: 85px;
  }

  .company-info h1 {
    font-size: 26px;
  }

  .company-info p {
    font-size: 12px;
  }

  .desktop-nav {
    width: calc(100% - 85px);
    margin-left: 85px;

    margin-top: 6px;
  }

  .desktop-nav a {
    padding: 0 8px;
    font-size: 11px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .site-header {
    height: auto;
    min-height: 82px;
  }

  .header-container {
    width: 94%;
    height: 82px;
    min-height: 82px;

    display: grid;

    grid-template-columns: 65px 1fr 42px;
    grid-template-rows: 82px;

    align-items: center;
  }

  /* -----------------------------------------
       MOBILE LOGO
    ----------------------------------------- */

  .brand-logo {
    position: static;

    grid-column: 1;
    grid-row: 1;

    width: 62px;
    height: 72px;

    margin: 0;
  }

  .brand-logo img {
    width: 62px;
    height: 72px;
  }

  /* -----------------------------------------
       MOBILE COMPANY INFO
    ----------------------------------------- */

  .company-info {
    grid-column: 2;
    grid-row: 1;

    width: 100%;
    margin: 0;

    padding: 0 5px;

    align-items: center;
    justify-content: center;

    text-align: center;
  }

  .company-info h1 {
    font-size: clamp(16px, 4.5vw, 23px);

    line-height: 1.08;

    white-space: normal;

    text-align: center;
  }

  .company-info p {
    margin-top: 4px;

    font-size: 8px;

    line-height: 1.2;

    white-space: normal;

    text-align: center;
  }

  /* -----------------------------------------
       DESKTOP NAV HIDDEN
    ----------------------------------------- */

  .desktop-nav {
    display: none;
  }

  /* -----------------------------------------
       MOBILE BUTTON
    ----------------------------------------- */

  .menu-toggle {
    display: flex;

    grid-column: 3;
    grid-row: 1;
  }

  /* -----------------------------------------
       MOBILE NAV OPEN
    ----------------------------------------- */

  .mobile-nav.open {
    display: block;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .header-container {
    width: 94%;

    grid-template-columns: 54px 1fr 38px;
    grid-template-rows: 76px;

    height: 76px;
    min-height: 76px;
  }

  .site-header {
    min-height: 76px;
  }

  .brand-logo {
    width: 52px;
    height: 64px;
  }

  .brand-logo img {
    width: 52px;
    height: 64px;
  }

  .company-info h1 {
    font-size: 14px;
  }

  .company-info p {
    font-size: 7px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .menu-toggle span {
    width: 17px;
  }
}
