
.telegram-btn {
  justify-self: end;
  height: 64px;
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, #3f8f49, #1d6a2d);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 14px 22px rgba(34, 97, 43, .18);
}

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

/* Hero */
.reviews-hero {
  position: relative;
  z-index: 2;
  min-height: 510px;
  display: grid;
  grid-template-columns: .98fr 1.02fr;
  gap: 28px;
  align-items: center;
  padding-top: 44px;
}

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

.reviews-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(82px, 7.6vw, 138px);
  line-height: .86;
  letter-spacing: -6px;
  font-weight: 900;
}

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

.benefits-row {
  display: grid;
  grid-template-columns: 1fr 1.28fr 1fr;
  gap: 30px;
  max-width: 900px;
  align-items: start;
}

.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: var(--green-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  white-space: nowrap;
}

.benefit span {
  display: block;
  color: #171717;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.reviews-visual {
  position: relative;
  min-height: 510px;
}

.hero-orbit {
  position: absolute;
  right: 35px;
  top: 68px;
  width: 710px;
  height: 450px;
  border-radius: 52% 48% 48% 52%;
  background: rgba(230, 211, 164, .45);
}

.reviews-character {
  position: absolute;
  z-index: 6;
  right: 70px;
  bottom: -12px;
  height: 565px;
  width: auto;
  filter: drop-shadow(0 20px 18px rgba(0,0,0,.08));
}

.chat-bubble {
  position: absolute;
  z-index: 3;
  border: 4px solid rgba(220, 200, 167, .38);
  background: rgba(255,255,255,.24);
  border-radius: 22px;
}

.bubble-left {
  left: 110px;
  top: 150px;
  width: 142px;
  height: 86px;
}

.bubble-left::after,
.bubble-right::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: -23px;
  width: 32px;
  height: 32px;
  border-right: 4px solid rgba(220, 200, 167, .38);
  border-bottom: 4px solid rgba(220, 200, 167, .38);
  transform: rotate(45deg);
  background: rgba(255,255,255,.24);
}

.bubble-left span {
  display: block;
  height: 5px;
  margin: 22px 24px 0;
  border-radius: 10px;
  background: rgba(220, 200, 167, .38);
}

.bubble-left span + span {
  width: 55%;
  margin-top: 14px;
}

.bubble-right {
  right: 22px;
  top: 96px;
  width: 150px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: rgba(220, 200, 167, .34);
  font-size: 20px;
}

/* Review placeholders */
.reviews-panel {
  position: relative;
  z-index: 10;
  margin-top: -10px;
  padding: 32px 32px 74px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 241, .56);
  box-shadow: 0 12px 28px rgba(73, 48, 18, .045);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
}

.review-slot {
  height: 150px;
  padding: 8px;
  border: 1px solid rgba(229, 214, 188, .75);
  border-radius: 18px;
  background: rgba(255,255,255,.27);
}

.slot-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(229, 214, 188, .72);
  border-radius: 14px;
  color: rgba(211, 190, 158, .38);
  font-size: 58px;
}

.show-more {
  position: absolute;
  left: 50%;
  bottom: -42px;
  transform: translateX(-50%);
  min-width: 310px;
  height: 70px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 250, 241, .92);
  color: #151515;
  font: inherit;
  font-size: 25px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(73, 48, 18, .07);
}

.show-more i { font-size: 24px; }

/* Responsive */


/* Auth / profile button */
}

@media (max-width: 1400px) {
  .page-shell { padding: 26px 44px 70px; }
  .topbar { grid-template-columns: 190px minmax(620px, 1fr) 180px; }
  .nav { gap: 10px; }
  .nav-link { min-width: 106px; padding: 0 14px; font-size: 15px; }
  .telegram-btn { font-size: 18px; padding: 0 24px; }
  .reviews-character { right: 20px; height: 520px; }
  .hero-orbit { right: 0; width: 620px; }
  .reviews-copy p { font-size: 23px; }
  .benefit strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  white-space: nowrap;
}
  .benefit span {
  display: block;
  color: #171717;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}
}

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

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

  .reviews-visual { min-height: 470px; }

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

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

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

  .benefit {
    grid-template-columns: 30px 1fr;
  }

  .benefit strong {
    white-space: normal;
  }
}

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

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

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

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

  .benefit,
  .benefit:nth-child(2) {
    min-width: 0;
  }

  .benefit strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  white-space: nowrap;
}

  .reviews-visual { min-height: 390px; }
  .reviews-character { height: 405px; }

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

  .review-slot { height: 145px; }

  .show-more {
    min-width: 240px;
    height: 60px;
    font-size: 20px;
  }
}


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




/* === Larger review gallery and fullscreen preview === */
.reviews-panel { padding:34px 34px 78px; }
.screens-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.review-slot { height:auto; min-height:300px; aspect-ratio:4/3; padding:8px; }
.slot-inner.slot-filled { position:relative; width:100%; height:100%; padding:0; overflow:hidden; border:0; background:#e9e2d7; cursor:zoom-in; }
.slot-inner.slot-filled img { width:100%; height:100%; display:block; background:#e9e2d7; }
.review-zoom-hint { position:absolute; right:10px; bottom:10px; min-height:36px; padding:0 12px; display:flex; align-items:center; gap:7px; border-radius:12px; color:#fff; background:rgba(0,0,0,.72); font-size:11px; font-weight:850; opacity:0; transform:translateY(5px); transition:.18s ease; }
.slot-inner.slot-filled:hover .review-zoom-hint, .slot-inner.slot-filled:focus-visible .review-zoom-hint { opacity:1; transform:none; }
.public-review-lightbox { position:fixed; inset:0; z-index:1300; padding:32px; display:grid; place-items:center; background:rgba(0,0,0,.88); backdrop-filter:blur(8px); }
.public-review-lightbox[hidden] { display:none; }
.public-review-lightbox img { max-width:min(1400px,95vw); max-height:92vh; object-fit:contain; border-radius:16px; box-shadow:0 30px 100px rgba(0,0,0,.55); }
.public-review-lightbox-close { position:fixed; top:20px; right:20px; z-index:1; width:50px; height:50px; display:grid; place-items:center; border:0; border-radius:50%; color:#111; background:#fff; font-size:21px; cursor:pointer; }
@media (max-width:1100px) { .screens-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) {
  .reviews-panel { padding:18px 14px 64px; }
  .screens-grid { grid-template-columns:1fr; gap:16px; }
  .review-slot { min-height:360px; }
  .public-review-lightbox { padding:14px; }
  .review-zoom-hint { opacity:1; }
}

/* === REVIEW CONTENT CARDS === */
.review-cards-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.review-card-public {
  min-width: 0;
  display: grid;
  grid-template-rows: 310px 1fr;
  overflow: hidden;
  border: 1px solid rgba(229, 214, 188, .9);
  border-radius: 26px;
  background: rgba(255,255,255,.68);
  box-shadow: 0 18px 42px rgba(73,48,18,.07);
}

.review-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid rgba(229, 214, 188, .9);
  background: #eee6d8;
  cursor: zoom-in;
}

.review-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  background: #eee6d8;
}

.review-card-content {
  min-width: 0;
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
}

.review-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.review-rating {
  display: inline-flex;
  gap: 4px;
  color: #f0ad18;
  font-size: 16px;
}

.review-rating .muted { color: #ddd2bf; }

.review-demo-badge {
  padding: 7px 10px;
  border: 1px solid rgba(47,120,57,.2);
  border-radius: 999px;
  background: rgba(47,120,57,.08);
  color: var(--green-dark);
  font-size: 11px;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.review-card-content h2 {
  margin: 0 0 13px;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.08;
  letter-spacing: -.7px;
  overflow-wrap: anywhere;
}

.review-card-text {
  color: #28231d;
  font-size: 16px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.review-card-date {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(229,214,188,.8);
}

.review-card-date time {
  color: #756d61;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.review-card-public.empty {
  min-height: 420px;
}

.review-card-public.empty .review-card-media {
  display: grid;
  place-items: center;
  color: rgba(211,190,158,.45);
  font-size: 58px;
  border-bottom: 0;
}

@media (max-width: 980px) {
  .review-cards-grid { grid-template-columns: 1fr; }
  .review-card-public { grid-template-rows: minmax(260px, 380px) 1fr; }
}

@media (max-width: 720px) {
  .reviews-panel { padding: 18px 14px 64px; }
  .review-cards-grid { gap: 18px; }
  .review-card-public { grid-template-rows: 240px 1fr; border-radius: 21px; }
  .review-card-content { padding: 20px 18px 22px; }
  .review-card-meta { align-items: flex-start; }
  .review-card-content h2 { font-size: 23px; }
  .review-card-text { font-size: 15px; line-height: 1.55; }
  .review-card-date { justify-content: flex-start; }
}

/* === Collapsible long review text === */
.review-card-text-shell {
  position: relative;
  min-width: 0;
}

.review-card-text-shell.is-collapsed .review-card-text {
  max-height: 14.8em;
  overflow: hidden;
}

.review-card-text-shell.is-expanded .review-card-text {
  max-height: none;
  overflow: visible;
}

.review-card-text-fade {
  display: none;
}

.review-card-text-shell.is-collapsed.has-toggle .review-card-text-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 48px;
  height: 78px;
  display: block;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,252,246,.98) 82%);
}

.review-card-toggle {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(47,120,57,.22);
  border-radius: 14px;
  background: rgba(47,120,57,.08);
  color: var(--green-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.review-card-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(47,120,57,.42);
  background: rgba(47,120,57,.13);
}

.review-card-toggle i {
  font-size: 13px;
  transition: transform .2s ease;
}

.review-card-toggle[aria-expanded='true'] i {
  transform: rotate(180deg);
}

.review-card-toggle[hidden] {
  display: none;
}

@media (max-width: 720px) {
  .review-card-text-shell.is-collapsed .review-card-text {
    max-height: 12.4em;
  }

  .review-card-toggle {
    min-height: 44px;
    font-size: 13px;
  }
}
