﻿/* ================================================================
   Информационные страницы (доставка, отзывы, контакты)
   ================================================================ */

.info-page {
  padding: 32px var(--px) 80px;
}
.info-page-header {
  margin-bottom: 32px;
}
.info-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color .15s;
}
.info-back:hover { color: var(--accent); }
.info-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}
@media (max-width: 720px) {
  .info-page-title { font-size: 24px; }
}

/* ---- Карточки ---- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.info-card-icon {
  font-size: 36px;
  margin-bottom: 12px;
  line-height: 1;
  color: var(--accent);
}
.info-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}
.info-card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-list li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}
.info-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.info-phone-btn {
  display: inline-block;
  margin-top: 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 40px;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .16s var(--ease);
  box-shadow: 0 4px 14px var(--accent-shadow);
}
.info-phone-btn:hover { background: var(--accent-hover); }

/* ---- Отзывы ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.review-stars {
  font-size: 13px;
  color: #f4a234;
  margin-top: 2px;
}
.review-date {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.review-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.reviews-cta {
  text-align: center;
  padding: 32px;
  background: var(--surface2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.reviews-cta p {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text);
}

/* ---- Контакты ---- */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 720px) {
  .contacts-layout { grid-template-columns: 1fr; }
}
.contacts-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contacts-card { padding: 20px 22px; }
.contacts-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.contacts-value--link {
  color: var(--accent);
  text-decoration: none;
  transition: color .15s;
}
.contacts-value--link:hover { color: var(--accent-hover); }
.contacts-map {
  position: sticky;
  top: calc(var(--promo-h) + var(--header-h) + 24px);
}
.contacts-map-frame {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface2);
  min-height: 320px;
}
/* Яндекс-карта вставляет таблицу — сбрасываем её размеры в контейнере */
.contacts-map-frame > * {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 720px) {
  .contacts-map { position: static; }
  .contacts-map-frame { aspect-ratio: unset; height: 300px; }
}
