/* ============================================================
   LoftStudio — стили внутренних страниц
   ============================================================ */

/* ===== HERO СТРАНИЦ ===== */
.page-hero {
    padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
    background: var(--bg);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 107, 74, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1 { margin: 0 0 24px; position: relative; }
.page-hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 500;
}
.page-hero .lead { position: relative; }

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.advantage {
    padding: 32px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: all .3s ease;
}
.advantage:hover {
    border-color: var(--emerald);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.advantage__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--emerald-tint);
    color: var(--emerald);
    transition: all .3s ease;
}
.advantage:hover .advantage__icon {
    background: var(--emerald);
    color: var(--white);
    transform: rotate(-8deg) scale(1.05);
}
.advantage__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text);
}
.advantage__text {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
    align-items: center;
}
.about__visual {
    aspect-ratio: 4/5;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.about__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}
.about__visual:hover img { transform: scale(1.03); }
.about__visual::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    right: -24px;
    bottom: -24px;
    border: 1px solid var(--gold);
    z-index: -1;
    pointer-events: none;
    transition: transform .6s ease;
}
.about__text p { color: var(--text-muted); }
.about__text h2 { margin: 0 0 24px; }
.about__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}
.feature__num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin: 0 0 12px;
    position: relative;
    display: inline-block;
}
.feature__num::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 4px;
    width: 6px;
    height: 6px;
    background: var(--emerald);
    border-radius: 50%;
}
.feature__title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text);
}
.feature__text {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* ===== КАТАЛОГ РАСШИРЕННЫЙ ===== */
.catalog__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 600;
    margin: 0 0 30px;
    letter-spacing: -0.01em;
}
.section-links { padding: 10px 0 30px; }
.section-links__container { display: flex; flex-wrap: wrap; gap: 10px; }
.section-links a {
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px dotted var(--text-muted);
    transition: 0.2s;
}
.section-links a:hover { color: var(--emerald); border-color: var(--emerald); }

.sortout {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}
.sortout__title { font-size: 15px; color: var(--text-muted); }
.sortout__text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}
.sortout__text:hover { color: var(--gold); }
.sortout__checkboxes { display: flex; gap: 20px; }
.sortout__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}
.sortout__filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 100px;
    cursor: pointer;
    transition: 0.2s;
}
.sortout__filter-btn:hover { border-color: var(--emerald); color: var(--emerald); }

.catalog__filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
.filters__item { display: flex; flex-direction: column; gap: 15px; }
.filters__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}
.filters__select {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
}
.filters__select::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    margin-top: -4px;
}
.filters__checkbox-list { display: flex; flex-direction: column; gap: 10px; }
.filters__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.catalog__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
.catalog__item { position: relative; }

.catalog-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: 0.4s ease;
}
.catalog-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--gold);
}
.catalog-item__image {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bg-alt) center/cover no-repeat;
    overflow: hidden;
}
.catalog-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.catalog-item:hover .catalog-item__image img { transform: scale(1.05); }

.catalog-item__favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    border: none;
    transition: 0.25s;
    color: var(--text-muted);
}
.catalog-item__favorite:hover {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}
.catalog-item__favorite.is-active {
    background: var(--gold);
    color: var(--white);
}

.catalog-item__badges {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.catalog-item__badge {
    padding: 6px 14px;
    background: var(--white);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.catalog-item__badge--gold { background: var(--gold); color: var(--white); }
.catalog-item__badge--emerald { background: var(--emerald); color: var(--white); }

.catalog-item__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.catalog-item__installment {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald);
    font-weight: 500;
}
.catalog-item__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    margin: 0;
}
.catalog-item__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
    margin-top: 4px;
}
.catalog-item__price span {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
}
.catalog-item__price-old {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 300;
}
.catalog-item__button {
    margin-top: auto;
    width: 100%;
    padding: 14px 24px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .3s ease;
    font-family: var(--font-body);
    font-weight: 500;
}
.catalog-item__button:hover {
    background: var(--emerald);
    color: var(--white);
    border-color: var(--emerald);
}

/* ===== БАННЕР В СЕТКЕ ===== */
.catalog-banner {
    padding: 40px;
    background: var(--dark);
    color: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}
.catalog-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 139, 94, 0.3) 0%, transparent 70%);
}
.catalog-banner__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    position: relative;
}
.catalog-banner__text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(250, 248, 245, 0.8);
    position: relative;
}
.catalog-banner__text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}
.catalog-banner__text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-light);
}

/* ===== ПАГИНАЦИЯ ===== */
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 0;
}
.catalog-pagination__item {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    font-size: 15px;
    transition: 0.2s;
    cursor: pointer;
    color: var(--text);
    font-family: var(--font-display);
}
.catalog-pagination__item:hover { border-color: var(--gold); color: var(--gold); }
.catalog-pagination__item.is-active {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--white);
}
.catalog-pagination__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.2s;
}
.catalog-pagination__arrow:hover {
    border-color: var(--emerald);
    background: var(--emerald);
}
.catalog-pagination__arrow::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--text);
    border-right: 2px solid var(--text);
}
.catalog-pagination__arrow:hover::after { border-color: var(--white); }
.catalog-pagination__arrow--prev::after { transform: rotate(-135deg); margin-left: 3px; }
.catalog-pagination__arrow--next::after { transform: rotate(45deg); margin-right: 3px; }
.catalog-pagination__arrow.is-disabled { opacity: 0.3; pointer-events: none; }
.catalog-pagination__dots { font-size: 15px; color: var(--text-muted); }

.load-more {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.load-more__btn {
    padding: 16px 60px;
    border: 1px solid var(--dark);
    border-radius: var(--radius);
    background: transparent;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text);
}
.load-more__btn:hover {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--white);
}

/* ===== ОПИСАНИЕ ===== */
.section-desc {
    padding: 60px 0;
    max-width: 900px;
}
.section-desc h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin: 30px 0 15px;
}
.section-desc p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.section-desc ul { margin: 15px 0; padding-left: 20px; }
.section-desc li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    list-style: disc;
}
.section-desc a {
    color: var(--emerald);
    border-bottom: 1px solid var(--emerald);
}

/* ===== МОДАЛЬНОЕ ОКНО: ЗВЁЗДЫ ОТЗЫВА (если используется) ===== */
.reviews-rating-input {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    flex-wrap: wrap;
}
.reviews-star {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px;
    color: #D9D2C5;
    transition: all 0.2s ease;
    display: grid;
    place-items: center;
    border-radius: 50%;
}
.reviews-star:hover {
    transform: scale(1.15);
    background: var(--bg-alt);
}
.reviews-star svg {
    width: 100%;
    height: 100%;
    transition: color 0.2s, fill 0.2s;
}
.reviews-star.is-active svg,
.reviews-star.is-hover svg {
    color: var(--gold);
    fill: var(--gold);
}

/* ===== СООБЩЕНИЕ ОБ УСПЕХЕ ФОРМЫ ===== */
.form-success {
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--emerald-tint);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: opacity .4s, transform .4s;
    border: 1px solid rgba(31, 107, 74, 0.2);
}
.form-success.is-hide { opacity: 0; transform: translateY(-10px); }
.form-success__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--emerald);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}
.form-success__text {
    font-size: 14px;
    color: var(--text);
    font-weight: 400;
    line-height: 1.4;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1200px) {
    .catalog__items { grid-template-columns: repeat(2, 1fr); }
    .catalog__filters { grid-template-columns: repeat(2, 1fr); }
    .advantages { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .about { grid-template-columns: 1fr; gap: 48px; }
    .about__visual { max-width: 500px; }
}

@media (max-width: 768px) {
    .page-hero { padding: 60px 0 40px; }
    .catalog__items { grid-template-columns: 1fr; gap: 24px; }
    .catalog__filters { grid-template-columns: 1fr; }
    .advantages { grid-template-columns: 1fr; }
    .about__features {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 32px;
        margin-top: 32px;
    }
    .sortout { flex-direction: column; align-items: flex-start; }
}
/* ============================================
   FAQ — АККОРДЕОН
   ============================================ */
.faq {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.faq__item:hover {
  border-color: var(--gold);
}
.faq__item[open] {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(184, 147, 90, 0.08);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  user-select: none;
  transition: color .25s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { display: none; }

.faq__item[open] .faq__q {
  color: var(--gold);
}

.faq__arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  transition: all .3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq__item[open] .faq__arrow {
  background: var(--gold);
  color: var(--white);
  transform: rotate(180deg);
}

.faq__a {
  padding: 0 28px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 0;
}

/* Анимация появления */
.faq__a {
  animation: faqFade .35s ease;
}
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Мобильная адаптация */
@media (max-width: 720px) {
  .faq__q {
    padding: 18px 20px;
    font-size: 16px;
  }
  .faq__a {
    padding: 0 20px 20px;
    padding-top: 16px;
    font-size: 14px;
  }
  .faq__arrow {
    width: 28px;
    height: 28px;
  }
}
/* ============================================
   ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ
   ============================================ */
.privacy {
  max-width: 860px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.privacy__meta {
  padding: 18px 22px;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  margin-bottom: 40px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.privacy__meta b {
  color: var(--text);
  font-weight: 500;
}
.privacy__meta a {
  color: var(--emerald);
  border-bottom: 1px solid rgba(31, 107, 74, 0.3);
  transition: color .25s ease, border-color .25s ease;
}
.privacy__meta a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.privacy h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--text);
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.privacy h2:first-of-type {
  margin-top: 0;
}

.privacy p {
  margin: 0 0 16px;
  color: var(--text);
}

.privacy ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.privacy li {
  position: relative;
  padding-left: 8px;
  margin-bottom: 8px;
  color: var(--text);
  list-style: none;
}
.privacy li::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.privacy a {
  color: var(--emerald);
  border-bottom: 1px solid rgba(31, 107, 74, 0.3);
  transition: color .25s ease, border-color .25s ease;
}
.privacy a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 720px) {
  .privacy {
    font-size: 15px;
  }
  .privacy__meta {
    padding: 14px 16px;
    font-size: 13px;
  }
  .privacy h2 {
    margin: 36px 0 12px;
  }
}
/* ============================================
   ОТЗЫВЫ
   ============================================ */
.reviews {
  max-width: 860px;
  margin: 0 auto;
}

.reviews__form-wrap h2 {
  margin: 8px 0 32px;
}

/* ---------- Форма отзыва ---------- */
.review-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.review-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-form__field--full {
  grid-column: 1 / -1;
}
.review-form__actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

/* ---------- Рейтинг ---------- */
.rating-input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  flex-wrap: wrap;
}
.rating-star {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  color: #D9D2C5;
  transition: all 0.2s ease;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.rating-star svg {
  width: 100%;
  height: 100%;
  transition: color 0.2s, fill 0.2s;
}
.rating-star:hover {
  transform: scale(1.15);
  background: var(--bg-alt);
}
.rating-star.is-active svg,
.rating-star.is-hover svg {
  color: var(--gold);
  fill: var(--gold);
}
.rating-text {
  margin-left: 12px;
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Загрузка фото ---------- */
.review-upload {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.review-upload__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1.5px dashed var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.review-upload__btn:hover {
  background: var(--gold);
  color: var(--white);
  border-style: solid;
}
.review-upload__btn svg {
  width: 16px;
  height: 16px;
}
.review-upload__hint {
  font-size: 13px;
  color: var(--text-muted);
}

.review-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.review-preview {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.review-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-preview__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(28, 28, 30, 0.75);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease;
}
.review-preview__remove:hover {
  background: #C44536;
}

/* ---------- Список отзывов ---------- */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.review-card {
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.review-card__avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(184, 147, 90, 0.25);
}
.review-card__meta {
  flex: 1;
  min-width: 0;
}
.review-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.review-card__city {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.review-card__date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.review-card__star {
  width: 18px;
  height: 18px;
  color: #D9D2C5;
  display: block;
}
.review-card__star svg {
  width: 100%;
  height: 100%;
}
.review-card__star.is-active {
  color: var(--gold);
}

.review-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 14px;
  white-space: pre-line;
}

.review-card__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.review-card__photo {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card__photo:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(28, 28, 30, 0.15);
}
.review-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Пустое состояние ---------- */
.reviews-empty {
  max-width: 520px;
  margin: 20px auto 0;
  padding: 48px 32px;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.reviews-empty__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--emerald-tint);
  color: var(--emerald);
}
.reviews-empty__icon svg {
  width: 28px;
  height: 28px;
}
.reviews-empty__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}
.reviews-empty__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Счётчик ---------- */
.reviews-count {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}
.reviews-count strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Адаптив ---------- */
@media (max-width: 720px) {
  .review-form {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .review-card {
    padding: 22px 20px;
  }
  .review-card__head {
    gap: 10px;
    flex-wrap: wrap;
  }
  .review-card__date {
    font-size: 11px;
    margin-left: auto;
  }
  .review-card__photo {
    width: 100px;
    height: 100px;
  }
  .review-preview {
    width: 74px;
    height: 74px;
  }
  .rating-star {
    width: 32px;
    height: 32px;
  }
}