:root {
  --bg: #f4f8fc;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-muted: #eef4fa;
  --line: rgba(93, 129, 165, 0.18);
  --text: #16324a;
  --muted: #5d7388;
  --brand: #1f6ecf;
  --brand-strong: #154f98;
  --brand-soft: #dceafe;
  --accent: #8bb8ff;
  --success: #12795c;
  --danger: #c94242;
  --shadow: 0 24px 70px rgba(22, 50, 74, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 84px;
  --transition: 220ms ease;
  --title-font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --body-font: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(165, 205, 255, 0.35), transparent 35%),
    linear-gradient(180deg, #f9fbfe 0%, #f4f8fc 45%, #eef4fa 100%);
  line-height: 1.65;
  min-width: 320px;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

.site-shell {
  position: relative;
  overflow: clip;
}

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

.section {
  padding: 104px 0;
}

.section.compact {
  padding: 78px 0;
}

.section-title-wrap {
  max-width: 720px;
  margin-bottom: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(220, 234, 254, 0.7);
  border: 1px solid rgba(31, 110, 207, 0.12);
  color: var(--brand-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

h1,
h2,
h3,
h4 {
  font-family: var(--title-font);
  line-height: 1.08;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.3rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

ul {
  padding-left: 20px;
  margin: 0;
}

.lead {
  font-size: 1.16rem;
  max-width: 720px;
}

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

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

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

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

.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
  box-shadow: 0 14px 40px rgba(22, 50, 74, 0.07);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(31, 110, 207, 0.2);
}

.icon-badge {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(31, 110, 207, 0.14), rgba(139, 184, 255, 0.22));
  color: var(--brand);
  margin-bottom: 18px;
  font-weight: 800;
  font-size: 1.15rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

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

.button-primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 16px 28px rgba(31, 110, 207, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(31, 110, 207, 0.16);
  color: var(--brand-strong);
}

.button-ghost {
  background: transparent;
  border-color: rgba(93, 129, 165, 0.22);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.86), rgba(248, 251, 255, 0.62));
  border-bottom: 1px solid rgba(93, 129, 165, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: calc(var(--header-height) - 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand img {
  width: 136px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 110, 207, 0.16), rgba(139, 184, 255, 0.22));
  display: none;
}

.brand-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
  white-space: nowrap;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--muted);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.lang-switch a {
  min-width: 48px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

.lang-switch a.active {
  background: var(--brand);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
}

.mobile-panel {
  display: none;
}

.hero {
  position: relative;
  padding: 84px 0 42px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 184, 255, 0.3), transparent 25%),
    radial-gradient(circle at 85% 10%, rgba(31, 110, 207, 0.18), transparent 22%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 34px;
  align-items: center;
}

.hero__panel {
  position: relative;
}

.hero-card {
  padding: 38px;
  border-radius: 34px;
  border: 1px solid rgba(93, 129, 165, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(232, 241, 252, 0.86));
  box-shadow: var(--shadow);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(93, 129, 165, 0.12);
}

.metric strong {
  display: block;
  font-size: 1.45rem;
  color: var(--brand-strong);
}

.hero-media {
  position: relative;
  padding: 24px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, #dfeeff 0%, #f8fbff 100%);
  border: 1px solid rgba(93, 129, 165, 0.12);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -12% -12% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 110, 207, 0.14), transparent 68%);
}

.hero-visual img.main-portrait {
  position: absolute;
  bottom: 0;
  right: 12px;
  width: min(100%, 510px);
}

.floating-card {
  position: absolute;
  left: 24px;
  right: auto;
  max-width: 230px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(93, 129, 165, 0.14);
  box-shadow: 0 18px 30px rgba(21, 79, 152, 0.16);
}

.floating-card.top {
  top: 24px;
}

.floating-card.bottom {
  bottom: 28px;
}

.floating-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-strong);
}

.page-hero {
  padding: 76px 0 40px;
}

.page-hero__panel {
  padding: 42px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 244, 252, 0.88));
  border: 1px solid rgba(93, 129, 165, 0.14);
  box-shadow: 0 16px 44px rgba(22, 50, 74, 0.08);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs span:last-child {
  color: var(--brand-strong);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.media-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(93, 129, 165, 0.14);
  background: #fff;
  box-shadow: 0 18px 46px rgba(22, 50, 74, 0.08);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 4px rgba(31, 110, 207, 0.12);
}

.number-steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.number-steps article {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.number-steps article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  color: var(--brand-strong);
  background: linear-gradient(180deg, rgba(31, 110, 207, 0.14), rgba(139, 184, 255, 0.22));
  font-weight: 800;
  font-size: 1.25rem;
}

.stats-panel {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(20, 66, 129, 0.98), rgba(31, 110, 207, 0.94));
  color: #fff;
}

.stats-panel p,
.stats-panel h3 {
  color: inherit;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.stats-grid .metric {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.1);
}

.quote-card {
  padding: 34px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(243, 248, 254, 0.94));
  border: 1px solid rgba(93, 129, 165, 0.14);
}

.quote-card blockquote {
  margin: 0 0 18px;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  font-weight: 700;
  text-align: left;
}

.faq-question span:last-child {
  color: var(--brand);
  font-size: 1.4rem;
  transition: transform var(--transition);
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 26px 24px;
  margin: 0;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.contact-panel,
.form-panel,
.map-card,
.legal-panel {
  padding: 34px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(22, 50, 74, 0.08);
}

.contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-list li strong {
  display: block;
  color: var(--text);
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

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

.field label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(93, 129, 165, 0.22);
  background: #fbfdff;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(31, 110, 207, 0.5);
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 110, 207, 0.12);
}

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

.field.error input,
.field.error textarea {
  border-color: rgba(201, 66, 66, 0.6);
  box-shadow: 0 0 0 4px rgba(201, 66, 66, 0.12);
}

.field small {
  color: var(--danger);
  min-height: 18px;
}

.field.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  font-weight: 700;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(31, 110, 207, 0.14), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 20% 20%, rgba(139, 184, 255, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(233, 241, 251, 0.92), rgba(247, 250, 255, 0.98));
}

.map-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 110, 207, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 110, 207, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.7;
}

.map-pin {
  position: absolute;
  left: 52%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--brand), var(--brand-strong));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 20px 36px rgba(31, 110, 207, 0.22);
}

.map-label {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: min(100% - 40px, 420px);
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(93, 129, 165, 0.14);
  box-shadow: 0 18px 34px rgba(22, 50, 74, 0.08);
}

.cta-strip {
  padding: 40px;
  border-radius: 30px;
  background: linear-gradient(135deg, #154f98, #1f6ecf 55%, #6daeff);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.cta-strip p,
.cta-strip h2 {
  color: inherit;
}

.cta-strip::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), transparent 70%);
}

.table-legal {
  display: grid;
  gap: 18px;
}

.legal-block + .legal-block {
  margin-top: 26px;
}

.legal-block h2 {
  font-size: clamp(1.7rem, 2vw, 2.2rem);
}

.legal-block h3 {
  margin-top: 0;
}

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

.site-footer {
  padding: 42px 0 26px;
  background: linear-gradient(180deg, #eef4fa 0%, #e6eef7 100%);
  border-top: 1px solid rgba(93, 129, 165, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr));
  gap: 24px;
}

.footer-brand img {
  width: 156px;
  margin-bottom: 18px;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  color: var(--muted);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(93, 129, 165, 0.12);
  color: var(--muted);
}

.footer-language {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px auto;
  width: min(420px, calc(100% - 32px));
  z-index: 80;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(93, 129, 165, 0.18);
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-actions .button {
  min-height: 46px;
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .brand img {
    width: 118px;
  }

  .site-nav a {
    padding: 10px 9px;
    font-size: 0.88rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .button {
    padding: 0 16px;
    font-size: 0.92rem;
  }

  .hero__grid,
  .split-feature,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-visual img.main-portrait {
    width: min(100%, 430px);
  }

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

@media (max-width: 920px) {
  .site-nav,
  .site-header .header-actions > .lang-switch,
  .site-header .header-actions > .button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-panel {
    position: fixed;
    inset: 88px 16px auto 16px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(93, 129, 165, 0.16);
    box-shadow: var(--shadow);
    display: none;
    z-index: 45;
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel nav {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
  }

  .mobile-panel nav a {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(238, 244, 250, 0.76);
    color: var(--text);
    font-weight: 600;
  }

  .mobile-panel .button,
  .mobile-panel .lang-switch {
    width: 100%;
  }

  .mobile-panel .lang-switch {
    justify-content: space-between;
    margin-bottom: 12px;
  }
}

@media (max-width: 720px) {
  .section,
  .hero,
  .page-hero {
    padding-top: 64px;
    padding-bottom: 32px;
  }

  .hero-card,
  .page-hero__panel,
  .contact-panel,
  .form-panel,
  .map-card,
  .legal-panel,
  .cta-strip {
    padding: 24px;
  }

  .hero-metrics,
  .form-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .legal-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .number-steps article {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin: 18px 18px 0;
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-visual img.main-portrait {
    position: relative;
    right: auto;
    margin: 0 auto;
  }

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