/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* === Design tokens (единый стиль для всех блоков) === */
:root {
  --container-max: 1100px;
  --container-pad-x: 20px;
  --section-pad-y: 80px;
  --section-pad-y-mobile: 50px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --h1-size: 44px;
  --h2-size: 32px;
  --h3-size: 22px;
  --p-size: 16px;

  --color-bg: #f4f6fb;
  --color-surface: #ffffff;
  --color-text: #1a1f2e;
  --color-text-muted: #5c6478;
  --color-accent: #2a5bff;
  --color-accent-hover: #1e47d4;
  --color-border: rgba(26, 31, 46, 0.08);
  --shadow-soft: 0 12px 40px rgba(26, 31, 46, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-btn: 12px;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--p-size);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(244, 246, 251, 0.75);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 31, 46, 0.08);
}

.header__bar {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 16px 1fr 16px auto;
  grid-template-columns: auto 1fr auto;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.header__logo {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  -webkit-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

.header__logo:hover {
  background: rgba(42, 91, 255, 0.06);
}

.header__logo-img {
  display: block;
  height: 40px;
  width: auto;
}

@media (max-width: 500px){
  .header__logo-img {

  height: 30px;

}

}

.header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  min-width: 0;
}

.header__link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1px solid transparent;
  -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  -o-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.header__link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(26, 31, 46, 0.08);
}

.header__link:focus-visible {
  outline: 3px solid rgba(42, 91, 255, 0.35);
  outline-offset: 2px;
}

.header__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 6px;
}

.header__messengers {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.header__msg {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 31, 46, 0.08);
  -webkit-box-shadow: 0 10px 28px rgba(26, 31, 46, 0.08);
          box-shadow: 0 10px 28px rgba(26, 31, 46, 0.08);
  -webkit-transition: border-color 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
}

.header__msg:hover {
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 16px 40px rgba(26, 31, 46, 0.12);
          box-shadow: 0 16px 40px rgba(26, 31, 46, 0.12);
}

.header__msg:focus-visible {
  outline: 3px solid rgba(42, 91, 255, 0.35);
  outline-offset: 2px;
}

.header__msg img {
  display: block;
}

.header__hours {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--color-text-muted);
  opacity: 0.95;
  white-space: nowrap;
}

@media (max-width: 820px) {
  .header__bar {
    -ms-grid-columns: auto 0 1fr;
    grid-template-columns: auto 1fr;
    -ms-grid-rows: auto 0 auto;
        grid-template-areas:
      "logo right"
      "nav nav";
    gap: 0;
    padding: 12px 0;
  }

  .header__logo {
    grid-area: logo;
    padding-inline: 8px;
  }

  .header__right {
    grid-area: right;
  }

  .header__nav {
   display: none;
  }

  .header__nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 820px) {
  .header__logo {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .header__right {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

p {
  margin: 0;
  font-size: var(--p-size);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 var(--container-pad-x);
}

.section {
  padding: var(--section-pad-y) 0;
}

@media (max-width: 767px) {
  .section {
    padding: var(--section-pad-y-mobile) 0;
  }
}

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__img {
  position: absolute;
  max-width: 300px;
  bottom: 0;
  right: 20%;
}

@media (max-width: 1100px){
  .hero__img {
    display: none;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -o-radial-gradient(100% 0%, ellipse 80% 60%, rgba(42, 91, 255, 0.12), transparent 55%),
    -o-radial-gradient(0% 100%, ellipse 60% 50%, rgba(42, 91, 255, 0.08), transparent 50%);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(42, 91, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(42, 91, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 720px;
}

.hero__title {
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: var(--p-size);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero__cta-wrap {
  margin-bottom: 40px;
}

.btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font);
  font-size: var(--p-size);
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  transition: background 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  -webkit-box-shadow: 0 4px 20px rgba(42, 91, 255, 0.35);
          box-shadow: 0 4px 20px rgba(42, 91, 255, 0.35);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 8px 28px rgba(42, 91, 255, 0.4);
          box-shadow: 0 8px 28px rgba(42, 91, 255, 0.4);
}

.btn--primary:active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.hero__micro {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 480px;
}

.hero__facts {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px) {
  .hero__facts {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }

  .cta__form-card {
  padding: 24px 22px 26px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
}
}

@media (min-width: 768px) {
  .hero__facts {
    -ms-grid-columns: 1fr 16px 1fr 16px 1fr 16px 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.hero__fact {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.hero__fact-text {
  font-size: var(--p-size);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
}

/* === Почему мы (бенто-сетка) === */
.reasons {
  position: relative;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.reasons::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: min(900px, 100%);
  height: 280px;
  background: -o-radial-gradient(50% 0%, ellipse 70% 80%, rgba(42, 91, 255, 0.07), transparent 70%);
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(42, 91, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.reasons .container {
  position: relative;
  z-index: 1;
}

.reasons__head {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.reasons__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.reasons__title {
  font-size: var(--h2-size);
}

.reasons__cta {
  margin-top: 48px;
  text-align: center;
}

.reasons__cta .btn {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  min-height: unset;
  padding: 14px 28px;
}

.reasons__grid {
  display: -ms-grid;
  display: grid;
  gap: 16px;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .reasons__grid {
    -ms-grid-columns: (1fr)[2];
    grid-template-columns: repeat(2, 1fr);
  }

  .reason-card--wide {
    -ms-grid-column-span: 2;
    grid-column: span 2;
  }

  .reason-card--full {
    -ms-grid-column-span: 2;
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .reasons__grid {
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .reason-card--wide {
    -ms-grid-column-span: 2;
    grid-column: span 2;
  }

  .reason-card--full {
    -ms-grid-column-span: 3;
    grid-column: span 3;
  }

  /* ряд 1: широкий + узкий */
  .reason-card:nth-child(1) {
    -ms-grid-column-span: 2;
    grid-column: span 2;
  }

  .reason-card:nth-child(2) {
    -ms-grid-column-span: 1;
    grid-column: span 1;
  }

  /* ряд 2: узкий + широкий */
  .reason-card:nth-child(3) {
    -ms-grid-column-span: 1;
    grid-column: span 1;
  }

  .reason-card:nth-child(4) {
    -ms-grid-column-span: 2;
    grid-column: span 2;
  }

  .reason-card:nth-child(5) {
    -ms-grid-column-span: 3;
    grid-column: span 3;
  }
}

.reason-card {
  position: relative;
  padding: 24px 24px 24px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
  overflow: hidden;
  opacity: 0;
  -webkit-animation: reason-card-in 0.65s ease forwards;
          animation: reason-card-in 0.65s ease forwards;
}

.reason-card:nth-child(1) {
  -webkit-animation-delay: 0.05s;
          animation-delay: 0.05s;
}

.reason-card:nth-child(2) {
  -webkit-animation-delay: 0.12s;
          animation-delay: 0.12s;
}

.reason-card:nth-child(3) {
  -webkit-animation-delay: 0.19s;
          animation-delay: 0.19s;
}

.reason-card:nth-child(4) {
  -webkit-animation-delay: 0.26s;
          animation-delay: 0.26s;
}

.reason-card:nth-child(5) {
  -webkit-animation-delay: 0.33s;
          animation-delay: 0.33s;
}

@-webkit-keyframes reason-card-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
            transform: translateY(16px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes reason-card-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px);
            transform: translateY(16px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.reason-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: -webkit-gradient(linear, left top, left bottom, from(var(--color-accent)), to(rgba(42, 91, 255, 0.35)));
  background: -o-linear-gradient(top, var(--color-accent), rgba(42, 91, 255, 0.35));
  background: linear-gradient(180deg, var(--color-accent), rgba(42, 91, 255, 0.35));
  opacity: 0.85;
}

.reason-card--accent {
  background: -o-linear-gradient(305deg, #ffffff 0%, #f0f4ff 100%);
  background: linear-gradient(145deg, #ffffff 0%, #f0f4ff 100%);
  border-color: rgba(42, 91, 255, 0.18);
}

.reason-card--accent::after {
  width: 5px;
  opacity: 1;
  -webkit-box-shadow: 0 0 24px rgba(42, 91, 255, 0.35);
          box-shadow: 0 0 24px rgba(42, 91, 255, 0.35);
}

.reason-card__num {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  opacity: 0.75;
}

.reason-card__title {
  font-size: var(--h3-size);
  margin-bottom: 10px;
}

.reason-card__text {
  font-size: var(--p-size);
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (min-width: 992px) {
  .reason-card--full {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 32px;
    padding-block: 28px;
    padding-inline: 32px;
  }

  .reason-card--full .reason-card__num {
    margin-bottom: 0;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    font-size: var(--h2-size);
    letter-spacing: 0.06em;
    line-height: 1;
    opacity: 0.9;
  }

  .reason-card--full .reason-card__body {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }

  .reason-card--full .reason-card__title {
    margin-bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reason-card {
    -webkit-animation: none;
            animation: none;
    opacity: 1;
  }
}

/* === Как это работает (3 шага) === */
.steps {
  position: relative;
  background: var(--color-bg);
  overflow: hidden;
}

.steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -o-radial-gradient(15% 20%, ellipse 55% 45%, rgba(42, 91, 255, 0.09), transparent 60%),
    -o-radial-gradient(85% 80%, ellipse 50% 40%, rgba(42, 91, 255, 0.07), transparent 55%);
  background:
    radial-gradient(ellipse 55% 45% at 15% 20%, rgba(42, 91, 255, 0.09), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(42, 91, 255, 0.07), transparent 55%);
  pointer-events: none;
}

.steps .container {
  position: relative;
  z-index: 1;
}

.steps__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.steps__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.steps__title {
  font-size: var(--h2-size);
  margin-bottom: 16px;
}

.steps__lead {
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.steps__list {
  display: -ms-grid;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 20px;
  padding: 28px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
  opacity: 0;
  -webkit-animation: steps-item-in 0.65s ease forwards;
          animation: steps-item-in 0.65s ease forwards;
}

.steps__item:nth-child(1) {
  -webkit-animation-delay: 0.06s;
          animation-delay: 0.06s;
}

.steps__item:nth-child(2) {
  -webkit-animation-delay: 0.14s;
          animation-delay: 0.14s;
}

.steps__item:nth-child(3) {
  -webkit-animation-delay: 0.22s;
          animation-delay: 0.22s;
}

@-webkit-keyframes steps-item-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(18px);
            transform: translateY(18px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes steps-item-in {
  from {
    opacity: 0;
    -webkit-transform: translateY(18px);
            transform: translateY(18px);
  }

  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

.steps__bubble {
  position: relative;
  z-index: 1;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    -o-linear-gradient(295deg, #ffffff 0%, #f1f4ff 100%) padding-box,
    -o-linear-gradient(310deg, var(--color-accent), rgba(42, 91, 255, 0.35)) border-box;
  background:
    linear-gradient(155deg, #ffffff 0%, #f1f4ff 100%) padding-box,
    linear-gradient(140deg, var(--color-accent), rgba(42, 91, 255, 0.35)) border-box;
  border: 2px solid transparent;
  -webkit-box-shadow: 0 10px 32px rgba(42, 91, 255, 0.12);
          box-shadow: 0 10px 32px rgba(42, 91, 255, 0.12);
}

.steps__bubble-num {
  position: absolute;
  top: -6px;
  right: -6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--color-accent);
  -webkit-box-shadow: 0 4px 14px rgba(42, 91, 255, 0.4);
          box-shadow: 0 4px 14px rgba(42, 91, 255, 0.4);
}

.steps__icon {
  color: var(--color-accent);
  opacity: 0.88;
}

.steps__body {
  max-width: 280px;
}

.steps__item-title {
  font-size: 18px;
  line-height: 1.3;
}

.steps__comfort {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 14px;
  max-width: 720px;
  margin: 40px auto 0;
  padding: 20px 22px;
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
  background: -o-linear-gradient(315deg, #ffffff 0%, #f5f7ff 100%);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 100%);
  border: 1px solid rgba(42, 91, 255, 0.14);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
}

.steps__comfort-mark {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
  opacity: 0.9;
}

.steps__comfort-mark svg {
  display: block;
}

@media (min-width: 768px) {
  .steps__head {
    margin-bottom: 48px;
  }

  .steps__list {
    position: relative;
    -ms-grid-columns: 1fr 20px 1fr 20px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 20px;
    padding-top: 8px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  .steps__list::before {
    content: "";
    position: absolute;
    left: calc(100% / 6);
    width: calc(100% * 2 / 3);
    top: 84px;
    height: 3px;
    border-radius: 4px;
    background: -webkit-gradient(
      linear,
      left top, right top,
      from(rgba(42, 91, 255, 0.15)),
      color-stop(22%, rgba(42, 91, 255, 0.45)),
      color-stop(78%, rgba(42, 91, 255, 0.45)),
      to(rgba(42, 91, 255, 0.15))
    );
    background: -o-linear-gradient(
      left,
      rgba(42, 91, 255, 0.15),
      rgba(42, 91, 255, 0.45) 22%,
      rgba(42, 91, 255, 0.45) 78%,
      rgba(42, 91, 255, 0.15)
    );
    background: linear-gradient(
      90deg,
      rgba(42, 91, 255, 0.15),
      rgba(42, 91, 255, 0.45) 22%,
      rgba(42, 91, 255, 0.45) 78%,
      rgba(42, 91, 255, 0.15)
    );
    z-index: 0;
    pointer-events: none;
  }

  .steps__item {
    padding: 32px 18px 28px;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
  }

  .steps__bubble {
    margin-top: 4px;
  }

  .steps__body {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps__item {
    -webkit-animation: none;
            animation: none;
    opacity: 1;
  }
}

/* === CTA / форма === */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta {
  position: relative;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -o-radial-gradient(100% 0%, ellipse 70% 55%, rgba(42, 91, 255, 0.1), transparent 55%),
    -o-radial-gradient(0% 100%, ellipse 55% 45%, rgba(42, 91, 255, 0.06), transparent 50%);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(42, 91, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(42, 91, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta__panel {
  border-radius: calc(var(--radius-lg) + 4px);
  padding: 2px;
  background: -o-linear-gradient(315deg, rgba(42, 91, 255, 0.45), rgba(42, 91, 255, 0.08) 45%, rgba(42, 91, 255, 0.2));
  background: linear-gradient(135deg, rgba(42, 91, 255, 0.45), rgba(42, 91, 255, 0.08) 45%, rgba(42, 91, 255, 0.2));
  -webkit-box-shadow: 0 24px 60px rgba(26, 31, 46, 0.12);
          box-shadow: 0 24px 60px rgba(26, 31, 46, 0.12);
}

.cta__grid {
  display: -ms-grid;
  display: grid;
  gap: 36px;
  padding: 36px 28px 40px;
  border-radius: var(--radius-lg);
  background: -o-linear-gradient(285deg, #ffffff 0%, #f7f9ff 100%);
  background: linear-gradient(165deg, #ffffff 0%, #f7f9ff 100%);
}

@media (min-width: 900px) {
  .cta__grid {
    -ms-grid-columns: minmax(0, 1fr) 48px minmax(0, 1.05fr);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 48px;
    padding: 48px 48px 52px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
}

.cta__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.cta__title {
  font-size: var(--h2-size);
  margin-bottom: 14px;
  line-height: 1.18;
}

.cta__subtitle {
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.cta__keypoints {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cta__keypoint {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  -webkit-box-shadow: 0 6px 20px rgba(26, 31, 46, 0.04);
          box-shadow: 0 6px 20px rgba(26, 31, 46, 0.04);
}

.cta__keypoint-icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: var(--color-accent);
  margin-top: 1px;
}

.cta__keypoint-text {
  font-size: var(--p-size);
  line-height: 1.45;
  color: var(--color-text);
}

.cta__form-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

.osoben {
  color: #2a5bff;
}



@media (min-width: 900px) {
  .cta__form-card {
    padding: 28px 28px 30px;
  }
}

.cta__form-lead {
  font-size: var(--p-size);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 22px;
}

.cta__form.cta__form--hidden {
  display: none;
}

.cta__success {
  text-align: center;
  padding: 12px 8px 8px;
}

.cta__success-title {
  font-size: var(--h3-size);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.cta__success-text {
  font-size: var(--p-size);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid rgba(42, 91, 255, 0.35);
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(42, 91, 255, 0.06);
  border-color: var(--color-accent);
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.btn--block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin-top: 6px;
}

.cta__field {
  margin-bottom: 20px;
}

.cta__fieldset {
  margin: 0 0 20px;
  padding: 0;
  border: none;
  min-width: 0;
}

.cta__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--p-size);
  font-weight: 600;
  color: var(--color-text);
}

.cta__fieldset .cta__label {
  margin-bottom: 10px;
}

.cta__input,
.cta__textarea {
  width: 100%;
  font-family: var(--font);
  font-size: var(--p-size);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  -webkit-transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.cta__textarea {
  resize: vertical;
  min-height: 140px;
}

.cta__input::-webkit-input-placeholder, .cta__textarea::-webkit-input-placeholder {
  color: rgba(92, 100, 120, 0.75);
}

.cta__input::-moz-placeholder, .cta__textarea::-moz-placeholder {
  color: rgba(92, 100, 120, 0.75);
}

.cta__input:-ms-input-placeholder, .cta__textarea:-ms-input-placeholder {
  color: rgba(92, 100, 120, 0.75);
}

.cta__input::-ms-input-placeholder, .cta__textarea::-ms-input-placeholder {
  color: rgba(92, 100, 120, 0.75);
}

.cta__input::placeholder,
.cta__textarea::placeholder {
  color: rgba(92, 100, 120, 0.75);
}

.cta__input:hover,
.cta__textarea:hover {
  border-color: rgba(42, 91, 255, 0.25);
}

.cta__input:focus,
.cta__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  -webkit-box-shadow: 0 0 0 4px rgba(42, 91, 255, 0.15);
          box-shadow: 0 0 0 4px rgba(42, 91, 255, 0.15);
}

.cta__input.cta__input--invalid,
.cta__textarea.cta__input--invalid {
  border-color: #e0425a;
  -webkit-box-shadow: 0 0 0 4px rgba(224, 66, 90, 0.12);
          box-shadow: 0 0 0 4px rgba(224, 66, 90, 0.12);
}

.cta__hint {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.cta__error {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #c41e3a;
  min-height: 0;
}

.cta__error:empty {
  display: none;
}

.cta__segment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 4px;
  gap: 4px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.cta__segment-btn {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 46px;
  padding: 0 12px;
  font-family: var(--font);
  font-size: var(--p-size);
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.cta__segment-input:focus + .cta__segment-btn {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cta__segment-input:checked + .cta__segment-btn {
  background: var(--color-surface);
  color: var(--color-text);
  -webkit-box-shadow: 0 4px 14px rgba(26, 31, 46, 0.08);
          box-shadow: 0 4px 14px rgba(26, 31, 46, 0.08);
}

.cta__submit {
  min-height: 56px;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.cta__boosters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 520px) {
  .cta__boosters {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 12px 1fr 12px 1fr;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 12px;
  }

  .cta__booster {
    font-size: 13px;
  }
}

.cta__booster {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.cta__check {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: #1a9f6c;
  font-weight: 700;
  margin-top: 1px;
}

.cta__alt {
  padding: 22px 20px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(42, 91, 255, 0.28);
  border-radius: var(--radius-lg);
}

.cta__alt-label {
  font-size: var(--h3-size);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.cta__alt-note {
  font-size: var(--p-size);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.cta__alt-btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

@media (min-width: 520px) {
  .cta__alt-btns {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.btn--tg,
.btn--wa {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-family: var(--font);
  font-size: var(--p-size);
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  -webkit-transition: background 0.2s ease, border-color 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  transition: background 0.2s ease, border-color 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
}

.btn--tg {
  background: #e8f4fc;
  color: #0a6aa8;
  border-color: rgba(10, 106, 168, 0.2);
}

.btn--tg:hover {
  background: #d8eef9;
  border-color: rgba(10, 106, 168, 0.35);
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 8px 24px rgba(10, 106, 168, 0.15);
          box-shadow: 0 8px 24px rgba(10, 106, 168, 0.15);
}

.btn--wa {
  background: #e8f7ef;
  color: #0d7a45;
  border-color: rgba(13, 122, 69, 0.22);
}

.btn--wa:hover {
  background: #d8f0e4;
  border-color: rgba(13, 122, 69, 0.38);
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 8px 24px rgba(13, 122, 69, 0.14);
          box-shadow: 0 8px 24px rgba(13, 122, 69, 0.14);
}

.cta__alt-ico {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 0.95;
}

.cta__finger {
  font-size: 1.1em;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .btn--tg:hover,
  .btn--wa:hover {
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
}

/* === Отзывы (скриншоты переписок) === */
.reviews {
  position: relative;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -o-radial-gradient(50% 0%, ellipse 60% 50%, rgba(42, 91, 255, 0.08), transparent 55%),
    -o-radial-gradient(0% 100%, ellipse 45% 40%, rgba(26, 31, 46, 0.04), transparent 45%);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(42, 91, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(26, 31, 46, 0.04), transparent 45%);
  pointer-events: none;
}

.reviews .container {
  position: relative;
  z-index: 1;
}

.reviews__head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.reviews__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.reviews__title {
  font-size: var(--h2-size);
  margin-bottom: 14px;
  line-height: 1.2;
}

.reviews__lead {
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.reviews__trust {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  opacity: 0.92;
}

.reviews__masonry {
  -webkit-column-count: 1;
     -moz-column-count: 1;
          column-count: 1;
  -webkit-column-gap: 18px;
     -moz-column-gap: 18px;
          column-gap: 18px;
}

@media (min-width: 560px) {
  .reviews__masonry {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
    -webkit-column-gap: 20px;
       -moz-column-gap: 20px;
            column-gap: 20px;
  }
}

@media (min-width: 960px) {
  .reviews__masonry {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
    -webkit-column-gap: 22px;
       -moz-column-gap: 22px;
            column-gap: 22px;
  }
}

.reviews__item {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  vertical-align: top;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

@media (min-width: 560px) {
  .reviews__item {
    margin-bottom: 20px;
  }
}

.reviews__open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  border-radius: calc(var(--radius-lg) + 2px);
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.reviews__open:focus {
  outline: none;
}

.reviews__open:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.reviews__open:hover .reviews__frame {
  -webkit-box-shadow: 0 20px 50px rgba(26, 31, 46, 0.14);
          box-shadow: 0 20px 50px rgba(26, 31, 46, 0.14);
  border-color: rgba(42, 91, 255, 0.22);
}

.reviews__open:active {
  -webkit-transform: scale(0.99);
      -ms-transform: scale(0.99);
          transform: scale(0.99);
}

.reviews__frame {
  display: block;
  position: relative;
  padding: 10px 10px 12px;
  border-radius: var(--radius-lg);
  background: -o-linear-gradient(290deg, #ffffff 0%, #f0f3fa 100%);
  background: linear-gradient(160deg, #ffffff 0%, #f0f3fa 100%);
  border: 1px solid var(--color-border);
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
  overflow: hidden;
  -webkit-transition: border-color 0.25s ease, -webkit-box-shadow 0.25s ease;
  transition: border-color 0.25s ease, -webkit-box-shadow 0.25s ease;
  -o-transition: box-shadow 0.25s ease, border-color 0.25s ease;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, -webkit-box-shadow 0.25s ease;
}

.reviews__frame::before {
  content: "";
  display: block;
  height: 5px;
  width: 36%;
  margin: 0 auto 10px;
  border-radius: 100px;
  background: rgba(26, 31, 46, 0.1);
}

.reviews__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-md) - 2px);
  background: #e8ecf4;
}

.reviews__zoom-hint {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0;
  -webkit-transform: translateY(4px);
      -ms-transform: translateY(4px);
          transform: translateY(4px);
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  -o-transition: opacity 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}

.reviews__open:hover .reviews__zoom-hint,
.reviews__open:focus-visible .reviews__zoom-hint {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

@media (hover: none) {
  .reviews__zoom-hint {
    opacity: 0.85;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
}

.reviews-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 16px;
}

.reviews-lightbox[hidden] {
  display: none;
}

.reviews-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 34, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.reviews-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(94vw, 640px);
  max-height: min(88vh, 900px);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.reviews-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  cursor: pointer;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  -webkit-transition: background 0.2s ease, -webkit-transform 0.15s ease;
  transition: background 0.2s ease, -webkit-transform 0.15s ease;
  -o-transition: background 0.2s ease, transform 0.15s ease;
  transition: background 0.2s ease, transform 0.15s ease;
  transition: background 0.2s ease, transform 0.15s ease, -webkit-transform 0.15s ease;
}

.reviews-lightbox__close:hover {
  background: #fff;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.reviews-lightbox__close:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.reviews-lightbox__img-wrap {
  overflow: auto;
  max-height: min(88vh, 900px);
  border-radius: var(--radius-lg);
  background: #0f1422;
  -webkit-box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
          box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  -webkit-overflow-scrolling: touch;
}

.reviews-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
}

@media (max-width: 559px) {
  .reviews-lightbox__dialog {
    max-width: 100%;
    max-height: 85vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__open,
  .reviews__open:active,
  .reviews__zoom-hint,
  .reviews-lightbox__close:hover {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
}

/* === Подарок: речь и презентация === */
.gift {
  position: relative;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.gift::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -o-radial-gradient(0% 0%, ellipse 70% 55%, rgba(42, 91, 255, 0.1), transparent 55%),
    -o-radial-gradient(100% 100%, ellipse 55% 45%, rgba(42, 91, 255, 0.08), transparent 55%);
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(42, 91, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(42, 91, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.gift .container {
  position: relative;
  z-index: 1;
}

.gift__panel {
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 2px;
  background: -o-linear-gradient(315deg, rgba(42, 91, 255, 0.45), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.22));
  background: linear-gradient(135deg, rgba(42, 91, 255, 0.45), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.22));
  -webkit-box-shadow: 0 26px 70px rgba(26, 31, 46, 0.12);
          box-shadow: 0 26px 70px rgba(26, 31, 46, 0.12);
}

.gift__card {
  display: -ms-grid;
  display: grid;
  gap: 18px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  padding: 26px 22px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: -o-linear-gradient(285deg, #ffffff 0%, #f7f9ff 100%);
  background: linear-gradient(165deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid rgba(26, 31, 46, 0.06);
}

@media (min-width: 860px) {
  .gift__card {
    -ms-grid-columns: auto 26px minmax(0, 1fr) 26px auto;
    grid-template-columns: auto minmax(0, 1fr) auto;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 22px 26px;
    padding: 28px 30px;
  }
}

.gift__icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: var(--color-accent);
  background:
    -o-linear-gradient(295deg, #ffffff 0%, #f1f4ff 100%) padding-box,
    -o-linear-gradient(310deg, var(--color-accent), rgba(42, 91, 255, 0.35)) border-box;
  background:
    linear-gradient(155deg, #ffffff 0%, #f1f4ff 100%) padding-box,
    linear-gradient(140deg, var(--color-accent), rgba(42, 91, 255, 0.35)) border-box;
  border: 2px solid transparent;
  -webkit-box-shadow: 0 14px 40px rgba(42, 91, 255, 0.12);
          box-shadow: 0 14px 40px rgba(42, 91, 255, 0.12);
}

.gift__svg {
  display: block;
  opacity: 0.92;
}

.gift__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.gift__title {
  font-size: var(--h2-size);
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.gift__text {
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 64ch;
}

.gift__btn {
  text-align: center;
}

.gift__micro {
  text-align: center;
}

.gift__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

@media (min-width: 860px) {
  .gift__cta {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
  }
}

.gift__btn {
  white-space: normal;
  line-height: 1.25;
  padding: 14px 24px;
  min-height: unset;
  max-width: 360px;
}

@media (max-width: 859px) {
  .gift__btn {
    max-width: 100%;
  }
}

.gift__micro {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
  opacity: 0.95;
 
}

/* === FAQ (вопрос–ответ) === */
.faq {
  position: relative;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -o-radial-gradient(50% 0%, ellipse 60% 50%, rgba(42, 91, 255, 0.08), transparent 55%),
    -o-radial-gradient(0% 100%, ellipse 45% 40%, rgba(26, 31, 46, 0.04), transparent 45%);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(42, 91, 255, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 100%, rgba(26, 31, 46, 0.04), transparent 45%);
  pointer-events: none;
}

.faq .container {
  position: relative;
  z-index: 1;
}

.faq__head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 34px;
}

.faq__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.faq__title {
  font-size: var(--h2-size);
  margin-bottom: 14px;
  line-height: 1.2;
}

.faq__lead {
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.faq__panel {
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 2px;
  background: -o-linear-gradient(315deg, rgba(42, 91, 255, 0.25), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.14));
  background: linear-gradient(135deg, rgba(42, 91, 255, 0.25), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.14));
  -webkit-box-shadow: 0 22px 60px rgba(26, 31, 46, 0.1);
          box-shadow: 0 22px 60px rgba(26, 31, 46, 0.1);
}

.faq__grid {
  display: -ms-grid;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 31, 46, 0.06);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
  .faq__grid {
    padding: 22px;
    gap: 14px;
  }
}

.faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq__q {
  list-style: none;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 14px 42px;
  grid-template-columns: minmax(0, 1fr) 42px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  padding: 18px 18px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

@media (min-width: 900px) {
  .faq__q {
    padding: 20px 22px;
  }
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--color-text);
}

.faq__q-ico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(42, 91, 255, 0.08);
  border: 1px solid rgba(42, 91, 255, 0.14);
  position: relative;
  color: var(--color-accent);
}

.faq__q-ico::before,
.faq__q-ico::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.95;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.faq__q-ico::after {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}

.faq__item[open] .faq__q-ico::after {
  -webkit-transform: rotate(0deg);
      -ms-transform: rotate(0deg);
          transform: rotate(0deg);
}

.faq__item[open] .faq__q {
  background: -o-linear-gradient(315deg, rgba(42, 91, 255, 0.06), rgba(255, 255, 255, 0));
  background: linear-gradient(135deg, rgba(42, 91, 255, 0.06), rgba(255, 255, 255, 0));
}

.faq__a {
  padding: 0 18px 18px;
}

@media (min-width: 900px) {
  .faq__a {
    padding: 0 22px 22px;
  }
}

.faq__a-text {
  margin: 0;
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.faq__item:focus-within {
  outline: 3px solid rgba(42, 91, 255, 0.35);
  outline-offset: 2px;
}

.faq__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 18px 18px 20px;
}

@media (min-width: 900px) {
  .faq__cta {
    padding: 20px 22px 24px;
  }
}

.faq__micro {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
  opacity: 0.95;
  max-width: 520px;
}

@media (prefers-reduced-motion: reduce) {
  .faq__q-ico::before,
  .faq__q-ico::after {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}

/* === Контакты === */
.contacts {
  position: relative;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.contacts::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -o-radial-gradient(100% 0%, ellipse 70% 55%, rgba(42, 91, 255, 0.1), transparent 55%),
    -o-radial-gradient(0% 100%, ellipse 55% 45%, rgba(42, 91, 255, 0.06), transparent 50%);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(42, 91, 255, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 0% 100%, rgba(42, 91, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.contacts .container {
  position: relative;
  z-index: 1;
}

.contacts__head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 34px;
}

.contacts__tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.contacts__title {
  font-size: var(--h2-size);
  margin-bottom: 14px;
  line-height: 1.2;
}

.contacts__lead {
  font-size: var(--p-size);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.contacts__panel {
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 2px;
  background: -o-linear-gradient(315deg, rgba(42, 91, 255, 0.35), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.18));
  background: linear-gradient(135deg, rgba(42, 91, 255, 0.35), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.18));
  -webkit-box-shadow: 0 26px 70px rgba(26, 31, 46, 0.12);
          box-shadow: 0 26px 70px rgba(26, 31, 46, 0.12);
}

.contacts__grid {
  display: -ms-grid;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: -o-linear-gradient(285deg, #ffffff 0%, #f7f9ff 100%);
  background: linear-gradient(165deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid rgba(26, 31, 46, 0.06);
}

@media (min-width: 900px) {
  .contacts__grid {
    -ms-grid-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 22px;
  }
}

.contact-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  -webkit-box-shadow: var(--shadow-soft);
          box-shadow: var(--shadow-soft);
}

.contact-card__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.contact-card__ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(42, 91, 255, 0.08);
  border: 1px solid rgba(42, 91, 255, 0.14);
  color: #0a6aa8;
}

.contact-card__ico--wa {
  color: #0d7a45;
  background: rgba(13, 122, 69, 0.08);
  border-color: rgba(13, 122, 69, 0.16);
}

.contact-card__ico--mail {
  color: var(--color-accent);
}

.contact-card__title {
  font-size: var(--h3-size);
  line-height: 1.25;
  margin: 0;
}

.contact-card__text {
  margin: 0;
  font-size: var(--p-size);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.contact-card__btn {
  margin-top: 4px;
  width: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.contact-card--mail .contact-card__btn {
  border-color: rgba(42, 91, 255, 0.28);
}

.contacts__foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 18px 18px 22px;
  text-align: center;
}

@media (min-width: 900px) {
  .contacts__foot {
    padding: 20px 22px 26px;
  }
}

.contacts__micro {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
  opacity: 0.95;
  max-width: 620px;
}

/* === Footer === */
.footer {
  position: relative;
  background: rgba(244, 246, 251, 0.75);
  border-top: 1px solid rgba(26, 31, 46, 0.08);
}

.footer__bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

@media (max-width: 600px) {
  .footer__bar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 16px 0;
  }
}

.footer__logo {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  -webkit-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

.footer__logo:hover {
  background: rgba(42, 91, 255, 0.06);
}

.footer__logo-img {
  display: block;
  height: 26px;
  width: auto;
}

.footer__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-text-muted);
  opacity: 0.95;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .footer__text {
    white-space: normal;
  }
}

/* === Popup (универсальная модалка) === */
.popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 16px;
}

.popup[hidden] {
  display: none;
}

.popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 34, 0.72);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.popup__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(92vw, 560px);
  max-height: min(88vh, 860px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  cursor: pointer;
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  -webkit-transition: background 0.2s ease, -webkit-transform 0.15s ease;
  transition: background 0.2s ease, -webkit-transform 0.15s ease;
  -o-transition: background 0.2s ease, transform 0.15s ease;
  transition: background 0.2s ease, transform 0.15s ease;
  transition: background 0.2s ease, transform 0.15s ease, -webkit-transform 0.15s ease;
}

.popup__close:hover {
  background: #fff;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.popup__close:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.popup__card {
  border-radius: calc(var(--radius-lg) + 6px);
  padding: 2px;
  background: -o-linear-gradient(315deg, rgba(42, 91, 255, 0.45), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.22));
  background: linear-gradient(135deg, rgba(42, 91, 255, 0.45), rgba(42, 91, 255, 0.06) 46%, rgba(42, 91, 255, 0.22));
  -webkit-box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
          box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.popup__head {
  padding: 22px 22px 0;
  border-radius: calc(var(--radius-lg) + 4px) calc(var(--radius-lg) + 4px) 0 0;
  background: -o-linear-gradient(285deg, #ffffff 0%, #f7f9ff 100%);
  background: linear-gradient(165deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid rgba(26, 31, 46, 0.06);
  
}

.popup__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(42, 91, 255, 0.1);
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.popup__title {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.popup__lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.popup__form {
  padding: 18px 22px 22px;
  background: -o-linear-gradient(285deg, #ffffff 0%, #f7f9ff 100%);
  background: linear-gradient(165deg, #ffffff 0%, #f7f9ff 100%);
  border: 1px solid rgba(26, 31, 46, 0.06);
  border-top: none;
  border-radius: 0 0 calc(var(--radius-lg) + 4px) calc(var(--radius-lg) + 4px);
}

.popup__field {
  margin-bottom: 16px;
}

.popup__fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  min-width: 0;
}

.popup__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--p-size);
  font-weight: 600;
  color: var(--color-text);
}

.popup__select,
.popup__input {
  width: 100%;
  font-family: var(--font);
  font-size: var(--p-size);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  -webkit-transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.popup__select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image:
    -o-linear-gradient(45deg, transparent 50%, rgba(26, 31, 46, 0.55) 50%),
    -o-linear-gradient(315deg, rgba(26, 31, 46, 0.55) 50%, transparent 50%);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(26, 31, 46, 0.55) 50%),
    linear-gradient(135deg, rgba(26, 31, 46, 0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 46px;
}

.popup__select:hover,
.popup__input:hover {
  border-color: rgba(42, 91, 255, 0.25);
}

.popup__select:focus,
.popup__input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  -webkit-box-shadow: 0 0 0 4px rgba(42, 91, 255, 0.15);
          box-shadow: 0 0 0 4px rgba(42, 91, 255, 0.15);
}

.popup__input.popup__input--invalid {
  border-color: #e0425a;
  -webkit-box-shadow: 0 0 0 4px rgba(224, 66, 90, 0.12);
          box-shadow: 0 0 0 4px rgba(224, 66, 90, 0.12);
}

.popup__hint {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.popup__error {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #c41e3a;
}

.popup__error:empty {
  display: none;
}

.popup__segment {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 4px;
  gap: 4px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.popup__segment-btn {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 46px;
  padding: 0 12px;
  font-family: var(--font);
  font-size: var(--p-size);
  font-weight: 600;
  color: var(--color-text-muted);
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  -webkit-transition: background 0.2s ease, color 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.popup__segment-input:focus + .popup__segment-btn {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.popup__segment-input:checked + .popup__segment-btn {
  background: var(--color-surface);
  color: var(--color-text);
  -webkit-box-shadow: 0 4px 14px rgba(26, 31, 46, 0.08);
          box-shadow: 0 4px 14px rgba(26, 31, 46, 0.08);
}

.popup__submit {
  min-height: 56px;
  font-size: 17px;
  letter-spacing: 0.01em;
  margin-top: 2px;
}

.popup__micro {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-text-muted);
  opacity: 0.95;
}

@media (max-width: 520px) {
  .popup__head,
  .popup__form {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .popup__close,
  .popup__close:hover {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: none;
        -ms-transform: none;
            transform: none;
  }
}

/* === Floating messenger button (FAB) === */
.fab {
  position: fixed;
  right: 25px;
    bottom: 40px;
  z-index: 9500;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
      -ms-flex-direction: column-reverse;
          flex-direction: column-reverse;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 12px;
}

.fab__menu {
  display: none;
}

.fab.fab--open .fab__menu {
display: -ms-grid;
display: grid;
}



@media (max-width: 520px) {
  .fab {
    right: 25px;
    bottom: 40px;
  }
}

.fab__main {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(42, 91, 255, 0.22);
  background: -o-linear-gradient(305deg, rgba(42, 91, 255, 1), rgba(42, 91, 255, 0.82));
  background: linear-gradient(145deg, rgba(42, 91, 255, 1), rgba(42, 91, 255, 0.82));
  color: #fff;
  cursor: pointer;
  -webkit-box-shadow: 0 18px 50px rgba(42, 91, 255, 0.35), 0 10px 28px rgba(26, 31, 46, 0.14);
          box-shadow: 0 18px 50px rgba(42, 91, 255, 0.35), 0 10px 28px rgba(26, 31, 46, 0.14);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease, -webkit-filter 0.2s ease;
  transition: -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease, -webkit-filter 0.2s ease;
  -o-transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease, -webkit-filter 0.2s ease;
}

.fab__main:hover {
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-filter: brightness(1.02);
          filter: brightness(1.02);
  -webkit-box-shadow: 0 22px 60px rgba(42, 91, 255, 0.4), 0 12px 34px rgba(26, 31, 46, 0.16);
          box-shadow: 0 22px 60px rgba(42, 91, 255, 0.4), 0 12px 34px rgba(26, 31, 46, 0.16);
}

.fab__main:active {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.fab__main:focus-visible {
  outline: 3px solid rgba(42, 91, 255, 0.45);
  outline-offset: 3px;
}

.fab__icon {
  width: 24px;
  height: 24px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
}

.fab__icon svg {
  display: block;
}

.fab__icon-chat,
.fab__icon-close {
  position: absolute;
  inset: 0;
  margin: auto;
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
  -o-transition: opacity 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transition: opacity 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}

.fab__icon-chat {
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.fab__icon-close {
  opacity: 0;
  -webkit-transform: scale(0.92);
      -ms-transform: scale(0.92);
          transform: scale(0.92);
}

.fab.fab--open .fab__icon-chat {
  opacity: 0;
  -webkit-transform: scale(0.92);
      -ms-transform: scale(0.92);
          transform: scale(0.92);
}

.fab.fab--open .fab__icon-close {
  opacity: 1;
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}

.fab__menu {
 
  gap: 10px;
}

.fab__item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 31, 46, 0.08);
  -webkit-box-shadow: 0 14px 40px rgba(26, 31, 46, 0.12);
          box-shadow: 0 14px 40px rgba(26, 31, 46, 0.12);
  color: var(--color-text);
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.18s ease, border-color 0.2s ease, -webkit-transform 0.18s ease, -webkit-box-shadow 0.2s ease;
  transition: opacity 0.18s ease, border-color 0.2s ease, -webkit-transform 0.18s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, -webkit-transform 0.18s ease, -webkit-box-shadow 0.2s ease;
}

.fab__item:hover {
  border-color: rgba(42, 91, 255, 0.18);
  -webkit-box-shadow: 0 18px 52px rgba(26, 31, 46, 0.14);
          box-shadow: 0 18px 52px rgba(26, 31, 46, 0.14);
}

.fab__item:focus-visible {
  outline: 3px solid rgba(42, 91, 255, 0.35);
  outline-offset: 2px;
}

.fab__item-ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(42, 91, 255, 0.06);
  border: 1px solid rgba(42, 91, 255, 0.12);
}

.fab__item--wa .fab__item-ico {
  background: rgba(13, 122, 69, 0.06);
  border-color: rgba(13, 122, 69, 0.14);
}

.fab__item-ico img {
  display: block;
}

.fab__item-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.fab.fab--open .fab__item {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.fab.fab--open .fab__item:nth-child(1) {
  -webkit-transition-delay: 0.02s;
       -o-transition-delay: 0.02s;
          transition-delay: 0.02s;
}

.fab.fab--open .fab__item:nth-child(2) {
  -webkit-transition-delay: 0.06s;
       -o-transition-delay: 0.06s;
          transition-delay: 0.06s;
}

@media (prefers-reduced-motion: reduce) {
  .fab__main,
  .fab__item,
  .fab__icon-chat,
  .fab__icon-close {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }
}