/* Страница «Отзывы и письма» */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 20px; padding-bottom: 14px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink); font-weight: 600; }
.crumbs a:hover { color: var(--accent-h); }
.page-hero { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 18px; padding: 64px 40px; border-radius: 30px; border: 1px solid var(--line); background: radial-gradient(60% 90% at 15% 0%, #DCEBFF, rgba(220, 235, 255, 0) 70%), radial-gradient(50% 80% at 100% 100%, #EAF3FF, rgba(234, 243, 255, 0) 70%), var(--card); }
.page-hero h1 { max-width: 20ch; font-size: clamp(32px, 4vw, 54px); font-weight: 500; line-height: 1.14; letter-spacing: -.025em; }
.page-hero .lead { max-width: 56ch; font-size: 18px; color: var(--text); }
.ph-orn { position: absolute; width: 190px; opacity: .22; pointer-events: none; }
.ph-orn.l { left: -34px; bottom: 10px; }
.ph-orn.r { right: -34px; top: 10px; transform: scaleY(-1); }

/* Видеоотзывы */
.vrevs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.vrev { position: relative; overflow: hidden; min-height: 300px; padding: 26px; border-radius: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; color: #fff; background: linear-gradient(135deg, #13233F 0%, #12305E 55%, #154A93 100%); }
.vrev-bg { position: absolute; right: -40px; bottom: -30px; width: 280px; opacity: .12; pointer-events: none; }
.vrev-top { position: relative; display: flex; align-items: center; gap: 12px; }
.vrev-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.vrev-top b { display: block; font-size: 16px; font-weight: 700; }
.vrev-top span { display: block; font-size: 13px; color: rgba(255, 255, 255, .78); }
.vrev-q { position: relative; max-width: 30ch; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; font-weight: 500; }
.vrev-dur { position: relative; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }
.vrev-dur .ic { width: 18px; height: 18px; }
.v-play { position: absolute; width: 76px; height: 76px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--accent); color: #fff; cursor: pointer; box-shadow: 0 0 0 10px rgba(255, 255, 255, .14); transition: transform .2s ease; }
.v-play::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: ring 2.4s ease-out infinite; }
.v-play:hover { transform: scale(1.07); }
.v-play .ic { width: 30px; height: 30px; margin-left: 4px; --duo-o: .45; }
.vrev-play { right: 32px; top: 50%; margin-top: -38px; }

/* Письма */
.lt-list { display: grid; gap: 12px; }
.lt-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: center; }
.lt-block.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.lt-block.rev .lt-text { order: 2; }
.lt-text { padding: 40px; display: grid; gap: 18px; justify-items: start; min-width: 0; }
.lt-text .h2 { font-size: clamp(28px, 3vw, 40px); }
.lt-text p { color: var(--muted); }
.lt-text .checklist { width: 100%; }

.lt-carousel { position: relative; min-width: 0; padding: 0 30px 34px; }
.lt-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scroll-behavior: smooth; padding: 14px 4px 18px; margin: 0; list-style: none; scrollbar-width: none; }
.lt-track::-webkit-scrollbar { display: none; }
.lt-track li { flex: 0 0 calc((100% - 28px) / 3); scroll-snap-align: start; }
.lt-arrow { position: absolute; top: calc(50% - 34px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); transition: color .2s ease, border-color .2s ease, opacity .2s ease; }
.lt-arrow:hover { color: var(--accent-h); border-color: var(--rose); }
.lt-arrow:disabled { opacity: .35; cursor: default; }
.lt-arrow .ic { width: 20px; height: 20px; }
.lt-arrow.prev { left: 0; }
.lt-arrow.next { right: 0; }
.lt-dots { position: absolute; left: 0; right: 0; bottom: 6px; display: flex; justify-content: center; gap: 6px; }
.lt-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--dash, #CDD6E3); transition: width .25s ease, background-color .25s ease; }
.lt-dots i.on { width: 20px; border-radius: 4px; background: var(--accent); }

.letter { position: relative; width: 100%; aspect-ratio: 1 / 1.414; padding: 9% 9% 8%; border: 1px solid #E0E6EF; border-radius: 4px; background: #FFFFFF; box-shadow: 0 18px 30px -22px rgba(14, 27, 51, .45); display: flex; flex-direction: column; gap: 6%; text-align: left; font: inherit; color: var(--ink); cursor: zoom-in; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.letter:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 26px 40px -24px rgba(14, 27, 51, .55); }
.l-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 8px; padding-bottom: 6%; border-bottom: 1.5px solid #2F3E8F; }
.l-emblem { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, #F5C542 0 35%, #2F8FC9 36% 100%); }
.l-org { font-size: 7.5px; font-weight: 800; line-height: 1.2; color: #2F3E8F; }
.l-date { font-size: 6px; color: var(--muted); }
.l-to { align-self: flex-end; max-width: 60%; text-align: right; font-size: 6px; line-height: 1.3; color: var(--text); }
.l-title { align-self: center; font-size: 8.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.l-lines { display: grid; gap: 5px; }
.l-lines i { display: block; height: 3.5px; border-radius: 2px; background: #E3E9F1; }
.l-lines i.s { width: 60%; }
.l-body { display: none; }
.l-sign { margin-top: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 6px; font-size: 6px; color: var(--text); }
.l-sign span:last-child { text-align: right; }
.l-sig { width: 34px; height: 12px; border-bottom: 1.2px solid #2F3E8F; border-radius: 0 0 50% 40%; transform: rotate(-6deg); }
.l-stamp { position: absolute; left: 40%; bottom: 7%; width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(47, 62, 143, .55); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(47, 62, 143, .45); color: rgba(47, 62, 143, .7); transform: rotate(-16deg); }
.l-stamp b { font-size: 6.5px; font-weight: 800; letter-spacing: .06em; }
.l-zoom { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .2s ease, transform .2s ease; }
.l-zoom .ic { width: 16px; height: 16px; --duo: #fff; --duo-o: .4; }
.letter:hover .l-zoom, .letter:focus-visible .l-zoom { opacity: 1; transform: none; }

/* Письмо крупно */
.lt-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 10px; background: transparent; overflow: visible; }
.lt-dialog::backdrop { background: rgba(14, 27, 51, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lt-close { position: absolute; right: -14px; top: -14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--card); color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.lt-close .ic { width: 20px; height: 20px; }
.lt-view .letter { cursor: default; max-height: calc(100vh - 32px); overflow-y: auto; aspect-ratio: auto; min-height: min(780px, calc(100vh - 32px)); padding: 44px 44px 40px; gap: 22px; border-radius: 6px; }
.lt-view .letter:hover { transform: none; }
.lt-view .l-head { gap: 4px 12px; padding-bottom: 16px; }
.lt-view .l-emblem { width: 40px; height: 40px; }
.lt-view .l-org { font-size: 15px; }
.lt-view .l-date { font-size: 12px; }
.lt-view .l-to { font-size: 12.5px; }
.lt-view .l-title { font-size: 16px; }
.lt-view .l-lines { display: none; }
.lt-view .l-body { display: grid; gap: 12px; font-size: 14.5px; line-height: 1.6; color: var(--text); text-indent: 1.5em; }
.lt-view .l-sign { margin-top: 24px; font-size: 13px; gap: 14px; }
.lt-view .l-sig { width: 80px; height: 26px; border-bottom-width: 2px; }
.lt-view .l-stamp { left: 38%; bottom: 26px; width: 120px; border-width: 2px; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7px rgba(47, 62, 143, .45); }
.lt-view .l-stamp b { font-size: 14px; }
.lt-view .l-zoom { display: none; }

/* Плашка и услуги */
.banner { margin-top: 0; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.more { padding: 26px; display: grid; gap: 10px; align-content: start; }
.more-head { display: flex; align-items: center; gap: 12px; }
.more-ic { width: 34px; height: 34px; color: var(--accent); --duo-o: .3; transition: transform .3s ease; }
.more:hover .more-ic { transform: rotate(-8deg) scale(1.12); }
.more h3 { font-size: 19px; font-weight: 700; }
.more p { font-size: 15px; color: var(--muted); }
.more-go { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--accent-h); }
.more-go .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.more:hover .more-go .ic { transform: translateX(4px); }

@media (max-width: 1040px) {
  .lt-block, .lt-block.rev { grid-template-columns: 1fr; }
  .lt-block.rev .lt-text { order: 0; }
}
@media (max-width: 900px) {
  .vrevs, .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero { padding: 40px 18px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero .sw { white-space: normal; }
  .page-hero .sw svg { display: none; }
  .ph-orn { width: 120px; }
  .lt-text { padding: 26px 22px; }
  .lt-carousel { padding: 0 0 34px; }
  .lt-track li { flex-basis: 62%; }
  .lt-arrow { display: none; }
  .vrev { min-height: 280px; padding: 22px; }
  .vrev-play { top: auto; bottom: 22px; right: 22px; margin-top: 0; width: 64px; height: 64px; }
  .lt-view .letter { padding: 26px 22px; gap: 16px; }
  .lt-view .l-stamp { width: 90px; left: 30%; }
}
