html, body {
  height: 100%;
  margin: 0;
}

body {
  background:
    url("img/background-2.webp") center center / cover no-repeat fixed,
    url("img/background-1.webp") center center / cover no-repeat fixed;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.top-menu-frame {
  position: fixed;
  top: 0.2cm;
  left: 2cm;
  right: 2cm;
  height: 1.3cm;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.12), 0 0 14px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 0.35cm;
  pointer-events: auto;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  height: 100%;
  max-height: 56px;
  margin-left: 25px;
}

.nav-logo img {
  height: 52px;
  max-height: calc(100% - 8px);
  width: auto;
  display: block;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.2);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18), 0 0 10px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

.nav-labels {
  display: flex;
  align-items: center;
  gap: 1.3cm;
  margin-left: 10px;
  font-weight: 400;
  color: #0f172a;
  letter-spacing: 0;
  text-transform: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  padding: 4px 0;
}

.nav-labels .menu {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: 0;
  padding: 2px 0;
}

.nav-arrow {
  display: none;
}

.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 20;
}

.nav-drop-menu a {
  display: block;
  padding: 10px 14px;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}

.nav-drop-menu a:hover {
  background: rgba(15, 23, 42, 0.06);
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-labels {
    display: none;
  }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) {
  .promo-graphic {
    top: 45%;
    left: auto;
    right: 3cm;
    transform: translateY(-50%);
    width: 280px;
    max-width: 300px;
  }
  .promo-title {
    top: 60%;
    left: auto;
    right: 3cm;
    transform: translateY(-50%);
    text-align: right;
    width: 280px;
  }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  z-index: 9;
}

.nav-overlay[hidden] {
  display: none;
}

.side-menu {
  position: fixed;
  top: 0;
  left: -0.5cm;
  bottom: 0;
  width: calc(min(240px, 75vw) + 1cm);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.15);
  padding: 56px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 11;
}

.side-menu.open {
  transform: translateX(0);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  padding: 6px;
}

.search-box {
  width: 100%;
  position: relative;
  padding-bottom: 1px;
  margin-bottom: 10px;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  pointer-events: none;
  background: url("img/search-glass.gif") center/contain no-repeat;
}

.promo-graphic {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(70vw, 260px);
  max-width: 260px;
  pointer-events: none;
  z-index: 2;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 10px 12px 10px 44px;
  border-radius: 0;
  border: 1px solid #d6d8dd;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.search-box input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.search-box input:hover {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.hero {
  padding: 0cm 20px 48px;
  min-height: calc(100vh - 1.3cm);
  display: flex;
  align-items: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.hero__media {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 3cm;
}

.hero__img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

.hero__text {
  text-align: center;
  max-width: 640px;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero__text h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.28;
}

.hero__text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}

@media (min-width: 992px) {
  .hero {
    padding: 0cm 40px 64px;
  }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4.5cm;
    margin-left: -2cm;
  }
  .hero__text {
    text-align: left;
    max-width: 55%;
    margin-left: -3.3cm;
    margin-top: -3cm;
  }
  .hero__media {
    justify-content: flex-start;
    margin-left: 5.5cm;
    margin-top: 0;
  }
  .hero__img {
    max-width: 420px;
  }
}

.side-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 12px;
  text-transform: none;
  border-radius: 0;
  transition: background 0.2s ease;
  position: relative;
  box-shadow: inset 0 -1px 0 #e2e4e8;
}

.side-link:first-of-type {
  box-shadow: inset 0 -1px 0 #e2e4e8, inset 0 1px 0 #e2e4e8;
}

.side-link:hover {
  background: rgba(15, 23, 42, 0.06);
}

.side-dropdown {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.side-drop-toggle {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 12px;
  text-align: left;
  color: #6b7280;
  font-weight: 600;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.2s ease;
}

.side-drop-toggle:hover {
  background: rgba(15, 23, 42, 0.06);
}

.side-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.side-drop-menu {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
}

.side-drop-menu a {
  display: block;
  padding: 12px;
  color: #6b7280;
  font-weight: 600;
  transition: color 0.2s ease;
}

.side-drop-menu.show {
  opacity: 1;
  transform: translateY(0);
}

.side-dropdown.open .side-drop-menu {
  max-height: 150px;
}

.side-dropdown.open .side-arrow {
  transform: rotate(180deg);
}

.side-dropdown.open > .side-drop-toggle {
  color: #0f172a;
}

.side-drop-menu a:hover {
  color: #111827;
}

.app-dropdown {
  border-radius: 0;
  overflow: hidden;
  margin-top: 0.3cm;
  border-top: 1px solid #e2e4e8;
  border-bottom: 1px solid #e2e4e8;
  border-left: 0;
  border-right: 0;
}

.app-dropdown .side-drop-toggle,
.app-dropdown .side-drop-menu a {
  box-shadow: none;
  background: transparent;
}

.app-dropdown.open {
  background: #e5e7eb;
  box-shadow: none;
  border: 0;
}

.app-dropdown .side-drop-menu {
  background: transparent;
}

.dm-dropdown {
  border-radius: 0;
  overflow: hidden;
  margin-top: 0;
  border-top: 0;
  border-bottom: 1px solid #e2e4e8;
  border-left: 0;
  border-right: 0;
}

.dm-dropdown .side-drop-toggle,
.dm-dropdown .side-drop-menu a {
  box-shadow: none;
  background: transparent;
}

.dm-dropdown.open {
  background: #e5e7eb;
  box-shadow: none;
  border: 0;
}

.dm-dropdown .side-drop-menu {
  background: transparent;
}

.side-title {
  margin: 1cm 12px 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4b5563;
}
