@charset "UTF-8";
.visa-calculator {
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: #333;
  /* Компактный, светлый индикатор шагов 1–2–3–4 */
}
.visa-calculator .vc-header {
  margin-bottom: 40px;
}
.visa-calculator .vc-header h2 {
  color: #222222;
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 10px;
  padding-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  border-bottom: none;
  background-image: linear-gradient(90deg, transparent 0%, rgba(255, 128, 0, 0.35) 12%, #808080 50%, rgba(255, 128, 0, 0.35) 88%, transparent 100%);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 1px;
}
.visa-calculator .vc-header p {
  font-size: 20px;
  margin: 0;
  color: #000;
}
@media (max-width: 768px) {
  .visa-calculator .vc-header h2 {
    font-size: 25px;
  }
  .visa-calculator .vc-header p {
    font-size: 15px;
  }
}
.visa-calculator .vc-steps-indicator {
  --accent: #ff922f;
  --accent-light: #ffd5ad;
  --inactive: #f1f3f5;
  --text-muted: #b7bec6;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto 38px;
  padding: 5px 8px;
}
.visa-calculator .vc-steps-indicator .vc-step-dot {
  position: relative;
  z-index: 2;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border: 1px solid #edf0f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: Wadik, sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 3px 9px rgba(38, 45, 54, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: vc-step-appear 0.5s both;
}
.visa-calculator .vc-steps-indicator .vc-step-dot:nth-of-type(1) {
  animation-delay: 0.05s;
}
.visa-calculator .vc-steps-indicator .vc-step-dot:nth-of-type(3) {
  animation-delay: 0.12s;
}
.visa-calculator .vc-steps-indicator .vc-step-dot:nth-of-type(5) {
  animation-delay: 0.19s;
}
.visa-calculator .vc-steps-indicator .vc-step-dot:nth-of-type(7) {
  animation-delay: 0.26s;
}
.visa-calculator .vc-steps-indicator .vc-step-dot.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ffc78e 0%, #ff9d42 45%, #ff8420 100%);
  box-shadow: 0 4px 10px rgba(255, 139, 45, 0.2), 0 0 0 3px rgba(255, 151, 63, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.42), inset 0 -3px 4px rgba(174, 83, 15, 0.12);
  transform: translateY(-2px) scale(1.05);
}
.visa-calculator .vc-steps-indicator .vc-step-dot.active::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(255, 151, 63, 0.28);
  border-radius: inherit;
  opacity: 0;
  animation: vc-step-pulse 2.4s ease-out infinite;
}
.visa-calculator .vc-steps-indicator .vc-step-line {
  position: relative;
  z-index: 1;
  width: min(70px, 12vw);
  height: 3px;
  margin: 0 -1px;
  overflow: hidden;
  border-radius: 20px;
  background: #f0f2f4;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.03);
}
.visa-calculator .vc-steps-indicator .vc-step-line::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd2a5 0%, #ffad5c 50%, #ff922f 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.visa-calculator .vc-steps-indicator .vc-step-line::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 25%;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
}
.visa-calculator .vc-steps-indicator .vc-step-line:has(+ .vc-step-dot.active)::before {
  transform: scaleX(1);
}
.visa-calculator .vc-steps-indicator .vc-step-line:has(+ .vc-step-dot.active)::after {
  opacity: 1;
  animation: vc-line-shine 1s ease-in-out 0.2s;
}
@media (max-width: 600px) {
  .visa-calculator .vc-steps-indicator {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .visa-calculator .vc-steps-indicator .vc-step-dot {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
  }
  .visa-calculator .vc-steps-indicator .vc-step-line {
    width: min(46px, 11vw);
    height: 3px;
  }
  .visa-calculator .vc-steps-indicator .vc-step-dot.active {
    transform: translateY(-1px) scale(1.03);
  }
}
.visa-calculator .vc-step-title {
  font-size: 17px;
  margin-bottom: 30px;
  color: #000;
}
.visa-calculator .vc-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
}
.visa-calculator .vc-options-grid .vc-option {
  cursor: pointer;
  display: block;
  flex: 1;
  outline: none;
}
.visa-calculator .vc-options-grid .vc-option input[type="radio"] {
  display: none;
}
.visa-calculator .vc-options-grid .vc-option .vc-option-text {
  gap: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 1px solid #e8e8e8;
  border-radius: 30px;
  font-size: 18px;
  min-width: 180px;
  color: #333;
  background: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateY(0) scale(1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.visa-calculator .vc-options-grid .vc-option .vc-option-text::before, .visa-calculator .vc-options-grid .vc-option .vc-option-text::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -135%;
  width: 115%;
  height: 145%;
  background: #ff8000;
  border-radius: 43% 57% 50% 50% / 55% 48% 52% 45%;
  transform: translateX(-50%) rotate(0deg);
  transition: bottom 1.15s cubic-bezier(0.33, 1, 0.68, 1), width 1.15s cubic-bezier(0.33, 1, 0.68, 1), height 1.15s cubic-bezier(0.33, 1, 0.68, 1), border-radius 1.15s cubic-bezier(0.33, 1, 0.68, 1);
}
.visa-calculator .vc-options-grid .vc-option .vc-option-text::before {
  background: linear-gradient(180deg, #ffad5c 0%, #ff8000 35%, #e96f00 100%);
}
.visa-calculator .vc-options-grid .vc-option .vc-option-text::after {
  bottom: -125%;
  width: 105%;
  height: 135%;
  opacity: 0.55;
  background: #ffc080;
  border-radius: 52% 48% 42% 58% / 45% 55% 45% 55%;
  transition: bottom 1.35s cubic-bezier(0.33, 1, 0.68, 1), width 1.35s cubic-bezier(0.33, 1, 0.68, 1), height 1.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.7s ease-in-out, border-radius 1.35s cubic-bezier(0.33, 1, 0.68, 1);
}
.visa-calculator .vc-options-grid .vc-option input[type="radio"]:checked + .vc-option-text {
  color: #fff;
  border-color: #ff8000;
  box-shadow: 0 5px 12px rgba(255, 128, 0, 0.23), 0 -10px 25px rgba(249, 171, 84, 0.55) inset;
}
.visa-calculator .vc-options-grid .vc-option input[type="radio"]:checked + .vc-option-text::before {
  bottom: -72%;
}
.visa-calculator .vc-options-grid .vc-option input[type="radio"]:checked + .vc-option-text::after {
  bottom: -81%;
  opacity: 0.45;
}
.visa-calculator .vc-options-grid .vc-option:hover .vc-option-text {
  color: #fff;
  border-color: #ff8000;
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 10px 20px rgba(255, 128, 0, 0.28), 0 -10px 25px rgba(249, 171, 84, 0.55) inset;
}
.visa-calculator .vc-options-grid .vc-option:hover .vc-option-text::before {
  bottom: -25%;
  width: 160%;
  height: 190%;
  animation: liquid-wave-main 3.6s ease-in-out infinite;
}
.visa-calculator .vc-options-grid .vc-option:hover .vc-option-text::after {
  bottom: -35%;
  width: 150%;
  height: 175%;
  opacity: 0.45;
  animation: liquid-wave-light 4.2s ease-in-out infinite reverse;
}
.visa-calculator .vc-options-grid .vc-option:active .vc-option-text {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 3px 7px rgba(255, 128, 0, 0.2), 0 -5px 15px rgba(249, 171, 84, 0.55) inset;
}
.visa-calculator .vc-progress-wrapper {
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid #ff8c00;
  border-radius: 20px;
  padding: 3px;
  height: 30px;
  position: relative;
}
.visa-calculator .vc-progress-wrapper .vc-progress-bar {
  background-color: #ff8c00;
  height: 100%;
  width: 0%;
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding-left: 15px;
  color: #fff;
  font-size: 12px;
  transition: width 0.1s linear;
  white-space: nowrap;
  margin-top: -0.2px;
  box-shadow: 0 -10px 25px 0 #f9ab54 inset;
}
.visa-calculator .vc-result-text {
  font-family: Comic Sans MS;
  font-size: 25px;
  margin-bottom: 25px;
  color: #000;
}
.visa-calculator .vc-result-text strong {
  display: inline-block;
  position: relative;
  padding: 4px 13px 10px;
  margin: 0 3px;
  font-family: Wadik, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.5px;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffe2bc 0%, #ffc27d 12%, #ffad4d 25%, #ff8000 50%, #e86400 72%, #b94600 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 #fff4e7, 0 2px 0 #ffb15c, 0 3px 0 #ec820f, 0 4px 0 #cc6200, 0 5px 0 #ac4a00, 0 6px 0 #8f3c00, 0 10px 14px rgba(112, 48, 0, 0.32);
  transform: perspective(280px) rotateX(7deg);
  transform-origin: center bottom;
  filter: drop-shadow(0 5px 5px rgba(155, 67, 0, 0.18));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.visa-calculator .vc-result-text strong:hover {
  transform: perspective(280px) rotateX(4deg) translateY(-2px) scale(1.04);
  filter: drop-shadow(0 8px 7px rgba(155, 67, 0, 0.27));
}
@media (max-width: 768px) {
  .visa-calculator .vc-result-text {
    font-size: 20px;
  }
  .visa-calculator .vc-result-text strong {
    font-size: 28px;
    padding-bottom: 8px;
  }
}
.visa-calculator .vc-result-block {
  margin-top: 40px;
}
.visa-calculator .vc-result-block .tpl-anketa__right form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field.type-phone {
  flex: 1;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field input {
  padding: 22px;
  font-size: 16px;
  border-radius: 50px;
  border: none;
  width: 100%;
  box-shadow: 0 0 0 2px #0000001a inset;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  font-family: Wadik, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 15px 23px;
  min-height: 46px;
  background: linear-gradient(135deg, #ffbb72 0%, #ff941f 28%, #ff8000 55%, #e66000 100%);
  border: none;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.42), inset 0 -5px 0 rgba(158, 58, 0, 0.24), 0 4px 0 #bd4b00, 0 8px 18px rgba(191, 75, 0, 0.23);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: transform, box-shadow, filter;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), filter 0.32s ease;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120%;
  left: -52%;
  width: 34%;
  height: 330%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.65) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 100%);
  transform: rotate(23deg);
  transition: left 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: 12%;
  right: 12%;
  bottom: -18px;
  height: 20px;
  background: rgba(255, 128, 0, 0.58);
  border-radius: 50%;
  filter: blur(11px);
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button:hover {
  filter: brightness(1.07) saturate(1.08);
  transform: translate3d(0, -4px, 0) scale(1.025);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.52), inset 0 -5px 0 rgba(158, 58, 0, 0.2), 0 8px 0 #bd4b00, 0 15px 28px rgba(191, 75, 0, 0.3);
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button:hover::before {
  left: 125%;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button:hover::after {
  opacity: 1;
  transform: scaleX(1.15);
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button:active {
  filter: brightness(0.98);
  transform: translate3d(0, 3px, 0) scale(0.985);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25), inset 0 -3px 0 rgba(158, 58, 0, 0.2), 0 1px 0 #bd4b00, 0 4px 10px rgba(191, 75, 0, 0.2);
  transition-duration: 0.1s;
}
.visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button:focus-visible {
  outline: 3px solid rgba(255, 128, 0, 0.38);
  outline-offset: 4px;
}
@media (max-width: 960px) {
  .visa-calculator .vc-result-block .tpl-anketa__right form {
    flex-direction: column;
  }
  .visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field {
    width: 100%;
  }
  .visa-calculator .vc-result-block .tpl-anketa__right form .tpl-field .tpl-form-button {
    width: 100%;
  }
}
.visa-calculator .vc-result-block .text_before {
  margin-top: 25px;
  color: #959595;
}
.visa-calculator .vc-result-block .text_before a {
  color: #ff8000;
}
.visa-calculator .vc-result-block .tpl-anketa-success-note {
  font-size: 20px;
  font-weight: bold;
}
.visa-calculator .vc-form-container {
  max-width: 700px;
  margin: 0 auto;
}
/* Шрифты */
.visa-calculator .vc-header h2, .visa-calculator .vc-step-title {
  font-family: Wadik, sans-serif;
}
.visa-calculator .vc-header p, .visa-calculator .vc-options-grid .vc-option .vc-option-text, .visa-calculator .vc-result-block .text_before {
  font-family: Comic Sans MS;
}
/* Появление шагов */
@keyframes vc-step-appear {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Светлое пульсирующее кольцо */
@keyframes vc-step-pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.86);
  }
  70% {
    opacity: 0;
    transform: scale(1.28);
  }
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}
/* Блик на пройденной линии */
@keyframes vc-line-shine {
  from {
    left: -35%;
  }
  to {
    left: 120%;
  }
}
/* Небольшое покачивание кнопок выбора */
@media (prefers-reduced-motion: no-preference) {
  .visa-calculator .vc-options-grid .vc-option:hover .vc-option-text {
    animation: option-hover-wiggle 0.45s ease-in-out;
  }
}
@keyframes option-hover-wiggle {
  0% {
    transform: translateY(-5px) scale(1.025) rotate(0deg);
  }
  35% {
    transform: translateY(-5px) scale(1.025) rotate(-0.7deg);
  }
  70% {
    transform: translateY(-5px) scale(1.025) rotate(0.7deg);
  }
  100% {
    transform: translateY(-5px) scale(1.025) rotate(0deg);
  }
}
@keyframes liquid-wave-main {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(6deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}
@keyframes liquid-wave-light {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) rotate(-7deg);
  }
  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .visa-calculator .vc-steps-indicator .vc-step-dot, .visa-calculator .vc-steps-indicator .vc-step-dot.active::after, .visa-calculator .vc-steps-indicator .vc-step-line::before, .visa-calculator .vc-steps-indicator .vc-step-line::after, .visa-calculator .vc-options-grid .vc-option:hover .vc-option-text, .visa-calculator .vc-options-grid .vc-option:hover .vc-option-text::before, .visa-calculator .vc-options-grid .vc-option:hover .vc-option-text::after {
    animation: none;
    transition: none;
  }
  .visa-calculator .vc-options-grid .vc-option:hover .vc-option-text {
    transform: translateY(-2px);
  }
  .visa-calculator .vc-result-text strong, .visa-calculator .vc-result-block .tpl-form-button {
    transform: none;
    transition: none;
    animation: none;
  }
  .visa-calculator .vc-result-block .tpl-form-button::before, .visa-calculator .vc-result-block .tpl-form-button::after {
    transition: none;
  }
}
.visa-calculator .vc-options-grid .vc-option {
  cursor: pointer;
  display: block;
  flex: 1;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.visa-calculator .vc-options-grid .vc-option:focus, .visa-calculator .vc-options-grid .vc-option:focus-visible, .visa-calculator .vc-options-grid .vc-option:active {
  outline: none;
  box-shadow: none;
}
