/* ── Labor Day Sale landing page ──────────────────────────────── */
/* Standalone stylesheet — conditionally enqueued only on /labor-day-sale/
 * (see inc/enqueue.php). Campaign-limited, so it's kept out of the global
 * main.css cascade every other page pays for. */

.liv-sale { --sale-green: #8BC53F; --sale-green-dim: rgba(139,197,63,0.15); }

/* Hero */
.liv-sale__hero {
  padding: clamp(4rem, 10vw, 8rem) var(--liv-gutter) clamp(3rem, 8vw, 6rem);
  text-align: center;
  background: var(--liv-ink-900);
}
.liv-sale__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sale-green);
  margin-bottom: 1rem;
}
.liv-sale__headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.96;
  color: var(--liv-paper);
  margin: 0 auto 1.25rem;
  max-width: 800px;
}
.liv-sale__headline span { color: var(--sale-green); }
.liv-sale__subhead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--liv-ink-200);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.liv-sale__subhead strong { color: var(--liv-paper); font-weight: 600; }

/* Countdown */
.liv-sale__countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.liv-sale__countdown-unit {
  text-align: center;
}
.liv-sale__countdown-num {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--liv-paper);
  line-height: 1;
}
.liv-sale__countdown-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--liv-ink-300);
  margin-top: 0.375rem;
}
.liv-sale__ended {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--liv-ink-300);
  text-align: center;
  padding: 2rem 0;
}

/* Offer cards */
.liv-sale__offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--liv-gutter);
}
.liv-sale__offer-card {
  background: var(--liv-ink-700);
  border: 1px solid var(--liv-ink-500);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
}
.liv-sale__offer-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--liv-paper);
  margin: 0.75rem 0 0.5rem;
}
.liv-sale__offer-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--liv-ink-200);
  margin: 0;
}
.liv-sale__offer-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  color: var(--sale-green);
}

/* How it works */
.liv-sale__steps {
  background: var(--liv-ink-900);
  padding: clamp(3rem, 6vw, 5rem) var(--liv-gutter);
}
.liv-sale__steps-heading {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--liv-ink-300);
  margin-bottom: 2.5rem;
}
.liv-sale__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.liv-sale__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sale-green-dim);
  color: var(--sale-green);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.liv-sale__step h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--liv-paper);
  margin: 0 0 0.375rem;
}
.liv-sale__step p {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--liv-ink-300);
  margin: 0;
}

/* Models */
.liv-sale__models {
  padding: clamp(3rem, 6vw, 5rem) var(--liv-gutter);
  max-width: var(--liv-container-wide);
  margin: 0 auto;
}
.liv-sale__models-heading {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--liv-paper);
  margin-bottom: 2rem;
}

/* Form section */
.liv-sale__form-section {
  background: var(--liv-ink-900);
  padding: clamp(3rem, 6vw, 5rem) var(--liv-gutter);
  text-align: center;
}
.liv-sale__form-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--liv-paper);
  margin-bottom: 0.5rem;
}
.liv-sale__form-sub {
  font-size: 0.9375rem;
  color: var(--liv-ink-200);
  margin-bottom: 2rem;
}
.liv-sale__form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

/* Claim form dark skin — this page reuses /contact/'s Fluent Form
 * (fluent_form_id_contact) inside a `.liv-contact` wrapper (see
 * patterns/labor-day-sale.php) so styles/components/contact-form-dark.css's
 * descendant selectors (dark input pills, green submit button, etc.) apply —
 * without that ancestor class the form falls through to Fluent Forms' unstyled
 * defaults. That file's bare `.liv-contact` rule also carries its own
 * standalone-page box model (75%/1440px width, black rounded card, hard-coded
 * 380px+1fr two-column grid) sized for the full-width /contact/ page. Override
 * those specific parts below so it instead sits as a plain, single-column
 * block that fits this compact 560px wrap at any viewport width. Its own
 * @media(max-width:880px) single-column fallback can't help here — that's a
 * viewport query, not a container query, so it never fires just because this
 * wrap is narrow; the rules below reapply that same already-proven
 * single-column layout unconditionally, scoped under .liv-sale so /contact/
 * itself is untouched. Every selector here adds the .liv-sale ancestor on top
 * of the original .liv-contact selector it targets, so it always wins on
 * specificity alone — no !important needed except where the base button rule
 * already uses it (normal rules can never beat !important regardless of
 * specificity). */
.liv-sale .liv-contact {
  width: 100%;
  max-width: none;
  margin-block: 0;
  margin-inline: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.liv-sale .liv-contact .frm-fluent-form {
  grid-template-columns: 1fr;
  grid-template-areas:
    "body"
    "agree"
    "submit";
}
.liv-sale .liv-contact .frm-fluent-form > .ff-t-container {
  grid-template-columns: 1fr;
}
.liv-sale .liv-contact .frm-fluent-form > .ff-t-container > .ff-t-cell {
  padding: 28px 24px;
}
.liv-sale .liv-contact .frm-fluent-form > .ff-t-container > .ff-t-cell:first-child {
  border-right: 0;
  border-bottom: 1px solid var(--border-hairline);
}
.liv-sale .liv-contact .frm-fluent-form > .ff-el-group[data-name="gdpr-agreement"],
.liv-sale .liv-contact .frm-fluent-form > div.ff_submit_btn_wrapper,
.liv-sale .liv-contact .frm-fluent-form .ff-el-group.ff-el-submit-btn {
  padding: 20px 24px;
}
.liv-sale .liv-contact .frm-fluent-form .ff-el-group:has(> .ff-btn-submit),
.liv-sale .liv-contact .frm-fluent-form .ff-el-group:has(> button.ff-btn[type="submit"]) {
  justify-content: stretch;
}
.liv-sale .liv-contact .ff-btn-submit,
.liv-sale .liv-contact button.ff-btn[type="submit"] {
  justify-content: space-between !important;
  width: 100% !important;
  max-width: none !important;
}

/* Phone CTA */
.liv-sale__phone {
  text-align: center;
  padding: 2rem var(--liv-gutter) 1rem;
  font-size: 0.9375rem;
  color: var(--liv-ink-200);
}
.liv-sale__phone a {
  color: var(--sale-green);
  font-weight: 600;
  text-decoration: none;
}

/* Fine print */
.liv-sale__legal {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem var(--liv-gutter) 3rem;
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--liv-ink-400);
  text-align: center;
}
