.reviews-grid > .review-card:not(.photo-review-card),
.reviews-page-grid > .review-card:not(.photo-review-card) {
  display: none;
}

.reveal-group > .photo-review-card,
.reveal-group > .photo-review-more-card {
  opacity: 1 !important;
  transform: none !important;
}

.photo-review-card,
.photo-review-more-card {
  min-height: 560px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 42px rgba(7, 21, 15, .14);
  cursor: pointer;
}

.photo-review-card {
  transition: transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease, filter .24s ease;
}

.photo-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 72px rgba(7, 21, 15, .22);
}

.photo-review-card:active {
  transform: translateY(-2px) scale(.99);
}

.photo-review-card:hover .photo-review-open {
  opacity: 1;
}

.photo-review-card-media:hover::before {
  transform: scale(1.06);
}

.photo-review-card-plain:hover {
  border-color: rgba(22, 139, 74, .28);
}

.photo-review-card-media {
  position: relative;
  border: 0;
  background: #07150f;
  color: #fff;
}

.photo-review-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--review-bg) center / cover no-repeat;
  transform: scale(1.02);
  transition: transform .35s ease;
}

.photo-review-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7,21,15,.08) 0%, rgba(7,21,15,.68) 52%, rgba(7,21,15,.94) 100%), linear-gradient(90deg, rgba(7,21,15,.56), rgba(7,21,15,.08));
}

.photo-review-card-plain {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  justify-content: space-between;
}

.photo-review-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.photo-review-card-media .photo-review-head {
  grid-template-columns: 64px minmax(0, 1fr) auto;
}


.photo-review-silhouette {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
  background: linear-gradient(145deg, #edf3ef, #dbe7df);
  border: 1px solid rgba(7,21,15,.08);
  color: rgba(7,21,15,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.photo-review-silhouette iconify-icon { display: block; width: 30px; height: 30px; font-size: 30px; line-height: 1; transform: translateY(1px); }

.photo-review-avatar {
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(0,0,0,.34);
}

.photo-review-head strong { display: block; font-size: 18px; line-height: 1.15; }
.photo-review-head span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.photo-review-card-media .photo-review-head span { color: rgba(255,255,255,.72); }
.photo-review-rating { padding: 7px 10px; border-radius: 999px; background: rgba(57,212,122,.92); color: #07150f; font-size: 13px; font-weight: 900; }
.photo-review-text { margin: 0; max-width: 42rem; color: var(--muted); font-size: 17px; line-height: 1.72; display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; overflow: hidden; }
.photo-review-card-media .photo-review-text { color: rgba(255,255,255,.9); }
.photo-review-result { display: inline-flex; width: fit-content; margin-top: 18px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: #f7faf8; color: #168b4a; font-size: 12px; font-weight: 800; }
.photo-review-card-media .photo-review-result { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: rgba(255,255,255,.82); backdrop-filter: blur(12px); }
.photo-review-open { margin-top: 14px; color: inherit; opacity: .7; font-size: 12px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }

.photo-review-more-card {
  align-items: flex-start;
  justify-content: center;
  border: 1px solid rgba(57,212,122,.3);
  background: radial-gradient(circle at 24% 18%, rgba(57,212,122,.25), transparent 34%), linear-gradient(145deg, #07150f, #103923);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.photo-review-more-card:hover { transform: translateY(-3px); border-color: rgba(57,212,122,.7); box-shadow: 0 30px 70px rgba(7,21,15,.3); }
.photo-review-more-card:active { transform: scale(.98); }
.photo-review-more-card span,
.photo-review-more-card small { color: rgba(255,255,255,.68); font-size: 14px; font-weight: 800; }
.photo-review-more-card strong { display: block; margin: 8px 0; color: var(--green-2); font-size: clamp(58px, 8vw, 92px); line-height: .9; letter-spacing: 0; }
.photo-review-more-card em { margin-top: 24px; color: #07150f; background: var(--green); border-radius: 999px; padding: 12px 16px; font-style: normal; font-size: 13px; font-weight: 900; }

.reviews-page-grid .photo-review-card,
.reviews-page-grid .photo-review-more-card { min-height: 590px; }

.review-case-modal { position: fixed; inset: 0; z-index: 10000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(7,21,15,.62); backdrop-filter: blur(10px); }
.review-case-modal.is-open { display: flex; }
.review-case-dialog { width: min(760px, 100%); max-height: min(760px, 88vh); overflow: auto; border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 40px 110px rgba(0,0,0,.35); }
.review-case-hero { min-height: 250px; padding: 26px; display: flex; align-items: flex-end; position: relative; background: linear-gradient(145deg, #07150f, #17452d); color: #fff; overflow: hidden; }
.review-case-hero.has-bg::before { content: ""; position: absolute; inset: 0; background: var(--review-bg) center / cover no-repeat; opacity: .8; }
.review-case-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,21,15,.1), rgba(7,21,15,.9)); }
.review-case-title { position: relative; z-index: 1; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; }
.review-case-title img, .review-case-title .photo-review-silhouette { width: 72px; height: 72px; }
.review-case-title h3 { margin: 0; font-size: clamp(26px, 4vw, 42px); line-height: 1; }
.review-case-title span { color: rgba(255,255,255,.72); }
.review-case-body { padding: 28px; }
.review-case-body p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.75; }
.review-case-close { position: sticky; top: 14px; float: right; z-index: 2; width: 42px; height: 42px; margin: 14px 14px -56px 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #07150f; font-size: 24px; cursor: pointer; }

@media (max-width: 820px) { .photo-review-card, .photo-review-more-card, .reviews-page-grid .photo-review-card, .reviews-page-grid .photo-review-more-card { min-height: 500px; padding: 20px; } }
@media (max-width: 560px) { .photo-review-card-media .photo-review-head { grid-template-columns: 56px minmax(0, 1fr) auto; } .photo-review-avatar, .photo-review-silhouette { width: 56px; height: 56px; } .photo-review-text { font-size: 15px; line-height: 1.6; -webkit-line-clamp: 10; } .photo-review-more-card strong { font-size: 58px; } .review-case-body p { font-size: 16px; } }

/* Strong final overrides for review interactions */
.reviews-grid .photo-review-card,
.reviews-page-grid .photo-review-card {
  transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease, border-color .24s ease, filter .24s ease !important;
  will-change: transform;
}
.reviews-grid .photo-review-card:hover,
.reviews-page-grid .photo-review-card:hover {
  transform: translate3d(0,-5px,0) !important;
  box-shadow: 0 30px 72px rgba(7,21,15,.22) !important;
}
.reviews-grid .photo-review-card:active,
.reviews-page-grid .photo-review-card:active {
  transform: translate3d(0,-2px,0) scale(.99) !important;
}
.reviews-grid .photo-review-silhouette,
.reviews-page-grid .photo-review-silhouette,
.review-case-title .photo-review-silhouette {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  line-height: 0 !important;
  position: relative !important;
}
.reviews-grid .photo-review-silhouette iconify-icon,
.reviews-page-grid .photo-review-silhouette iconify-icon,
.review-case-title .photo-review-silhouette iconify-icon {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 30px !important;
  height: 30px !important;
  font-size: 30px !important;
  line-height: 1 !important;
  transform: translate(-50%, -50%) !important;
}


/* Floating Telegram CTA */
.floating-telegram-link {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #2aa9e0, #1688c7);
  color: #fff;
  box-shadow: 0 18px 42px rgba(14, 115, 174, .38);
  text-decoration: none;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, filter .22s ease;
}
.floating-telegram-link:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 26px 58px rgba(14, 115, 174, .48);
  filter: saturate(1.08);
}
.floating-telegram-link:active { transform: translateY(-1px) scale(.98); }
.floating-telegram-link iconify-icon {
  display: block;
  width: 34px;
  height: 34px;
  font-size: 34px;
  line-height: 1;
}
@media (max-width: 560px) {
  .floating-telegram-link { width: 58px; height: 58px; right: 14px; bottom: 14px; }
  .floating-telegram-link iconify-icon { width: 31px; height: 31px; font-size: 31px; }
}
