:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f4;
  --bg-muted: #f7f7f7;
  --text: #1a1a1a;
  --muted: #667085;
  --line: #e5e7eb;
  --line-strong: #d6d9df;
  --primary: #1992ff;
  --primary-dark: #0d78d8;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.language-switcher {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(13, 96, 191, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 41, 77, 0.08);
  backdrop-filter: blur(12px);
}

.language-switcher__button {
  min-width: 54px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #54708f;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-switcher__button.is-active {
  background: linear-gradient(135deg, #0d60bf, #279df7);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 96, 191, 0.18);
}

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

.site-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  width: min(560px, calc(100% - 24px));
  padding: 14px 16px;
  border: 1px solid rgba(12, 96, 191, 0.18);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(242, 248, 255, 0.98)
  );
  box-shadow:
    0 18px 48px rgba(13, 96, 191, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -140%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 240ms ease,
    opacity 240ms ease;
}

.site-toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, #0d60bf, #39a5ff);
}

.site-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.site-toast__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d60bf, #279df7);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-toast__content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.site-toast__title {
  color: #15365a;
  font-size: 0.98rem;
  line-height: 1.3;
}

.site-toast__message {
  color: #49617b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.site-toast__close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 96, 191, 0.08);
  color: #0d60bf;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.site-toast__close:hover {
  background: rgba(13, 96, 191, 0.14);
}

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

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

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

.progress-bar {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 30;
  background: linear-gradient(90deg, var(--primary), #53bcff);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eef1f4;
  backdrop-filter: blur(10px);
}

.header__inner,
.main-page,
.footer__top,
.footer__bottom {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.header__left,
.header__right,
.header__menu {
  display: flex;
  align-items: center;
}

.header__left {
  gap: 28px;
  min-width: 0;
}

.header__logo {
  width: 92px;
  height: auto;
}

.header__menu {
  gap: 20px;
  flex-wrap: wrap;
  color: #495464;
  font-size: 0.92rem;
}

.header__menu a:hover,
.header__login:hover {
  color: var(--primary-dark);
}

.header__right {
  gap: 14px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
}

.header__login {
  color: #4b5563;
  font-size: 0.9rem;
}

.header__contact,
.kg-btn,
.cta-card__button,
.submit-button,
.footer__subscribe button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--primary);
  border-radius: 5px;
  background: #0d60bf;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.header__contact:hover,
.kg-btn:hover,
.cta-card__button:hover,
.submit-button:hover,
.footer__subscribe button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--primary-dark), #269df4);
}

.main-page {
  padding: 38px 0 72px;
}

.hero {
  padding-top: 18px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.hero__info {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.separator-dot {
  font-size: 0.85rem;
}

.hero__title {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

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

.post-author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #445063;
  font-weight: 600;
}

.post-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.hero__media {
  width: min(100%, 960px);
  margin: 0 auto 36px;
}

.hero__figure {
  margin: 0;
}

.hero__img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.post {
  width: min(100%, 760px);
  margin: 0 auto;
}

.content-wrap {
  width: 100%;
}

.post-content {
  color: #263142;
}

.section-title {
  margin: 0 0 18px;
  font-size: 1.55rem;
  line-height: 1.25;
}

.section-title--center {
  text-align: center;
}

.lead-text {
  margin: 0;
  color: #18202d;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.lead-text--spaced {
  margin-top: 18px;
}

.button-row {
  display: flex;
  justify-content: center;
  margin: 22px 0 28px;
}

.image-card {
  margin: 0;
}

.image-card img {
  width: 100%;
  border-radius: 16px;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}

.carousel-slide img {
  display: block;
  width: 100%;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--line, #d0d5dd);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.carousel-dots button.active {
  background: var(--primary, #0d60bf);
}

.content-divider {
  margin: 34px 0 28px;
  border: 0;
  border-top: 1px solid var(--line);
}

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

.cta-card {
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  min-height: 216px;
  border: 1px solid rgba(13, 96, 191, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(246, 250, 255, 0.96)
    ),
    var(--bg-muted);
  box-shadow:
    0 18px 38px rgba(15, 40, 74, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(74, 183, 255, 0.28) 0%,
    rgba(13, 96, 191, 0.16) 34%,
    rgba(13, 96, 191, 0.05) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 22px 0 120px 0;
  pointer-events: none;
  z-index: 0;
}

.cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 96, 191, 0.24);
  box-shadow:
    0 22px 48px rgba(15, 40, 74, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.cta-card__label {
  position: relative;
  z-index: 1;
  padding: 18px 22px 0;
  color: #0d60bf;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 152px;
  padding: 14px 22px 22px;
  flex: 1;
}

.cta-card__text {
  display: grid;
  align-content: start;
  min-width: 0;
  width: 100%;
  max-height: 200px;
  text-align: center;
}

.cta-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #12263f;
  font-size: 1.08rem;
  line-height: 1.38;
  letter-spacing: -0.02em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cta-card__button {
  min-width: 124px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(13, 96, 191, 0.18);
  align-self: center;
}

.meeting-block {
  margin-top: 42px;
  padding-top: 8px;
}

.meeting-block__title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 2rem;
  line-height: 1.15;
}

.meeting-block__desc {
  margin: 0 auto 24px;
  max-width: 60ch;
  color: #667085;
  line-height: 1.7;
  text-align: center;
}

.meeting-form {
  display: grid;
  gap: 16px;
}

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

.meeting-form label:not(.consent-row) {
  display: grid;
  gap: 7px;
}

.meeting-form span,
.consent-row {
  font-size: 0.9rem;
}

.required-mark {
  color: #dc2626;
  font-weight: 700;
}

.meeting-form input,
.meeting-form select,
.meeting-form textarea,
.footer__subscribe input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
}

.meeting-form select {
  color: #475467;
  background-color: #f2f3f5;
}

.meeting-form select option {
  color: #16345c;
  background: #f2f3f5;
}

.meeting-form input,
.meeting-form select,
.meeting-form textarea {
  outline: none;
  transition: all 0.3s linear;
}

.meeting-form input:focus,
.meeting-form select:focus,
.meeting-form textarea:focus {
  border-color: var(--primary);
}

.meeting-form input.is-invalid,
.meeting-form select.is-invalid,
.meeting-form textarea.is-invalid {
  border-color: #dc2626;
}

.meeting-form input[type="checkbox"].is-invalid {
  outline: 2px solid rgba(220, 38, 38, 0.2);
  outline-offset: 2px;
}

.meeting-form input.is-invalid:focus,
.meeting-form select.is-invalid:focus,
.meeting-form textarea.is-invalid:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.meeting-form textarea {
  resize: vertical;
}

.field-error {
  min-height: 1rem;
  color: #dc2626;
  font-size: 0.78rem;
  line-height: 1.35;
}

.field-error--checkbox {
  margin-top: -4px;
  margin-bottom: 0;
  min-height: 0;
}

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

.conditional-field.is-hidden {
  display: none !important;
}

.consent-group {
  display: grid;
  gap: 6px;
}

.consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #667085;
  line-height: 1.6;
}

.consent-row input {
  flex: 0;
}

.consent-row span {
  flex: 1;
}

.form-status {
  display: none;
  min-height: 1.2rem;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-status:not(:empty) {
  display: block;
}

.form-status--pending {
  border-color: #cfe4fb;
  background: #eff7ff;
  color: #0d60bf;
}

.form-status--success {
  border-color: #8bcbff;
  background: linear-gradient(180deg, #eef7ff, #dff0ff);
  color: #0d60bf;
  box-shadow: 0 10px 24px rgba(25, 146, 255, 0.12);
}

.form-status--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
}

.hs-richtext {
  margin: 0;
}

.hs-richtext p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
  font-size: 0.9rem;
}

.hs-richtext p a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.captcha-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fafafa;
}

.captcha-box__check {
  width: 18px;
  height: 18px;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  background: #fff;
}

.submit-button {
  width: fit-content;
  margin: 0 auto;
}

.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 760px);
  margin: 38px auto 28px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list__item,
.post-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #667085;
}

.social-share__label {
  font-weight: 600;
}

.social-share__item {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #495464;
}

.author-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(100%, 860px);
  margin: 0 auto 42px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.author-card__cover {
  height: 96px;
  margin: 0;
  background: linear-gradient(135deg, #16a3ff, #79d1ff);
}

.author-card__media,
.author-card__content {
  position: relative;
  padding: 0 24px 22px;
}

.author-card__media {
  margin-top: -34px;
}

.author-card__img {
  width: 68px;
  height: 68px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.author-card__name {
  font-size: 1.08rem;
  font-weight: 700;
}

.related-posts {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.related-posts__title {
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.post-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.post-card__content {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.post-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.post-card__exc {
  color: #667085;
  line-height: 1.7;
}

.footer {
  margin-top: 64px;
  padding: 34px 0 24px;
  background: var(--bg-soft);
  border-top: 1px solid #e7ebf0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.95fr;
  gap: 30px;
}

.footer__column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer__logo {
  width: 112px;
}

.footer__description,
.footer__nav a,
.footer__bottom,
.footer__subscribe input {
  color: #667085;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.footer__title {
  font-size: 1rem;
  font-weight: 700;
}

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

.footer__nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav li + li {
  margin-top: 8px;
}

.footer__subscribe {
  display: grid;
  gap: 12px;
}

.footer__subscribe button {
  width: fit-content;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 16px;
}

@media (max-width: 1024px) {
  .header__inner,
  .main-page,
  .footer__top,
  .footer__bottom {
    width: min(100% - 28px, 1220px);
  }

  .header__inner,
  .header__left,
  .header__right {
    flex-wrap: wrap;
  }

  .related-posts__grid,
  .footer__top {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .language-switcher {
    top: 12px;
    right: 12px;
  }

  .site-toast {
    top: 12px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px 14px 12px 18px;
  }

  .site-toast__badge {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 28px;
  }

  .hero__title {
    font-size: 2.15rem;
  }

  .meeting-form__grid,
  .footer__nav-grid,
  .post-footer {
    grid-template-columns: 1fr;
  }

  .post-footer {
    display: grid;
    justify-content: stretch;
  }

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

  .cta-list {
    grid-template-columns: 1fr;
  }

  .cta-card {
    min-height: auto;
  }

  .cta-card__body {
    min-height: 0;
  }

  .cta-card__button {
    width: 100%;
  }

  .header__menu {
    gap: 14px;
    font-size: 0.84rem;
  }
}
