/* ======================================================
   site-v2.css — стили главной (Variant A — семантический HTML5)
   БЭМ-нотация, mobile-first, без Tilda
   ====================================================== */

/* === CSS reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'TT Travels', 'Onest', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #05604E; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* === Container === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, transform .15s;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: #05604E;
  color: #fff;
}
.btn--primary:hover { background: #03473a; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: #05604E;
  border-color: #05604E;
}
.btn--ghost:hover { background: #05604E; color: #fff; }

/* === Headings === */
h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ebebeb;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.site-header__logo img {
  height: 48px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  align-items: center;
}
.site-nav__item { position: relative; }
.site-nav__link {
  display: block;
  padding: 8px 10px;
  color: #1a1a1a;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.site-nav__link:hover {
  background: rgba(5,96,78,0.08);
  color: #05604E;
}
.site-nav__phone {
  color: #05604E;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  border: 2px solid #05604E;
  border-radius: 999px;
  margin-left: 12px;
  white-space: nowrap;
}
.site-nav__link--lk {
  color: #05604E !important;
  font-weight: 600;
  background: rgba(5, 96, 78, 0.08);
  padding: 6px 14px !important;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.site-nav__link--lk:hover {
  background: #05604E;
  color: #fff !important;
}

/* Dropdown */
.site-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-radius: 12px;
  border-top: 3px solid #05604E;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.site-nav__dropdown a {
  display: block;
  padding: 10px 20px;
  color: #1a1a1a;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.site-nav__dropdown a:hover { background: #f5f9f7; color: #05604E; }
.site-nav__dropdown li:last-child a { border-bottom: none; }
.site-nav__caret { font-size: 0.7em; margin-left: 4px; opacity: 0.6; }

/* Burger */
.site-burger {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  padding: 12px;
  align-items: center;
  justify-content: center;
}
.site-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  position: relative;
  transition: transform .2s, opacity .2s;
}
.site-burger span::before,
.site-burger span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #1a1a1a;
}
.site-burger span::before { top: -8px; }
.site-burger span::after { top: 8px; }
.site-burger[aria-expanded="true"] span { background: transparent; }
.site-burger[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.site-burger[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* === Hero === */
.hero {
  background: linear-gradient(180deg, #ebebeb 0%, #f7f8f9 100%);
  padding: 80px 24px 100px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #1a1a1a;
}
.hero__subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #444;
  margin: 0 0 32px;
  font-weight: 400;
}
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}
.hero__info {
  color: #666;
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}
.hero__decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}
.hero__decor--right {
  top: 50%;
  right: -50px;
  width: 280px;
  height: 280px;
  transform: translateY(-50%);
}
.hero__decor--right::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 30%, #05604E 30%, #05604E 60%, transparent 60%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* === Marquee === */
.marquee {
  background: #05604E;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 500;
  padding: 14px 0;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.marquee__track {
  display: inline-block;
  animation: marquee 40s linear infinite;
  padding-left: 100%;
}
.marquee__item { display: inline-block; padding: 0 40px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* === Section base === */
.section {
  padding: 80px 0;
}
.section--alt { background: #f7f8f9; }
.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__title { margin-bottom: 12px; }
.section__lead {
  color: #555;
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
}
.section__cta-row {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

/* === Clients === */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}
.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform .2s, box-shadow .2s;
}
.clients__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(5,96,78,0.12);
}
.clients__item img {
  max-height: 70px;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  transition: filter .2s;
}
.clients__item:hover img { filter: none; }

/* === About === */
.block.about-section,
section.about-section { background: #f4f5f6; }
.block.block--alt,
section.block--alt { background: #f4f5f6; }
.about__layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.about__content .block__title { text-align: left; margin-bottom: 24px; }
.about__content p { margin: 0 0 14px; font-size: 1.05rem; color: #2a2a2a; line-height: 1.6; }
.about__cta { margin-top: 28px; }
.about__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__fact {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  text-align: left;
  display: block;
  font-size: 1.1rem;
  line-height: 1.35;
  color: #2a2a2a;
}
.about__fact-num {
  font-family: 'TT Travels', 'Onest', sans-serif;
  font-size: 1.55em;
  font-weight: 700;
  color: #05604E;
  margin-right: 8px;
  display: inline-block;
  vertical-align: baseline;
}
.about__fact-label {
  font-size: 1em;
  color: #2a2a2a;
  font-weight: 400;
  display: inline;
}
@media (max-width: 900px) {
  .about__layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .about__fact { font-size: 1rem; }
  .about__fact-num { margin-right: 6px; }
}

/* === Projects === */
.projects__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #e6e8ea;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block;
  text-decoration: none !important;
  color: inherit;
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border-color: #05604E;
}
.project__name { color: #05604E; margin: 0 0 12px; }
.project__meta { color: #888; font-size: 0.85rem; margin: 0 0 12px; }
.project__desc { color: #444; line-height: 1.55; margin: 0 0 16px; }
.project__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.project__metric {
  font-size: 0.85rem;
  color: #05604E;
  background: rgba(5,96,78,0.06);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 600;
}
.project__metrics-list {
  list-style: disc outside;
  padding: 14px 0 0 20px;
  margin: 16px 0 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: block;
}
.project__metrics-list::marker,
.project__metrics-list li::marker { color: #05604E; }
.project__metrics-list li.project__metric,
.project__metrics-list .project__metric {
  display: list-item;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #2a2a2a;
  background: none;
  padding: 0;
  border-radius: 0;
  font-weight: 400;
  margin-bottom: 8px;
}
.project__metric-num {
  font-family: 'TT Travels', 'Onest', sans-serif;
  font-weight: 700;
  color: #05604E;
}
.project__metric-num::after {
  content: ' ';
  white-space: pre;
}
.project__metric-label {
  color: #2a2a2a;
  font-weight: 400;
}

/* === Services === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #e6e8ea;
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(5,96,78,0.15);
  border-color: #05604E;
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(5,96,78,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #05604E;
}
.service-card__title {
  color: #05604E;
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.service-card__desc {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}
.service-card__link {
  color: #05604E;
  font-weight: 600;
  font-size: 0.95rem;
}

/* === Reviews === */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.review__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ebebeb;
  flex-shrink: 0;
}
.review__company { font-weight: 600; color: #05604E; }
.review__role { color: #888; font-size: 0.85rem; }
.review__text {
  color: #2a2a2a;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 16px;
}
.review__stars {
  color: #f6b800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* === Video reviews === */
.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.video-review {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.video-review__frame {
  position: relative;
  padding-top: 56.25%;
  background: #1a1a1a;
}
.video-review__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-review__caption {
  padding: 16px 20px;
}
.video-review__company { font-weight: 600; color: #05604E; }
.video-review__role { color: #888; font-size: 0.85rem; }

/* === Partners === */
.partners__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.partner {
  padding: 12px 24px;
  background: #fff;
  border: 1px solid #e6e8ea;
  border-radius: 999px;
  color: #444;
  font-weight: 500;
}

/* === Footer === */
.site-footer {
  background: #1a1a1a;
  color: #bdbdbd;
  padding: 48px 24px 24px;
  font-size: 0.95rem;
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}
.site-footer__nav {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .site-footer__nav { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer__col--services { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer__nav { grid-template-columns: 1fr; }
}
.site-footer__col-title {
  color: #fff;
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 600;
}
.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__list li { margin-bottom: 8px; break-inside: avoid; }
.site-footer__list a {
  color: #bdbdbd;
  transition: color .15s;
}
.site-footer__list a:hover { color: #fff; }
.site-footer__list--cols2 {
  columns: 2;
  column-gap: 32px;
}
@media (max-width: 560px) {
  .site-footer__list--cols2 { columns: 1; }
}
.site-footer__col--about {
  padding-top: 28px;
}
.site-footer__lk a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #05a880;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  transition: background .15s, border-color .15s;
  margin-bottom: 6px;
}
.site-footer__lk a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>") center/contain no-repeat;
}
.site-footer__lk a:hover {
  background: #05604E;
  border-color: #05604E;
}
.site-footer__bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #888;
}
.site-footer__privacy {
  color: #888;
  text-decoration: underline;
  text-decoration-color: rgba(136,136,136,0.4);
  transition: color .15s;
}
.site-footer__privacy:hover { color: #fff; }
@media (max-width: 560px) {
  .site-footer__bottom { flex-direction: column; text-align: center; }
}
.site-footer__socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 16px;
}
.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #2787f5;
  color: #fff !important;
  transition: transform .15s, background .15s;
}
.site-footer__social:hover { transform: translateY(-2px); background: #1a6fc4; }

/* === Mobile nav drawer === */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 80px 24px 32px;
  box-shadow: -8px 0 32px rgba(0,0,0,0.16);
  transition: right .3s ease;
  overflow-y: auto;
}
.mobile-drawer.is-open { right: 0; }
.mobile-drawer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-drawer__list li { margin-bottom: 4px; }
.mobile-drawer__list a {
  display: block;
  padding: 10px 16px;
  color: #1a1a1a;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 500;
}
.mobile-drawer__list a:hover,
.mobile-drawer__list a:focus { background: #f5f9f7; color: #05604E; }
.mobile-drawer__sublist {
  list-style: none;
  margin: 4px 0 4px 12px;
  padding: 4px 0 8px 8px;
  border-left: 2px solid #ebebeb;
  display: none;
  width: 100%;
}
.mobile-drawer__sublist.is-open { display: block; }
.mobile-drawer__sublist a {
  padding: 6px 12px;
  font-size: 0.92rem;
  color: #555;
}
.mobile-drawer__phone {
  display: block;
  margin-top: 16px;
  padding: 14px;
  background: #05604E;
  color: #fff !important;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
}
.mobile-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.mobile-drawer__backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .site-nav__list { display: none; }
  .site-burger { display: inline-flex; }
  body.has-drawer-open { overflow: hidden; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 16px 80px; }
  .container { padding: 0 16px; }
}

/* ============================================
   ДОПОЛНЕНИЯ V2 (clients-row, letters, project logo)
   ============================================ */

/* === Клиенты — карусель со стрелками + свайп без видимого скроллбара === */
.clients-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.clients-carousel__nav {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #05604E;
  border: 1px solid #e6efeb;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, color .15s ease, transform .15s ease, opacity .15s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  align-self: center;
}
.clients-carousel__nav:hover { background: #05604E; color: #fff; transform: scale(1.05); }
.clients-carousel__nav[disabled] { opacity: 0.35; cursor: default; transform: none; background: #fff; color: #05604E; }
.clients-row {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 8px;
  flex: 1;
  /* Скрыть scrollbar */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}
.clients-row::-webkit-scrollbar { display: none; height: 0; width: 0; } /* Chrome/Safari */
.clients-row__track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 4px;
}
.clients-row__item {
  flex: 0 0 200px;
  height: 110px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  box-shadow: none;
  scroll-snap-align: start;
  transition: transform .2s, opacity .2s;
}
.clients-row__item:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.clients-carousel--drag .clients-row {
  cursor: grab;
  user-select: none;
}
.clients-carousel--drag .clients-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.clients-carousel--drag .clients-row.is-dragging a,
.clients-carousel--drag .clients-row.is-dragging img {
  pointer-events: none;
}
.clients-row__item img {
  max-height: 80px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .clients-carousel__nav { display: none; }   /* на мобиле только свайп */
  .clients-row__item { flex: 0 0 160px; height: 90px; }
}

/* === Project logo === */
.project__logo {
  height: 60px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
.project__logo img {
  max-height: 50px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}
.project__logo--text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, #05604E, #034a3c);
  color: #fff;
  border-radius: 10px;
  font-family: 'TT Travels', 'Onest', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
}
.project__logo--text span { color: inherit; }

/* === Letters (review scans) — горизонтальная карусель с drag === */
.letters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.letters-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.letters-carousel__nav {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #05604E;
  border: 1px solid #e6efeb;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, transform .15s, opacity .15s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  align-self: center;
}
.letters-carousel__nav:hover { background: #05604E; color: #fff; transform: scale(1.05); }
.letters-carousel__nav[disabled] { opacity: 0.35; cursor: default; transform: none; background: #fff; color: #05604E; }
.letters-row {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 12px;
  flex: 1;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 0;
}
.letters-row::-webkit-scrollbar { display: none; height: 0; width: 0; }
.letters-row__track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 0 4px;
}
/* 5 в строке на десктопе — ширина item ~ (1200 - 88(nav) - 4*24(gap)) / 5 = ~203px */
.letters-row__item {
  flex: 0 0 204px;
  scroll-snap-align: start;
}
.letters-row__item .letter__pic img {
  max-height: 280px;
}
.letters-carousel--drag .letters-row {
  cursor: grab;
  user-select: none;
}
.letters-carousel--drag .letters-row.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.letters-carousel--drag .letters-row.is-dragging a,
.letters-carousel--drag .letters-row.is-dragging img {
  pointer-events: none;
}
@media (max-width: 1024px) {
  .letters-row__item { flex: 0 0 200px; }
}
@media (max-width: 768px) {
  .letters-carousel__nav { display: none; }
  .letters-row__item { flex: 0 0 180px; }
  .letters-row__item .letter__pic img { max-height: 240px; }
}
.letter {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform .2s, box-shadow .2s;
  margin: 0;
  position: relative;
}
.letter:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.letter__pic { display: block; text-decoration: none; background: #f5f5f5; }
.letter__pic img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
}
.letter__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px 12px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.letter__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #05604E;
  line-height: 1.3;
}
.letter__text-link {
  position: static;
  display: inline-block;
  padding: 0;
  background: transparent;
  color: #888;
  border: 0;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgba(136,136,136,0.4);
  cursor: pointer;
  transition: color .15s;
}
.letter__text-link::before { content: none; }
.letter__text-link:hover {
  color: #05604E;
  background: transparent;
  transform: none;
  text-decoration-color: currentColor;
}
@media (max-width: 768px) {
  .letter__pic img { max-height: 380px; }
}

/* Tooltip с текстом отзыва — общий */
.letter-tooltip {
  position: fixed;
  z-index: 9998;
  max-width: 380px;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
  pointer-events: none;
}
.letter-tooltip.is-shown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.letter-tooltip__close {
  display: block;
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

/* === About CTA === */
.about__cta { margin-top: 24px; }

/* ============================================
   ЛК-кнопки + свёрнутые услуги в мобильном меню (2026-07-07)
   ============================================ */

/* Кнопка ЛК в шапке (только мобилка) — между логотипом и бургером */
.site-header__lk { display: none; }
@media (max-width: 1024px) {
  .site-header__lk {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    margin-right: 4px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(5,96,78,0.08);
    color: #05604E;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
  }
  .site-header__lk:hover { background: #05604E; color: #fff; }
}
@media (max-width: 374px) {
  .site-header__lk { font-size: 0.78rem; padding: 7px 10px; }
  .site-header__logo img { height: 40px; }
}

/* Кнопка ЛК первой в мобильном меню */
.mobile-drawer__lk {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 0 0 20px;
  border: 2px solid #05604E;
  border-radius: 999px;
  background: rgba(5,96,78,0.08);
  color: #05604E !important;
  font-weight: 700;
  font-size: 1rem;
  transition: background .15s ease, color .15s ease;
}
.mobile-drawer__lk:hover { background: #05604E; color: #fff !important; }

/* Свёрнутый список услуг */
.mobile-drawer__has-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.mobile-drawer__has-sub > a { flex: 1 1 auto; }
.mobile-drawer__sub-toggle {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 8px;
  color: #05604E;
  font-size: 0.9rem;
  padding: 0;
}
.mobile-drawer__sub-toggle:hover { background: #f5f9f7; }
.mobile-drawer__caret {
  display: inline-block;
  transition: transform .2s ease;
}
.mobile-drawer__sub-toggle[aria-expanded="true"] .mobile-drawer__caret { transform: rotate(180deg); }

/* Строка «Вход для клиентов» в hero */
.hero__lk-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__lk-label { color: #666; font-size: 0.95rem; }
.hero__lk-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border: 2px solid #05604E;
  border-radius: 999px;
  color: #05604E;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background .15s ease, color .15s ease;
}
.hero__lk-btn:hover { background: #05604E; color: #fff; }

/* Legal-ссылки в подвале: политика + согласие на cookie (видны и на мобиле) */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
}
@media (max-width: 560px) {
  .site-footer__legal { justify-content: center; text-align: center; }
}
