:root {
  --bg: #07080b;
  --bg-soft: #101117;
  --panel: rgba(21, 23, 31, 0.72);
  --panel-strong: rgba(34, 37, 47, 0.9);
  --text: #f3f5f8;
  --text-muted: #a8afbb;
  --line: rgba(255, 255, 255, 0.12);
  --silver: #e7edf3;
  --platinum: #b9c4d1;
  --aqua: #78ded3;
  --champagne: #d9b86f;
  --rose: #c86f86;
  --ink: #08090d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shell: 1180px;
  --header-height: 76px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(120, 222, 211, 0.14), transparent 24rem),
    radial-gradient(circle at 86% 12%, rgba(217, 184, 111, 0.11), transparent 22rem),
    linear-gradient(180deg, #07080b 0%, #111217 42%, #08090d 100%);
  font-family: var(--font-main, "Inter", sans-serif);
  line-height: 1.5;
  letter-spacing: 0;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.section-shell {
  width: min(100% - 32px, var(--shell));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  width: min(100%, 720px);
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.contact-panel h2 {
  margin: 0;
  color: var(--silver);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.section-heading p,
.contact-panel p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #07100f;
  background: linear-gradient(135deg, var(--aqua), var(--champagne));
  box-shadow: 0 16px 38px rgba(120, 222, 211, 0.22);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--silver);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.btn-full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px max(18px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 11, 0.74);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: linear-gradient(135deg, var(--silver), var(--aqua));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--silver);
}

.category-menu {
  position: relative;
}

.category-trigger {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--silver);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.category-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 80;
  display: none;
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 660px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #282a30;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
  scrollbar-color: rgba(174, 188, 255, 0.72) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
  transform: translateX(-50%);
}

.category-panel::-webkit-scrollbar {
  width: 8px;
}

.category-panel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.category-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(174, 188, 255, 0.72);
}

.category-menu.is-open .category-panel {
  display: grid;
}

.category-option {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #eef1f6;
  font-size: 1.1rem;
  font-weight: 500;
}

.category-option:last-child {
  border-bottom: 0;
}

.category-option:hover,
.category-option:focus-visible {
  color: var(--silver);
  background: rgba(255, 255, 255, 0.055);
}

.category-radio {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 3px solid #c9ceda;
  border-radius: 50%;
}

.category-radio.is-selected {
  border-color: #aebcff;
  box-shadow: inset 0 0 0 5px #282a30, inset 0 0 0 12px #aebcff;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid rgba(120, 222, 211, 0.35);
  border-radius: var(--radius-sm);
  color: var(--silver);
  background: rgba(120, 222, 211, 0.11);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--silver);
  background: rgba(255, 255, 255, 0.06);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 9, 0.76);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
}

.footer-shell p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--text-muted);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--silver);
}

.bottom-menu {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 142px;
  }

  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100svh - var(--header-height) - 24px);
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(13, 15, 20, 0.96);
    box-shadow: var(--shadow);
  }

  body.is-nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
  }

  .main-nav .category-menu {
    display: none;
  }

  .bottom-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(25, 31, 40, 0.96);
    box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(22px);
  }

  .bottom-category-strip {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 12px 20px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    scrollbar-width: none;
  }

  .bottom-category-strip::-webkit-scrollbar {
    display: none;
  }

  .bottom-category {
    position: relative;
    flex: 0 0 auto;
    border: 0;
    color: rgba(231, 237, 243, 0.56);
    background: transparent;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .bottom-category.is-active {
    color: var(--silver);
  }

  .bottom-category.is-active::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--champagne);
    content: "";
  }

  .bottom-nav-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  .bottom-nav-item {
    display: grid;
    min-width: 0;
    min-height: 58px;
    place-items: center;
    gap: 4px;
    border-radius: var(--radius-sm);
    color: rgba(231, 237, 243, 0.62);
    font-size: 0.72rem;
    font-weight: 800;
  }

  .bottom-nav-item i {
    color: currentColor;
    font-size: 1.25rem;
  }

  .bottom-nav-item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bottom-nav-item.is-active {
    color: var(--champagne);
  }

  .bottom-nav-primary {
    color: #07100f;
    background: linear-gradient(135deg, var(--aqua), var(--champagne));
    box-shadow: 0 10px 28px rgba(217, 184, 111, 0.22);
  }

  .header-cta {
    justify-self: end;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 70px;
  }

  .section-shell {
    width: min(100% - 24px, var(--shell));
  }

  .brand-copy small,
  .header-cta span {
    display: none;
  }

  .header-cta {
    width: 42px;
    padding: 0;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: 2rem;
  }
}
