:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-soft: #0a0d11;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f9fc;
  --muted: #b5bfcc;
  --muted-strong: #d8dee8;
  --blue: #24a8ff;
  --blue-deep: #0d6fff;
  --gold: #d8ad5b;
  --gold-soft: #f1ca7a;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.4);
  --radius: 8px;
  --max: 1180px;
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(36, 168, 255, 0.05), transparent 520px),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: #050607;
  padding: 10px 14px;
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.88), rgba(5, 6, 7, 0.42));
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 7, 0.86);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo-link {
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(136px, 14vw, 172px);
  height: auto;
}

.footer-logo {
  width: clamp(180px, 20vw, 260px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  border-radius: 6px;
  color: rgba(247, 249, 252, 0.78);
  font-size: 0.93rem;
  font-weight: 640;
  padding: 10px 12px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 44px) 0 80px;
  overflow: hidden;
  background: #050607;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
  filter: saturate(0.9) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.92) 0%, rgba(5, 6, 7, 0.76) 34%, rgba(5, 6, 7, 0.35) 68%, rgba(5, 6, 7, 0.65) 100%),
    linear-gradient(180deg, rgba(5, 6, 7, 0.44) 0%, rgba(5, 6, 7, 0.16) 45%, #050607 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero-content > * {
  max-width: 840px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lead {
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 18px;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #071016;
  box-shadow: 0 14px 36px rgba(216, 173, 91, 0.18);
}

.button-secondary {
  border-color: rgba(36, 168, 255, 0.5);
  background: rgba(36, 168, 255, 0.12);
  color: #e8f6ff;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-proof span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 6, 7, 0.45);
  color: rgba(247, 249, 252, 0.84);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 12px;
}

.section {
  padding: 112px 0;
}

.section-muted {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--bg-soft);
}

.intro-band {
  padding: 74px 0;
  background: #050607;
}

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

.split,
.two-column,
.technical-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  max-width: 840px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading.centered p:not(.eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading p:not(.eyebrow),
.intro-text,
.content-flow p,
.experience-panel p,
.timeline-item p,
.benefit p,
.service-card p,
.contact-section p,
.site-footer p {
  color: var(--muted);
}

.intro-text {
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.content-flow {
  max-width: 720px;
}

.content-flow p {
  margin-bottom: 18px;
  font-size: 1.03rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card,
.benefit,
.experience-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 292px;
  padding: 26px;
}

.service-card p,
.benefit p {
  margin-bottom: 0;
}

.card-index {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 820;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit {
  padding: 24px;
}

.benefit h3::before,
.check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(216, 173, 91, 0.1);
}

.experience-panel {
  padding: clamp(24px, 4vw, 38px);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-strong);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.check-list li::before {
  flex: 0 0 auto;
  margin-top: 8px;
}

.timeline {
  border-left: 1px solid rgba(36, 168, 255, 0.28);
}

.timeline-item {
  position: relative;
  padding: 0 0 34px 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 2px;
  left: -6px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(36, 168, 255, 0.1);
}

.timeline-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 820;
}

.timeline-item p {
  margin-bottom: 0;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.audience-pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted-strong);
  font-weight: 720;
  padding: 12px 18px;
}

.contact-section {
  padding: 112px 0;
  background:
    linear-gradient(135deg, rgba(216, 173, 91, 0.08), transparent 42%),
    linear-gradient(315deg, rgba(36, 168, 255, 0.11), transparent 46%),
    #050607;
}

.contact-card {
  padding: clamp(24px, 4vw, 36px);
}

.contact-person {
  display: grid;
  gap: 4px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-person strong {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.contact-person span {
  color: var(--muted);
  font-weight: 680;
}

.contact-line {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-line:first-child {
  padding-top: 0;
}

.contact-line span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.contact-line strong {
  color: #fff;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  word-break: break-word;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 720;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(5, 6, 7, 0.64);
  color: #fff;
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field textarea {
  min-height: 138px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(181, 191, 204, 0.62);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(36, 168, 255, 0.72);
  background: rgba(5, 6, 7, 0.78);
  box-shadow: 0 0 0 4px rgba(36, 168, 255, 0.1);
}

.form-status {
  display: none;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--muted-strong);
  font-weight: 680;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: rgba(216, 173, 91, 0.46);
  background: rgba(216, 173, 91, 0.11);
}

.form-status.is-error {
  border-color: rgba(255, 93, 93, 0.48);
  background: rgba(255, 93, 93, 0.1);
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.contact-actions {
  margin-top: 18px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
  background: #030405;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
  text-align: right;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 6, 7, 0.96);
    padding: 12px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 76px) 0 72px;
  }

  .hero-media img {
    object-position: 54% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 6, 7, 0.94) 0%, rgba(5, 6, 7, 0.78) 50%, rgba(5, 6, 7, 0.54) 100%),
      linear-gradient(180deg, rgba(5, 6, 7, 0.52), #050607 100%);
  }

  .split,
  .two-column,
  .technical-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .contact-section {
    padding: 86px 0;
  }

  .intro-band {
    padding: 62px 0;
  }
}

@media (max-width: 680px) {
  .nav,
  .container,
  .hero-content {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    gap: 10px;
    font-size: 0.96rem;
  }

  .brand-logo {
    width: 132px;
  }

  .footer-logo {
    width: 180px;
  }

  .hero {
    padding: calc(var(--header-height) + 54px) 0 58px;
  }

  h1 {
    font-size: clamp(2.05rem, 10.4vw, 2.85rem);
    line-height: 1.04;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .button,
  .contact-actions .button {
    width: 100%;
  }

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

  .hero-proof span {
    font-size: 0.8rem;
  }

  .service-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading.centered p:not(.eyebrow) {
    margin-left: 0;
  }

  .audience-pill {
    width: 100%;
    justify-content: center;
  }

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

  .site-footer p {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
