:root {
  --navy: #1a2744;
  --navy-dark: #111c36;
  --navy-mid: #243059;
  --text: #1a2744;
  --muted: #6b7a9a;
  --light: #f4f5f7;
  --border: #dde1ea;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.bfdo-landing-page {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 80px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: height .35s ease, border-color .35s ease;
}

header.scrolled {
  height: 56px;
  border-bottom-color: var(--border);
}

.logo { display: flex; align-items: center; gap: 12px; }

.logo-mark {
  width: 107px;
  height: 32px;
  flex-shrink: 0;
  transition: width .35s ease, height .35s ease;
  will-change: transform;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

header.scrolled .logo-mark {
  width: 70px;
  height: 26px;
  font-size: 14px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3;
  transition: font-size .35s ease;
  will-change: transform;
}

header.scrolled .logo-text { font-size: 10px; }

nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .2s;
}
nav a:hover { color: var(--muted); }

.lang-switcher {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  cursor: pointer;
  padding: 4px 2px;
  border-bottom: 1.5px solid var(--navy);
  line-height: 1;
  user-select: none;
}

.btn-contact {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  background: var(--navy);
  color: var(--white);
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.btn-contact:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-primary,
.btn-outline {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: none;
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 48px 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--white);
}

.hero-parallax-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-parallax-bg img {
  position: absolute;
  width: 100%;
  height: 115%;
  top: -7.5%;
  left: 0;
  object-fit: cover;
  opacity: 0.22;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-overline {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  position: relative;
  margin-bottom: 24px;
}

.hero-line { display: block; line-height: 1.12; }
.hero-line2 { white-space: nowrap; }

.hero-subtitle {
  font-size: 18px;
  color: #5f6b82;
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-epigraph {
  position: absolute;
  bottom: 36px;
  right: 48px;
  font-size: 18px;
  font-style: italic;
  color: #8a96b0;
  text-align: right;
  letter-spacing: 0.01em;
  line-height: 1.5;
  white-space: nowrap;
  z-index: 2;
}

.epigraph-author {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #a0abbe;
  margin-top: 6px;
  text-transform: uppercase;
}

section { padding: 96px 0; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }

.section-title {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 56px;
}

#about .section-title {
  color: var(--white);
}
#about .about-text p { color: rgba(255,255,255,0.74); }
#about .about-text strong { color: rgba(255,255,255,0.95); }
#about .stat-num { color: var(--white); }
#about .stat-label { color: rgba(255,255,255,0.45); }
#about .tag {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
}

#about-toggle {
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0 0;
  letter-spacing: 0.04em;
  transition: color .2s;
}
#about-toggle:hover { color: var(--white); }

.about-text p {
  font-size: 15px;
}
.about-list {
  color: var(--white);
}
.about-list li {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.about-list {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.stats { display: flex; gap: 48px; }
.stat-num {
  font-family: "DM Sans", sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  font-size: 14px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
}

.services { background: var(--white); }
.services-header { margin-bottom: 42px; }
.accordion { display: flex; flex-direction: column; gap: 16px; }

.accordion-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  transition: background .2s;
}

.accordion-trigger:hover,
.accordion-trigger.open { background: #f5f7fc; }

.acc-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  overflow: hidden;
}
@media (max-width: 768px) {
  .acc-icon {
    width: 44px;
    height: 44px;
  }
}

.acc-icon img { width: 100%; height: 100%; display: block; object-fit: cover; }

.acc-text { flex: 1; }
.acc-name {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.15px;
}

.acc-tagline { font-size: 15px; color: var(--muted); line-height: 1.4; }

.acc-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  transition: transform .25s ease, border-color .2s, background .2s, color .2s;
  font-weight: 300;
  font-family: "DM Sans", sans-serif;
}

.accordion-trigger.open .acc-toggle {
  transform: rotate(45deg);
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.accordion-body {
  overflow: hidden;
  max-height: 0;
  padding: 0 32px 0 108px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.accordion-body.open {
  max-height: 1200px;
  padding: 24px 32px 32px 108px;
  opacity: 1;
}
.accordion-body p {
  font-size: 15px;
  color: #3d4a6b;
  line-height: 1.5;
}
.accordion-body p:last-child { margin-bottom: 0; }

.values { background: #1c3b69; }
.values .section-title {
  margin-bottom: 50px;
  color: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.value-item {
  padding: 40px 40px 40px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.value-item:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.value-item:nth-child(2) { padding-left: 40px; }

.value-num {
  font-family: "DM Sans", sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.value-title {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.value-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

#contacts { background: #f7f8fb; }

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contacts-left > p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 40px;
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.contact-info-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.contact-info-item a:hover { color: var(--navy); text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-field { display: flex; flex-direction: column; position: relative; }

.form-field input,
.form-field textarea {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  outline: none;
  background: var(--white);
  color: var(--text);
  transition: border-color .2s;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #b0b8cc; font-size: 13px; }

.form-field input:focus,
.form-field textarea:focus { border-color: var(--navy); }

.form-field .req {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 11px;
  color: #c0c8d8;
}

.form-field textarea { height: 120px; }

.form-submit { margin-top: 4px; }

.form-error {
  display: none;
  font-size: 11px;
  color: #c0392b;
  margin-top: 5px;
  padding-left: 2px;
}

.form-field.invalid input,
.form-field.invalid textarea {
  border-color: #e74c3c;
  background: #fff8f8;
}

.form-field.invalid .form-error,
.form-error.show { display: block; }

.form-field.valid input,
.form-field.valid textarea { border-color: #27ae60; }

.modal-cf7-wrap,
.modal .wpcf7,
#contacts .wpcf7 {
  width: 100%;
}

.modal .wpcf7 form,
#contacts .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal .wpcf7 p,
#contacts .wpcf7 p {
  margin: 0;
}

.modal .wpcf7 .hidden-fields-container,
#contacts .wpcf7 .hidden-fields-container {
  display: none;
}

.modal .wpcf7 form > label,
#contacts .wpcf7 form > label {
  display: flex;
  flex-direction: column;
  margin: 0;
  position: relative;
  font-size: 0;
  line-height: 0;
}

.modal .wpcf7 form > label.is-required::after,
#contacts .wpcf7 form > label.is-required::after {
  content: "*";
  position: absolute;
  top: 13px;
  right: 14px;
  font-size: 11px;
  line-height: 1;
  color: #c0c8d8;
  pointer-events: none;
}

.modal .wpcf7 form > label .wpcf7-form-control-wrap,
#contacts .wpcf7 form > label .wpcf7-form-control-wrap {
  order: 1;
  font-size: 14px;
  line-height: normal;
}

.modal .wpcf7 form > label .wpcf7-not-valid-tip,
#contacts .wpcf7 form > label .wpcf7-not-valid-tip {
  order: 2;
  display: block;
  margin-top: 5px;
  padding-left: 2px;
  font-size: 11px;
  line-height: 1.25;
  color: #c0392b;
}

.modal .wpcf7 .wpcf7-form-control-wrap,
#contacts .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.modal .wpcf7 input[type="text"],
.modal .wpcf7 input[type="email"],
.modal .wpcf7 input[type="tel"],
.modal .wpcf7 input[type="url"],
.modal .wpcf7 textarea,
#contacts .wpcf7 input[type="text"],
#contacts .wpcf7 input[type="email"],
#contacts .wpcf7 input[type="tel"],
#contacts .wpcf7 input[type="url"],
#contacts .wpcf7 textarea {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  outline: none;
  background: var(--white);
  color: var(--text);
  transition: border-color .2s;
  resize: none;
}

.modal .wpcf7 textarea,
#contacts .wpcf7 textarea {
  min-height: 120px;
}

.modal .wpcf7 input[type="text"]::placeholder,
.modal .wpcf7 input[type="email"]::placeholder,
.modal .wpcf7 input[type="tel"]::placeholder,
.modal .wpcf7 input[type="url"]::placeholder,
.modal .wpcf7 textarea::placeholder,
#contacts .wpcf7 input[type="text"]::placeholder,
#contacts .wpcf7 input[type="email"]::placeholder,
#contacts .wpcf7 input[type="tel"]::placeholder,
#contacts .wpcf7 input[type="url"]::placeholder,
#contacts .wpcf7 textarea::placeholder {
  color: #b0b8cc;
  font-size: 13px;
}

.modal .wpcf7 input[type="text"]:focus,
.modal .wpcf7 input[type="email"]:focus,
.modal .wpcf7 input[type="tel"]:focus,
.modal .wpcf7 input[type="url"]:focus,
.modal .wpcf7 textarea:focus,
#contacts .wpcf7 input[type="text"]:focus,
#contacts .wpcf7 input[type="email"]:focus,
#contacts .wpcf7 input[type="tel"]:focus,
#contacts .wpcf7 input[type="url"]:focus,
#contacts .wpcf7 textarea:focus {
  border-color: var(--navy);
}

.modal .wpcf7 .wpcf7-not-valid,
.modal .wpcf7 .wpcf7-not-valid:focus,
#contacts .wpcf7 .wpcf7-not-valid,
#contacts .wpcf7 .wpcf7-not-valid:focus {
  border-color: #e74c3c !important;
  background: #fff8f8 !important;
}

.modal .wpcf7-not-valid-tip,
#contacts .wpcf7-not-valid-tip {
  font-size: 11px;
  color: #c0392b;
}

.modal .wpcf7 .wpcf7-response-output,
#contacts .wpcf7 .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 9px 12px;
  border: 1px solid var(--border);
  color: #3d4a6b;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.modal .wpcf7 form.invalid .wpcf7-response-output,
#contacts .wpcf7 form.invalid .wpcf7-response-output,
.modal .wpcf7 form.failed .wpcf7-response-output,
#contacts .wpcf7 form.failed .wpcf7-response-output,
.modal .wpcf7 form.spam .wpcf7-response-output,
#contacts .wpcf7 form.spam .wpcf7-response-output {
  display: none;
}

.modal .wpcf7 form.sent .wpcf7-response-output,
#contacts .wpcf7 form.sent .wpcf7-response-output {
  border-color: #27ae60;
  background: #f2fbf6;
  color: #1f8a4d;
}

.modal .wpcf7 input.wpcf7-submit,
#contacts .wpcf7 input.wpcf7-submit {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 13px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  border: none;
  background: var(--navy);
  color: var(--white);
}

.modal .wpcf7 form.is-submitting input.wpcf7-submit,
#contacts .wpcf7 form.is-submitting input.wpcf7-submit {
  opacity: 0.72;
  cursor: wait;
}

#contacts .wpcf7 input.wpcf7-submit {
  width: auto;
  min-width: 72px;
}

.modal .wpcf7 input.wpcf7-submit {
  width: 100%;
}

.modal .wpcf7 input.wpcf7-submit:hover,
#contacts .wpcf7 input.wpcf7-submit:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

.modal .wpcf7 .wpcf7-spinner,
#contacts .wpcf7 .wpcf7-spinner {
  margin: 0 0 0 8px;
  vertical-align: middle;
}

.modal-form-missing {
  margin-top: 12px;
  font-size: 12px;
  color: #9aa4bb;
}

.contact-form .wpcf7 form > label {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  font-size: 0;
  line-height: 0;
}

.contact-form .wpcf7 form > label.is-required::after {
  content: "*";
  position: absolute;
  top: 13px;
  right: 14px;
  font-size: 11px;
  line-height: 1;
  color: #c0c8d8;
  pointer-events: none;
}

.contact-form .wpcf7 form > label .wpcf7-form-control-wrap {
  order: 1;
}

.contact-form .wpcf7 form > label .wpcf7-not-valid-tip,
.contact-form .wpcf7 .wpcf7-not-valid-tip {
  order: 2;
  display: block;
  position: static !important;
  width: 100%;
  margin-top: 5px;
  padding-left: 2px;
  font-size: 11px;
  line-height: 1.25;
  text-align: left !important;
  color: #c0392b;
}

.contact-form .wpcf7 .wpcf7-not-valid,
.contact-form .wpcf7 .wpcf7-not-valid:focus {
  border-color: #e74c3c !important;
  background: #fff8f8 !important;
}

.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.spam .wpcf7-response-output {
  display: none !important;
}

.contact-form .wpcf7 input.wpcf7-submit {
  display: inline-block;
  width: auto !important;
  min-width: 72px;
  align-self: flex-start;
}

.toaster {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(26,39,68,.25);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 300;
  white-space: nowrap;
  pointer-events: none;
}

.toaster.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toaster-icon {
  width: 18px;
  height: 18px;
  background: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toaster-icon svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2.5; }

footer {
  background: var(--navy-dark);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06);
}

footer p,
footer a { font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,.75); }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17,28,54,.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 6px;
  width: 100%;
  max-width: 520px;
  padding: 40px;
  position: relative;
  animation: fadeUp .25s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
}

.modal h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 150;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  display: none;
  animation: fadeUp .3s ease;
}

.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

.cookie-actions { display: flex; gap: 10px; }

.btn-cookie-accept,
.btn-cookie-decline {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 3px;
  cursor: pointer;
}

.btn-cookie-accept {
  background: var(--navy);
  color: #fff;
  border: none;
}

.btn-cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 110;
  will-change: transform;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  will-change: transform;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 16px 24px 24px;
  animation: slideDown .2s ease;
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}

.mobile-nav .mobile-nav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  gap: 12px;
}

.mobile-nav .btn-contact { flex: 1; text-align: center; font-size: 13px; color: #fff !important; }

@media (max-width: 992px) {
  .hero h1 { font-size: clamp(32px, 6vw, 52px); }
  .hero-epigraph {
    position: relative;
    bottom: auto;
    right: auto;
    text-align: center;
    white-space: normal;
    max-width: 300px;
    margin-top: 40px;
    font-size: 16px;
  }
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .values-grid { grid-template-columns: 1fr; border-top: none; }
  .value-item {
    padding: 28px 0 !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .value-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  header { padding: 0 20px; height: 64px; }
  header.scrolled { height: 56px; }
  nav { display: none; }
  .burger { display: flex; }

  .hero {
    padding: 104px 24px 80px;
    min-height: 100svh;
  }

  .hero h1 { font-size: clamp(28px, 8vw, 48px); margin-bottom: 28px; }
  .hero-line2 { white-space: normal; }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }

  .btn-outline,
  .hero-btns .btn-primary { width: 100%; text-align: center; }

  section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .stats { gap: 26px; }
  .stat-num { font-size: 30px; }

  .accordion-body { padding: 0 20px; }
  .accordion-body.open { padding: 24px 20px 24px 20px; }
  .acc-icon { width: 44px; height: 44px; }
  .accordion-trigger { padding: 20px; gap: 16px; }
  .acc-name { font-size: 16px; }
  .acc-tagline { font-size: 14px; }

  footer {
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: 100%;
  }

  .modal { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(26px, 9vw, 40px); }
  .stats { gap: 18px; }
  .stat-num { font-size: 24px; }
}

/* ---- bfdo-lang-switcher in landing header -------------------------------- */
.bfdo-lang-switcher { position: relative; }

.bfdo-lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(26, 39, 68, .28);
  border-radius: 5px;
  padding: 4px 8px 4px 10px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.bfdo-lang-switcher__toggle:hover {
  border-color: rgba(26, 39, 68, .55);
  background: rgba(26, 39, 68, .04);
}

.bfdo-lang-switcher__chevron { flex-shrink: 0; transition: transform .2s ease; }

.bfdo-lang-switcher.is-open .bfdo-lang-switcher__toggle {
  border-color: rgba(26, 39, 68, .55);
  background: rgba(26, 39, 68, .04);
}
.bfdo-lang-switcher.is-open .bfdo-lang-switcher__chevron { transform: rotate(180deg); }
.bfdo-lang-switcher.is-open .bfdo-lang-switcher__list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bfdo-lang-switcher__list {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 76px;
  list-style: none !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  background: #fff;
  border: 1px solid rgba(190, 202, 222, .6);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(18, 37, 70, .12), 0 2px 6px rgba(18, 37, 70, .06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 400;
}
.bfdo-lang-switcher__item {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.bfdo-lang-switcher__item::before,
.bfdo-lang-switcher__item::after { display: none !important; }

.bfdo-lang-switcher__item.is-current .bfdo-lang-switcher__link {
  color: var(--navy);
  background: rgba(26, 39, 68, .06);
  font-weight: 700;
  cursor: default;
}
.bfdo-lang-switcher__link {
  display: block;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none !important;
  transition: color .15s ease, background .15s ease;
}
.bfdo-lang-switcher__link:hover {
  color: var(--navy);
  background: rgba(26, 39, 68, .06);
}

/* Mobile landing: toggle hidden, inline pill buttons in mobile-nav-footer */
@media (max-width: 768px) {
  nav .bfdo-lang-switcher { display: none; }

  .mobile-nav-footer .bfdo-lang-switcher { position: static; }
  .mobile-nav-footer .bfdo-lang-switcher__toggle { display: none; }
  .mobile-nav-footer .bfdo-lang-switcher__list {
    position: static !important;
    display: flex !important;
    gap: 6px;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 !important;
    background: transparent;
  }
  .mobile-nav-footer .bfdo-lang-switcher__link {
    padding: 5px 13px;
    font-size: 11px;
    border: 1px solid rgba(26, 39, 68, .22);
    border-radius: 4px;
    color: #fff;
  }
  .mobile-nav-footer .bfdo-lang-switcher__item.is-current .bfdo-lang-switcher__link {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .4);
  }
}
