
.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,.2), 0 14px 22px rgba(34, 97, 43, .18);
}

.telegram-btn i { font-size: 28px; }

.contacts-hero {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding-top: 42px;
}

.contacts-copy {
  position: relative;
  z-index: 5;
  padding-left: 14px;
  padding-bottom: 30px;
}

.contacts-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(78px, 7.25vw, 132px);
  line-height: .88;
  letter-spacing: -5px;
  font-weight: 900;
}

.contacts-copy p {
  max-width: 650px;
  margin: 0 0 44px;
  color: #171717;
  font-size: 27px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -.35px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #151515;
  font-size: 22px;
  font-weight: 520;
}

.trust-item i {
  color: var(--green-dark);
  font-size: 28px;
}

.contacts-visual {
  position: relative;
  min-height: 560px;
}

.hero-orbit {
  position: absolute;
  right: 68px;
  top: 84px;
  width: 650px;
  height: 435px;
  border-radius: 52% 48% 48% 52%;
  background: rgba(230, 211, 164, .50);
}

.bank-watermark {
  position: absolute;
  left: -10px;
  bottom: 42px;
  color: rgba(176, 154, 116, .22);
  font-size: 190px;
}

.contact-character {
  position: absolute;
  z-index: 5;
  right: 120px;
  bottom: -22px;
  height: 575px;
  width: auto;
  filter: drop-shadow(0 20px 18px rgba(0,0,0,.08));
}

.cloud {
  position: absolute;
  z-index: 2;
  width: 150px;
  height: 56px;
  border-bottom: 8px solid rgba(210, 190, 158, .45);
  border-radius: 0 0 34px 34px;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: -8px;
  border: 8px solid rgba(210, 190, 158, .45);
  border-bottom: 0;
  border-radius: 60px 60px 0 0;
}

.cloud::before {
  left: 12px;
  width: 54px;
  height: 42px;
}

.cloud::after {
  left: 58px;
  width: 72px;
  height: 55px;
}

.cloud-a {
  right: 62px;
  top: 190px;
}

.cloud-b {
  right: -8px;
  top: 118px;
  transform: scale(.72);
}

.contact-cards {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -8px;
  padding: 0 2px;
}

.contact-card {
  min-height: 450px;
  padding: 44px 34px 36px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(circle at 85% 12%, rgba(255,255,255,.85), transparent 32%), rgba(255, 250, 241, .78);
  box-shadow: 0 12px 28px rgba(73, 48, 18, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 120, 57, .35);
  box-shadow: 0 24px 40px rgba(73, 48, 18, .11);
}

.icon-box {
  width: 162px;
  height: 162px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 34px;
}

.brand-icon {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tiktok-icon {
  background: #050505;
  color: #fff;
  border-radius: 34px;
  box-shadow: 0 14px 26px rgba(0,0,0,.14);
}

.tiktok-icon i {
  display: block;
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  font-size: 96px;
  line-height: 1;
  transform: translateY(2px);
  text-shadow: -5px 0 #25f4ee, 5px 0 #fe2c55;
}

.contact-card h2,
.contact-card h2 * {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.contact-card h2 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -1.4px;
  font-weight: 800;
}

.contact-card p {
  min-height: 88px;
  margin: 0 0 30px;
  color: #171717;
  font-size: 22px;
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -.25px;
}

.card-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 800;
}

.card-link i { font-size: 29px; }



/* Auth / profile button */
}

@media (max-width: 1400px) {
  .page-shell { padding: 26px 44px 28px; }
  .nav { gap: 14px; }
  .nav-link { min-width: 112px; padding: 0 18px; font-size: 16px; }
  .contact-character { right: 40px; height: 520px; }
  .hero-orbit { right: 15px; width: 560px; }
  .contact-card h2 { font-size: 32px; }
  .contact-card p { font-size: 19px; }
}

@media (max-width: 1120px) {
  .topbar { flex-wrap: wrap; }
  .nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .contacts-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .contact-character {
    right: 50%;
    transform: translateX(50%);
  }

  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 680px);
    margin: 10px auto;
    padding: 22px 18px;
    border-radius: 28px;
  }

  .logo { width: 170px; height: 52px; font-size: 16px; }
  .telegram-btn { height: 52px; padding: 0 18px; font-size: 16px; }

  .contacts-copy { padding-left: 0; }
  .contacts-copy h1 { font-size: 62px; letter-spacing: -3px; }
  .contacts-copy p { font-size: 20px; }

  .trust-item { font-size: 17px; }

  .contacts-visual { min-height: 420px; }
  .contact-character { height: 430px; }

  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    min-height: 360px;
    padding: 34px 26px 28px;
  }

  .icon-box {
    width: 132px;
    height: 132px;
  }

  .contact-card h2 { font-size: 34px; }
}


@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;
  }
}

/* === INNER PAGES RESPONSIVE FIX PACK === */
@media (max-width: 1366px) {
  .hero-title,
  .contacts-title,
  .reviews-title {
    font-size: clamp(64px, 6vw, 92px);
    letter-spacing: -3.5px;
  }

  .hero-text,
  .contacts-text,
  .reviews-text {
    font-size: 19px;
  }
}

@media (max-width: 1180px) {
  .contacts-hero,
  .reviews-hero,
  .hero-section {
    grid-template-columns: 1fr !important;
  }

  .contacts-visual,
  .reviews-visual,
  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .hero-title,
  .contacts-title,
  .reviews-title {
    font-size: clamp(48px, 15vw, 66px);
    letter-spacing: -2.8px;
  }

  .hero-text,
  .contacts-text,
  .reviews-text {
    font-size: 16px;
  }

  .contacts-visual,
  .reviews-visual,
  .hero-visual {
    min-height: 360px;
  }

  .contact-card,
  .review-card,
  .case-card {
    border-radius: 20px;
  }
}



