:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #102138;
  --muted: #485f78;
  --primary: #0a6cff;
  --primary-dark: #0958cf;
  --line: #dce5f0;
  --shadow: 0 18px 40px rgba(16, 33, 56, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #d9e8ff 0%, var(--bg) 45%);
  line-height: 1.6;
}

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

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

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

.nav-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
}

.lang-switch a {
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  color: var(--muted);
}

.lang-switch a.active {
  background: #e8f0ff;
  border-color: #bfd5ff;
  color: #184eaa;
}

.menu-btn {
  display: none;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #e5efff;
  color: #184eaa;
  font-weight: 700;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 1.2rem;
}

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

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

.btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #e8f0ff;
  color: #184eaa;
}

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

.hero-card ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: #ecf2fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

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

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

.steps article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #e4eeff;
  color: #184eaa;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.cta {
  padding-top: 2.5rem;
}

.cta-wrap {
  background: linear-gradient(120deg, #0a6cff, #0f52b9);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.35rem 0 0.2rem;
}

.consent-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

.captcha-slot {
  margin-top: 0.35rem;
}

.form-status.success {
  color: #cfffea;
}

.form-status.error {
  color: #ffd1d1;
}

.cta .btn-primary {
  background: #fff;
  color: #0f52b9;
}

.site-footer {
  padding: 2rem 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .steps,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    right: 1rem;
    top: 70px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    min-width: 180px;
  }

  .lang-switch {
    margin-left: 0;
    margin-top: 0.2rem;
  }

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

  .menu-btn {
    display: inline-block;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    color: var(--text);
  }
}
