:root {
  --bg: #111318;
  --bg-soft: #171b23;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #eef1f8;
  --muted: #b5bfd4;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #3c439f;
  --brand-soft: rgba(60, 67, 159, 0.18);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --header-height: 84px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(60, 67, 159, 0.22), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(60, 67, 159, 0.12), transparent 24%),
    var(--bg);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; }

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
}

.skip-link:focus {
  left: 1rem;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(17, 19, 24, 0.84);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  padding: 0.45rem;
  box-shadow: var(--shadow);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link--button {
  background: var(--brand-soft);
  border-color: rgba(60, 67, 159, 0.6);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 0.28rem 0;
  border-radius: 999px;
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: calc(var(--header-height) + 1.2rem);
}

.section--muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head--compact { margin-bottom: 1.25rem; }

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d6ddf2;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

.hero-list,
.card-list {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--muted);
}

.hero-list li,
.card-list li {
  margin-bottom: 0.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.info-card,
.form-card,
.team-card,
.reference-card,
.fact,
.service-card {
  padding: 1.4rem;
}

.hero-card {
  display: grid;
  gap: 1rem;
}

.badge,
.tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe4ff;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.hero-visual {
  min-height: 280px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(60, 67, 159, 0.55), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.055), rgba(255,255,255,0.055) 1px, transparent 1px, transparent 17px);
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  color: var(--muted);
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-1px); }

.button--primary {
  background: var(--brand-soft);
  border-color: rgba(60, 67, 159, 0.64);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.03);
}

.services-grid,
.reference-grid,
.facts-grid {
  display: grid;
  gap: 1rem;
}

.services-grid,
.reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.service-card p,
.reference-card p,
.contact-copy p,
.info-card p,
.team-card p,
.team-card small {
  color: var(--muted);
}

.band {
  margin-top: 1.25rem;
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(60, 67, 159, 0.55);
  background: rgba(60, 67, 159, 0.14);
  border-radius: var(--radius);
}

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

.team-column {
  display: grid;
  gap: 1rem;
}

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(60, 67, 159, 0.55), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.12);
}

.reference-image {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  background:
    linear-gradient(135deg, rgba(60,67,159,0.45), rgba(255,255,255,0.03)),
    linear-gradient(45deg, rgba(255,255,255,0.04), transparent);
  border: 1px solid rgba(255,255,255,0.12);
}

.reference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card dl {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}

.info-card dt {
  color: #dbe4ff;
  font-weight: 600;
}

.info-card dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.form-card form {
  display: grid;
  gap: 1rem;
}

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

.field {
  display: grid;
  gap: 0.45rem;
}

label {
  font-weight: 600;
  font-size: 0.96rem;
}

input,
textarea {
  width: 100%;
  color: var(--text);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  resize: vertical;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(60, 67, 159, 0.75);
  box-shadow: 0 0 0 4px rgba(60, 67, 159, 0.18);
}

.error {
  font-size: 0.88rem;
  color: #ffb3b3;
  min-height: 1rem;
}

.form-status {
  color: var(--muted);
  margin: 0;
}

.hp { display: none !important; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-main {
  min-height: calc(100vh - 220px);
}

.legal-card {
  padding: 1.6rem;
}

.legal-content {
  color: var(--muted);
  white-space: pre-wrap;
}

.admin-link {
  opacity: 0.7;
}

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .services-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .brand-text span { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: rgba(17, 19, 24, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0.7rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }

  .nav-link { border-radius: 14px; }

  .nav-toggle { display: block; }
}
