/* ================================================================
   LAYOUT — sections, grids, containers
   ================================================================ */
.section {
  padding: 60px var(--page-gutter);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.see-all {
  font-size: 12px;
  color: var(--muted);
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 2px;
  cursor: pointer;
  transition: color var(--speed-fast);
  white-space: nowrap;
}
.see-all:hover { color: var(--terracotta); }

/* Grids */
.card-grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* Category pills */
.cat-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.cat-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 400;
  border: 1px solid var(--border-mid);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--speed-fast);
  background: white;
  font-family: var(--ff-body);
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--deep);
  color: var(--cream);
  border-color: var(--deep);
}

/* Stats strip */
.stats-strip {
  background: var(--deep);
  color: var(--cream);
  padding: 20px var(--page-gutter);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }

.stat-n {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--rose);
}

.stat-l {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  font-family: var(--ff-mono);
}

/* Animate-in */
.animate-in { animation: fadeInUp 0.4s ease both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Additions ---- */

/* Container */
.container { max-width: 1180px; margin: 0 auto; width: 100%; }

/* Section variants */
.section--warm { background: var(--warm-white); }
.section--lg { padding: 100px var(--page-gutter) 80px; }

/* Cat pill active variant (BEM alias) */
.cat-pill--active { background: var(--deep); color: var(--cream); border-color: var(--deep); }

/* Page hero — reviews, compare pages */
.page-hero {
  background: linear-gradient(160deg, var(--warm-white), var(--blush));
  padding: 52px var(--page-gutter) 44px;
}
.page-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--deep);
  margin: 10px 0 14px;
  letter-spacing: -0.02em;
}
.page-hero__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
}

/* Newsletter grid — index, deals pages */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter-section__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  color: var(--deep);
  line-height: 1.2;
  margin: 10px 0 12px;
}
.newsletter-section__sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__heading {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 300;
  color: var(--deep);
  margin: 10px 0 28px;
}
.contact__info-item { margin-bottom: 24px; }
.contact__info-label {
  font-size: 10px;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact__info-value {
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--deep);
  margin-bottom: 2px;
}
.contact__info-sub { font-size: 12px; color: var(--light-text); }
.contact__form-heading {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 20px;
}
