:root {
  --color-primary: #3b8bc0;
  --color-primary-hover: #1c5870;
  --color-text-light: #ffffff;
  --color-heading: #ffffff;
  --glass-bg: rgb(1, 1, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(16px);
  overflow: visible;
}

.header-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 4.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-header-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.site-header-utils {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.utils-menu-filter-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.utils-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.utils-menu a,
.utils-menu .icon-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #3b8bc0 0%, #2a6f9a 100%);
  border: none;
  padding: 0.75rem 1.3rem;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
}

.utils-menu-filter-search .icon-link-search {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  padding: 0.25rem 0.4rem;
  cursor: pointer;
}

.utils-menu-filter-search .icon-link-search:hover {
  color: var(--color-primary-hover);
}

.icon-link svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
}

.icon-link-search svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
  padding: 0.2rem 0;
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-heading);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.site-header-burger {
  display: none;
}

.burger-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
  z-index: 1400;
}

.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-heading);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.2s ease, 
              background-color 0.2s ease;
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.burger-btn .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.burger-btn.active .icon-menu {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.burger-btn.active .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1099; 
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-menu {
  position: fixed;
  top: 0rem;
  right: -100%;
  width: 80%;
  max-width: 900px;
  height: 100vh;
  background: var(--glass-bg);
  padding: 5rem 2rem 3rem;
  box-shadow: var(--shadow-drawer);
  transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1300;
}

.mobile-nav-menu.active {
  right: 0;
}

.mobile-nav-menu .site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  margin-right: 0rem;
  list-style: none;
}

.mobile-nav-menu .site-nav li {
  padding-bottom: 0.85rem;
  width: 100%;
  text-align: end;
}

.mobile-nav-menu .site-nav a {
    color: var(--color-heading);
    text-decoration: none;
    font-size: 0.90rem;
    font-weight: 600;
    display: inline-block;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.2rem 0;
}

.mobile-nav-menu .site-header-utils {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.mobile-nav-menu .utils-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.mobile-nav-menu .utils-menu .icon-link-search svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* WhatsApp button - solid style */
.mobile-nav-menu .utils-menu .icon-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #3b8bc0 0%, #2a6f9a 100%);
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: fit-content;
}

.mobile-nav-menu .utils-menu .icon-link svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

/* Regular links (if any) */
.mobile-nav-menu .utils-menu a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.90rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
}

/* Button inside utils-menu */
.mobile-nav-menu .utils-menu button {
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.90rem;
  padding: 0.85rem 0;
  margin-bottom: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  transition: all 0.2s ease;
}

.mobile-nav-menu .utils-menu button svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

@media (max-width: 991px) {
  .header-wrapper {
    padding: 0.75rem 1.5rem;
  }

  .site-header-nav {
    display: none;
  }

  .site-header-burger {
    display: block;
    position: fixed;
    top: 1.4rem;
    right: 1.5rem;
    z-index: 1400;
  }

  .site-header-utils {
    display: none;
  }

  .site-header-logo img {
    height: 60px;
  }
}