/**
 * home.css
 * Все стили блоков главной страницы: Hero, О нас, Превью каталога,
 * Преимущества, CTA, Превью программ.
 * Подключается только на главной (is_front_page) — см. functions.php
 */

/* ==================== HERO ==================== */

.vh2-section *, .vh2-section *::before, .vh2-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vh2-section {
  position: relative;
  width: 100%;
  min-height: 70vh; /* ИЗМЕНЕНО: было 100vh */
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
}

.vh2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vh2-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 30%; /* ИСПРАВЛЕНО: было left 70% — двигал не в ту сторону, теперь видно больше верха фото */
  display: block;
}

.vh2-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(20, 18, 16, 0.82) 0%,
    rgba(20, 18, 16, 0.60) 40%,
    rgba(20, 18, 16, 0.15) 70%,
    rgba(20, 18, 16, 0.0) 100%
  );
}

.vh2-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 120px 40px;
  display: flex;
  justify-content: flex-end;
}

.vh2-inner {
  max-width: 480px;
  text-align: right;
}

.vh2-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 16px;
  display: block;
}

.vh2-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 86px;
  font-weight: 300;
  color: #F5F0EA;
  letter-spacing: 8px;
  line-height: 1;
  margin-bottom: 12px;
}

.vh2-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 234, 0.6);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.vh2-subtitle::before,
.vh2-subtitle::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: rgba(245, 240, 234, 0.3);
}

.vh2-divider {
  width: 30px;
  height: 1px;
  background: #8B7355;
  margin: 0 0 32px auto;
}

.vh2-taglines {
  list-style: none;
  margin-bottom: 48px;
}

.vh2-taglines li {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 2px;
  color: rgba(245, 240, 234, 0.8);
  margin-bottom: 8px;
}

.vh2-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.vh2-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  padding: 13px 28px;
  font-family: 'Raleway', sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.vh2-btn--primary {
  background: #F5F0EA !important;
  color: #1A1A1A !important;
  border: 1px solid #F5F0EA !important;
}

.vh2-btn--primary:hover {
  background: transparent !important;
  color: #F5F0EA !important;
}

.vh2-btn--tg {
  background: #1A1A1A !important;
  color: #F5F0EA !important;
  border: 1px solid rgba(245, 240, 234, 0.4) !important;
}

.vh2-btn--tg:hover {
  background: transparent !important;
  color: #F5F0EA !important;
  border-color: #F5F0EA !important;
}

.vh2-btn--tg svg path {
  stroke: #F5F0EA !important;
}

.vh2-btn--outline {
  background: transparent !important;
  color: #F5F0EA !important;
  border: 1px solid rgba(245, 240, 234, 0.4) !important;
}

.vh2-btn--outline:hover {
  border-color: #F5F0EA !important;
  background: rgba(245, 240, 234, 0.08) !important;
}

@media (max-width: 768px) {
  /* ИЗМЕНЕНО: убрал фиксированный min-height:100svh — высота теперь
     считается по контенту (тегланы + 3 кнопки на мобильном занимают
     много места, при жёсткой высоте могло всё поджаться) */

  .vh2-bg::after {
    background: linear-gradient(
      to top,
      rgba(20, 18, 16, 0.85) 0%,
      rgba(20, 18, 16, 0.5) 50%,
      rgba(20, 18, 16, 0.2) 100%
    );
  }

  .vh2-container {
    padding: 80px 24px 60px;
    justify-content: center;
    align-items: flex-end;
  }

  .vh2-inner {
    max-width: 100%;
    text-align: center;
  }

  .vh2-title { font-size: 56px; letter-spacing: 6px; }
  .vh2-subtitle { justify-content: center; }
  .vh2-divider { margin: 0 auto 32px; }
  .vh2-buttons { justify-content: center; gap: 10px; }
  .vh2-btn { padding: 12px 20px; font-size: 9px !important; }
}

@media (max-width: 400px) {
  .vh2-title { font-size: 44px; }
  .vh2-buttons { flex-direction: column; align-items: center; }
  .vh2-btn { width: 100%; justify-content: center; }
}

/* ==================== О НАС ==================== */

.va-section {
  position: relative;
  width: 100%;
  min-height: 420px; /* ИЗМЕНЕНО: было 600px (-30%) */
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.va-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.va-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 30%; /* ИСПРАВЛЕНО: было right 70% — двигал не в ту сторону */
}

.va-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(245, 240, 234, 0.97) 0%,
    rgba(245, 240, 234, 0.85) 35%,
    rgba(245, 240, 234, 0.3) 60%,
    rgba(245, 240, 234, 0) 100%
  );
}

.va-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px;
}

.va-inner {
  max-width: 460px;
}

.va-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 16px;
}

.va-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  line-height: 1.1;
  color: #1A1A1A;
}

.va-divider {
  width: 30px;
  height: 1px;
  background: #8B7355;
  margin-bottom: 28px;
}

.va-text {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: #333;
  margin: 0 0 12px 0;
  letter-spacing: 0.3px;
}

.va-btn {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 32px;
  border: 1px solid #1A1A1A;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1A1A1A;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.va-btn:hover {
  background: #1A1A1A;
  color: #F5F0EA;
}

@media (max-width: 768px) {
  .va-bg::after {
    background: rgba(245, 240, 234, 0.88);
  }
  .va-title { font-size: 36px; }
  .va-content { padding: 60px 24px; }
  .va-inner { max-width: 100%; }
}

/* ==================== ПРЕВЬЮ КАТАЛОГА ====================
   ИЗМЕНЕНО: полностью заменено на присланный код (BEM: .vcp / .vcp__*).
   Верхний паддинг уменьшен на 70% (было 80px) — см. запрос про отступы. */

.vcp *, .vcp *::before, .vcp *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vcp {
  background: #F5F0EA;
  padding: 24px 40px 32px; /* ИЗМЕНЕНО: низ уменьшен с 80px до 32px — зазор перед преимуществами */
  font-family: 'Raleway', sans-serif;
  color: #1A1A1A;
}

.vcp__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.vcp__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 12px;
  display: block;
}

.vcp__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1;
  color: #1A1A1A;
}

.vcp__divider {
  width: 30px;
  height: 1px;
  background: #8B7355;
  margin-top: 18px;
}

.vcp__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid #1A1A1A;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1A1A1A;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
  align-self: flex-end;
}

.vcp__btn:hover {
  background: #1A1A1A;
  color: #F5F0EA;
}

.vcp__btn--bottom {
  display: none;
}

.vcp-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.vcp-viewport {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.vcp-viewport::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.vcp-track {
  display: flex;
  gap: 1px;
  background: rgba(139, 115, 85, 0.2);
  border: 1px solid rgba(139, 115, 85, 0.2);
  width: max-content;
}

.vcp__card {
  background: #F5F0EA;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 0.3s;
  flex: 0 0 clamp(240px, 24vw, 288px); /* ~4 карточки на десктопе, адаптивно */
  scroll-snap-align: start;
}

.vcp__card:hover {
  background: #EDE7DF;
}

/* Кнопки-стрелки (десктоп) */
.vcp-arrow {
  flex: 0 0 auto;
  width: 44px;
  align-self: center;
  height: 44px;
  border: 1px solid rgba(139, 115, 85, 0.4);
  background: #F5F0EA;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s, opacity 0.3s;
}

.vcp-arrow:hover {
  background: #1A1A1A;
  color: #F5F0EA;
  border-color: #1A1A1A;
}

.vcp-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.vcp-arrow:disabled:hover {
  background: #F5F0EA;
  color: #1A1A1A;
  border-color: rgba(139, 115, 85, 0.4);
}

/* Точки-индикаторы */
.vcp-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.vcp-dots__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(139, 115, 85, 0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.vcp-dots__dot--active {
  background: #8B7355;
  transform: scale(1.3);
}

/* На мобильных стрелки прячем — там свайп пальцем */
@media (max-width: 768px) {
  .vcp-arrow { display: none; }
  .vcp__card { flex: 0 0 78vw; } /* видно текущую + краешек следующей = намёк на свайп */
}

/* Плашка New / Premier / VIP — рендерится через versal_render_badge() в functions.php */
.v-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}

.v-badge--new {
  background: rgba(245, 240, 234, 0.95);
  color: #1A1A1A;
}

.v-badge--premier {
  background: #8B7355;
  color: #F5F0EA;
}

.v-badge--vip {
  background: #1A1A1A;
  color: #8B7355;
  border: 1px solid #8B7355;
  padding: 5px 11px;
}

.vcp__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: rgba(139, 115, 85, 0.07);
}

.vcp__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.vcp__card:hover .vcp__photo img {
  transform: scale(1.04);
}

.vcp__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 9px;
  background: #1A1A1A;
  color: #F5F0EA;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.vcp__badge--vip {
  background: #8B7355;
}

.vcp__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.0);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: background 0.4s;
}

.vcp__card:hover .vcp__overlay {
  background: rgba(20, 18, 16, 0.32);
}

.vcp__overlay-cta {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #F5F0EA;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  width: 100%;
  text-align: center;
  padding: 9px 0;
  border: 1px solid rgba(245, 240, 234, 0.5);
  backdrop-filter: blur(2px);
}

.vcp__card:hover .vcp__overlay-cta {
  opacity: 1;
  transform: translateY(0);
}

.vcp__body {
  padding: 14px 16px 18px;
}

.vcp__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.vcp__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600; /* ИЗМЕНЕНО по запросу заказчика: было 400 — для единообразия с каталогом/анкетой */
  letter-spacing: 0.5px;
  line-height: 1;
}

.vcp__stats {
  display: flex;
  border-top: 1px solid rgba(139, 115, 85, 0.15);
  border-bottom: 1px solid rgba(139, 115, 85, 0.15);
  margin-bottom: 12px;
}

.vcp__stat {
  flex: 1;
  padding: 6px 0;
  text-align: center;
  border-right: 1px solid rgba(139, 115, 85, 0.15);
}

.vcp__stat:last-child { border-right: none; }

.vcp__stat-val {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-weight: 400;
  color: #1A1A1A;
  line-height: 1.2;
}

.vcp__stat-key {
  display: block;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-top: 2px;
}

.vcp__price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.vcp__price-from {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
}

.vcp__price-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: #1A1A1A;
}

.vcp__price-unit {
  font-size: 9px;
  font-weight: 300;
  color: #999;
  letter-spacing: 1px;
}

.vcp__footer {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .vcp__btn:not(.vcp__btn--bottom) { display: none; }
  .vcp__btn--bottom {
    display: inline-flex;
    margin: 32px auto 0;
  }
  .vcp__footer { text-align: center; }
}

@media (max-width: 600px) {
  .vcp { padding: 20px 20px 56px; }
  .vcp__title { font-size: 34px; }
}

/* ==================== ПРЕИМУЩЕСТВА ====================
   ИЗМЕНЕНО: верхний паддинг уменьшен на 70% (было 52px) */

.vb2-section {
  background-color: #F5F0EA;
  padding: 4px 40px 52px; /* ИЗМЕНЕНО: верх сокращён ещё раз, было 16px */
  font-family: 'Raleway', sans-serif;
  color: #1A1A1A;
  box-sizing: border-box;
}

.vb2-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vb2-header {
  text-align: center;
  margin-bottom: 36px;
}

.vb2-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 8px;
}

.vb2-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 300;
  margin: 0;
  letter-spacing: 2px;
}

.vb2-divider {
  width: 30px;
  height: 1px;
  background: #8B7355;
  margin: 14px auto 0;
}

.vb2-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(139, 115, 85, 0.25);
  border-left: 1px solid rgba(139, 115, 85, 0.25);
}

.vb2-item {
  padding: 28px 20px;
  border-right: 1px solid rgba(139, 115, 85, 0.25);
  border-bottom: 1px solid rgba(139, 115, 85, 0.25);
  transition: background 0.3s ease;
  text-align: center;
}

.vb2-item:hover {
  background: rgba(139, 115, 85, 0.05);
}

.vb2-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #8B7355;
  margin-bottom: 10px;
  display: block;
}

.vb2-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.vb2-item-text {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
  color: #666;
  letter-spacing: 0.2px;
}

@media (max-width: 960px) {
  .vb2-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .vb2-grid { grid-template-columns: repeat(2, 1fr); }
  .vb2-section { padding: 12px 20px 40px; }
  .vb2-title { font-size: 26px; }
}

/* ==================== CTA ====================
   ИЗМЕНЕНО: object-position фото — было "center top" (видна только макушка),
   стало "center 30%" (окно кропа сдвинуто ниже) */

.vhcta *,
.vhcta *::before,
.vhcta *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vhcta {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'Raleway', sans-serif;
}

.vhcta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vhcta__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #141210;
}

.vhcta__bg img {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* ИЗМЕНЕНО: было center top */
  display: block;
}

.vhcta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 18, 16, 1.0)  0%,
    rgba(20, 18, 16, 1.0) 35%,
    rgba(20, 18, 16, 0.5) 50%,
    rgba(20, 18, 16, 0.0) 62%
  );
}

.vhcta__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 40px;
}

.vhcta__content {
  max-width: 440px;
}

.vhcta__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 16px;
  display: block;
}

.vhcta__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #F5F0EA;
  line-height: 1.1;
  margin-bottom: 20px;
}

.vhcta__divider {
  width: 30px;
  height: 1px;
  background: #8B7355;
  margin-bottom: 20px;
}

.vhcta__text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: rgba(245, 240, 234, 0.65);
  margin-bottom: 40px;
}

.vhcta__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.vhcta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.vhcta__btn--primary {
  background: #F5F0EA !important;
  color: #1A1A1A !important;
  border: 1px solid #F5F0EA !important;
}

.vhcta__btn--primary:hover {
  background: transparent !important;
  color: #F5F0EA !important;
  border-color: #F5F0EA !important;
}

.vhcta__btn--primary svg path {
  stroke: #1A1A1A !important;
  transition: stroke 0.3s;
}

.vhcta__btn--primary:hover svg path {
  stroke: #F5F0EA !important;
}

.vhcta__btn--outline {
  background: transparent !important;
  color: #F5F0EA !important;
  border: 1px solid rgba(245, 240, 234, 0.5) !important;
}

.vhcta__btn--outline:hover {
  border-color: #F5F0EA !important;
  background: rgba(245, 240, 234, 0.1) !important;
  color: #F5F0EA !important;
}

@media (max-width: 768px) {
  .vhcta { min-height: 260px; }
  .vhcta__bg img { width: 100%; }
  .vhcta__bg::after { background: rgba(20, 18, 16, 0.80); }
  .vhcta__inner { padding: 36px 24px; }
  .vhcta__content { max-width: 100%; }
  .vhcta__title { font-size: 28px; }
  .vhcta__buttons { flex-direction: column; }
  .vhcta__btn { justify-content: center; }
}

/* ==================== ПРЕВЬЮ ПРОГРАММ ====================
   ИЗМЕНЕНО: переписано в том же стиле, что и превью каталога (BEM,
   тот же аспект фото 3:4, hover-оверлей), но без плашек, статов и цены —
   только фото и название, как просили. */

.vpp *, .vpp *::before, .vpp *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.vpp {
  background: #F5F0EA;
  padding: 24px 40px 96px;
  font-family: 'Raleway', sans-serif;
  color: #1A1A1A;
}

.vpp__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.vpp__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #8B7355;
  margin-bottom: 12px;
  display: block;
}

.vpp__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1;
  color: #1A1A1A;
}

.vpp__divider {
  width: 30px;
  height: 1px;
  background: #8B7355;
  margin-top: 18px;
}

.vpp__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid #1A1A1A;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1A1A1A;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
  align-self: flex-end;
}

.vpp__btn:hover {
  background: #1A1A1A;
  color: #F5F0EA;
}

.vpp__btn--bottom {
  display: none;
}

.vpp__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* ИЗМЕНЕНО: было gap:1px + фоновые линии-границы, теперь настоящий отступ */
  max-width: 1200px;
  margin: 0 auto;
}

.vpp__card {
  background: #F5F0EA;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 0.3s;
}

.vpp__card:hover {
  background: #EDE7DF;
}

.vpp__photo {
  position: relative;
  aspect-ratio: 16 / 9; /* ИЗМЕНЕНО: фото программ в формате 16:9 */
  overflow: hidden;
  background: rgba(139, 115, 85, 0.07);
}

.vpp__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.vpp__card:hover .vpp__photo img {
  transform: scale(1.04);
}

.vpp__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 16, 0.0);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: background 0.4s;
}

.vpp__card:hover .vpp__overlay {
  background: rgba(20, 18, 16, 0.32);
}

.vpp__overlay-cta {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #F5F0EA;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  width: 100%;
  text-align: center;
  padding: 9px 0;
  border: 1px solid rgba(245, 240, 234, 0.5);
  backdrop-filter: blur(2px);
}

.vpp__card:hover .vpp__overlay-cta {
  opacity: 1;
  transform: translateY(0);
}

.vpp__body {
  padding: 16px;
  text-align: center;
}

.vpp__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.vpp__footer {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .vpp__grid { grid-template-columns: repeat(2, 1fr); }
  .vpp__btn:not(.vpp__btn--bottom) { display: none; }
  .vpp__btn--bottom {
    display: inline-flex;
    margin: 32px auto 0;
  }
  .vpp__footer { text-align: center; }
}

@media (max-width: 600px) {
  .vpp { padding: 20px 20px 72px; }
  .vpp__title { font-size: 34px; }
  .vpp__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== SEO-ТЕКСТ ГЛАВНОЙ ====================
   Стилистика полностью повторяет SEO-блок каталога (.vac__seo*) —
   левое выравнивание, обрезка ~10 строк с раскрытием, strong/em/списки. */

.vpt-section {
  background: #F5F0EA;
  padding: 8px 40px 72px;
  font-family: 'Raleway', sans-serif;
  box-sizing: border-box;
}

.vpt-container {
  max-width: 800px;
  margin: 0; /* ИЗМЕНЕНО: было margin: 0 auto (центрировало блок) — теперь прижат влево */
}

.vpt-text-wrap {
  max-height: 19em; /* ~10 строк при line-height 1.9 и font-size 13px (см. font-size ниже) */
  font-size: 13px; /* ИСПРАВЛЕНО: раньше не задан — max-height считался от унаследованных 16px,
                       из-за чего реально обрезалось на ~12-13 строке, а не на 10 */
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

.vpt-text-wrap.vpt-expanded {
  max-height: 3000px;
}

.vpt-text-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 44px;
  background: linear-gradient(to bottom, rgba(245, 240, 234, 0), rgba(245, 240, 234, 1));
  pointer-events: none;
  transition: opacity 0.3s;
}

.vpt-text-wrap.vpt-expanded::after {
  opacity: 0;
  pointer-events: none;
}

.vpt-text {
  font-size: 13px;
  font-weight: 400; /* ИЗМЕНЕНО: было 300 — слишком светлый на бежевом фоне */
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: #3D3D3D; /* ИЗМЕНЕНО: было #555 — темнее для контраста */
  text-align: left; /* ИЗМЕНЕНО: было center */
  margin: 0;
}

.vpt-text strong,
.vpt-text b {
  font-weight: 600;
  color: #1A1A1A;
}

.vpt-text em,
.vpt-text i {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

.vpt-text ul,
.vpt-text ol {
  margin: 12px 0;
  padding-left: 22px;
}

.vpt-text li {
  margin-bottom: 6px;
}

.vpt-toggle {
  display: block;
  margin: 16px 0 0; /* было бы auto для центра — теперь тоже прижата влево, как весь блок */
  padding: 10px 28px;
  background: transparent;
  border: 1px solid rgba(139, 115, 85, 0.4);
  color: #1A1A1A;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.vpt-toggle:hover {
  border-color: #8B7355;
  color: #8B7355;
}

@media (max-width: 600px) {
  .vpt-section { padding: 8px 20px 48px; }
  .vpt-text { font-size: 13px; }
}
