:root {
    --bg: #020617;
    --fg: #e5e7eb;
    --fg-soft: #9ca3af;
    --surface-soft: #0b1120;
    --border-strong: #1f2937;
    --border-soft: #111827;
    --accent-alt: #38bdf8;
}

body {
    margin:0;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:var(--bg, #020617); color:#e5e7eb;
}

a {
    color: var(--accent-alr, #38bdf8);
    text-decoration:none;
}

a:hover {
    text-decoration:underline;
}

header, footer {
    background:var(--bg, #020617);
    border-bottom:1px solid var(--border-soft, #111827);
}

header {
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 1px solid var(--border-soft, #111827);
  background: var(--bg, #020617);
}

.header-bar {
  background: var(--bg, #020617);
  padding: 0; /* remove padding from the full-width bar */
}

.header-bar .container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 5vw; /* padding now applies to content only */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container {
    max-width:960px;
    margin:0 auto;
    padding:1.5rem;
}

nav {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav .links a {
    margin-left:1rem;
    font-size:0.9rem;
    text-transform:uppercase;
    letter-spacing:0.06em;
}

h1,h2,h3 {
    margin:1.5rem 0 0.75rem;
}

h1 {
    font-size:2.2rem;
}

h2 {
    font-size:1.6rem;
}

h3 {
    font-size:1.2rem;
}

p { line-height:1.6; margin:0.5rem 0; }

.hero { padding:3rem 0 2rem; }

.hero h1 { font-size:2.6rem; }

.hero-sub { max-width:640px; color:#9ca3af; }

.cta-row { margin-top:1.5rem; }

.btn { display:inline-block; padding:0.6rem 1.2rem; border-radius:999px; font-size:0.9rem; text-transform:uppercase; letter-spacing:0.08em; }

.btn-primary { background: var(--accent-alr, #38bdf8); color: var(--bg, #020617); font-weight:600; }

.btn-secondary { border:1px solid #4b5563; color:#e5e7eb; margin-left:0.75rem; }

.section { padding:2rem 0; border-top:1px solid var(--border-soft, #111827); }

.columns { display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:1rem; }

.col { flex:1 1 260px; border:1px solid var(--border-strong, #1f2937); border-radius:0.5rem; padding:1rem; background: var(--bg, #020617); }

ul { margin:0.5rem 0 0.5rem 1.2rem; }

li { margin:0.25rem 0; }

table { width:100%; border-collapse:collapse; margin-top:0.75rem; }

th,td { border:1px solid var(--border-strong, #1f2937); padding:0.5rem; font-size:0.9rem; }

th { background: var(--surface-soft, #0b1120); }

.page { margin-top:3rem; }

.page h1 { font-size:2rem; }

.hidden { display:none; }

.footer-text { font-size:0.8rem; color:#6b7280; margin-top:1rem; }

.paax-logo-img {width: 180px; height: auto; display:block;}

.paax-logo-img:hover {filter: brightness(1.15); transition: 0.2s ease;}

/****************************************
 * Menu toggle button
 ***************************************/

.menu-toggle {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: grid !important;
  grid-template-columns: repeat(4, 6px);
  grid-template-rows: repeat(4, 6px);
  gap: 3px; /* matches PAAX 2:1 ratio */
  position: relative;
  z-index: 10001;
}

.menu-toggle span {
  width: 6px;
  height: 6px;
  background: var(--fg, #e5e7eb);
  border-radius: 50%; /* circles like the PAAX symbol */
  transition: opacity 0.25s ease;
}

.menu-toggle.open span {
  opacity: 0;
}

/* X overlay */
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 3px;
  background: var(--fg, #e5e7eb);
  border-radius: 2px;
  transform-origin: center;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.open::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Floating menu panel */
.menu-panel {
    position: absolute;
    top: 64px;
    right: 7vw;
    width: 240px;
    background: var(--surface-soft);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 1rem 0.6rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 10002;
}

.menu-panel.open {
    display: flex;
}

.menu-panel a {
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--fg-soft);
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.menu-panel a:hover {
    background: rgba(53, 194, 255, 0.12);
    color: var(--accent-alt);
}

/* Hide old horizontal nav */
.nav {
    display: none !important;
}

/****************************************
 * Contact form
 ***************************************/
.contact-container {
  padding: 4rem 0;
}

/* Title + subtitle */
.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
}

.section-subtitle {
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

/* Form layout */
.paax-form {
  background: #0f172a;
  border: 1px solid #1e293b;
  padding: 2rem;
  border-radius: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

/* Labels */
.paax-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #cbd5e1;
  gap: 0.5rem;
}

/* Inputs + selects */
.paax-form input,
.paax-form select,
.paax-form textarea {
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 1rem;
}

.paax-form input:focus,
.paax-form select:focus,
.paax-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

/* Message field spans full width */
.message-block {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.message-block textarea {
  width: 100%;
}

@media (max-width:640px) {
    .hero { padding-top:2rem; }
}

@media (max-width: 900px) {
    .hero {
        position: relative;
        grid-template-columns: minmax(0, 1fr);
    }

    /* MOBILE NAVIGATION */
    .nav {
        display: none;
    }

   .menu-toggle {
        display: grid !important;
        position: relative;
        z-index: 10001;
    }

    main {
        padding-inline: 5vw;
    }
}

/* DESKTOP NAVIGATION */
@media (min-width: 900px) {
    .nav {
        display: flex;
    }

   .menu-toggle {
        display: grid !important;
        position: relative;
        z-index: 10001;
    }
}

/* Mobile menu panel positioning */
@media (max-width: 899px) {
    .menu-panel {
        right: 5vw;
    }
}

@media (max-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
