:root {
  --bg: #05070f;
  --panel: #0d1222;
  --panel-soft: #121a30;
  --text: #f2f5ff;
  --muted: #b8c0db;
  --line: #263252;
  --accent: #5b8cff;
  --accent-strong: #3c71f3;
  --max-width: 1150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

body.consent-required {
  overflow: hidden;
}

body.consent-required header,
body.consent-required main,
body.consent-required footer {
  pointer-events: none;
  user-select: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(5, 7, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo picture {
  position: relative;
  display: inline-block;
  height: 44px;
  width: 210px;
  transition: width 0.28s ease;
}

.logo-image {
  position: absolute;
  left: 0;
  top: 50%;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform: translateY(-50%);
  transform-origin: left center;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.logo-image-compact {
  opacity: 0;
  height: 40px;
  max-width: 54px;
  transform: translateY(-50%) scale(0.94);
}

.logo-image-full {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.logo.logo--compact .logo-image-compact {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.logo.logo--compact .logo-image-full {
  opacity: 0;
  transform: translateY(-50%) scale(0.96);
}

.logo.logo--compact picture {
  width: 54px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 7, 15, 0.45), rgba(5, 7, 15, 0.88)),
    radial-gradient(circle at 70% 20%, rgba(91, 140, 255, 0.3), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #a8c3ff;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: white;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.08);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.accordion-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 26, 48, 0.8), rgba(13, 18, 34, 0.9));
  overflow: clip;
}

.service-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.summary-hint {
  color: #95a9d8;
  font-weight: 500;
  font-size: 0.9rem;
}

.service-body {
  border-top: 1px solid var(--line);
  padding: 0.2rem 1.2rem 1.2rem;
}

.service-body ul {
  margin-top: 0.8rem;
  padding-left: 1rem;
}

.service-body li {
  margin-bottom: 0.3rem;
}

.parallax {
  position: relative;
  min-height: 46svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: -18% 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  transform: translateY(var(--parallax-offset, 0px)) scale(1.16);
  will-change: transform;
}

.parallax-one::before {
  background-image:
    linear-gradient(rgba(8, 14, 30, 0.3), rgba(8, 14, 30, 0.3)),
    url("media/parallax-one.jpg");
}

.parallax-two::before {
  background-image:
    linear-gradient(rgba(8, 12, 26, 0.34), rgba(8, 12, 26, 0.34)),
    url('media/parallax-two.jpg');
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 7, 15, 0.6);
}

.parallax-inner {
  position: relative;
  z-index: 2;
  transform: translateY(var(--parallax-content-offset, 0px));
  will-change: transform;
}

.parallax h3 {
  max-width: 760px;
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.ref-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: var(--panel);
}

.ref-preview {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.ref-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ref-status {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(168, 195, 255, 0.35);
  border-radius: 999px;
  color: #c4d6ff;
  font-size: 0.82rem;
}

.ref-link {
  color: #b7ccff;
  font-weight: 600;
  text-decoration: none;
}

.ref-link:hover,
.ref-link:focus-visible {
  color: #d3e0ff;
  text-decoration: underline;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.steps li {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: var(--panel);
}

.section-contact {
  background: linear-gradient(180deg, rgba(13, 18, 34, 0.65), rgba(13, 18, 34, 0.8));
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-card {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1.2rem;
}

.contact-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-data a {
  color: #c9d7ff;
  text-decoration: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1020;
  color: var(--text);
  padding: 0.75rem;
  font: inherit;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.form-note,
.legal-note {
  font-size: 0.9rem;
  color: #9eb0dc;
}

.legal {
  border-top: 1px solid var(--line);
}

.legal strong {
  color: var(--text);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap a {
  color: #c7d6ff;
  text-decoration: none;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.link-button {
  border: 0;
  background: transparent;
  color: #c7d6ff;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.link-button:hover,
.link-button:focus-visible {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 1100;
}

body.consent-required .cookie-banner {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 7, 15, 0.72);
}

.cookie-content {
  width: min(100%, 860px);
  margin: 0;
  background: rgba(13, 18, 34, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.cookie-content h3 {
  margin-bottom: 0.55rem;
}

.cookie-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.7rem;
  margin: 0.85rem 0;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cookie-option input {
  width: auto;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  min-height: 42px;
}

@media (max-width: 900px) {
  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .nav-list {
    gap: 0.8rem;
  }

  .logo-image {
    height: 38px;
  }

  .logo-image-compact {
    height: 34px;
    max-width: 48px;
  }

  .logo picture {
    height: 38px;
    width: 180px;
  }

  .logo.logo--compact picture {
    width: 48px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 4.5rem;
  }

  .parallax {
    min-height: 40svh;
  }

  .parallax::before {
    inset: -10% 0;
  }

  .cookie-banner {
    inset: auto 0.75rem 0.75rem 0.75rem;
  }

  .cookie-content {
    padding: 0.9rem;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 3.6rem 0;
  }

  .nav-list {
    gap: 0.55rem 0.75rem;
  }

  .hero-actions .btn,
  .cookie-actions .btn {
    width: 100%;
  }

  .cookie-actions {
    flex-direction: column;
  }
}
