:root {
  --white: #ffffff;
  --ice: #eef8ff;
  --blue: #8fd8ff;
  --blue-strong: #3cb7f0;
  --grey: #222831;
  --grey-soft: #3a424d;
  --muted: #69717c;
  --line: rgba(34, 40, 49, 0.12);
  --shadow: 0 24px 60px rgba(34, 40, 49, 0.14);
}

body {
  position: relative;
  background-color: #0f1720; /* your dark grey */
  color: #ffffff;
}

/* Background logo layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url("/assets/valkyr-nobg.png");
  background-repeat: no-repeat;
  background-position: right 10% center;
  background-size: 40%;
  opacity: 0.06;

  pointer-events: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--grey);
  background:
    radial-gradient(circle at top right, rgba(143,216,255,0.35), transparent 34rem),
    linear-gradient(180deg, var(--white), var(--ice));
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: clamp(0.75rem, 3vw, 2rem);
  font-weight: 650;
}

.nav a {
  text-decoration: none;
  color: var(--grey-soft);
}

.nav a:hover { color: var(--blue-strong); }

.language-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--white);
}

.lang-button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: transparent;
  color: var(--grey-soft);
  font-weight: 800;
  cursor: pointer;
}

.lang-button.active {
  background: var(--grey);
  color: var(--white);
}

.page-section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue-strong);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

h1, h2, h3 { line-height: 1.05; margin: 0; }
h1 { font-size: clamp(3rem, 8vw, 6.8rem); letter-spacing: -0.07em; max-width: 11ch; }
h2 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.045em; max-width: 14ch; }
h3 { font-size: 1.35rem; }

/* Utility / emphasis */
.highlight {
  color: #8ecae6;
  text-shadow: 0 0 18px rgba(142, 202, 230, 0.18);
}

.hero-copy {
  max-width: 48rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}
.primary { background: var(--grey); color: var(--white); box-shadow: var(--shadow); }
.secondary { background: var(--white); color: var(--grey); border: 1px solid var(--line); }

.hero-card {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(34,40,49,0.96), rgba(58,66,77,0.9)),
    radial-gradient(circle at top, var(--blue), transparent 60%);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(143,216,255,0.4), transparent 70%);
}

.signal-line {
  height: 10px;
  width: 75%;
  border-radius: 999px;
  background: rgba(143,216,255,0.35);
  margin: 0.5rem 0;
}
.signal-line.short { width: 46%; }
.shield {
  margin-top: 2rem;
  width: 120px;
  height: 120px;
  border-radius: 1.6rem;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--grey);
  font-size: 4rem;
  font-weight: 950;
}

.content-section { border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 2rem; }
.content-grid, .service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.content-grid p, .service-card {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.72);
  color: var(--grey-soft);
  line-height: 1.65;
}

.service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service-card p { color: var(--muted); line-height: 1.6; margin-bottom: 0; }
.service-card h3 { margin-bottom: 0.85rem; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer p { margin: 0; }

.section-copy {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.08rem;
}

.contact-section {
  background: rgba(255,255,255,0.42);
}

.quote-form {
  max-width: 820px;
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quote-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--grey-soft);
  font-weight: 800;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--grey);
  background: var(--white);
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 3px solid rgba(143,216,255,0.55);
  border-color: var(--blue-strong);
}

.consent-label {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem !important;
  font-weight: 650 !important;
}

.consent-label input {
  width: auto;
}

.form-submit {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.honeypot {
  position: absolute;
  left: -9999px;
  display: none; 
}

@media (max-width: 900px) {
  .hero, .content-grid, .service-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
}
