
/* TUCHOK — NAVBAR */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

.header-inner {
  width: min(100% - 80px, 1230px);
  min-height: 175px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* LOGOTIPO WEBP */

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo .custom-logo-link {
  display: block;
}

.site-logo .custom-logo {
  display: block;
  width: 315px;
  max-width: 100%;
  height: auto;
}

.site-logo > a {
  color: #fff;
  text-decoration: none;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -3px;
}

/* MENÚ */

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 43px;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.primary-nav a:hover {
  opacity: 0.75;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.primary-nav .nav-home {
  margin-right: 8px;
}

.menu-toggle {
  display: none;
}

/* TABLET */

@media (max-width: 1100px) {
  .header-inner {
    width: min(100% - 48px, 1230px);
    min-height: 115px;
  }

  .site-logo .custom-logo {
    width: 245px;
  }

  .primary-nav {
    gap: 22px;
  }

  .primary-nav a {
    font-size: 10px;
    letter-spacing: 1px;
  }
}

/* MÓVIL */

@media (max-width: 850px) {
  .header-inner {
    width: calc(100% - 40px);
    min-height: 90px;
  }

  .site-logo .custom-logo {
    width: 205px;
  }

  .site-logo > a {
    font-size: 38px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s ease;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 25px 30px 35px;
    background: #151515;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav a,
  .primary-nav a::after {
    transition: none;
  }
}

/* ========================================
   TUCHOK - NAVBAR FIJO CON SCROLL
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;

  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* NAVBAR AL HACER SCROLL */

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.5);

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08);

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* REDUCIR ALTURA AL HACER SCROLL */

.header-inner {
  transition: min-height 0.35s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 90px;
}

/* LOGOTIPO */

.site-logo .custom-logo {
  transition: width 0.35s ease;
}

.site-header.is-scrolled .custom-logo {
  width: 225px;
}

/* TABLET */

@media (max-width: 1100px) {
  .site-header.is-scrolled .header-inner {
    min-height: 78px;
  }

  .site-header.is-scrolled .custom-logo {
    width: 195px;
  }
}

/* MÓVIL */

@media (max-width: 850px) {
  .site-header.is-scrolled .header-inner {
    min-height: 72px;
  }

  .site-header.is-scrolled .custom-logo {
    width: 170px;
  }

  .site-header.is-scrolled .primary-nav {
    background: rgba(0, 0, 0, 0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-inner,
  .site-logo .custom-logo {
    transition: none;
  }
}

/* TIPOGRAFÍA DEL NAVBAR */

.primary-nav a {
  font-family: "Dexa Pro Expanded", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ========================================
   TUCHOK - NAVBAR FIJO CON SCROLL
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;

  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* NAVBAR AL HACER SCROLL */

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.5);

  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08);

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* REDUCIR ALTURA AL HACER SCROLL */

.header-inner {
  transition: min-height 0.35s ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 90px;
}

/* LOGOTIPO */

.site-logo .custom-logo {
  transition: width 0.35s ease;
}

.site-header.is-scrolled .custom-logo {
  width: 225px;
}

/* TABLET */

@media (max-width: 1100px) {
  .site-header.is-scrolled .header-inner {
    min-height: 78px;
  }

  .site-header.is-scrolled .custom-logo {
    width: 195px;
  }
}

/* MÓVIL */

@media (max-width: 850px) {
  .site-header.is-scrolled .header-inner {
    min-height: 72px;
  }

  .site-header.is-scrolled .custom-logo {
    width: 170px;
  }

  .site-header.is-scrolled .primary-nav {
    background: rgba(0, 0, 0, 0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-inner,
  .site-logo .custom-logo {
    transition: none;
  }
}
