/*
 * Главная страница (landing): вместе с menu-page.css даёт те же заголовки,
 * что на странице меню магазина (.shop-menu-header__name, .category-title, .product-card-title).
 */

/* Как у карусели промо: promo-banners.css — .carousel { max-width: 1100px; padding: 0 16px } */
.landing-content {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Заголовки блоков и подзаголовки по центру (веб и мобилка) */
.landing-content .category-title {
  text-align: center;
  padding-left: 0;
}
.landing-content .locations__sub,
.landing-content .hero__subtitle {
  text-align: center;
}

/* Hero */
.hero {
  padding: 40px 0 52px;
  background: var(--bg);
}
.hero .category-title {
  margin-top: 0;
}
.hero__subtitle {
  margin-top: 8px;
  font-size: var(--text-base);
  color: var(--gray);
  line-height: 1.55;
}

.hero-features {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .hero-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero-feature {
  text-align: center;
}
.hero-feature__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.hero-feature__icon i {
  color: var(--red);
}
.hero-feature__text {
  font-size: var(--text-sm);
  color: var(--gray);
  line-height: 1.55;
}

/* Локации */
.locations {
  padding: 36px 0 44px;
  background: var(--bg-muted);
}
.locations .category-title {
  margin-top: 0;
  margin-bottom: 6px;
}
.locations__sub {
  font-size: var(--text-base);
  color: var(--gray);
  margin-bottom: 24px;
}

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .locations-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.location-card {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.location-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.location-card__img {
  width: 33%;
  flex-shrink: 0;
  margin: 8px 0 8px 8px;
  background: var(--bg-muted);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
}
.location-card__body {
  flex: 1;
  padding: 10px 14px;
}
.location-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}
.location-card__addr {
  font-size: var(--text-sm);
  color: var(--gray);
  line-height: 1.45;
}

@media (min-width: 768px) {
  .location-card__img {
    aspect-ratio: auto;
    min-height: 120px;
  }
  .location-card__body {
    padding: 14px 18px;
  }
}

/* Заголовки блока «Почему OK Pizza» — как названия товаров на странице меню */
.hero-feature .product-card-title {
  margin-bottom: 6px;
}

/* Footer */
.landing-footer {
  padding: 36px 20px;
  background: var(--dark);
  color: var(--gray-light);
  text-align: center;
  font-size: var(--text-sm);
}
.landing-footer a {
  color: #cbd5e1;
  transition: color var(--transition);
}
.landing-footer a:hover {
  color: var(--white);
}
.landing-footer__copy {
  margin-bottom: 10px;
  opacity: 0.75;
}
.landing-footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
