/* ========== RESET / BASE ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #0b111a;
  color: #e8f0ff;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
}

a {
  color: #9ec3ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== LAYOUT ========== */
.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 26, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 34px;
}

.tagline {
  font-size: 0.8rem;
  color: #cddaf5;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav > a {
  font-weight: 600;
  color: #d8e5ff;
}

/* dropdown desktop */
.has-drop {
  position: relative;
}
.has-drop > a {
  white-space: nowrap;
}
.has-drop .drop {
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f1420;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 6px;
  min-width: 240px;
  display: none;
  z-index: 200;
  max-height: 70vh;
  overflow: auto;
}
.has-drop .drop li { list-style: none; }
.has-drop .drop a {
  display: block;
  padding: 6px 10px;
  color: #e8f0ff;
  font-weight: 500;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop {
  display: block;
}

/* mobile toggle */
.nav-toggle {
  display: none;
  background: #101725;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  width: 40px;
  height: 34px;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: #0b1220;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/hero-computer.jpg") center/cover no-repeat;
  opacity: .18;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 10% 10%, rgba(39,98,255,.5), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(14,43,160,.4), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  padding: 52px 0 40px;
}

.hero-copy .kicker {
  display: inline-block;
  background: rgba(232,237,245,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.76rem;
  margin-bottom: 8px;
}

.hero-copy h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 10px;
}
.hero-copy .lead {
  color: #cbd5f0;
  max-width: 58ch;
}

/* panel (form, sections) */
.panel {
  background: #121927;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#contact input,
#contact textarea {
  background: #0f1624;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fff;
  font: inherit;
}
#contact textarea {
  min-height: 90px;
  resize: vertical;
}
#contact input:focus,
#contact textarea:focus {
  outline: none;
  border-color: rgba(43,104,255,.85);
  box-shadow: 0 0 0 3px rgba(43,104,255,.28);
}
.submit {
  background: linear-gradient(180deg, #1d4fff 0%, #153bcc 100%);
  border: 0;
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* ========== MAIN SECTIONS ========== */
.band {
  padding: 28px 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.map-frame {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 12px;
  margin-bottom: 10px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 30px;
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.05);
  background: #0b1220;
  margin-top: 30px;
}
.ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: #a7b9da;
  flex-wrap: wrap;
}

/* ========== COOKIE BANNER ========== */
#cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}
#cookie-consent.cc-hidden {
  display: none;
  pointer-events: none;
}
.cc-panel {
  background: #121826;
  color: #e8edf5;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  padding: 14px 18px;
  max-width: 980px;
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.03);
}
.cc-text p {
  margin: 4px 0 0;
  font-size: 0.9rem;
}
.cc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}
.cc-btn {
  border: 0;
  background: linear-gradient(180deg, #1d4fff 0%, #153bcc 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
}
.cc-btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
}
.cc-btn.tertiary {
  background: rgba(232,237,245,.08);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* hide nav on mobile until opened */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d141f;
    flex-direction: column;
    gap: 0;
    padding: 10px 16px 14px;
    display: none;
    z-index: 200;
  }
  .site-nav.menu-open {
    display: flex;
  }

  /* make dropdown inline on mobile */
  .site-nav .has-drop {
    position: static;
  }
  .site-nav .has-drop .drop {
    position: static;
    display: block;
    background: none;
    border: 0;
    min-width: 0;
    padding-left: 10px;
  }

  .site-nav > a,
  .site-nav > .has-drop > a {
    padding: 10px 2px;
    border-bottom: 1px solid rgba(255,255,255,.04);
  }

  .tagline {
    display: none;
  }

  .cc-panel {
    flex-direction: column;
    align-items: flex-start;
  }
  .cc-actions {
    margin-left: 0;
  }
}
