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

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  transition: box-shadow 0.3s ease,
              background-color 0.3s ease;
}
.site-header.is-sticky {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}
.site-header__top {
  width: min(1400px, calc(100% - 60px));
  min-height: 125px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo a {
  display: block;
  line-height: 0;
}

.site-header__logo img {
  display: block;
  width: 100px;
  max-width: 270px;
  height: auto;
}

.site-header__right {
display: flex;
    align-items: center;
    gap: 8px;
    flex-direction: column;
}

.site-header__social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__social a {
  text-decoration: none;
color: #c40000;
    font-size: 18px;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.site-header__social a:hover {
  color: #13161a;
}
.contact-rightb {
    display: inline-flex;
    gap: 3px;
}
.site-header__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0px 20px;
  background: #c40000;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
   border-radius: 6px;;
}

.site-header__contact:hover {
  background: #990000;
  color: #ffffff;
  transform: translateY(-1px);
}


/* ==========================================================
   MAIN NAVIGATION
   ========================================================== */

.site-navigation {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.site-navigation__inner {
  width: min(1400px, calc(100% - 60px));
  margin: 0 auto;
}

.site-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation > .site-navigation__inner > ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.site-navigation li {
  position: relative;
  margin: 0;
  padding: 0;
}

.site-navigation a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 0 14px;
  color: #222222;
  background: transparent;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.025em;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.site-navigation a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: #c40000;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-navigation a:hover,
.site-navigation li.menu-item--active-trail > a,
.site-navigation li.is-active > a {
  color: #c40000;
}

.site-navigation a:hover::after,
.site-navigation li.menu-item--active-trail > a::after,
.site-navigation li.is-active > a::after {
  transform: scaleX(1);
}


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

@media (max-width: 900px) {

  .site-header__top {
    width: calc(100% - 30px);
    min-height: 90px;
    padding: 12px 0px;
  }

  .site-header__logo img {
    max-width: 210px;
  }

  .site-header__social {
    /* display: none; */
            order: 2;
  }

  .site-header__right {
    gap: 12px;
   align-items: end;
  }

  .site-header__contact {
    min-height: 40px;
    padding: 0 16px;
    font-size: 10px;
  }

  .site-navigation__inner {
    width: calc(100% - 30px);
    overflow-x: auto;
  }

  .site-navigation > .site-navigation__inner > ul {
    justify-content: flex-start;
    min-width: max-content;
  }

  .site-navigation a {
    min-height: 55px;
    padding: 0 12px;
    font-size: 11px;
  }

}
