/* ========================================
   Front Page / Content Sections
   ======================================== */

.front-page {
  padding-bottom: 20px;
}

.section-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.section-block,
.section-search {
  padding-block: clamp(56px, 8vw, 112px);
}

.hero-section {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--color-surface);
}

.home .main > .hero-section:first-child {
  margin-top: -86px;
  padding-top: 86px;
}

body.admin-bar.home .main > .hero-section:first-child {
  margin-top: -118px;
  padding-top: 118px;
}
@media (max-width: 782px) {
  body.admin-bar.home .main > .hero-section:first-child {
    margin-top: -132px;
    padding-top: 132px;
  }
}

.hero-image,
.hero-video-wrapper,
.hero-image-fallback {
  position: absolute;
  inset: 0;
}
.hero-image {
  background-size: cover;
  background-position: center center;
}
.hero-image-fallback,
.hero-section.has-css {
  background:
    radial-gradient(circle at 12% 12%, rgba(239,183,199,.52), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(169,199,243,.42), transparent 22%),
    radial-gradient(circle at 18% 82%, rgba(196,226,216,.36), transparent 24%),
    radial-gradient(circle at 86% 76%, rgba(214,184,235,.34), transparent 26%),
    linear-gradient(180deg, #fffdfc 0%, #f8f2ee 100%);
}
.hero-video-wrapper iframe,
.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.72) 72%, rgba(250,248,246,.95) 100%);
}
.hero-shell {
  width: min(1120px, calc(100% - 48px));
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 760px;
  margin-inline: auto;
  padding: 120px 0 80px;
  text-align: center;
}
.hero-kicker {
  margin: 0 0 16px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero-catchphrase {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.2;
  letter-spacing: -.03em;
}
.hero-lead {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: clamp(1rem, 1.6vw, 1.08rem);
  color: var(--color-text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: all .28s ease;
}
.hero-button-primary {
  background: var(--color-text);
  color: var(--color-surface);
}
.hero-button-secondary {
  border: 1px solid var(--color-border-strong);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px);
}
.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.hero-scroll-note {
  display: inline-block;
  margin: 52px auto 0;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero-scroll-note::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 auto 10px;
  background: linear-gradient(180deg, rgba(34,34,34,0), rgba(34,34,34,.35));
}

.news-ticker {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,.75);
}
.news-ticker__inner {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.ticker-label {
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.ticker-content {
  overflow: hidden;
  flex: 1;
}
.ticker-items {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}
.ticker-item {
  flex-shrink: 0;
  padding-right: 56px;
  font-size: .94rem;
  color: var(--color-text);
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-search,
.section-ranking-stores,
.section-new-stores,
.section-cheap-stores,
.section-reviews,
.section-latest-reviews,
.section-free-space {
  border-bottom: 1px solid var(--color-border);
}
.section-search,
.section-ranking-stores,
.section-new-stores,
.section-cheap-stores,
.section-latest-reviews,
.section-free-space { background: var(--color-surface); }
.section-banners,
.section-reviews { background: var(--color-bg); }

.section-header {
  margin-bottom: clamp(32px, 4vw, 56px);
  text-align: center;
}
.section-header h2 {
  font-size: clamp(1.85rem, 3vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}
.section-header p:last-child {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--color-text-muted);
  font-size: .98rem;
}

.search-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.search-card {
  position: relative;
  min-height: 220px;
  padding: 34px 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  transition: all .35s ease;
}
.search-card::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.search-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-text);
}
.search-card:hover::before { transform: scaleX(1); }
.search-card__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.search-card h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
}
.search-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: .95rem;
}
.search-taxonomies {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}
.taxonomy-group {
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.taxonomy-group__label {
  margin-bottom: 12px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.stores-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.store-card {
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
  transition: all .35s ease;
}
.store-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-text);
}
.store-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.store-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.store-card:hover .store-card-image img { transform: scale(1.05); }
.store-card-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-muted);
  font-size: .82rem;
}
.store-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 22px;
}
.store-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}
.badge,
.store-card-area-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge {
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,.82);
}
.store-card-area-chip {
  background: var(--color-surface-soft);
  color: var(--color-text-muted);
}
.store-card-title {
  font-size: 1.14rem;
  margin-bottom: 10px;
}
.store-card-subtitle {
  margin-bottom: 8px;
  font-size: .84rem;
  color: var(--color-text-muted);
}
.store-card-catchcopy {
  margin-bottom: 14px;
  color: #b95a7b;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.6;
}
.store-card-meta {
  margin-top: auto;
  padding-top: 10px;
}
.store-card-price {
  color: var(--color-text);
  font-size: .92rem;
  font-weight: 700;
}
.store-card-price--muted { color: var(--color-text-muted); font-weight: 500; }
.store-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.rating-stars { font-size: .94rem; }
.rating-count,
.no-rating {
  color: var(--color-text-muted);
  font-size: .84rem;
}

.banners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.banner-card {
  padding: 34px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: all .35s ease;
}
.banner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.banner-eyebrow {
  margin-bottom: 14px;
  color: var(--color-text-muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.banner-card h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}
.banner-card p:last-child {
  margin: 0;
  color: var(--color-text-muted);
  font-size: .95rem;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.review-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.review-card__meta strong { font-size: .94rem; }
.review-text {
  color: var(--color-text);
  font-size: .95rem;
  line-height: 1.8;
}
.review-meta {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: .82rem;
}

.latest-reviews-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.latest-review-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface);
  transition: all .3s ease;
}
.latest-review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}
.latest-review-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.latest-review-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-surface-soft);
}
.latest-review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.latest-review-card:hover .latest-review-image img { transform: scale(1.04); }
.latest-review-image--empty {
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  font-size: .82rem;
}
.latest-review-info { padding: 16px; }
.latest-review-info h4 {
  margin-bottom: 10px;
  font-size: .98rem;
  line-height: 1.5;
}
.review-stats,
.review-date {
  color: var(--color-text-muted);
  font-size: .84rem;
}
.review-stats { margin-bottom: 6px; }
.review-stats span,
.review-stats--muted { color: var(--color-text-muted); }

.section-free-space {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(246,242,238,0.85) 100%);
}
.free-space-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 36px 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
}
.free-space-content > *:last-child { margin-bottom: 0; }

.section-footer-link {
  margin-top: 36px;
  text-align: center;
}
.btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  font-weight: 700;
  transition: all .28s ease;
}
.btn-more:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-text);
}
.section-empty {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  text-align: center;
}

@media (max-width: 1023px) {
  .hero-section { min-height: 64vh; }
  .hero-content { padding-top: 90px; }
  .search-options,
  .stores-list,
  .banners-grid,
  .reviews-list,
  .latest-reviews-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .section-container,
  .hero-shell,
  .news-ticker__inner { width: min(1120px, calc(100% - 28px)); }
  .hero-content { padding: 84px 0 56px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-button { width: 100%; }
  .news-ticker__inner { min-height: 56px; gap: 16px; }
  .ticker-item { padding-right: 36px; font-size: .88rem; }
  .search-options,
  .stores-list,
  .banners-grid,
  .reviews-list,
  .latest-reviews-list { grid-template-columns: 1fr; }
  .search-card { min-height: auto; padding: 28px 24px; }
  .free-space-content { padding: 28px 22px; border-radius: var(--radius-md); }
}


.hero-section.has-css .hero-image,
.hero-section.has-css .hero-video-wrapper,
.hero-section.has-css .hero-image-fallback {
  display: none;
}
.hero-bg-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(18px);
  opacity: .85;
}
.hero-orb--1 {
  top: 7%;
  left: 7%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(239,183,199,.58) 0%, rgba(239,183,199,0) 72%);
}
.hero-orb--2 {
  top: 11%;
  right: 10%;
  width: 236px;
  height: 236px;
  background: radial-gradient(circle, rgba(169,199,243,.50) 0%, rgba(169,199,243,0) 72%);
}
.hero-orb--3 {
  bottom: 16%;
  left: 17%;
  width: 188px;
  height: 188px;
  background: radial-gradient(circle, rgba(196,226,216,.46) 0%, rgba(196,226,216,0) 74%);
}
.hero-orb--4 {
  bottom: 12%;
  right: 18%;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(214,184,235,.36) 0%, rgba(214,184,235,0) 74%);
}
.hero-brand-logo--text {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-brand-logo .custom-logo-link,
.hero-brand-logo .custom-logo-link img {
  display: block;
}
@media (max-width: 767px) {
  .hero-orb--1,
  .hero-orb--2 { width: 160px; height: 160px; }
  .hero-orb--3,
  .hero-orb--4 { width: 120px; height: 120px; }
}


.hero-ring {
  position: absolute;
  display: block;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.8);
  opacity: .9;
}
.hero-orb--5 {
  top: 30%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 72%);
  filter: blur(8px);
}
.hero-orb--6 {
  bottom: 26%;
  right: 7%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(250,234,204,.46) 0%, rgba(250,234,204,0) 74%);
  filter: blur(10px);
}
.hero-ring--1 {
  top: 12%;
  left: 13%;
  width: 196px;
  height: 196px;
  background: rgba(255,255,255,.16);
}
.hero-ring--2 {
  right: 14%;
  bottom: 17%;
  width: 142px;
  height: 142px;
  background: rgba(255,255,255,.13);
}
.hero-brand-copy {
  max-width: 720px;
  margin: 10px auto 0;
}
.hero-brand-copy__title {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.85;
  color: var(--color-text);
}
.hero-brand-copy__lead {
  max-width: 680px;
  margin: 12px auto 0;
  font-size: clamp(.96rem, 1.35vw, 1.04rem);
  line-height: 1.92;
  color: var(--color-text-muted);
}
.hero-scroll-anchor {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.hero-scroll-anchor::before {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, rgba(34,34,34,0), rgba(34,34,34,.32));
}
.hero-scroll-anchor:hover {
  color: var(--color-text);
}
.hero-section.has-css {
  min-height: 72vh;
  background:
    radial-gradient(circle at 16% 16%, rgba(239,183,199,.34), transparent 20%),
    radial-gradient(circle at 82% 14%, rgba(169,199,243,.30), transparent 20%),
    radial-gradient(circle at 20% 82%, rgba(196,226,216,.26), transparent 18%),
    radial-gradient(circle at 82% 72%, rgba(214,184,235,.24), transparent 18%),
    linear-gradient(180deg, #fffdfd 0%, #fcf7f3 48%, #f8f2ee 100%);
}
.hero-section.has-css .hero-kicker,
.hero-section.has-css .hero-catchphrase,
.hero-section.has-css .hero-lead,
.hero-section.has-css .hero-actions,
.hero-section.has-css .hero-scroll-note {
  display: none;
}
.hero-section.has-css .hero-content {
  max-width: 820px;
  padding: 118px 0 92px;
  text-align: center;
}
.hero-section.has-css .hero-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.34) 56%, rgba(250,248,246,.76) 100%);
}
.hero-brand-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.hero-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 0 20px;
}
.hero-brand-logo img {
  max-height: 112px;
  width: auto;
  margin-inline: auto;
}
@media (max-width: 767px) {
  .hero-section.has-css {
    min-height: 62vh;
  }
  .hero-section.has-css .hero-content {
    padding: 96px 0 58px;
  }
  .hero-brand-logo img {
    max-height: 84px;
  }
  .hero-ring--1 {
    width: 120px;
    height: 120px;
    top: 12%;
    left: 7%;
  }
  .hero-ring--2 {
    width: 94px;
    height: 94px;
    right: 8%;
    bottom: 13%;
  }
  .hero-orb--5,
  .hero-orb--6 {
    width: 84px;
    height: 84px;
  }
}
