/**
 * about.css
 * Стили страницы «О нас»: Hero, Цитата (перекрашена в тёмную — см. чат),
 * Манифест, Основы (Pillars), Как мы работаем, CTA.
 * Подключается только на странице /about/ — см. functions.php
 */

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

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

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

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

.vah__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 0%; /* ИЗМЕНЕНО: было right 20% — это предел, дальше двигать некуда */
  display: block;
}

.vah__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(245, 240, 234, 0.98) 0%,
    rgba(245, 240, 234, 0.90) 30%,
    rgba(245, 240, 234, 0.50) 55%,
    rgba(245, 240, 234, 0.0) 100%
  );
}

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

.vah__inner {
  max-width: 420px;
}

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

.vah__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: #1A1A1A;
  letter-spacing: 3px;
  line-height: 1.05;
  margin-bottom: 16px;
}

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

.vah__sub {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #555;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

@media (max-width: 860px) {
  .vah {
    height: auto;
    min-height: 260px;
    padding: 60px 0;
  }

  .vah__bg::after {
    background: linear-gradient(
      to right,
      rgba(245, 240, 234, 0.97) 0%,
      rgba(245, 240, 234, 0.85) 50%,
      rgba(245, 240, 234, 0.60) 100%
    );
  }

  .vah__title { font-size: 40px; }
  .vah__container { padding: 0 24px; }
}

@media (max-width: 480px) {
  .vah { padding: 48px 0; }
  .vah__bg::after { background: rgba(245, 240, 234, 0.92); }
  .vah__title { font-size: 34px; letter-spacing: 2px; }
  .vah__inner { max-width: 100%; }
}

/* ==================== ЦИТАТА ====================
   ИЗМЕНЕНО: перекрашена из светлой в тёмную (было background: #F5F0EA,
   .vaq__quote цвет #1A1A1A) — чтобы получить чередование
   светлый/тёмный между блоками страницы. Золотой акцент (#8B7355)
   не трогал — он одинаково читается на любом фоне. */

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

.vaq {
  background: #1A1A1A; /* ИЗМЕНЕНО: было #F5F0EA */
  padding: 32px 40px;
  font-family: 'Raleway', sans-serif;
  border-top: 1px solid rgba(139, 115, 85, 0.25);
  border-bottom: 1px solid rgba(139, 115, 85, 0.25);
}

.vaq__container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.vaq__line {
  width: 20px;
  height: 1px;
  background: #8B7355;
  margin: 0 auto 16px;
}

.vaq__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #F5F0EA; /* ИЗМЕНЕНО: было #1A1A1A */
  margin-bottom: 16px;
}

.vaq__quote::before {
  content: '«';
  color: #8B7355;
}

.vaq__quote::after {
  content: '»';
  color: #8B7355;
}

.vaq__line--bottom {
  width: 20px;
  height: 1px;
  background: #8B7355;
  margin: 0 auto 10px;
}

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

@media (max-width: 768px) {
  .vaq { padding: 24px 24px; }
  .vaq__quote { font-size: 17px; }
}

@media (max-width: 480px) {
  .vaq { padding: 18px 20px; }
  .vaq__quote { font-size: 15px; letter-spacing: 0.5px; }
}

/* ==================== МАНИФЕСТ ==================== */

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

.vam {
  background: #F5F0EA;
  padding: 50px 40px;
  font-family: 'Raleway', sans-serif;
}

.vam__container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

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

.vam__lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 1px;
  color: #1A1A1A;
  margin-bottom: 20px;
}

.vam__divider {
  width: 1px;
  height: 24px;
  background: rgba(139, 115, 85, 0.4);
  margin: 0 auto 20px;
}

.vam__body {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.4px;
  color: #444;
  margin-bottom: 10px;
}

.vam__body:last-of-type {
  margin-bottom: 0;
}

.vam__accent {
  display: block;
  margin-top: 26px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 3px;
  color: #8B7355;
}

@media (max-width: 768px) {
  .vam { padding: 36px 24px; }
  .vam__lead { font-size: 22px; }
}

@media (max-width: 480px) {
  .vam { padding: 28px 20px; }
  .vam__lead { font-size: 19px; }
}

/* ==================== ОСНОВЫ (PILLARS) ==================== */

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

.vap {
  background: #1A1A1A;
  padding: 72px 40px;
  font-family: 'Raleway', sans-serif;
}

.vap__container {
  max-width: 1100px;
  margin: 0 auto;
}

.vap__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #8B7355;
  text-align: center;
  margin-bottom: 48px;
}

.vap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.vap__item {
  padding: 48px 40px;
  border-top: 1px solid rgba(139, 115, 85, 0.25);
  border-right: 1px solid rgba(139, 115, 85, 0.15);
  position: relative;
  transition: background 0.4s ease;
}

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

.vap__item:hover {
  background: rgba(139, 115, 85, 0.05);
}

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

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

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

.vap__text {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.3px;
  color: rgba(245, 240, 234, 0.45);
}

@media (max-width: 860px) {
  .vap__grid { grid-template-columns: 1fr; }

  .vap__item {
    border-right: none;
    border-bottom: 1px solid rgba(139, 115, 85, 0.15);
    padding: 36px 24px;
  }

  .vap__item:last-child { border-bottom: none; }

  .vap { padding: 52px 24px; }
}

@media (max-width: 480px) {
  .vap { padding: 40px 20px; }
  .vap__title { font-size: 24px; }
}

/* ==================== КАК МЫ РАБОТАЕМ ==================== */

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

.vaw {
  background: #F5F0EA;
  padding: 56px 40px;
  font-family: 'Raleway', sans-serif;
}

.vaw__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

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

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

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

.vaw__text {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: 0.3px;
  color: #444;
  margin-bottom: 14px;
}

.vaw__text:last-of-type {
  margin-bottom: 0;
}

.vaw__geo {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vaw__geo-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1A1A1A;
}

.vaw__geo-item::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: #8B7355;
  flex-shrink: 0;
}

.vaw__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.vaw__image-wrap::before {
  content: '';
  position: absolute;
  top: 16px;
  left: -16px;
  right: 16px;
  bottom: -16px;
  border: 1px solid rgba(139, 115, 85, 0.2);
  z-index: 0;
  pointer-events: none;
}

.vaw__image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain; /* ИЗМЕНЕНО: было cover — герб обрезался с любой позицией. Фон картинки совпадает с фоном сайта, поэтому рамка не будет заметна */
  background: #F5F0EA;
  display: block;
}

.vaw__placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(139, 115, 85, 0.06);
  border: 1px solid rgba(139, 115, 85, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.vaw__placeholder svg {
  opacity: 0.2;
}

.vaw__placeholder-text {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8B7355;
  opacity: 0.5;
}

@media (max-width: 860px) {
  .vaw__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .vaw__image-wrap,
  .vaw__placeholder {
    order: -1;
    aspect-ratio: 16/9;
  }

  .vaw__image-wrap::before { display: none; }

  .vaw { padding: 40px 24px; }
  .vaw__title { font-size: 32px; }
}

@media (max-width: 480px) {
  .vaw { padding: 28px 20px; }
  .vaw__title { font-size: 26px; }
}

/* ==================== CTA ==================== */

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

.vac {
  background: #1A1A1A;
  font-family: 'Raleway', sans-serif;
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 480px;
}

.vac__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  z-index: 0;
}

.vac__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.vac__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #1A1A1A 0%,
    rgba(26, 26, 26, 0.85) 20%,
    rgba(26, 26, 26, 0.3) 60%,
    rgba(26, 26, 26, 0.0) 100%
  );
}

.vac__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 40px;
  display: flex;
  align-items: center;
}

.vac__inner {
  max-width: 460px;
}

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

.vac__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 2px;
  color: #F5F0EA;
  line-height: 1.15;
  margin-bottom: 12px;
}

.vac__sub {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: rgba(245, 240, 234, 0.4);
  margin-bottom: 40px;
}

.vac__divider {
  width: 30px;
  height: 1px;
  background: rgba(139, 115, 85, 0.5);
  margin-bottom: 40px;
}

.vac__buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.vac__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 ease, color 0.3s ease, border-color 0.3s ease;
}

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

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

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

.vac__btn--tg:hover {
  background: rgba(245, 240, 234, 0.06) !important;
  color: #F5F0EA !important;
  border-color: #F5F0EA !important;
}

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

.vac__btn--tg:hover svg path {
  stroke: #F5F0EA !important;
}

@media (max-width: 860px) {
  .vac { min-height: 400px; }

  .vac__photo {
    width: 100%;
    opacity: 0.18;
  }

  .vac__photo img {
    object-position: 65% 15%;
  }

  .vac__photo::after {
    background: rgba(26, 26, 26, 0.6);
  }

  .vac__inner { max-width: 100%; }
  .vac__container { padding: 52px 24px; }
  .vac__title { font-size: 30px; }
}

@media (max-width: 480px) {
  .vac { min-height: auto; }
  .vac__container { padding: 40px 20px; }
  .vac__title { font-size: 26px; }
  .vac__buttons { flex-direction: column; align-items: stretch; }
  .vac__btn { justify-content: center; }
}
