/* Витрина — главная страница (design/storefront, FirePage Витрина.dc.html).
   Дополняет storefront.css: hero, парящие скриншоты, тёмная секция-преимущества. */

/* ── Hero ──────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 36px;
}

.hero-copy { min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.04;
  margin: 0 0 22px;
  color: var(--ink);
  text-wrap: balance;
}

.hero-copy > p {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 460px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin-bottom: 34px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #3A2E26;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 13px;
  border-radius: 999px;
}
.hero-pill-star { color: var(--accent); }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid #E2B9A6;
  padding-bottom: 3px;
}
.hero-link:hover { border-color: var(--accent); }

/* ── Парящие скриншоты каталожных сайтов ── */
.hero-art {
  position: relative;
  height: 480px;
}
.hero-shot {
  position: absolute;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  padding: 8px 8px 9px;
  box-shadow: 0 24px 48px -24px rgba(39, 31, 26, 0.45);
}
.hero-shot-bar {
  display: flex;
  gap: 5px;
  padding: 4px 4px 7px;
}
.hero-shot-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E9DDCF;
}
.hero-shot img {
  display: block;
  width: 100%;
  border-radius: 8px;
}
.hero-shot-1 {
  left: 0;
  top: 60px;
  width: 60%;
  z-index: 1;
  transform: rotate(-6deg);
  animation: fpFloatA 7s ease-in-out infinite;
}
.hero-shot-2 {
  right: 0;
  top: 18px;
  width: 58%;
  z-index: 1;
  transform: rotate(5deg);
  animation: fpFloatB 8s ease-in-out infinite;
}
.hero-shot-3 {
  left: 50%;
  bottom: 0;
  width: 70%;
  margin-left: -35%;
  z-index: 2;
  transform: rotate(-1.5deg);
  animation: fpFloatC 6s ease-in-out infinite;
  border-radius: 16px;
  padding: 9px 9px 11px;
  box-shadow: 0 34px 60px -26px rgba(39, 31, 26, 0.55);
}
.hero-shot-3 img { border-radius: 9px; }

.hero-badge {
  position: absolute;
  right: 2%;
  bottom: -6px;
  z-index: 3;
  background: var(--ink);
  color: #fff;
  border-radius: 13px;
  padding: 12px 16px;
  box-shadow: 0 18px 36px -16px rgba(39, 31, 26, 0.6);
}
.hero-badge-cap {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #C9A493;
  margin-bottom: 2px;
}
.hero-badge-price-val {
  display: block;
  font-size: 22px;
  line-height: 1;
}

@keyframes fpFloatA {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(-6deg) translateY(-10px); }
}
@keyframes fpFloatB {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50%      { transform: rotate(5deg) translateY(-14px); }
}
@keyframes fpFloatC {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50%      { transform: rotate(-1.5deg) translateY(-7px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shot { animation: none; }
}

/* ── Карточка: обложка-ссылка с оверлеем демо ── */
.card-cover-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F1E7DA;
}
.card-cover-link .card-cover {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}
.card:hover .card-cover-link .card-cover { transform: scale(1.04); }
.card-demo-tag {
  position: absolute;
  left: 13px;
  bottom: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(250, 246, 240, 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.2);
}

.price-note {
  font-size: 12.5px;
  color: var(--faint);
  font-weight: 500;
}

/* ── Тёмная секция-преимущества ────────── */
.why {
  margin-top: 40px;
  background: var(--ink);
  color: #fff;
}
.why-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.why-num {
  font-size: 30px;
  line-height: 1;
  color: var(--amber);
}
.why-item p {
  font-size: 14.5px;
  color: #C9BCB0;
  margin: 9px 0 0;
  line-height: 1.5;
}

.storefront-home .site-footer {
  margin-top: 0;
  background: var(--ink);
  border-top-color: rgba(255, 255, 255, 0.10);
}
.storefront-home .site-footer .wrap { color: #C9BCB0; }
.storefront-home .site-footer a:hover { color: #fff; }

/* ── Адаптив ───────────────────────────── */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 34px;
  }
  .hero-copy h1 { font-size: 44px; }
  .hero-art { height: 400px; }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero-copy h1 { font-size: 40px; }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 18px;
  }
}

@media (max-width: 700px) {
  .hero { padding-top: 32px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-copy h1 br { display: none; }
}
