:root {
  --text: #ffffff;
  --dark: #0b0b0b;
  --border: #e9e9e9;
  --gold: #caa54b;
  --bg: #ffffff;
  --field: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  flex: 0 0 auto;
  position: relative;
  z-index: 61;
}

.brand img {
  width: 72px;
  height: auto;
  display: block;
}

.topnav {
  display: flex;
  flex: 1 1 780px;
  min-width: 0;
  gap: clamp(12px, 1.6vw, 22px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 8px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 61;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #ffffff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.site-header.is-fixed .nav-toggle {
  border-color: rgba(13, 27, 42, 0.12);
  background: rgba(13, 27, 42, 0.05);
}

.site-header.is-fixed .nav-toggle span {
  background: #0d1b2a;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topnav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.topnav a:hover {
  color: #ffffff;
}

.site-header.is-fixed {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.site-header.is-fixed .topnav a {
  color: #2a2a2a;
}

.site-header.is-fixed .topnav a:hover {
  color: #000000;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text);
  padding: 110px 0 120px;
}

.hero-title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0 0 26px;
  font-size: 18px;
  opacity: 0.9;
}

.header-subtitle {
  color: #ffffff;
  font-weight: 300;
  font-size: 1.4em;
  text-align: inherit;
}

.page-banner-title {
  font-size: clamp(2.5rem, 5vw, 3.3rem);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn-primary {
  background: #1aa6ff;
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.05);
}

.btn-success {
  background: #33b249;
  color: #ffffff;
  border-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .header-row {
    min-height: 72px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topnav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 14px 18px;
    border-radius: 20px;
    background: rgba(9, 18, 31, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

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

  .site-header.is-fixed .topnav {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(13, 27, 42, 0.08);
  }

  .topnav a,
  .site-header.is-fixed .topnav a {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.08em;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.is-fixed .topnav a {
    color: #0d1b2a;
    border-bottom-color: rgba(13, 27, 42, 0.08);
  }

  .topnav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-title {
    font-size: 42px;
  }

  .header-subtitle,
  .hero-sub {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 0;
  }

  .brand img {
    width: 62px;
  }

  .topnav {
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-content {
    padding: 105px 0 96px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
  }
}
