:root {
  --bg: #070b12;
  --bg-elev: #101826;
  --text: #e7eef8;
  --muted: #a4b0c2;
  --cyan: #2ee9f0;
  --violet: #b794f6;
  --pink: #f472b6;
  --danger: #f87171;
  --ink: #042226;
  --glass: rgba(16, 24, 40, 0.72);
  --edge: linear-gradient(135deg, rgba(46, 233, 240, 0.85), rgba(183, 148, 246, 0.75), rgba(244, 114, 182, 0.7));
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --header-h: 60px;
  --radius: 16px;
  --font: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100%;
}

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

a {
  color: var(--cyan);
}

a:hover {
  color: #7af4f8;
}

:focus-visible {
  outline: 2px solid #f5d0fe;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  background: #2ee9f0;
  color: var(--ink);
  padding: 8px 16px;
  z-index: 100;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
.brand-name,
.nav-desktop,
.nav-mobile {
  overflow-wrap: anywhere;
}

.site-header,
.brand,
.header-actions,
.card,
.card-inner,
.card-media,
.card-body,
.footer-grid > *,
.contact-grid > *,
.field,
.hero-copy,
.hero-panel {
  min-width: 0;
}

.site-header {
  height: var(--header-h);
  background: rgba(7, 11, 18, 0.92);
  color: var(--text);
  border-bottom: 1px solid rgba(46, 233, 240, 0.25);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  justify-self: start;
}

.brand:hover {
  color: #7af4f8;
}

.brand-mark {
  flex: 0 0 32px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-desktop {
  display: flex;
  gap: 24px;
  justify-self: center;
}

.nav-desktop a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-desktop a:hover {
  color: var(--cyan);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
  min-height: 40px;
}

.btn-primary {
  background: #2ee9f0;
  color: var(--ink);
}

.btn-primary:hover {
  background: #7af4f8;
  color: var(--ink);
}

.btn-ghost {
  background: rgba(16, 24, 40, 0.9);
  color: var(--text);
  border-color: rgba(46, 233, 240, 0.4);
}

.btn-ghost:hover {
  background: rgba(46, 233, 240, 0.16);
  color: #e7eef8;
}

.header-cta {
  padding: 8px 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(46, 233, 240, 0.4);
  background: rgba(16, 24, 40, 0.9);
  color: var(--text);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #e7eef8;
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 18, 0.92);
  color: var(--text);
  z-index: 40;
  padding: 24px 16px;
}

.nav-overlay.is-visible {
  display: flex;
}

.nav-overlay-inner {
  margin: auto;
  width: min(100%, 400px);
  min-width: 0;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(46, 233, 240, 0.35);
  border-radius: var(--radius);
  padding: 24px;
}

.nav-close {
  float: right;
  background: rgba(16, 24, 40, 0.9);
  color: var(--text);
  border: 1px solid rgba(244, 114, 182, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 16px;
  clear: both;
  padding-top: 16px;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 8px 0;
}

.nav-mobile a:hover {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 16px 0;
  align-items: center;
}

.hero-copy,
.hero-panel {
  background: var(--glass);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.hero-copy::before,
.hero-panel::before,
.card::before,
.support-panel::before,
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--edge);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--cyan);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.lede {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-svg {
  width: 100%;
  height: auto;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 16px 0;
}

.section:last-of-type {
  padding-bottom: 64px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2,
.article-hero h1 {
  margin: 0 0 16px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.card-list {
  display: grid;
  gap: 24px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  background: transparent;
}

.card-inner {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 220px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  background: rgba(46, 233, 240, 0.14);
  color: #e7eef8;
  border: 1px solid rgba(46, 233, 240, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.8rem;
}

.card-body h3 {
  margin: 0;
  font-size: 1.35rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.card-cta {
  align-self: flex-start;
  background: #2ee9f0;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
}

.card-cta:hover {
  background: #7af4f8;
  color: var(--ink);
}

.support-panel {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px;
}

.support-copy h2 {
  margin-top: 0;
}

.loop-list {
  margin: 24px 0;
  padding-left: 24px;
}

.loop-list li {
  margin-bottom: 16px;
}

.article {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 16px 0;
}

.article-hero {
  margin-bottom: 40px;
}

.prose {
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 78ch;
}

.prose h2 {
  margin-top: 40px;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  padding-left: 24px;
}

.site-footer {
  margin-top: 64px;
  background: #0b1220;
  color: var(--text);
  border-top: 1px solid rgba(183, 148, 246, 0.35);
  padding: 40px 16px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 24px;
}

.footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin: 0 0 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: #c9d6e8;
}

.site-footer a:hover {
  color: #7af4f8;
}

.site-footer address {
  font-style: normal;
}

.copyright {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 16px;
  border-top: 1px solid rgba(164, 176, 194, 0.2);
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #101826;
  color: var(--text);
  border-top: 1px solid rgba(46, 233, 240, 0.4);
  padding: 16px;
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 240px;
  min-width: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(7, 11, 18, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.cookie-prefs-inner {
  width: min(100%, 480px);
  min-width: 0;
  background: #101826;
  color: var(--text);
  border: 1px solid rgba(183, 148, 246, 0.5);
  border-radius: var(--radius);
  padding: 24px;
}

.pref-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0;
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.glass-panel {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 24px;
}

.field {
  margin-bottom: 24px;
}

.field label,
.check-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  max-width: 100%;
  background: #0b1220;
  color: var(--text);
  border: 1px solid rgba(46, 233, 240, 0.35);
  border-radius: 8px;
  padding: 12px 16px;
  font: inherit;
}

.field input.is-invalid,
.field textarea.is-invalid,
.field-check.is-invalid input {
  border-color: #f87171;
}

.field-error {
  color: #fca5a5;
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.check-label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.check-label input {
  width: auto;
  margin-top: 4px;
}

.form-success {
  margin: 16px 0 0;
  padding: 16px;
  background: rgba(46, 233, 240, 0.12);
  color: var(--text);
  border-radius: 8px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.details-panel h2 {
  margin-top: 0;
}

.map-block {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  padding: 16px;
  background:
    radial-gradient(circle at 70% 40%, rgba(46, 233, 240, 0.18), transparent 40%),
    linear-gradient(160deg, #0d1524, #152238);
  color: var(--text);
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 16px;
  background-image:
    linear-gradient(rgba(46, 233, 240, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 148, 246, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 8px;
}

.map-label {
  position: absolute;
  left: 32px;
  top: 32px;
  margin: 0;
  z-index: 1;
  color: #c9d6e8;
  font-size: 0.85rem;
}

.map-label-two {
  top: auto;
  bottom: 32px;
  left: 40px;
}

.map-pin {
  position: absolute;
  left: 58%;
  top: 42%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f472b6;
  color: #070b12;
  box-shadow: 0 0 0 6px rgba(244, 114, 182, 0.25);
}

.map-pin-text {
  background: #101826;
  color: #e7eef8;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 280px;
}

th,
td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(164, 176, 194, 0.25);
  vertical-align: top;
}

th {
  background: rgba(46, 233, 240, 0.1);
  color: var(--text);
}

caption {
  text-align: left;
  margin-bottom: 8px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 50px;
  }

  .nav-desktop {
    display: none;
  }

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

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero,
  .contact-grid,
  .card-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .header-cta {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .map-pin {
    left: 50%;
  }
}

@media (max-width: 399px) {
  .brand-name {
    font-size: 0.72rem;
  }

  .header-cta {
    padding: 8px;
  }

  .hero,
  .section,
  .article,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .btn,
  .cookie-actions .btn {
    width: 100%;
  }

  .cookie-actions {
    width: 100%;
  }

  .card-body {
    padding: 16px;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}