.telegram-btn {
  height: 60px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  background: linear-gradient(145deg, #3f8f49, #1d6a2d);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 22px rgba(34, 97, 43, 0.18);
}
.telegram-btn i {
  font-size: 28px;
}
.services-hero {
  position: relative;
  z-index: 2;
  min-height: 610px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding-top: 54px;
}
.services-copy {
  position: relative;
  z-index: 5;
  padding-left: 14px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  margin-bottom: 28px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(47, 120, 57, 0.1);
  font-size: 15px;
  font-weight: 800;
}
.services-copy h1 {
  margin: 0 0 30px;
  font-size: clamp(76px, 6.4vw, 120px);
  line-height: 0.88;
  letter-spacing: -5px;
  font-weight: 900;
}
.services-copy p {
  max-width: 650px;
  margin: 0 0 54px;
  color: #171717;
  font-size: 24px;
  line-height: 1.48;
  font-weight: 500;
  letter-spacing: -0.25px;
}
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 34px;
  max-width: 780px;
}
.benefit {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}
.benefit i {
  color: var(--green-dark);
  font-size: 24px;
  line-height: 1.15;
}
.benefit strong {
  display: block;
  margin-bottom: 8px;
  color: #151515;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 850;
}
.benefit span {
  display: block;
  color: #2e2a25;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}
.services-visual {
  position: relative;
  min-height: 610px;
}
.hero-orbit {
  position: absolute;
  right: 66px;
  top: 34px;
  width: 690px;
  height: 535px;
  border-radius: 52% 48% 48% 52%;
  background: rgba(230, 211, 164, 0.42);
}
.services-character {
  position: absolute;
  z-index: 6;
  right: 74px;
  bottom: 0;
  height: 595px;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.08));
}
.doc-watermark {
  position: absolute;
  z-index: 2;
  right: 34px;
  top: 90px;
  color: rgba(220, 170, 121, 0.2);
  font-size: 95px;
}
.shield-watermark {
  position: absolute;
  z-index: 2;
  left: 132px;
  top: 130px;
  color: rgba(211, 164, 112, 0.16);
  font-size: 160px;
}
.services-panel {
  position: relative;
  z-index: 10;
  margin-top: -4px;
  padding: 34px 34px 40px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 241, 0.58);
  box-shadow: 0 12px 28px rgba(73, 48, 18, 0.045);
}
.panel-title h2 {
  margin: 0 0 12px;
  font-size: 37px;
  line-height: 1;
  letter-spacing: -1.2px;
  font-weight: 900;
}
.panel-title p {
  max-width: 520px;
  margin: 0 0 26px;
  color: #292520;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 28px;
}
.service-item {
  width: 100%;
  min-height: 78px;
  padding: 12px 28px 12px 22px;
  display: grid;
  grid-template-columns: 88px 1fr 28px;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(229, 214, 188, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  color: #111;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.service-item:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 120, 57, 0.3);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 24px rgba(73, 48, 18, 0.06);
}
.service-name {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.3px;
}
.service-item > i {
  justify-self: end;
  color: var(--green-dark);
  font-size: 24px;
}
.bank-logo {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
}
.bank-sber {
  color: #2f8b3d;
  background: conic-gradient(from 40deg, #2f8b3d 0 72%, #f2d335 72% 86%, #19aee5 86% 100%);
  border-radius: 50%;
  border: 6px solid #f8fbf6;
}
.bank-tbank {
  color: #111;
  background: #ffd429;
  border-radius: 4px 4px 50% 50%;
  font-size: 25px;
}
.bank-alfa {
  color: #ef2621;
  background: #fff;
  border-radius: 4px;
  font-size: 34px;
  box-shadow: inset 0 -6px 0 #ef2621;
}
.bank-raif {
  color: #111;
  background: #f7cf26;
  border-radius: 2px;
  font-size: 26px;
}
.bank-mts {
  color: #fff;
  background: #ed1c24;
  border-radius: 8px;
  font-size: 13px;
}
.bank-vtb {
  color: #1598d3;
  background: #fff;
  font-size: 42px;
  transform: skewX(-10deg);
}
.bank-ozon {
  color: #146dff;
  background: #fff;
  font-size: 17px;
  letter-spacing: -1px;
}
.bank-otp {
  color: #168347;
  background: #fff;
  border-radius: 50%;
  font-size: 38px;
}
.bank-yapay {
  color: #fff;
  background: #111;
  border-radius: 13px;
  font-size: 27px;
  box-shadow: inset -18px 0 0 #fff;
}
.bank-cb {
  color: #575757;
  background: #f3f0e9;
  font-size: 17px;
}
.bottom-info {
  display: grid;
  grid-template-columns: 1.5fr 0.72fr 0.86fr;
  gap: 18px;
  margin-top: 26px;
}
.consult-card,
.mini-card {
  border-radius: 20px;
  border: 1px solid rgba(229, 214, 188, 0.65);
  background: rgba(255, 250, 241, 0.58);
  box-shadow: 0 10px 24px rgba(73, 48, 18, 0.045);
}
.consult-card {
  min-height: 140px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #fff;
  background: radial-gradient(circle at 90% 20%, rgba(47, 120, 57, 0.26), transparent 34%),
    linear-gradient(145deg, #202020, #090909);
}
.consult-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 850;
}
.consult-card h3 i {
  color: #61ca70;
}
.consult-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}
.consult-card a {
  min-width: 220px;
  height: 58px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  border-radius: 16px;
  background: linear-gradient(145deg, #3f8f49, #1d6a2d);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}
.mini-card {
  padding: 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
}
.mini-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: rgba(47, 120, 57, 0.09);
  font-size: 25px;
}
.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 850;
}
.mini-card span {
  color: #2e2a25;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}
.modal.open {
  display: block;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(5px);
}
.modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(680px, calc(100% - 38px));
  transform: translate(-50%, -50%);
  padding: 58px 58px 52px;
  border-radius: 46px;
  background: radial-gradient(circle at 85% 14%, rgba(255, 255, 255, 0.85), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 231, 0.98));
  box-shadow: 0 44px 110px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(229, 214, 188, 0.7);
}
.modal-close {
  position: absolute;
  right: 34px;
  top: 32px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 214, 188, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  color: #222;
  font-size: 24px;
  cursor: pointer;
}
.modal-logo {
  width: 118px;
  height: 118px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  font-size: 42px;
  font-weight: 900;
}
.modal-card h2 {
  margin: 0 0 22px;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.6px;
  font-weight: 900;
}
.modal-card p {
  margin: 0 0 34px;
  color: #171717;
  font-size: 22px;
  line-height: 1.42;
  font-weight: 500;
}
.modal-price {
  min-height: 82px;
  margin-bottom: 26px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid rgba(229, 214, 188, 0.85);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.34);
  font-size: 20px;
  font-weight: 500;
}
.modal-price strong {
  color: var(--green);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.buy-btn,
.cart-btn {
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  border-radius: 18px;
  font: inherit;
  font-size: 23px;
  font-weight: 850;
  cursor: pointer;
}
.buy-btn {
  color: #fff;
  background: linear-gradient(145deg, #36a447, #17702a);
  box-shadow: 0 16px 24px rgba(34, 97, 43, 0.18);
}
.cart-btn {
  color: var(--green-dark);
  background: rgba(47, 120, 57, 0.1);
  border: 1px solid rgba(47, 120, 57, 0.22);
}
.cart-toast {
  position: fixed;
  right: 30px;
  bottom: 28px;
  z-index: 250;
  min-height: 62px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #36a447, #17702a);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 800;
}
.cart-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Auth / profile button */

@media (max-width: 1500px) {
  .page-shell {
    padding: 24px 44px 40px;
  }
  .nav {
    gap: 14px;
  }
  .nav-link {
    min-width: 112px;
    padding: 0 16px;
    font-size: 16px;
  }
  .services-character {
    right: 20px;
    height: 540px;
  }
  .hero-orbit {
    right: 0;
    width: 610px;
  }
  .services-copy h1 {
    font-size: clamp(70px, 6vw, 102px);
  }
  .services-copy p {
    font-size: 21px;
  }
}
@media (max-width: 1180px) {
  .topbar {
    flex-wrap: wrap;
  }
  .nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .services-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .services-visual {
    min-height: 500px;
  }
  .services-character {
    right: 50%;
    transform: translateX(50%);
  }
  .services-list {
    grid-template-columns: 1fr;
  }
  .bottom-info {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 680px);
    margin: 10px auto;
    padding: 22px 18px 36px;
    border-radius: 28px;
  }
  .logo {
    width: 170px;
    height: 52px;
    font-size: 16px;
  }
  .telegram-btn {
    height: 52px;
    padding: 0 18px;
    font-size: 16px;
  }
  .services-copy {
    padding-left: 0;
  }
  .services-copy h1 {
    font-size: 62px;
    letter-spacing: -3px;
  }
  .services-copy p {
    font-size: 18px;
  }
  .benefits-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .services-visual {
    min-height: 390px;
  }
  .services-character {
    height: 405px;
  }
  .services-panel {
    padding: 26px 18px 28px;
  }
  .panel-title h2 {
    font-size: 31px;
  }
  .service-item {
    min-height: 70px;
    grid-template-columns: 72px 1fr 24px;
    gap: 12px;
    padding: 10px 16px 10px 12px;
  }
  .bank-logo {
    width: 44px;
    height: 44px;
  }
  .service-name {
    font-size: 16px;
  }
  .consult-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .consult-card a {
    width: 100%;
  }
  .modal-card {
    padding: 40px 28px 30px;
    border-radius: 30px;
  }
  .modal-card h2 {
    font-size: 34px;
  }
  .modal-card p {
    font-size: 18px;
  }
  .modal-price {
    flex-direction: column;
    gap: 8px;
    padding: 18px;
  }
  .modal-price strong {
    font-size: 34px;
  }
  .buy-btn,
  .cart-btn {
    height: 62px;
    font-size: 18px;
  }
}

/* Оригинальные логотипы из внешних файлов: без обрезки и белых полос */
.bank-logo {
  width: 74px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.bank-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.bank-logo .logo-fallback {
  display: none;
}

.bank-sber img,
.bank-tbank img,
.bank-alfa img,
.bank-raif img,
.bank-vtb img,
.bank-yapay img {
  max-width: 74px;
  max-height: 42px;
}

.bank-mts img {
  max-width: 78px;
  max-height: 34px;
}

.bank-ozon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
}

.bank-otp img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.bank-cb img {
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
}

.modal-logo {
  width: 128px;
  height: 118px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.modal-logo img {
  max-width: 128px;
  max-height: 118px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.modal-logo .logo-fallback {
  display: none;
}

.modal-logo.bank-ozon img,
.modal-logo.bank-otp img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  border-radius: 20px;
}

.bank-sber,
.bank-tbank,
.bank-alfa,
.bank-raif,
.bank-mts,
.bank-vtb,
.bank-ozon,
.bank-otp,
.bank-yapay,
.bank-cb,
.modal-logo.bank-sber,
.modal-logo.bank-tbank,
.modal-logo.bank-alfa,
.modal-logo.bank-raif,
.modal-logo.bank-mts,
.modal-logo.bank-vtb,
.modal-logo.bank-ozon,
.modal-logo.bank-otp,
.modal-logo.bank-yapay,
.modal-logo.bank-cb {
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  font-size: inherit;
  letter-spacing: normal;
}

@media (max-width: 720px) {
  .auth-main-btn {
    height: 52px;
    padding: 0 18px;
    font-size: 16px;
  }

  .profile-menu {
    right: -6px;
    width: 250px;
  }

  .auth-card {
    padding: 30px 22px 24px;
    border-radius: 28px;
  }

  .auth-card-head {
    grid-template-columns: 58px 1fr;
  }

  .auth-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 24px;
  }

  .auth-card h2 {
    font-size: 27px;
  }
}

/* === RESPONSIVE FIX PACK === */
/* Large desktop */
@media (max-width: 1680px) {
  .page-shell {
    width: min(100% - 38px, 1680px);
    padding-left: 46px;
    padding-right: 46px;
  }

  .topbar {
    gap: 18px;
  }

  .nav {
    gap: 14px;
  }

  .nav-link {
    min-width: 112px;
    padding: 0 16px;
    font-size: 16px;
  }

  .auth-main-btn,
  .telegram-btn {
    padding: 0 24px;
    font-size: 18px;
  }
}

/* Laptop */
@media (max-width: 1366px) {
  .page-shell {
    width: min(100% - 28px, 1320px);
    margin-top: 14px;
    margin-bottom: 14px;
    padding: 24px 34px 38px;
    border-radius: 34px;
  }

  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .logo {
    width: 172px;
    height: 54px;
    font-size: 16px;
  }

  .nav {
    justify-content: center;
    gap: 10px;
    min-width: 0;
  }

  .nav-link {
    height: 54px;
    min-width: 102px;
    padding: 0 13px;
    gap: 9px;
    font-size: 15px;
  }

  .nav-link i {
    font-size: 18px;
  }

  .auth-main-btn,
  .telegram-btn {
    height: 54px;
    padding: 0 20px;
    font-size: 16px;
  }
}

/* Tablet and small laptop: header becomes two rows */
@media (max-width: 1180px) {
  .page-shell {
    overflow: hidden;
  }

  .topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 0 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .nav-link {
    flex: 0 0 auto;
    min-width: 118px;
  }

  .auth-widget {
    margin-left: auto;
  }

  .profile-menu {
    right: 0;
  }
}

/* Tablet vertical */
@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 20px, 860px);
    padding: 22px 24px 34px;
    border-radius: 30px;
  }

  .logo {
    width: 164px;
    height: 52px;
    font-size: 15px;
  }

  .nav-link {
    height: 50px;
    min-width: 108px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 14px;
  }

  .auth-main-btn,
  .telegram-btn {
    height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 15px;
  }

  .auth-card,
  .modal-card {
    max-height: calc(100vh - 28px);
    overflow-y: auto;
  }
}

/* Mobile */
@media (max-width: 720px) {
  body {
    background: linear-gradient(135deg, #fffefa, #f7ead5);
  }

  .page-shell {
    width: min(100% - 12px, 680px);
    margin: 6px auto;
    padding: 16px 14px 28px;
    border-radius: 24px;
    border-width: 1px;
  }

  .topbar {
    gap: 12px;
  }

  .logo {
    width: 154px;
    height: 50px;
    padding: 7px 12px;
    font-size: 14px;
    border-radius: 13px;
  }

  .logo_help {
    margin-top: 5px;
    margin-left: 25px;
  }

  .nav {
    gap: 8px;
    margin-left: -2px;
    margin-right: -2px;
    padding-bottom: 8px;
  }

  .nav-link {
    height: 46px;
    min-width: auto;
    padding: 0 13px;
    gap: 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-link i {
    font-size: 16px;
  }

  .auth-main-btn,
  .telegram-btn {
    height: 46px;
    padding: 0 14px;
    gap: 8px;
    font-size: 14px;
  }

  .auth-main-btn i,
  .telegram-btn i {
    font-size: 18px;
  }

  .profile-menu {
    width: min(270px, calc(100vw - 28px));
    right: -4px;
  }

  .auth-card,
  .modal-card {
    width: min(100% - 20px, 560px);
    padding: 28px 20px 22px;
    border-radius: 26px;
  }

  .auth-card h2,
  .modal-card h2 {
    font-size: 28px;
    letter-spacing: -0.6px;
  }

  .auth-card-head {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .auth-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 22px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .page-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 14px 12px 26px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .topbar {
    align-items: flex-start;
  }

  .logo {
    width: 146px;
    height: 48px;
    font-size: 13px;
  }

  .auth-main-btn,
  .telegram-btn {
    height: 44px;
    padding: 0 12px;
    font-size: 0;
  }

  .auth-main-btn i,
  .telegram-btn i {
    margin: 0;
    font-size: 19px;
  }

  .auth-main-btn span,
  .telegram-btn span {
    font-size: 13px;
  }

  .nav {
    gap: 7px;
  }

  .nav-link {
    height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }

  .profile-menu {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .profile-menu::before {
    display: none;
  }
}

/* === SERVICES RESPONSIVE FIX PACK === */
@media (max-width: 1680px) {
  .services-copy h1 {
    font-size: clamp(72px, 5.9vw, 104px);
  }

  .services-copy p {
    font-size: 21px;
  }

  .services-character {
    right: 30px;
    height: 550px;
  }

  .hero-orbit {
    right: 0;
    width: 610px;
    height: 500px;
  }
}

@media (max-width: 1366px) {
  .services-hero {
    min-height: 520px;
    grid-template-columns: 0.95fr 1.05fr;
    padding-top: 40px;
  }

  .services-copy h1 {
    font-size: clamp(64px, 5.8vw, 86px);
    letter-spacing: -3.8px;
  }

  .services-copy p {
    max-width: 560px;
    margin-bottom: 36px;
    font-size: 18px;
  }

  .benefits-row {
    max-width: 650px;
    gap: 20px;
  }

  .services-visual {
    min-height: 520px;
  }

  .services-character {
    right: 0;
    height: 500px;
  }

  .hero-orbit {
    width: 520px;
    height: 430px;
  }

  .services-list {
    gap: 8px 18px;
  }

  .service-item {
    min-height: 72px;
    padding-right: 20px;
  }

  .service-name {
    font-size: 18px;
  }

  .bottom-info {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

@media (max-width: 1180px) {
  .services-hero {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-top: 44px;
  }

  .services-copy {
    padding-left: 0;
  }

  .services-copy h1,
  .services-copy p {
    max-width: 760px;
  }

  .benefits-row {
    max-width: 760px;
  }

  .services-visual {
    min-height: 500px;
  }

  .services-character {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    height: 500px;
    max-width: none;
  }

  .hero-orbit {
    left: 50%;
    right: auto;
    top: 30px;
    transform: translateX(-50%);
    width: min(640px, 90vw);
  }

  .doc-watermark {
    right: 12%;
  }

  .shield-watermark {
    left: 12%;
  }

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

  .bottom-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .services-hero {
    padding-top: 34px;
  }

  .eyebrow {
    min-height: 34px;
    padding: 0 14px;
    margin-bottom: 20px;
    font-size: 13px;
  }

  .services-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(50px, 15vw, 68px);
    line-height: 0.9;
    letter-spacing: -2.8px;
  }

  .services-copy p {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .benefits-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-visual {
    min-height: 360px;
  }

  .services-character {
    height: 370px;
    bottom: -6px;
    max-width: none;
  }

  .hero-orbit {
    width: min(430px, 92vw);
    height: 320px;
  }

  .doc-watermark,
  .shield-watermark {
    display: none;
  }

  .services-panel {
    margin-top: 10px;
    padding: 22px 14px 22px;
    border-radius: 22px;
  }

  .panel-title h2 {
    font-size: 28px;
  }

  .panel-title p {
    font-size: 14px;
  }

  .service-item {
    grid-template-columns: 62px minmax(0, 1fr) 22px;
    min-height: 66px;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .service-name {
    font-size: 15px;
    line-height: 1.22;
  }

  .bank-logo {
    width: 54px;
    height: 48px;
  }

  .service-item > i {
    font-size: 18px;
  }

  .consult-card {
    min-height: auto;
    padding: 22px 18px;
    align-items: flex-start;
  }

  .consult-card a {
    width: 100%;
  }

  .mini-card {
    padding: 22px 18px;
  }

  .modal-logo {
    width: 92px;
    height: 92px;
    margin-bottom: 24px;
  }

  .modal-card p {
    font-size: 16px;
  }

  .modal-price strong {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .services-character {
    height: 330px;
  }

  .services-visual {
    min-height: 325px;
  }

  .hero-orbit {
    height: 285px;
  }

  .service-item {
    grid-template-columns: 56px minmax(0, 1fr) 20px;
  }

  .bank-logo {
    width: 50px;
    height: 44px;
  }
}


/* Локальные логотипы и промокод в быстром оформлении */
.bank-otp img {
  width: 76px;
  height: auto;
  max-width: 76px;
  max-height: 42px;
}

.bank-yapay img {
  width: 78px;
  height: auto;
  max-width: 78px;
  max-height: 38px;
}

.bank-cb img {
  width: 78px;
  height: auto;
  max-width: 78px;
  max-height: 42px;
}

.logo-fallback[hidden] { display: none !important; }
.logo-fallback:not([hidden]) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: #111;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
}

.buy-form {
  display: grid;
  gap: 12px;
}

.service-promo-field {
  display: grid;
  gap: 7px;
  text-align: left;
}

.service-promo-field > span {
  color: #39342d;
  font-size: 13px;
  font-weight: 850;
}

.service-promo-field > div {
  position: relative;
}

.service-promo-field i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-dark);
}

.service-promo-field input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 42px;
  border: 1px solid rgba(229, 214, 188, .95);
  border-radius: 14px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.service-promo-field input:focus {
  border-color: rgba(47, 120, 57, .5);
  box-shadow: 0 0 0 4px rgba(47, 120, 57, .1);
}

@media (max-width: 620px) {
  .bank-otp img,
  .bank-yapay img,
  .bank-cb img {
    max-width: 54px;
    max-height: 36px;
  }
}

/* === SERVICE MODAL PRIMARY ACTION — 2026-07-12 === */
.modal-actions,
.buy-form {
  width: 100%;
  min-width: 0;
}

.buy-form {
  display: block;
  margin: 0;
}

.modal-actions .buy-btn {
  width: 100%;
  min-height: 72px;
  height: auto;
  padding: 10px 18px 10px 12px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 19px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255,255,255,.14), transparent 42%),
    linear-gradient(145deg, #38a94b 0%, #218438 48%, #176529 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 28px rgba(31, 119, 49, 0.24);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.modal-actions .buy-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 20px 34px rgba(31, 119, 49, 0.30);
}

.modal-actions .buy-btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.12),
    0 9px 18px rgba(31, 119, 49, 0.20);
}

.modal-actions .buy-btn:focus-visible {
  outline: 4px solid rgba(47, 120, 57, 0.18);
  outline-offset: 3px;
}

.buy-btn-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 20px;
}

.buy-btn-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.buy-btn-copy strong {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.25px;
}

.buy-btn-copy small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 650;
}

.buy-btn-arrow {
  justify-self: end;
  font-size: 17px;
  transition: transform .18s ease;
}

.modal-actions .buy-btn:hover .buy-btn-arrow {
  transform: translateX(3px);
}

.modal-actions .cart-btn {
  width: 100%;
}

@media (max-width: 620px) {
  .modal-actions .buy-btn {
    min-height: 66px;
    grid-template-columns: 43px minmax(0, 1fr) 18px;
    gap: 11px;
    padding: 9px 15px 9px 10px;
    border-radius: 17px;
  }

  .buy-btn-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    font-size: 18px;
  }

  .buy-btn-copy strong {
    font-size: 17px;
  }

  .buy-btn-copy small {
    font-size: 11px;
  }
}


/* 2026-07: mobile service rows — reserve a real column for bank logos */
@media (max-width: 720px) {
  .services-list {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .service-item {
    grid-template-columns: 86px minmax(0, 1fr) 24px !important;
    column-gap: 12px !important;
    min-height: 82px !important;
    padding: 12px 14px !important;
    overflow: hidden !important;
  }

  .bank-logo {
    width: 82px !important;
    min-width: 82px !important;
    height: 52px !important;
    justify-items: start !important;
    overflow: hidden !important;
  }

  .bank-logo img,
  .bank-sber img,
  .bank-tbank img,
  .bank-alfa img,
  .bank-raif img,
  .bank-mts img,
  .bank-vtb img,
  .bank-ozon img,
  .bank-otp img,
  .bank-yapay img,
  .bank-cb img {
    max-width: 80px !important;
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }

  .service-name {
    min-width: 0 !important;
    padding-left: 2px !important;
    font-size: 15px !important;
    line-height: 1.28 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: auto !important;
  }

  .service-item > i {
    width: 24px !important;
    justify-self: end !important;
    align-self: center !important;
    font-size: 20px !important;
  }
}

@media (max-width: 390px) {
  .service-item {
    grid-template-columns: 78px minmax(0, 1fr) 22px !important;
    column-gap: 9px !important;
    padding: 11px 12px !important;
  }

  .bank-logo {
    width: 74px !important;
    min-width: 74px !important;
  }

  .bank-logo img,
  .bank-sber img,
  .bank-tbank img,
  .bank-alfa img,
  .bank-raif img,
  .bank-mts img,
  .bank-vtb img,
  .bank-ozon img,
  .bank-otp img,
  .bank-yapay img,
  .bank-cb img {
    max-width: 72px !important;
  }

  .service-name {
    font-size: 14px !important;
  }
}

/* =====================================================================
   2026-07-17 SCROLL-SAFE SERVICE MODAL AND LARGE BANK OF RUSSIA MARK
   The card frame and its close control stay in the viewport. Only the
   content region scrolls when a service has a long description.
   ===================================================================== */
.services-page.modal-open {
  overflow: hidden;
}

.services-page #serviceModal.open {
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
}

.services-page #serviceModal .modal-card {
  position: relative !important;
  inset: auto !important;
  width: min(680px, 100%) !important;
  max-height: calc(100vh - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  overflow: hidden !important;
  transform: none !important;
}

.services-page #serviceModal .modal-scroll {
  min-height: 0;
  padding: 58px 58px 52px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.services-page #serviceModal .modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  flex: 0 0 auto;
}

.services-page .service-item .bank-logo.bank-cb .bank-logo-image,
.services-page #serviceModal .modal-logo.bank-cb .bank-logo-image {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

@media (max-width: 720px) {
  .services-page #serviceModal.open {
    padding: 8px;
  }

  .services-page #serviceModal .modal-card {
    max-height: calc(100vh - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 28px;
  }

  .services-page #serviceModal .modal-scroll {
    padding: 42px 24px 28px;
    scrollbar-gutter: auto;
  }

  .services-page #serviceModal .modal-close {
    top: 14px;
    right: 14px;
  }
}


/* =====================================================================
   2026-07-17 FINAL BANK BRAND ASSETS
   Original wordmarks only: no white cards, no generated pseudo-logos.
   ===================================================================== */
.services-page .bank-logo,
.services-page .modal-logo,
.services-page [class*="bank-"] {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit;
  transform: none !important;
}

.services-page .bank-logo {
  width: 94px !important;
  min-width: 94px !important;
  height: 58px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}

.services-page .bank-logo img,
.services-page .modal-logo img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
  box-shadow: none !important;
}

.services-page .bank-ozon img { max-width: 82px !important; }
.services-page .bank-cb img { max-width: 60px !important; max-height: 60px !important; }
.services-page .bank-otp img { max-width: 88px !important; }
.services-page .bank-yapay img { max-width: 88px !important; }

.services-page .modal-logo {
  width: 150px !important;
  height: 92px !important;
  margin-bottom: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}
.services-page .modal-logo.bank-cb { height: 118px !important; }
.services-page .modal-logo.bank-cb img { max-width: 100px !important; max-height: 108px !important; }
.services-page .modal-logo.bank-ozon img { max-width: 140px !important; }

html[data-theme="dark"] .services-page .service-item {
  overflow: visible !important;
}

@media (max-width: 720px) {
  .services-page .service-item {
    grid-template-columns: 90px minmax(0, 1fr) 24px !important;
  }
  .services-page .bank-logo {
    width: 86px !important;
    min-width: 86px !important;
    height: 50px !important;
    overflow: visible !important;
  }
}

@media (max-width: 390px) {
  .services-page .service-item {
    grid-template-columns: 78px minmax(0, 1fr) 22px !important;
  }
  .services-page .bank-logo {
    width: 74px !important;
    min-width: 74px !important;
  }
}


/* =====================================================================
   2026-07-17 LOCAL THEME-AWARE BANK LOGOS
   One transparent image is rendered; JavaScript swaps the local light/dark
   asset without adding tiles, filters or duplicate marks.
   ===================================================================== */
.services-page :where(.bank-logo, .modal-logo) {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.services-page .service-item {
  grid-template-columns: 132px minmax(0, 1fr) 28px !important;
}

.services-page .bank-logo {
  width: 122px !important;
  min-width: 122px !important;
  height: 50px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.services-page #serviceModal .modal-logo {
  width: 240px !important;
  height: 82px !important;
  margin-bottom: 28px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.services-page :where(.bank-logo, .modal-logo) .bank-logo-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  object-fit: contain !important;
}

html[data-theme="dark"] .services-page :where(.bank-logo, .modal-logo) .bank-logo-image {
  background: transparent !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 720px) {
  .services-page .service-item {
    grid-template-columns: 104px minmax(0, 1fr) 24px !important;
  }

  .services-page .bank-logo {
    width: 98px !important;
    min-width: 98px !important;
    height: 46px !important;
  }

  .services-page #serviceModal .modal-logo {
    width: 190px !important;
    height: 68px !important;
    margin-bottom: 22px !important;
  }
}

@media (max-width: 390px) {
  .services-page .service-item {
    grid-template-columns: 88px minmax(0, 1fr) 20px !important;
  }

  .services-page .bank-logo {
    width: 82px !important;
    min-width: 82px !important;
    height: 42px !important;
  }
}

/* Keep every wordmark inside its own grid column, including narrow phones. */
.services-page .service-item .bank-logo {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.services-page .service-item .bank-logo .bank-logo-image {
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  flex-shrink: 1;
  object-fit: contain !important;
}

.services-page .service-item .service-name {
  min-width: 0 !important;
  white-space: normal;
  overflow-wrap: anywhere !important;
}

@media (max-width: 720px) {
  .services-page .services-list .service-item {
    grid-template-columns: 88px minmax(0, 1fr) 20px !important;
    gap: 12px !important;
  }

  .services-page .services-list .service-item > i {
    width: 100% !important;
  }
}

@media (max-width: 390px) {
  .services-page .services-list .service-item {
    grid-template-columns: 72px minmax(0, 1fr) 18px !important;
  }
}
