body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #2b2d33;
}

.navbar {
  margin: 1rem auto;
}

.navbar-nav .nav-link {
  color: #000;
  transition: 0.3s;
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
}

.navbar-nav .nav-link:hover {
  color: #0a58ca;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-toggle:focus {
  box-shadow: none;
  outline: none;
}

.hero {
  background: linear-gradient(178deg, #6a92ff 37%, #e4e8ff 106%);
  border-radius: 2rem;
  padding: 3rem 1rem;
  margin: 0 0.3rem;
}

.hero h1 {
  color: white;
}

.hero .stat {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero .stat strong {
  display: block;
  font-size: 1.2rem;
}

.hero-result-stat {
  position: relative;
}

.hero-result-stat__hint {
  display: inline-block;
  position: relative;
}

.hero-result-stat__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  vertical-align: -0.23em;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: help;
}

.hero-result-stat__trigger svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.hero-result-stat__trigger:hover {
  color: #fff;
}

.hero-result-stat__trigger:focus-visible {
  color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-result-stat__tooltip {
  position: absolute;
  z-index: 5;
  bottom: calc(100% + 0.55rem);
  left: 50%;
  width: min(17rem, calc(100vw - 2rem));
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 5px 14px rgba(43, 45, 51, 0.16);
  color: #2b2d33;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.2rem);
  transition: opacity 0.16s ease, transform 0.16s ease;
  visibility: hidden;
}

.hero-result-stat__hint:hover .hero-result-stat__tooltip,
.hero-result-stat__trigger:focus-visible + .hero-result-stat__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .hero-result-stat__tooltip {
    transition: none;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-start;
}

.hero-cta__primary,
.hero-cta__secondary {
  min-height: 4.15rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  text-align: left;
  border: 1px solid #212529;
  background-color: #212529;
  color: #fff;
}

.hero-cta__primary .hero-cta__gift {
  width: 38px;
  flex: 0 0 auto;
}

.hero-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-cta__title {
  display: block;
}

.hero-cta__sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.2;
}

.hero-cta__secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  background-color: transparent;
  color: #fff;
}

.hero-cta__primary:hover,
.hero-cta__primary:focus-visible {
  background-color: #2b2d33;
  border-color: #2b2d33;
  color: #fff;
  transform: translateY(-1px);
}

.hero-cta__secondary:hover,
.hero-cta__secondary:focus-visible {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.hero-cta__primary:focus-visible,
.hero-cta__secondary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .hero-cta {
    align-items: stretch;
  }

  .hero-cta__primary,
  .hero-cta__secondary {
    width: 100%;
  }

}

.student-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 720px);
  aspect-ratio: 1 / 0.9;
  margin: 0 auto;
}

.student-case {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 1.5rem;
  color: #fff;
  text-align: left;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-case:hover {
  color: #fff;
  transform: scale(1.025);
  box-shadow: none;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .student-case-grid.student-case-motion-pulse .student-case {
    animation: student-case-click-hint 620ms cubic-bezier(0.16, 1, 0.3, 1) 700ms;
  }

  .student-case-grid.student-case-motion-pulse .student-case:nth-child(2) { animation-delay: 820ms; }
  .student-case-grid.student-case-motion-pulse .student-case:nth-child(3) { animation-delay: 940ms; }
  .student-case-grid.student-case-motion-pulse .student-case:nth-child(4) { animation-delay: 1060ms; }
  .student-case-grid.student-case-motion-pulse .student-case:nth-child(5) { animation-delay: 1180ms; }
  .student-case-grid.student-case-motion-pulse .student-case:nth-child(6) { animation-delay: 1300ms; }
}

@keyframes student-case-click-hint {
  0%, 100% { transform: scale(1); }
  48% { transform: scale(1.012); }
}

.student-case:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.student-case-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.student-case-caption {
  position: absolute;
  right: 0.95rem;
  bottom: 0.85rem;
  left: 0.95rem;
  display: block;
  line-height: 1.05;
}

.student-case-caption strong,
.student-case-caption small {
  display: block;
}

.student-case-caption strong {
  font-size: clamp(0.84rem, 1.27vw, 1.14rem);
  font-weight: 700;
}

.student-case-caption small {
  margin-top: 0.2rem;
  font-size: clamp(0.66rem, 0.86vw, 0.8rem);
}

.student-case--blue { grid-area: 2 / 1 / 4 / 2; background: #1976e8; }
.student-case--green { grid-area: 4 / 1 / 6 / 2; background: #23a95c; }
.student-case--violet { grid-area: 2 / 2 / 4 / 3; background: #7455d9; }
.student-case--orange { grid-area: 4 / 2 / 6 / 3; background: #ef8d3d; }
.student-case--pink { grid-area: 1 / 3 / 3 / 4; background: #e45d77; }
.student-case--sky { grid-area: 3 / 3 / 5 / 4; background: #31a9c6; }

.student-case--blue,
.student-case--green {
  top: -25%;
}

.student-review-modal {
  overflow: hidden;
  border: 0;
  border-radius: 1.75rem;
}

.student-review-copy {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.student-review-copy h2 {
  max-width: 14ch;
  margin: 0;
  color: #111;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.07;
}

.student-review-subject {
  align-self: flex-start;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: #e4e8ff;
  color: #3366ff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.student-review-name-link {
  color: inherit;
  text-decoration: none;
}

.student-review-name-link:hover {
  color: #326eea;
}

.student-review-name-link[aria-disabled="true"],
.student-review-name-link[aria-disabled="true"]:hover {
  color: inherit;
  cursor: default;
}

.student-review-name-link:focus-visible {
  outline: 3px solid #326eea;
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.student-review-name-tail {
  white-space: nowrap;
}

.student-review-name-link img {
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.25em;
}

.student-review-results {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.6rem 0 1rem;
}

.student-review-result {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.16rem;
}

.student-review-result span {
  color: #626a78;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
}

.student-review-result strong {
  color: #3e4654;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  line-height: 1.25;
}

.student-review-result-arrow {
  flex: 0 0 auto;
  color: #9aabc9;
  font-size: 1.35rem;
  line-height: 1;
}

.student-review-result--final strong {
  color: #187a43;
}

.student-review-progress-note {
  margin: 1rem 0 0;
  color: #187a43;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
}

.student-review-copy blockquote {
  position: relative;
  z-index: 0;
  max-width: 35ch;
  margin: auto 0 1rem;
  padding: 0.9rem 0 0.1rem 1.05rem;
  color: #1f2530;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.58;
  isolation: isolate;
}

.student-review-copy blockquote::before {
  position: absolute;
  z-index: -1;
  top: -0.6rem;
  left: -0.55rem;
  color: rgba(51, 102, 255, 0.14);
  content: "“";
  font-family: Georgia, serif;
  font-size: clamp(5.5rem, 10vw, 7.5rem);
  line-height: 1;
  pointer-events: none;
}

.student-review-note {
  max-width: 36ch;
  margin: 0 0 1.45rem;
  color: #626a78;
  font-size: 0.65rem;
  line-height: 1.4;
}

.student-review-note a {
  color: inherit;
  text-decoration-color: #a8b1c1;
  text-underline-offset: 0.16em;
}

.student-review-note a:hover {
  color: #3366ff;
}

.student-review-note a:focus-visible {
  outline: 2px solid #3366ff;
  outline-offset: 2px;
  border-radius: 0.15rem;
}

.student-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.student-review-actions .btn {
  min-height: 3rem;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  font-weight: 700;
}

.student-review-actions .btn-light {
  border-color: #e2e4e8;
}

.student-review-media {
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #e9edf5;
}

.student-review-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-review-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  padding: 0.7rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 1;
}

@media (max-width: 767.98px) {
  .student-case-grid {
    display: flex;
    align-items: flex-start;
    width: calc(100vw - 0.6rem);
    max-width: none;
    margin-right: calc(50% - 50vw + 0.3rem);
    margin-left: calc(50% - 50vw + 0.3rem);
    padding: 0.25rem 18% 0.25rem 1rem;
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    aspect-ratio: auto;
  }

  .student-case-grid::-webkit-scrollbar {
    display: none;
  }

  .student-case {
    --bs-btn-color: #2b2d33;
    --bs-btn-active-color: #2b2d33;
    --bs-btn-active-bg: #fff;
    flex: 0 0 72%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 1.5rem;
    background: #fff;
    scroll-snap-align: start;
    grid-area: auto;
    transition: none;
    touch-action: pan-x;
  }

  .student-case-grid.student-case-motion-pulse .student-case {
    animation: none;
  }

  .student-case::after {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233366FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
    box-shadow: 0 1px 5px rgba(43, 45, 51, 0.08);
  }

  .student-case-photo {
    position: static;
    z-index: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    transform: none;
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .student-case--blue,
  .student-case--green {
    top: 0;
  }

  .student-case-caption {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    margin-top: -1.25rem;
    padding: 1.1rem 1rem 1rem;
    border-radius: 1.5rem;
    background: #f1f6ff;
    color: #2b2d33;
  }

  .student-case-caption strong {
    font-size: 0.92rem;
  }

  .student-case-caption small {
    font-size: 0.72rem;
    color: #4e5668;
  }

  .student-review-copy {
    min-height: 0;
  }

  .student-review-copy h2 {
    max-width: none;
  }

  .student-review-copy blockquote {
    margin: 1rem 0 0.85rem;
  }

  .student-review-media {
    min-height: 250px;
    max-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-case {
    transition: none;
  }
}

.phone-top a {
  color: #000;
  text-decoration: none;
  font-size: 1.15rem;
}

.phone-top {
  line-height: 0.8rem;
}

@keyframes swing {
  0% {
      transform: rotate(-5deg);
  }

  50% {
      transform: rotate(5deg);
  }

  100% {
      transform: rotate(-5deg);
  }
}

@keyframes shake {
  0%,
  100% {
      transform: translateX(0);
  }

  20% {
      transform: translateX(-1px);
  }

  40% {
      transform: translateX(1px);
  }

  60% {
      transform: translateX(-1px);
  }

  80% {
      transform: translateX(1px);
  }
}

.emoji-attention {
  display: inline-block;
  animation: swing 2s ease-in-out infinite;
  animation-delay: 0s;
  width: 25px;
}

@media (prefers-reduced-motion: reduce) {
  .emoji-attention {
    animation: none;
  }
}

.promo-banner {
  background-color: #eaffc7;
  border-radius: 2rem;
  margin: 0.3rem 0.3rem;
}

.emoji {
  display: inline-block;
  pointer-events: none;
  user-select: none;
}

.emoji-lg {
  height: 48px;
}

.emoji-md {
  height: 36px;
}

.emoji-sm {
  height: 28px;
}

.rotate-left {
  transform: rotate(-10deg);
}

.rotate-right {
  transform: rotate(12deg);
}

.arrow-wiggle {
  animation: wiggleX 1s ease-in-out infinite;
}

@keyframes wiggleX {
  0% {
      transform: translateX(0);
  }

  50% {
      transform: translateX(3px);
  }

  100% {
      transform: translateX(0);
  }
}

.text-container {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: normal;
  flex-wrap: wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.mt-big {
  margin-top: 6rem;
}

.animated-text-wrapper {
  min-height: 5rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.12;
}

@media (min-width: 768px) {
  .animated-text-wrapper {
    min-height: 4rem;
    display: flex;
    justify-content: center;
  }
}

#animated-text {
  display: inline-block;
}

.score-rew {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

.score-div {
  line-height: 1.15rem;
  text-align: left;
  margin-left: 0;
}

.score-a {
  display: block;
  text-decoration: none;
  color: #2b2d33;
}

.score-adiv {
  --score-offset: 0px;
  min-height: 5.35rem;
  padding: 0.9rem 1.1rem;
  background-color: #f8f9fa;
  gap: 0.7rem;
  transform: translateY(var(--score-offset));
  transition: transform 0.22s ease-in-out, background-color 0.22s ease-in-out;
}

.score-adiv:hover {
  background-color: #f1f6ff;
  transform: translateY(var(--score-offset)) scale(1.015);
}

.score-a:focus-visible .score-adiv {
  outline: 3px solid rgba(51, 102, 255, 0.35);
  outline-offset: 3px;
}

.score-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  object-fit: contain;
}

.score-logo--yandex {
  width: 5.55rem;
}

.score-logo--2gis {
  width: 4.25rem;
}

.score-logo--flamp {
  width: 4.6rem;
}

@media (min-width: 768px) {
  .score-adiv--yandex {
    --score-offset: 0.45rem;
  }

  .score-adiv--flamp {
    --score-offset: 0.25rem;
  }
}

@media (min-width: 768px) and (max-width: 1399.98px) {
  .score-div {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .score-adiv {
    justify-content: flex-start !important;
    padding-inline: 1.35rem;
  }

  .score-div {
    margin-left: auto;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .score-adiv {
    animation: none;
    transition: none;
  }
}

/* Social proof mosaic */
.animated-text-wrapper {
  overflow: hidden;
}

#animated-text {
  display: block;
  position: relative;
  width: min(100%, 42rem);
  min-height: 2.25em;
}

.goal-phrase {
  display: block;
  width: 100%;
  color: #2b2d33;
}

.goal-phrase__accent {
  color: #2b2d33;
  position: relative;
  margin-inline: 0.02em;
  padding-bottom: 0.1em;
}

.goal-phrase__accent--group {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

.goal-phrase--leaving {
  animation: review-goal-out 240ms cubic-bezier(0.7, 0, 0.84, 0) both;
}

.goal-word {
  display: inline-block;
}

.goal-word--appearing {
  animation: review-goal-word-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.goal-phrase--typing::after {
  content: "";
  display: inline-block;
  width: 0.09em;
  height: 0.82em;
  margin-left: 0.06em;
  background: #3366ff;
  vertical-align: -0.04em;
  animation: review-goal-caret 800ms steps(1, end) infinite;
}

@keyframes review-goal-word-in {
  from {
    opacity: 0.3;
    transform: translateY(0.16em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes review-goal-out {
  to {
    opacity: 0;
    transform: translateY(-0.3em);
  }
}

.goal-phrase--complete .goal-phrase__accent::after {
  content: "";
  position: absolute;
  right: -0.1em;
  bottom: -0.18em;
  left: -0.08em;
  height: 0.48em;
  background: url("../img/goal-script-underline.svg") center / 100% 100% no-repeat;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  animation: review-goal-accent-sweep 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes review-goal-accent-sweep {
  to { transform: scaleX(1); opacity: 1; }
}

.heading-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 0.1em;
}

.heading-accent::after {
  content: "";
  position: absolute;
  right: -0.1em;
  bottom: -0.18em;
  left: -0.08em;
  height: 0.48em;
  background: url("../img/goal-script-underline.svg") center / 100% 100% no-repeat;
  pointer-events: none;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.heading-accent-trigger.is-underlined .heading-accent::after {
  animation: review-goal-accent-sweep 860ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes review-goal-caret {
  50% { opacity: 0; }
}

.reviews-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(13rem, 0.78fr);
  gap: 0.85rem;
  align-items: stretch;
}

.review-proof {
  position: relative;
  display: flex;
  min-height: 19.55rem;
  overflow: hidden;
  border-radius: 1.5rem;
  color: #2b2d33;
  text-decoration: none;
  isolation: isolate;
  font-family: Inter, sans-serif;
  transition: transform 0.22s ease-in-out;
}

.review-proof:hover {
  color: currentColor;
  transform: scale(1.012);
}

.review-proof:focus-visible {
  outline: 3px solid rgba(51, 102, 255, 0.45);
  outline-offset: 3px;
}

.review-proof__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
}

.review-proof--yandex {
  background: url("https://koddit.ru/img/leto2026/ya.jpg") center / cover no-repeat, #3366ff;
  color: #2b2d33;
}

.review-proof--yandex .review-proof__content {
  width: calc(100% - 2rem);
  height: 10rem;
  margin: auto 1rem 1rem;
  padding: 1.4rem;
  border-radius: 1rem;
  background-color: #fff;
  justify-content: flex-start;
  gap: 1rem;
}

.review-proof__yandex-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-proof__rating {
  font-size: clamp(3.2rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.review-proof__place {
  display: flex;
  max-width: 8.4rem;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.05;
  text-align: left;
}

.review-proof__place img {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: contain;
}

.review-proof__note {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
}

.review-proof--award {
  background: url("../../2027/img/narod-premium-team.png") center 35% / cover no-repeat, #6a92ff;
  color: #2b2d33;
}

.review-proof--award .review-proof__content {
  width: calc(100% - 2rem);
  height: 10rem;
  margin: auto 1rem 1rem;
  padding: 1.4rem;
  align-self: auto;
  justify-content: flex-start;
  gap: 1rem;
  border-radius: 1rem;
  background-color: #fff;
}

.review-proof--award h3 {
  max-width: 12rem;
  margin: 0;
  font-size: clamp(1.8rem, 2.35vw, 2.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.review-proof--award p {
  max-width: 13rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
}

.reviews-proof-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.review-proof--service {
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.4rem 1.1rem;
}

.review-proof--2gis { background-color: #eaf6ef; }
.review-proof--flamp { background-color: #f1f6ff; }

.review-proof__service-logo {
  position: absolute;
  z-index: 0;
  width: 7rem;
  height: 7rem;
  opacity: 1;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(-8deg);
  transform-origin: center;
  transition: transform 0.22s ease-in-out;
}

.review-proof__service-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
}

.review-proof--service:hover .review-proof__service-logo {
  transform: rotate(-8deg) scale(1.05);
}

.review-proof--2gis .review-proof__service-logo {
  right: -0.9rem;
  bottom: -0.85rem;
}

.review-proof--flamp .review-proof__service-logo {
  right: -0.9rem;
  bottom: -0.85rem;
}

.review-proof__service-title,
.review-proof__service-score {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
}

.review-proof__service-score {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  margin-top: auto;
}

.review-proof__service-count {
  font-size: clamp(1.8rem, 2.35vw, 2.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.review-proof__service-score b { font-size: 0.95rem; font-weight: 700; }

.review-proof__service-score img {
  width: 0.95rem;
  height: 0.95rem;
  object-fit: contain;
  transform: translateY(-0.08rem);
}

@media (max-width: 767.98px) {
  .animated-text-wrapper { min-height: 6.4rem; }
  #animated-text {
    min-height: 2.55em;
    height: 2.55em;
  }
  .goal-phrase__accent--group { white-space: nowrap; }
  .reviews-proof-grid { grid-template-columns: 1fr; }
  .reviews-proof-stack {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .review-proof { min-height: 16.1rem; }
  .review-proof--service { min-height: 11.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .goal-phrase--leaving,
  .goal-word--appearing,
  .goal-phrase--complete .goal-phrase__accent::after,
  .review-proof {
    animation: none;
    transition: none;
  }

  .goal-phrase--typing::after {
    display: none;
  }

  .goal-phrase--complete .goal-phrase__accent::after {
    transform: scaleX(1);
    opacity: 1;
  }

  .heading-accent::after {
    transform: scaleX(1);
    opacity: 1;
    animation: none;
  }
}

.gradient-bg {
  background: radial-gradient(
    circle at 50% 30%,      /* Центр градиента: по центру по горизонтали, немного выше центра по вертикали */
    rgba(255, 215, 0, 0.25), /* Золотой цвет (Gold) с прозрачностью */
    white 50%               /* Переход в белый цвет к краю */
  );
}

.tab-switcher {
  display: flex;
  flex-wrap: wrap;
  background-color: #f8f9fa;
  border-radius: 2rem;
  padding: 6px;
  position: relative;
  overflow: hidden;
}

.tab-button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  border-radius: 2rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: background-color 0.2s, color 0.2s;
  color: #212529;
  text-align: center;
  white-space: nowrap;
}

.tab-button:hover {
  background-color: #eaeaea;
  color: #212529;
}

.tab-button.active {
  color: white;
}


@media (min-width: 992px) {
  .tab-button.active:hover {
    background-color: transparent !important;
  }
}

.tab-indicator {
  position: absolute;
  top: 6px;
  bottom: 6px;
  border-radius: 2rem;
  background: #212529;
  z-index: 0;
  transition: all 0.3s ease;
}

.tab-content-block {
  display: none;
}

.tab-content-block.active {
  display: block;
}

/* --- MOBILE STYLES --- */
@media (max-width: 991.98px) {
  .tab-switcher {
    flex-direction: column;
  }

  .tab-indicator {
    display: none;
  }

  .tab-button.active {
    background-color: #212529;
    color: white;
  }

  .tab-button {
    flex: none;
    width: 100%;
  }

  .tab-button + .tab-button {
    margin-top: 6px;
  }
}

.carousel-cell {
  width: 80vw;
  margin-right: 0.5rem;
  
}

@media (min-width: 768px) {
  .carousel-cell {
    width: 25vw;
  }
}

.who-cat {
  background: #fff;
  color: #2b2d33;
  cursor: default;
  user-select: none;
  padding: 0.4rem 1rem;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.teacher-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 58rem;
  margin: 1.5rem auto 0;
  padding: 0;
  list-style: none;
}

.teacher-roles li {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #f1f6ff;
  color: #2b2d33;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.teacher-section__lead {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  line-height: 1.35;
}

@media (max-width: 767.98px) {
  .teacher-roles {
    gap: 0.4rem;
    margin-top: 1.25rem;
  }

  .teacher-roles li {
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
  }

  .teacher-section__lead {
    margin-top: 1.25rem;
  }
}

.a-rew {
  text-decoration: none;
  color: #2b2d33;"
}

.a-rew:hover {
  text-decoration: underline;
}

.teacher-carousel .carousel-cell {
  width: 340px;
  margin-right: 20px;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.teacher-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.teacher-emoji {
  font-size: 32px;
  line-height: 1;
  margin-top: 3px;
}

.btn-white {
  background-color: #fff !important;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  background: white;
  padding: 10px 0;
}

.marquee-track {
  display: flex;
  animation: scroll-left 20s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f6f8fa;
  border-radius: 2rem;
  padding: 8px 16px;
  margin: 0 5px;
  white-space: nowrap;
  font-weight: 500;
  font-size: 1rem;
}

.marquee-item img {
  width: 32px;
  height: auto;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.result-carousel .carousel-cell {
  width: 320px;
  margin-right: 20px;
  background: #f1f6ff;
  border-radius: 2rem;
  border: 1px solid #f1f6ff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-header {
  font-weight: 700;
  font-size: 0.9rem;
}

.result-score {
  font-size: 1rem;
  margin-bottom: 20px;
}

.result-score span {
  font-weight: bold;
}

.result-score .arrow {
  margin: 0 6px;
  font-weight: bold;
  color: green;
}

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


.result-user-name {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5rem;
  padding-left: 0.8rem;
}

.result-carousel-controls {
  text-align: center;
  margin-top: 20px;
}

.result-carousel-controls .btn-group {
  display: inline-flex;
  background: #f8f9fa;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  gap: 12px;
}

.result-carousel-controls .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.score-comparison {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.score-block {
  text-align: center;
  flex: 1;
}

.score-block .score {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.score-block .label {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.1;
}

.score-arrow {
  font-size: 1.5rem;
  color: green;
  font-weight: bold;
  margin: 0 8px;
}

 .score-comparison {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.score-block {
  text-align: center;
  flex: 1;
}

.score-block .score {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.score-block .label {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.1;
}

.score-arrow {
  text-align: center;
  font-weight: bold;
  color: green;
}

.score-delta {
  font-size: 0.7rem;
  color: #666;
  margin-top: 4px;
}

.result-user a {
  text-decoration: none;
  color: #2b2d33;
}

.result-user a:hover {
  text-decoration: underline;
}

.card-custom {
  /*background-image: url('');*/
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: white;
  height: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.course-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.course-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2rem;
  background-color: #fff;
  transition: transform 0.25s ease;
}

.course-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
}

.course-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: -1.5rem;
  padding: 1.5rem 1.25rem 1.25rem;
  border-radius: 2rem 2rem 0 0;
  background-color: #f1f6ff;
}

.course-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.92);
  color: #2b2d33;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.course-card__title {
  margin: 0;
  color: #2b2d33;
  font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.course-card__description {
  margin: 0.65rem 0 1.25rem;
  color: #4e5668;
  font-size: 1rem;
  line-height: 1.4;
}

.course-card__action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: auto;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background-color: #e4e8ff;
  color: #3366ff;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.course-card-link:focus-visible {
  outline: none;
}

.course-card-link:focus-visible .course-card {
  outline: 3px solid #3366ff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .course-card-link:hover .course-card {
    transform: translateY(-4px);
  }

  .course-card__action:hover {
    background-color: #3366ff;
    color: #fff;
  }
}

.card-text-block {
  color: black;
}

/* Карточки преимуществ в блоке стоимости: Bootstrap отвечает за сетку,
   этот класс — только за локальную форму и ритм содержимого. */
.benefit-card {
  display: flex;
  align-items: flex-start;
  min-height: 12.5rem;
  border-radius: 2rem !important;
}

.benefit-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.benefit-card p {
  max-width: 32ch;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .card-custom {
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .card-text-block {
    text-align: center;
  }

  .benefit-card {
    min-height: 0;
  }

  .benefit-card p {
    max-width: none;
  }
}

/* Финальный призыв: ясный следующий шаг после знакомства с программами. */
.final-cta-section {
  margin-top: 6rem;
  margin-bottom: 4rem;
}

.final-cta {
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background-color: transparent;
}

.final-cta__content {
  z-index: 1;
  max-width: 47rem;
}

.final-cta__title {
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #2b2d33;
}

.final-cta__text {
  max-width: 36rem;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.5;
  color: #4d5270;
}

.final-cta__button {
  margin-top: 1.75rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.final-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(51, 102, 255, 0.2);
}

.final-cta__button:focus-visible {
  outline: 3px solid rgba(51, 102, 255, 0.32);
  outline-offset: 4px;
}

.final-cta__image {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.final-cta__rocket {
  width: clamp(5.25rem, 10vw, 8.5rem);
  top: 12%;
  left: 9%;
  animation: final-cta-float 5s ease-in-out infinite;
}

.final-cta__star {
  width: clamp(3.5rem, 6vw, 5.25rem);
  bottom: 15%;
  left: 21%;
}

.final-cta__pointer {
  width: clamp(2.75rem, 5vw, 4.25rem);
  top: 22%;
  right: 13%;
}

@keyframes final-cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .final-cta-section {
    margin-top: 4rem;
    margin-bottom: 3rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .final-cta {
    min-height: 24rem;
    padding: 3.75rem 1.25rem 3rem;
  }

  .final-cta__title {
    line-height: 1.12;
  }

  .final-cta__text {
    max-width: 28ch;
  }

  .final-cta__rocket {
    top: 7%;
    left: 4%;
  }

  .final-cta__star {
    bottom: 8%;
    left: 9%;
  }

  .final-cta__pointer {
    top: 12%;
    right: 6%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .final-cta__rocket,
  .final-cta__button {
    animation: none;
    transition: none;
  }
}

/* Mobile heading scale: keep the hero and final CTA as intentional display moments. */
@media (max-width: 767.98px) {
  h1 {
    font-size: 2.125rem;
  }

  .section-heading {
    font-size: 2.125rem;
  }

  .hero h1 {
    font-size: calc(2.5rem + 1vw);
  }

  .reviews-goal h1 {
    font-size: calc(2.5rem + 1vw);
  }

  .reviews-goal .section-heading {
    font-size: calc(2.5rem + 1vw);
  }

  h2 {
    font-size: 1.75rem;
  }
}

.bg-gold {
    background: radial-gradient(circle at 90% 80%, rgb(37 149 241), rgb(0 0 0))
  }

.corner-img {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 60%;
  pointer-events: none;
  z-index: 1;
  animation: floatSway 6s ease-in-out infinite;
  will-change: transform;
}

.price {
  color: #fff;
  font-weight: 700;
  font-size: 6vh;
  margin-bottom: 0;
  line-height: 1.2;
}

.discount-img {
  right: 20px;
  bottom: 20px;
  width: 20%;
}

.discount-img2 {
  right: 17px;
  bottom: 0px;
  width: 20%;
}

.card-custom:hover {
  transform: scale(1.03);
}

@keyframes floatSway {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(3deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.name-res {
  font-size: 0.9rem;
}

.badge-custom {
  align-self: start;
}

.bc-wh {
  background-color: #fff;
}

.bc-bl {
  background-color: #f1f6ff;
}

.map-container {
    position: relative;
    overflow: hidden;
    background: #eee;
  }

  /* Карта растягивается на весь контейнер */
  #map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
  }

  /* Контентный блок */
  .map-block {
    background: white;
    padding: 3rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    z-index: 10;
    color: #fff;
    background-color: #2b2d33;
  }

  /* На мобильных блок сверху, карта под ним */
  @media (max-width: 1199.98px) {
    .map-container {
      height: auto;
    }
    #map {
      height: 60vh;
      border-radius: 0 0 3rem 3rem;
    }
    .map-block {
      position: static;
      width: 100%;
      margin-bottom: 1rem;
    }
  }

  /* На десктопе блок поверх карты, слева сверху, занимает ~30% */
  @media (min-width: 1200px) {
    .map-container {
      height: 52rem;
    }
    #map {
      height: 100%;
      border-radius: inherit;
    }
    .map-block {
      position: absolute;
      top: 5rem;
      left: 8rem;
      width: 40%;
      max-width: 600px; /* ограничение ширины для больших экранов */
      margin: 0;
    }
}

.spanmap {
  background: #f35c22;
  border-radius: 24px;
  padding: 0px 10px;
}

.spanfree {
  background: #f35c22;
  border-radius: 24px;
  padding: 0px 10px;
  color: #fff;
}

.telcustomtop {
  border: 1px solid #9abcff;
}

.telcustomtop:focus {
  background-color: #fff;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.telcustomtop::placeholder {
  color: #9abcff;
  opacity: 1;
}

.telcustom {
  max-width: 260px;
  border: 1px solid #9abcff;
}

.telcustom::placeholder {
  color: #9abcff;
  opacity: 1;
}

.telcustom2 {
  border: 1px solid #9abcff;
}

.telcustom2::placeholder {
  color: #9abcff;
  opacity: 1;
}

.spanoffice {
  background: #3366FF;
  border-radius: 24px;
  padding: 2px 10px;
}

.review-rating-link:hover .review-rating-box {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.review-rating-box {
  background-color: #fff;
  transition: transform 0.3s ease;
  position: relative;
  width: 100%;
}

/* Стрелочка в правом верхнем углу */
.external-arrow {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 1.5rem;
  color: #2b2d33;
  pointer-events: none;
}

.review-rating-link {
  width: 100%;
  z-index: 1;
}

.star-bg {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.star-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px; /* подгони под нужный размер */
  height: 600px;
  background-image: url('/2026/img/star5.webp'); /* путь к твоей картинке */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right bottom;
  animation: floatStars 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatStars {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}

.form-step {
    transition: opacity 0.3s ease;
  }
  .form-step.d-none {
    display: none !important;
    opacity: 0;
  }
.form-step.active {
    display: block !important;
    opacity: 1;
  }

/* Только кнопка «Макс» в третьем шаге модальной формы заявки. */
.btn-max {
  color: #fff;
  background-color: #945add;
  border-color: #945add;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-max:hover,
.btn-max:focus-visible {
  color: #fff;
  background-color: #7d45c3;
  border-color: #7d45c3;
}

.modal-header {
  border-bottom: none;
}

.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Главная кнопка */
.chat-main-btn {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: #3366FF;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease;
}

.chat-main-btn::after {
  position: absolute;
  inset: -2px;
  content: '';
  pointer-events: none;
  border: 2px solid rgba(51, 102, 255, 0.5);
  border-radius: inherit;
  opacity: 0;
}

.chat-main-btn img {
  width: 30px;
  height: 30px;
}

.chat-online-status {
  position: absolute;
  right: 72px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  color: #2b2d33;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(43, 45, 51, 0.16);
}

.chat-online-status::after {
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  content: '';
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}

.chat-online-status__dot {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #24ae60;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(36, 174, 96, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  .chat-online-status__dot {
    animation: chat-online-status-pulse 2.2s ease-in-out infinite;
  }

  .chat-status-motion-paused .chat-online-status__dot {
    animation-play-state: paused;
  }
}

@keyframes chat-online-status-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(36, 174, 96, 0.14);
  }

  50% {
    transform: scale(1.16);
    box-shadow: 0 0 0 7px rgba(36, 174, 96, 0.05);
  }
}

@media (max-width: 575.98px) {
  .chat-online-status {
    right: 66px;
    padding: 0.5rem 0.7rem;
    font-size: 0.78rem;
  }
}

/* Панель с иконками */
.chat-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-options.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-optionfoot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.chat-optionfoot:hover {
  transform: scale(1.1);
}

.footsoc {
  transition: transform 0.2s ease;
}

.footsoc:hover {
  transform: scale(1.1);
}

.chat-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.chat-option img {
  width: 24px;
  height: 24px;
}

.chat-option:hover {
  transform: scale(1.1);
}

.chat-main-btn:hover {
  transform: scale(1.1);
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-10deg); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-7deg); }
  60% { transform: rotate(7deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.wiggle {
  animation: wiggle 1s ease-in-out;
}

@media (prefers-reduced-motion: no-preference) {
  .chat-main-btn.wiggle::after {
    animation: chat-main-btn-pulse 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes chat-main-btn-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0;
  }

  18% {
    opacity: 0.55;
  }

  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

@media (max-width: 991.98px) {
  .mob-img {
    margin-top: 2rem;
    max-width: 150px; /* например, меньшее значение для мобилки */
    height: auto; /* сохраняем пропорции */
  }
}

.form-main-error {
  display: none;
}

.form-main-success {
  display: none;
}

.alert-none {
  display: none;
}
