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

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 36, 54, 0.08);
  box-shadow: 0 14px 32px rgba(23, 36, 54, 0.08);
  backdrop-filter: blur(16px);
}

.header::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #172436, #3AC0BD, #00FACE);
}

.header .main-container {
  height: 92px;
  display: flex;
  align-items: center;
}

.site-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-logo img {
  width: 156px;
  max-height: 58px;
  object-fit: contain;
}

.header-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 6px;
  margin: 0 18px;
}

.header-links li {
  display: flex;
}

.header-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--color-black);
  font-family: "font_medium";
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}

.header-links a::after {
  content: "";
  position: absolute;
  right: 14px;
  left: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 2px;
  background: #3AC0BD;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.header-links a:hover,
.header-links a.active {
  color: #2EA7A5;
  background: rgba(58, 192, 189, 0.1);
}

.header-links a:hover::after,
.header-links a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.header-booking,
.ctm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--color-Primary1);
  color: var(--color-white) !important;
  font-family: "font_bold";
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 12px 22px rgba(58, 192, 189, 0.22);
  white-space: nowrap;
}

.header-booking i {
  color: #00FACE;
  font-size: 16px;
}

.header-booking:hover,
.ctm-btn:hover {
  background: #3AC0BD;
  color: var(--color-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(58, 192, 189, 0.3);
}

.user-menu {
  position: relative;
}

.header-user {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(58, 192, 189, 0.28);
  border-radius: 8px;
  background: rgba(58, 192, 189, 0.1);
  color: var(--color-Primary1);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-user:hover,
.header-user:focus-visible,
.user-menu.open .header-user {
  border-color: #3AC0BD;
  background: #3AC0BD;
  color: var(--color-white);
  outline: none;
}

.user-menu-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}

.user-menu.open .user-menu-arrow {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 1000;
  width: 210px;
  padding: 8px;
  border: 1px solid rgba(23, 36, 54, 0.08);
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 18px 40px rgba(23, 36, 54, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.user-dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  inset-inline-end: 18px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(23, 36, 54, 0.08);
  border-inline-start: 1px solid rgba(23, 36, 54, 0.08);
  background: var(--color-white);
  transform: rotate(45deg);
}

.user-menu.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.user-dropdown a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--color-black);
  font-family: "font_medium";
  font-size: 15px;
}

.user-dropdown a:hover,
.user-dropdown a:focus-visible {
  background: rgba(58, 192, 189, 0.1);
  color: #2EA7A5;
  outline: none;
}

.user-dropdown-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  border-radius: 8px;
  background: rgba(58, 192, 189, 0.12);
  color: #2EA7A5;
  font-size: 14px;
}

.language-switcher {
  position: relative;
}

.language-trigger {
  position: relative;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 78px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid rgba(58, 192, 189, 0.25);
  border-radius: 11px;
  background: #3abfbc;
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(23, 36, 54, 0.18);
  cursor: pointer;
  isolation: isolate;
}

.language-trigger::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -45%;
  width: 34px;
  height: 130%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(28deg);
  animation: languageShine 4.2s ease-in-out infinite;
}

.language-trigger:hover,
.language-trigger:focus-visible,
.language-switcher.open .language-trigger {
  border-color: #00FACE;
  color: var(--color-white);
  outline: none;
  box-shadow: 0 12px 30px rgba(58, 192, 189, 0.34);
  transform: translateY(-2px);
}

.language-globe {
  position: relative;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  color: #00FACE;
  font-size: 17px;
}

.language-globe > i {
  animation: languageGlobeFloat 2.8s ease-in-out infinite;
}

.language-orbit {
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(0, 250, 206, 0.55);
  border-right-color: transparent;
  border-radius: 50%;
  animation: languageOrbit 3s linear infinite;
}

.language-orbit-two {
  inset: 4px -1px;
  border-color: transparent rgba(255, 255, 255, 0.45) transparent rgba(255, 255, 255, 0.45);
  transform: rotate(55deg);
  animation-duration: 2.2s;
  animation-direction: reverse;
}

.language-spark {
  position: absolute;
  top: 1px;
  inset-inline-end: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(0, 250, 206, 0.18), 0 0 12px #00FACE;
  animation: languageSpark 1.7s ease-in-out infinite;
}

.language-current {
  font-family: "font_bold";
  font-size: 12px;
  letter-spacing: 0.5px;
}

.language-chevron {
  font-size: 8px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.language-switcher.open .language-chevron {
  transform: rotate(180deg);
}

.language-panel {
  position: absolute;
  top: calc(100% + 15px);
  inset-inline-end: 0;
  z-index: 1001;
  width: 282px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 252, 252, 0.96));
  box-shadow: 0 24px 65px rgba(23, 36, 54, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.92) rotateX(-8deg);
  transform-origin: top right;
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.language-panel::before {
  content: "";
  position: absolute;
  top: -70px;
  inset-inline-end: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 250, 206, 0.22), transparent 68%);
  animation: languageAura 4s ease-in-out infinite alternate;
}

.language-switcher.open .language-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotateX(0);
  pointer-events: auto;
}

.language-panel-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 9px 13px;
  border-bottom: 1px dashed rgba(58, 192, 189, 0.28);
}

.language-panel-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 12px;
  background: #172436;
  color: #00FACE;
  box-shadow: 0 8px 16px rgba(23, 36, 54, 0.18);
}

.language-switcher.open .language-panel-icon i {
  animation: languagePlane 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.language-panel-head strong,
.language-panel-head small {
  display: block;
}

.language-panel-head strong {
  color: #172436;
  font-family: "font_bold";
  font-size: 14px;
}

.language-panel-head small {
  margin-top: 3px;
  color: #829099;
  font-size: 10px;
}

.language-options {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  padding-top: 9px;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #172436;
  opacity: 0;
  transform: translateX(18px);
}

.language-switcher.open .language-option {
  animation: languageItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.language-switcher.open .language-option:nth-child(2) {
  animation-delay: 0.08s;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.active {
  border-color: rgba(58, 192, 189, 0.23);
  background: rgba(58, 192, 189, 0.09);
  color: #238f8d;
  outline: none;
  transform: translateX(-3px);
}

.language-flag {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3AC0BD, #238f8d);
  color: var(--color-white);
  font-family: "font_bold";
  font-size: 15px;
  box-shadow: 0 7px 15px rgba(58, 192, 189, 0.25);
}

.language-flag-en {
  background: linear-gradient(145deg, #253a58, #172436);
  font-size: 10px;
  letter-spacing: 0.5px;
}

.language-option-copy {
  flex: 1;
}

.language-option-copy strong,
.language-option-copy small {
  display: block;
}

.language-option-copy strong {
  font-family: "font_bold";
  font-size: 13px;
}

.language-option-copy small {
  margin-top: 2px;
  color: #929da5;
  font-size: 10px;
}

.language-check,
.language-go {
  color: var(--color-Primary1);
  font-size: 11px;
}

.language-check {
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(58, 192, 189, 0.14);
}

.language-route {
  position: absolute;
  right: 19px;
  bottom: 4px;
  width: 58px;
  height: 22px;
  opacity: 0.18;
  transform: rotate(-12deg);
}

.language-route span {
  position: absolute;
  inset: 8px 7px auto 0;
  border-top: 1px dashed #172436;
}

.language-route i {
  position: absolute;
  right: 0;
  color: var(--color-Primary1);
  font-size: 10px;
}

@keyframes languageOrbit {
  to { transform: rotate(360deg); }
}

@keyframes languageGlobeFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-2px) rotate(8deg); }
}

@keyframes languageSpark {
  0%, 100% { opacity: 0.55; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes languageShine {
  0%, 58% { left: -45%; }
  82%, 100% { left: 125%; }
}

@keyframes languageAura {
  to { transform: translate(-12px, 10px) scale(1.18); }
}

@keyframes languagePlane {
  0% { opacity: 0; transform: translate(18px, 14px) rotate(-18deg) scale(0.7); }
  100% { opacity: 1; transform: translate(0) rotate(0) scale(1); }
}

@keyframes languageItemIn {
  to { opacity: 1; transform: translateX(0); }
}

.mobile-menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(58, 192, 189, 0.22);
  border-radius: 8px;
  background: rgba(58, 192, 189, 0.1);
  padding: 0;
  cursor: pointer;
}

.mobile-menu-toggle:hover {
  background: rgba(58, 192, 189, 0.16);
}

.header .navicon {
  position: relative;
  width: 29px;
  height: 18px;
}

.header .navicon__item {
  background: var(--color-Primary1);
}

.logo-menu {
  width: 100%;
  text-align: center;
}

.logo-menu img {
  width: 150px;
  max-height: 60px;
  object-fit: contain;
}

.btn-nav-res {
  width: 100%;
  display: flex;
  justify-content: center;
}

.btn-nav-res .ctm-btn {
  width: calc(100% - 48px);
}

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

  .site-nav {
    gap: 14px;
  }

  .header-logo img {
    width: 138px;
  }

  .header-links {
    gap: 2px;
    margin: 0 8px;
  }

  .header-links a {
    padding: 0 10px;
    font-size: 15px;
  }

  .language-trigger {
    min-width: 48px;
    width: 48px;
    padding: 0;
  }

  .language-current,
  .language-chevron {
    display: none;
  }
}

@media (max-width: 992px) {
  .header .main-container {
    height: 78px;
  }

  .header-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 576px) {
  .header .main-container {
    height: 72px;
  }

  .header-logo img {
    width: 124px;
  }

  .header-booking {
    min-height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .header-user {
    width: 44px;
    height: 44px;
  }

  .language-trigger {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .language-panel {
    position: fixed;
    top: 78px;
    right: 12px;
    left: 12px;
    width: auto;
    transform-origin: top center;
  }
}

@media (max-width: 420px) {
  .header-booking {
    display: none;
  }
}
