@import url("https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --ink: #0f1d2b;
  --ink-soft: #3d4b5c;
  --brand: #0a3d62;
  --brand-light: #135e96;
  --accent: #f4b13d;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --line: #d6dee6;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 29, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #f8fbff 0%, #eef3f8 100%);
}

h1,
h2,
h3,
h4 {
  font-family: "Syne", "Source Sans 3", sans-serif;
  margin-top: 0;
}

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

a:hover,
a:focus-visible {
  color: var(--brand-light);
}

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

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: -999px;
  padding: 8px 12px;
  background: var(--brand);
  color: white;
  border-radius: 999px;
  z-index: 99;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo span {
  color: var(--brand-light);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 600;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: 999px;
}

.nav-links a.active {
  background: var(--brand);
  color: white;
}

.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw + 1rem, 3.2rem);
}

.hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  background: var(--brand);
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(10, 61, 98, 0.25);
}

.button.secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.section {
  padding: 64px 0;
}

.section p.lead {
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 24px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(15, 29, 43, 0.08);
}

.card h3 {
  margin-bottom: 8px;
}

.steps {
  counter-reset: step;
}

.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 61, 98, 0.12);
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

input,
textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  display: none;
}

.form-status.success {
  display: block;
  background: #e8f4ee;
  color: #1f5e3a;
}

.form-status.error {
  display: block;
  background: #fdecec;
  color: #a13b3b;
}

.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  background: rgba(245, 247, 250, 0.8);
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (max-width: 759px) {
  .nav-links {
    font-size: 0.95rem;
  }

  .hero-card {
    padding: 26px;
  }
}
