/* ============================================================
   AmanBot landing — pure CSS rewrite of the Next.js/Chakra app
   Breakpoints: 480px (sm), 768px (md), 860px (nav), 992px (lg)
   ============================================================ */

/* Inter, self-hosted (variable font, one file per subset) */

/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/inter-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/inter-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg-blue: #050a12;
  --accent: #80b4fa;
  --accent-2: #4da8fa;
  --muted: rgba(234, 234, 234, 0.6);
  --muted-99: rgba(234, 234, 234, 0.6);
  --text-gray: #a0a0a0;
  --brand: #392ef6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-blue);
  color: #fff;
  margin: 0;
}

/* Room above anchor targets so sections don't land flush with the top edge */
[id] {
  scroll-margin-top: 24px;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  max-width: 1248px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.container-wide {
  max-width: 1350px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.container-app {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .container-wide { padding-left: 32px; padding-right: 32px; }
  .container-app { padding-left: 32px; padding-right: 32px; }
}

.section-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
}

@media (min-width: 768px) {
  .section-title { font-size: 48px; }
}

.gradient-text {
  background: linear-gradient(to right, #4da8fa, #71aff2, #94b6e7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== Header ===== */

.header {
  width: 100%;
  padding: 12px 0;
  color: #a0a0a0;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  background: var(--bg-blue);
}

@media (min-width: 992px) {
  .header { padding: 24px 0; }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header__burger {
  display: flex;
  align-items: center;
  color: var(--accent);
  padding: 8px;
}

@media (min-width: 768px) {
  .header__burger { display: none; }
}

.header__logo {
  display: none;
}

@media (min-width: 860px) {
  .header__logo { display: block; }
}

.header__nav {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

@media (min-width: 860px) {
  .header__nav { display: flex; }
}

.header__nav a:hover {
  color: var(--accent);
}

.header__lang {
  display: none;
}

@media (min-width: 768px) {
  .header__lang { display: block; }
}

.header__lang select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font-family: inherit;
  font-weight: 600;
  font-size: 18px;
  padding: 6px 25px 6px 15px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A0A0A0' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.header__lang option {
  color: #000;
}

/* ===== Mobile drawer ===== */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #0d182b;
  color: #fff;
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 16px;
}

.drawer__close {
  color: var(--accent);
  padding: 8px;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  font-size: 20px;
  font-weight: 600;
  color: #a0a0a0;
  flex: 1;
}

.drawer__langs {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-bottom: 50px;
}

.drawer__lang {
  font-size: 18px;
  color: #b7bec5;
  cursor: pointer;
}

.drawer__lang.is-active {
  color: #7baaf1;
}

/* ===== Floating phone / socials ===== */

.phone-redirect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: fixed;
  bottom: 5%;
  left: 2%;
  z-index: 9999;
}

@media (min-width: 1280px) {
  .phone-redirect { left: calc((100vw - 1200px) / 2); }
}

.phone-redirect__social {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.phone-redirect.is-open .phone-redirect__social {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.phone-redirect__whatsapp {
  width: 58px;
  height: 58px;
  margin-bottom: 10px;
}

.phone-redirect__insta-wrap {
  background: #fff;
  border-radius: 50%;
}

.phone-redirect__insta-wrap img {
  width: 58px;
  height: 58px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.phone-redirect__tel-wrap img {
  width: 58px;
  height: 58px;
  transition: transform 0.2s ease;
}

.phone-redirect__insta-wrap img:hover,
.phone-redirect__tel-wrap img:hover,
.phone-redirect.is-open .phone-redirect__whatsapp:hover {
  transform: scale(1.1);
}

.phone-redirect__call {
  width: 80px;
  height: 80px;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@media (min-width: 768px) {
  .phone-redirect__whatsapp,
  .phone-redirect__insta-wrap img,
  .phone-redirect__tel-wrap img { width: 60px; height: 60px; }
  .phone-redirect__call { width: 100px; height: 100px; }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ===== Welcome ===== */

.welcome {
  position: relative;
  height: 500px;
}

@media (min-width: 768px) {
  .welcome { height: 673px; }
}

.welcome__vector {
  display: none;
  position: absolute;
  top: 190px;
  pointer-events: none;
  z-index: 0;
}

.welcome__vector--left { right: calc(50% + 130px); }
.welcome__vector--right { left: calc(50% + 130px); }

@media (min-width: 992px) {
  .welcome__vector { display: block; }
}

.welcome__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-align: center;
  gap: 25px;
}

.welcome__title {
  font-size: 25px;
  font-weight: 700;
  color: #a0a0a0;
  line-height: 37px;
  margin-top: 150px;
}

@media (min-width: 992px) {
  .welcome__title {
    font-size: 65px;
    font-weight: 600;
    line-height: 80px;
    letter-spacing: -0.96px;
  }
}

.welcome__accent { color: var(--accent); }
.welcome__kaspi { color: #f14635; }

.welcome__line2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .welcome__line2 { gap: 16px; margin-top: 8px; }
}

.welcome__line2-text {
  padding-left: 30px;
}

@media (min-width: 768px) {
  .welcome__line2-text { padding-left: 80px; }
}

.welcome__kaspi-logo {
  width: 30px;
  height: 30px;
}

@media (min-width: 768px) {
  .welcome__kaspi-logo { width: 66px; height: 66px; }
}

.welcome__bottom {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .welcome__bottom { gap: 180px; }
}

.welcome__subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #94b6e7;
}

@media (min-width: 768px) {
  .welcome__subtitle { font-size: 18px; }
}

.welcome__cta {
  background: var(--accent);
  color: #fff;
  box-shadow: 3px 3px 13px 1px #5c81c0;
  border: 1px solid var(--accent);
  font-size: 16px;
  font-weight: 900;
  height: 57px;
  width: 233px;
  border-radius: 10px;
}

@media (min-width: 992px) {
  .welcome__cta {
    font-size: 22px;
    height: 71px;
    width: 320px;
  }
}

/* ===== Chat bot ===== */

.chatbot {
  position: absolute;
  bottom: -50px;
  right: 1px;
  z-index: 100;
}

@media (min-width: 768px) {
  .chatbot { bottom: 20px; right: 80px; }
}

.chatbot__preview {
  display: none;
  position: absolute;
  bottom: 86px;
  right: 0;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  width: 288px;
  height: 120px;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .chatbot__preview.is-visible { display: flex; }
}

.chatbot__preview-ava {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chatbot__preview-body {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.chatbot__preview-name {
  font-weight: 700;
  font-size: 14px;
  color: #1a202c;
}

.chatbot__preview-text {
  font-size: 14px;
  color: #4a5568;
}

.chatbot__close {
  flex-shrink: 0;
  cursor: pointer;
  color: #1a202c;
}

.chatbot__window {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 86px;
  right: 0;
  width: 340px;
  max-width: calc(100vw - 16px);
  height: 500px;
  max-height: min(600px, calc(100vh - 120px));
  background: #0b1a2d;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.chatbot__window.is-open { display: flex; }

@media (min-width: 768px) {
  .chatbot__window { width: 380px; height: 600px; }
}

.chatbot__header {
  background: linear-gradient(135deg, #4da8fa, #80b4fa);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot__header .chatbot__close { color: #fff; }

.chatbot__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.chatbot__header-left img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.chatbot__header-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.chatbot__header-status {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.chatbot__messages {
  display: flex;
  flex-direction: column;
  padding: 13px 17px 1px;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
}

.chat-msg {
  padding: 12px;
  border-radius: 12px;
  max-width: 80%;
  text-align: left;
}

.chat-msg--assistant {
  background: #1a2b45;
  border: 1px solid #2a3b55;
  align-self: flex-start;
}

.chat-msg--user {
  background: linear-gradient(135deg, #4da8fa, #80b4fa);
  align-self: flex-end;
}

.chat-msg__text {
  color: #fff;
  font-size: 14px;
  white-space: pre-line;
}

.chat-msg__time {
  font-size: 10px;
  color: #a0aec0;
  margin-top: 4px;
}

.chat-msg--user .chat-msg__time { color: rgba(255, 255, 255, 0.7); }

.chat-msg--typing {
  background: #1e2f47;
  border: none;
}

.chat-msg--typing .chat-msg__text { color: #a0aec0; }

.chatbot__input-row {
  display: flex;
  padding: 10px;
  gap: 8px;
  background: #0f223a;
}

.chatbot__input-row input {
  flex: 1;
  background: #1e2f47;
  border-radius: 20px;
  padding: 8px 12px;
  color: #fff;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}

.chatbot__input-row input::placeholder { color: #718096; }

.chatbot__send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4da8fa, #80b4fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.chatbot__send.is-disabled { opacity: 0.5; }

.chatbot__toggle {
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ===== Steps ===== */

.steps-bg {
  width: 100%;
  background: linear-gradient(to bottom, #050a12, rgba(89, 170, 250, 0.6));
}

.steps {
  padding-top: 110px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .steps { padding-top: 155px; }
}

@media (min-width: 992px) {
  .steps { padding-bottom: 120px; }
}

.steps__head {
  text-align: center;
}

@media (min-width: 768px) {
  .steps__head { text-align: left; }
}

.steps__head .section-title {
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .steps__head .section-title { margin-bottom: 18px; }
}

.steps__subtitle {
  font-size: 14px;
  color: var(--muted-99);
  line-height: 28px;
  font-weight: 400;
  letter-spacing: -0.44px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .steps__subtitle { font-size: 18px; margin-bottom: 80px; }
}

.steps__row {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (min-width: 992px) {
  .steps__row { flex-direction: row; justify-content: space-between; gap: 60px; }
}

.steps__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  width: 100%;
}

@media (min-width: 768px) {
  .steps__list { gap: 40px; }
}

.steps__phone {
  display: none;
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 400px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 992px) {
  .steps__phone { display: block; }
}

.step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(13, 24, 43, 0.2);
  padding: 16px;
  border-radius: 16px;
  width: 100%;
  min-height: 127px;
}

@media (min-width: 768px) {
  .step-card { gap: 50px; padding: 24px; min-height: 68px; }
}

.step-card__num {
  font-weight: 700;
  font-size: 30px;
  line-height: 48px;
  letter-spacing: 0.35px;
  color: var(--accent);
}

@media (min-width: 768px) {
  .step-card__num { font-size: 45px; }
}

.step-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

@media (min-width: 992px) {
  .step-card__body { font-size: 18px; }
}

.step-card__body p { line-height: 20px; }

.step-card__body span {
  color: var(--muted-99);
  font-size: 14px;
  font-weight: 400;
}

.steps__result {
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(77, 168, 250, 0.044) 54.29%, rgba(255, 255, 255, 0.11) 100%);
  padding: 16px;
  border-radius: 16px;
  width: 100%;
  max-width: 1142px;
  min-height: 140px;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .steps__result { padding: 24px; min-height: 104px; }
}

.steps__result-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.35px;
  color: #fff;
}

.steps__result-add {
  color: rgba(234, 234, 234, 0.8);
  font-weight: 400;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: -0.31px;
}

/* ===== Cases ===== */

.cases-bg {
  width: 100%;
  background: linear-gradient(to bottom, rgba(89, 170, 250, 0.6) 0%, rgba(0, 0, 0, 0) 50%, rgba(13, 24, 43, 0.3) 100%);
}

.cases {
  padding-top: 60px;
  padding-bottom: 60px;
}

@media (min-width: 768px) {
  .cases { padding-top: 130px; padding-bottom: 130px; }
}

.cases__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.cases__subtitle {
  font-weight: 700;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: -0.44px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .cases__subtitle { font-size: 22px; }
}

.cases__row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .cases__row { flex-direction: row; gap: 96px; margin-top: 80px; }
}

.cases__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
}

.cases__label {
  color: var(--muted-99);
  margin-bottom: 8px;
  text-align: center;
}

.cases__dot {
  font-weight: 700;
  color: #94b6e7;
}

.cases__screen {
  max-width: 120px;
  width: 100%;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .cases__screen { max-width: 260px; }
}

.cases__pill {
  display: none;
  margin-top: 16px;
  padding: 4px 16px;
  border-radius: 9999px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .cases__pill { display: block; }
}

.cases__pill--was { background: #86868b; }

.cases__pill--became {
  background: linear-gradient(to right, #4da8fa, #80b4fa);
  padding: 6px 20px;
  margin-top: 20px;
}

.cases__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  text-align: left;
  color: var(--muted-99);
}

@media (min-width: 768px) {
  .cases__list { font-size: 16px; }
}

.cases__list--was {
  font-size: 12px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .cases__list--was { font-size: 16px; }
}

.cases__list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.cases__list li img {
  width: 5px;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

.cases__list b {
  font-weight: 600;
  color: var(--accent);
}

.cases__arrow {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .cases__arrow { display: flex; }
}

.cases__arrow p {
  font-size: 14px;
  color: #86868b;
}

/* ===== Reviews ===== */

.reviews {
  padding-top: 64px;
}

@media (min-width: 768px) {
  .reviews { padding-bottom: 80px; }
}

.reviews__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .reviews__head {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 50px;
  }
}

.reviews__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 100%;
  color: #fff;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .reviews__title { font-size: 36px; margin-bottom: 0; }
}

@media (min-width: 992px) {
  .reviews__title { font-size: 40px; }
}

.reviews__accent { color: var(--accent-2); }

.reviews__arrows {
  display: none;
  gap: 16px;
}

@media (min-width: 768px) {
  .reviews__arrows { display: flex; }
}

.reviews__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews__viewport {
  padding: 10px 0;
  margin: -10px 0;
}

@media (min-width: 768px) {
  .reviews__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .reviews__viewport::-webkit-scrollbar {
    display: none;
  }
}

.reviews__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

@media (min-width: 768px) {
  .reviews__track {
    flex-direction: row;
    align-items: stretch;
    gap: 32px;
  }

  .review-card {
    scroll-snap-align: start;
  }
}

.review-card {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 32px 16px;
  max-width: 360px;
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .review-card {
    border-radius: 24px;
    padding: 56px 34px 24px 32px;
    max-width: 405px;
    min-height: 271px;
    flex: 0 0 405px;
  }
}

.review-card__text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 24px;
  flex: 1;
  color: #fff;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.review-card__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .review-card__author img { width: 74px; height: 74px; }
}

.review-card__name {
  font-size: 20px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .review-card__name { font-size: 24px; }
}

.review-card__from {
  font-size: 14px;
  color: #a9aaae;
}

@media (min-width: 768px) {
  .review-card__from { font-size: 16px; }
}

/* ===== Tariffs ===== */

.tariffs {
  padding: 48px 16px;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .tariffs { padding: 80px 24px; }
}

.tariffs .section-title {
  margin-top: 40px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .tariffs .section-title { margin-top: 0; margin-bottom: 16px; }
}

.tariffs__subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted-99);
  margin-bottom: 20px;
  line-height: 28px;
  letter-spacing: -0.44px;
}

@media (min-width: 768px) {
  .tariffs__subtitle { font-size: 22px; margin-bottom: 24px; }
}

.tariffs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

@media (min-width: 768px) {
  .tariffs__grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
}

@media (min-width: 992px) {
  .tariffs__grid { grid-template-columns: repeat(3, 1fr); }
}

.tariff-card {
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(13, 24, 43, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 350px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .tariff-card { padding: 38px 48px; max-width: 363px; }
}

.tariff-card--vip {
  background: linear-gradient(180deg, rgba(77, 168, 250, 0.1) 0%, rgba(13, 24, 43, 0.5) 100%);
  border: 1px solid var(--accent-2);
  box-shadow: 0 4px 6px -4px rgba(77, 168, 250, 0.25), 0 10px 15px -3px rgba(77, 168, 250, 0.25);
}

.tariff-card__badge {
  position: absolute;
  top: 0;
  right: -32px;
  background: #62adfa;
  color: #050a12;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 48px;
  text-align: center;
  border-radius: 10px;
}

.tariff-card__top {
  text-align: left;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .tariff-card__top { margin-bottom: 32px; }
}

.tariff-card__title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 36px;
  color: var(--accent-2);
}

.tariff-card__price {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

@media (min-width: 768px) {
  .tariff-card__price { font-size: 48px; }
}

.tariff-card__from {
  font-size: 20px;
  color: rgba(234, 234, 234, 0.8);
  font-weight: 700;
}

.tariff-card__period {
  font-weight: 400;
  font-size: 17px;
  color: rgba(234, 234, 234, 0.8);
}

.tariff-card__payment {
  font-size: 15px;
  color: rgba(234, 234, 234, 0.8);
  margin-top: 8px;
}

.tariff-card__features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 0;
  text-align: left;
}

@media (min-width: 768px) {
  .tariff-card__features { gap: 16px; }
}

.tariff-card__features li {
  font-size: 14px;
  color: rgba(234, 234, 234, 0.8);
}

@media (min-width: 768px) {
  .tariff-card__features li { font-size: 16px; }
}

.tariff-card__btn-wrap { width: 100%; }

.tariff-card__btn {
  color: var(--accent);
  width: 100%;
  height: 50px;
  border-radius: 100px;
  background: linear-gradient(to right, #011942, #041c45);
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 16px;
}

@media (min-width: 768px) {
  .tariff-card__btn { font-size: 18px; padding: 12px 24px; }
}

.tariff-card__btn--vip {
  color: #fff;
  background: linear-gradient(to right, #4da8fa, #80b4fa);
}

/* ===== Application ===== */

.application {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  padding-top: 15px;
  padding-bottom: 15px;
  gap: 40px;
}

@media (min-width: 768px) {
  .application { margin-top: 140px; padding-top: 21px; padding-bottom: 21px; }
}

@media (min-width: 992px) {
  .application {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 58px;
  }
}

.application__left {
  text-align: center;
  width: 100%;
}

@media (min-width: 992px) {
  .application__left { text-align: left; width: auto; }
}

.application__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 992px) {
  .application__title { font-size: 48px; }
}

.application__subtitle {
  font-size: 14px;
  margin-top: 12px;
  color: #53a9fa;
  font-weight: 400;
}

@media (min-width: 992px) {
  .application__subtitle { font-size: 20px; }
}

.application__phone {
  display: none;
  position: relative;
  width: 298px;
  height: 300px;
}

@media (min-width: 768px) {
  .application__phone { display: flex; }
}

@media (min-width: 992px) {
  .application__phone { width: 500px; height: 600px; }
}

.application__phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-form {
  margin-top: 16px;
  text-align: left;
}

@media (min-width: 992px) {
  .app-form { margin-top: 32px; }
}

.app-form__field {
  margin-top: 24px;
}

.app-form__field:first-child { margin-top: 0; }

.app-form__field label {
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  display: block;
}

.app-form__field input,
.app-form__field textarea {
  display: block;
  width: 100%;
  max-width: 700px;
  margin-top: 6px;
  height: 50px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
  outline: none;
  resize: none;
  overflow: hidden;
}

.app-form__field input::placeholder,
.app-form__field textarea::placeholder {
  color: #fff;
}

.app-form__field input:focus,
.app-form__field textarea:focus {
  border-color: #edeaea;
}

.app-form__field input.is-invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 1px #e53e3e;
}

.app-form__error {
  color: #e53e3e;
  font-size: 14px;
  margin-top: 4px;
  display: none;
}

.app-form__error.is-visible { display: block; }

.app-form__submit {
  background: var(--brand);
  margin-top: 24px;
  padding: 16px 24px;
  height: 50px;
  width: 100%;
  border-radius: 40px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .app-form__submit { margin-top: 32px; width: 200px; }
  .app-form__submit:hover { background: rgba(57, 46, 246, 0.75); }
}

.app-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== FAQ ===== */

.faq-bg {
  background: linear-gradient(to bottom, #050a12 0%, #213e5d 34.67%, #213e5d 75.24%, #050a12 99.52%);
}

.faq {
  margin-top: 154px;
  padding-top: 1px;
  padding-bottom: 64px;
  position: relative;
}

@media (min-width: 992px) {
  .faq { margin-top: 200px; padding-bottom: 220px; }
}

.faq__head {
  text-align: center;
}

.faq__subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #86868b;
  margin-top: 12px;
  margin-bottom: 48px;
}

@media (min-width: 992px) {
  .faq__subtitle { font-size: 18px; margin-bottom: 0; }
}

.faq__list {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 992px) {
  .faq__list { margin-top: 48px; }
}

.faq-item {
  border: 1px solid #181c22;
  border-radius: 10px;
  padding: 25px 16px 12px;
  background: linear-gradient(to right, rgba(13, 24, 43, 0.5) 0%, #050a12 100%);
  width: 100%;
}

@media (min-width: 768px) {
  .faq-item { padding: 25px 25px 12px; max-width: 850px; }
}

.faq-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 0;
}

.faq-item__btn span {
  font-size: 12px;
  font-weight: 500;
  color: #eaeaea;
}

@media (min-width: 768px) {
  .faq-item__btn span { font-size: 18px; }
}

.faq-item__btn img {
  width: 20px;
  height: 48px;
  transition: transform 0.3s;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .faq-item__btn img { width: 64px; }
}

.faq-item.is-open .faq-item__btn img {
  transform: rotate(180deg);
}

.faq-item__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__panel p {
  padding: 12px 0 8px;
  font-size: 13px;
  color: #b0b0b0;
}

@media (min-width: 992px) {
  .faq-item__panel p { font-size: 16px; }
}

/* ===== Footer ===== */

.footer {
  width: 100%;
  padding: 40px 16px 120px;
  background: var(--bg-blue);
  border-top: 1px solid #181c22;
}

@media (min-width: 768px) {
  .footer { padding: 50px 0; }
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__cols {
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 16px;
  gap: 0;
}

@media (min-width: 992px) {
  .footer__cols {
    flex-direction: row;
    justify-content: center;
    gap: 100px;
  }
}

.footer__brand {
  display: flex;
  flex-direction: row;
  transform: translateY(-18px);
}

@media (min-width: 992px) {
  .footer__brand { flex-direction: column; }
}

.footer__brand img {
  width: 80px;
  height: 80px;
}

@media (min-width: 992px) {
  .footer__brand img { margin-right: 30px; }
}

.footer__brand-text {
  display: none;
  font-size: 14px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .footer__brand-text { display: block; }
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

@media (min-width: 992px) {
  .footer__links { gap: 12px; }
}

.footer__links + .footer__links {
  margin-top: 14px;
}

@media (min-width: 992px) {
  .footer__links + .footer__links { margin-top: 0; }
}

.footer__links a {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted-99);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .footer__contacts { margin-top: 0; }
}

.footer__contacts-title {
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  margin-bottom: 14px;
}

@media (min-width: 992px) {
  .footer__contacts-title { margin-bottom: 28px; }
}

.footer__contact {
  display: flex;
  gap: 4px;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  margin-top: 8px;
}

.footer__contact:first-of-type { margin-top: 0; }

@media (min-width: 992px) {
  .footer__contact { gap: 8px; margin-top: 17px; }
  .footer__contact:first-of-type { margin-top: 0; }
}

.footer__contact img {
  width: 15px;
  height: 12px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .footer__contact img { width: 20px; height: 20px; }
}

.footer__divider {
  border: none;
  border-top: 1px solid #181c22;
  margin-top: 32px;
}

.footer__laws {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: rgba(234, 234, 234, 0.4);
  margin-top: 39px;
}

/* ===== Toasts ===== */

.toasts {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.toast {
  padding: 12px 40px 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  animation: toast-in 0.25s ease;
}

.toast--success { background: #38a169; }
.toast--error { background: #e53e3e; }

.toast__title { font-weight: 700; }

.toast__desc { margin-top: 4px; }

.toast__close {
  position: absolute;
  top: 8px;
  right: 10px;
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
}

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