:root {
  --bg: #0b1220;
  --bg-elevated: #121a2b;
  --bg-soft: #172033;
  --text: #e8eef7;
  --muted: #a8b3c7;
  --line: rgba(232, 238, 247, 0.12);
  --accent: #3d9aad;
  --accent-strong: #2f7f90;
  --accent-soft: rgba(61, 154, 173, 0.16);
  --shadow: 0 18px 40px rgba(4, 8, 18, 0.35);
  --radius: 18px;
  --header-h: 72px;
  --max: 1120px;
  --font: "Segoe UI", "Helvetica Neue", 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;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  z-index: 100;
  background: var(--accent);
  color: #041018;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(11, 18, 32, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.15rem;
}

.logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), #7fd0c7);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  position: relative;
  content: "";
}

.nav-toggle-bar::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-bar::after {
  position: absolute;
  top: 6px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 154, 173, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 154, 173, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 30% 20%, black, transparent 70%);
}

.hero-inner {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.1rem;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #062026;
}

.btn-primary:hover {
  background: #4eb3c4;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
}

.btn.is-disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
}

.section-header {
  max-width: 640px;
  margin-bottom: 2.4rem;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0.85rem 0 0.55rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.flow {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.flow-step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.flow-index {
  display: block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.flow-step p {
  color: var(--muted);
  margin-top: 0.5rem;
}

.flow-arrow {
  width: 28px;
  align-self: center;
  height: 2px;
  background: var(--accent);
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.benefits {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.benefits li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-elevated);
  color: var(--muted);
}

.benefits strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.section-contact {
  padding-top: 1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(61, 154, 173, 0.18), transparent 40%),
    var(--bg-elevated);
  border: 1px solid var(--line);
}

.contact-panel p {
  color: var(--muted);
}

.contact-phone {
  margin-top: 1rem;
}

.contact-phone a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.contact-panel h2 {
  margin-bottom: 0.7rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
}

.contact-note {
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 0.4rem;
}

.footer-brand {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-copy {
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.card:nth-child(2) { animation-delay: 0.05s; }
.card:nth-child(3) { animation-delay: 0.1s; }
.card:nth-child(4) { animation-delay: 0.15s; }
.card:nth-child(5) { animation-delay: 0.2s; }
.card:nth-child(6) { animation-delay: 0.25s; }

@media (max-width: 960px) {
  .cards,
  .split,
  .contact-panel,
  .flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    width: 2px;
    height: 24px;
    margin-inline: auto;
  }

  .flow-arrow::after {
    right: -4px;
    top: auto;
    bottom: -1px;
    border-left-color: transparent;
    border-top-color: var(--accent);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #101827;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1rem;
  }

  .site-nav a {
    padding: 0.75rem 1.25rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: unset;
    padding: 3.5rem 0 3rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
