/* ============================================================
   offer.css — "Klippstudion" commercial product family.
   Used by: site/course/index.html (full product page).
   Layout language: near-black header/hero, amber accent badge,
   alternating light/dark section bands, card grids, bordered
   aside boxes, sticky mobile CTA rail. Primary ref: offer-1-primary.
   ============================================================ */

body.family-offer {
  --bg: #ffffff;
  --ink: #14161b;
  --muted: #5a6070;
  --header-bg: #0e1014;
  --header-fg: #f3f4f7;
  --dark-bg: #0e1014;
  --dark-ink: #eef0f4;
  --dark-muted: #a7adba;
  --panel-bg: #161a21;
  --accent: #ffb238;
  --accent-hover: #e79a1c;
  --accent-ink: #1a1200;
  --accent-shadow: rgba(255, 178, 56, 0.35);
  --alt-bg: #f4f5f7;
  --rule: #e3e5ea;
  --focus-ring: #ffb238;
  --disclaimer-bg: #eef0f3;
  --disclaimer-ink: #363a42;
  --disclaimer-border: #dcdfe5;
  --footer-bg: #0e1014;
  --footer-ink: #c3c8d1;
  --footer-ink-strong: #ffffff;
  --footer-ink-muted: #767c8a;
  --container-max: 1180px;
  --cookie-banner-height: 132px;
}

@media (min-width: 640px) {
  body.family-offer {
    --cookie-banner-height: 76px;
  }
}

body.family-offer h1,
body.family-offer h2,
body.family-offer h3,
body.family-offer .offer-badge,
body.family-offer .offer-header__brand {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
}

/* ---------- Header / nav ---------- */
.offer-header {
  background: var(--header-bg);
  color: var(--header-fg);
  padding: 16px;
  position: relative;
  z-index: 40;
}

.offer-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.offer-header__brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.offer-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.offer-nav-toggle span,
.offer-nav-toggle span::before,
.offer-nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease;
}

.offer-nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.offer-nav-toggle span::after {
  position: absolute;
  top: 6px;
}

@media (min-width: 768px) {
  .offer-nav-toggle {
    display: none;
  }
}

.offer-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.offer-nav.is-open {
  display: flex;
}

.offer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-nav a:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .offer-header__inner {
    flex-wrap: nowrap;
  }
  .offer-nav {
    display: flex !important;
    flex-direction: row;
    gap: 26px;
    width: auto;
  }
  .offer-nav a {
    border-bottom: none;
    padding: 8px 0;
  }
}

/* ---------- Hero ---------- */
.offer-hero {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: 40px 0 48px;
}

@media (min-width: 768px) {
  .offer-hero {
    padding: 64px 0 72px;
  }
}

.offer-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .offer-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
}

.offer-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 178, 56, 0.12);
  border: 1px solid rgba(255, 178, 56, 0.4);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

.offer-hero h1 {
  font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.offer-hero h2 {
  font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--dark-muted);
  margin-bottom: 20px;
}

.offer-hero__intro {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #cdd2dc;
  margin-bottom: 26px;
}

.offer-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}

.offer-hero__ctas .text-cta {
  color: var(--dark-ink);
  text-decoration-color: var(--accent);
}

/* Hero badge card */
.offer-badge-card {
  background: var(--panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  position: relative;
}

.offer-badge-card__row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.offer-badge {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.offer-badge__amount {
  font-size: 1.05rem;
}

.offer-badge__unit {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-badge-card__label {
  font-size: 0.95rem;
  color: var(--dark-muted);
  line-height: 1.4;
}

.offer-badge-card__label strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.offer-media-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.offer-media-frame video,
.offer-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Sections ---------- */
.offer-section {
  padding: 44px 0;
}

@media (min-width: 768px) {
  .offer-section {
    padding: 64px 0;
  }
}

.offer-section--alt {
  background: var(--alt-bg);
}

.offer-section--dark {
  background: var(--dark-bg);
  color: var(--dark-ink);
}

.offer-section__head {
  max-width: 640px;
  margin: 0 0 28px;
}

.offer-section--center .offer-section__head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.offer-section__kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-bottom: 10px;
}

.offer-section--dark .offer-section__kicker {
  color: var(--accent);
}

.offer-section h2 {
  font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.offer-section p.offer-section__lede {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--muted);
}

.offer-section--dark p.offer-section__lede {
  color: var(--dark-muted);
}

.offer-section__body p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Intro / deliverables split with image */
.offer-media-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .offer-media-split {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
  }
  .offer-media-split--reverse .offer-media-split__media {
    order: 2;
  }
}

.offer-media-split__media img {
  border-radius: 12px;
  width: 100%;
}

/* ---------- Leverage + market-rate split ---------- */
.offer-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 800px) {
  .offer-split {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.offer-split__panel {
  background: var(--panel-bg);
  border-radius: 14px;
  padding: 26px 24px;
}

.offer-split__panel h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.offer-split__panel p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--dark-muted);
  margin-bottom: 12px;
}

.offer-split__panel p:last-child {
  margin-bottom: 0;
}

.offer-aside {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 26px 24px;
  color: var(--ink);
}

.offer-aside__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.offer-aside table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  margin-bottom: 12px;
}

.offer-aside th,
.offer-aside td {
  text-align: left;
  padding: 9px 6px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.offer-aside th {
  font-weight: 600;
  color: var(--muted);
  width: 55%;
}

.offer-aside td {
  font-weight: 700;
}

.offer-aside__note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.offer-aside__note a {
  color: inherit;
  font-weight: 700;
}

/* ---------- Pricing cards ---------- */
.offer-pricing {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offer-pricing__package {
  position: relative;
  background: var(--panel-bg);
  color: #fff;
  border-radius: 16px;
  padding: 30px 26px;
  border: 2px solid var(--accent);
  box-shadow: 0 20px 40px -24px rgba(255, 178, 56, 0.5);
}

.offer-pricing__ribbon {
  position: absolute;
  top: -14px;
  left: 26px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.offer-pricing__package h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 8px 0 4px;
}

.offer-pricing__hours {
  font-size: 0.85rem;
  color: var(--dark-muted);
  margin-bottom: 14px;
}

.offer-pricing__price {
  font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
}

.offer-pricing__price span {
  font-size: 1rem;
  color: var(--dark-muted);
  font-weight: 600;
}

.offer-pricing__package ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-pricing__package li {
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 26px;
  position: relative;
  color: #dde1e8;
}

.offer-pricing__package li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.offer-addons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .offer-addons {
    grid-template-columns: repeat(3, 1fr);
  }
}

.offer-addons__card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-addons__card h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.offer-addons__price {
  font-weight: 800;
  color: var(--accent-hover);
  font-size: 1.05rem;
}

.offer-addons__card p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* ---------- Perks ---------- */
.offer-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.offer-perks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  line-height: 1.5;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px 16px;
}

.offer-perks__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

/* ---------- Steps strip (curriculum) ---------- */
.offer-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.offer-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  font-size: 1rem;
  line-height: 1.55;
}

.offer-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-bg);
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-steps li strong {
  display: block;
  margin-bottom: 2px;
}

/* ---------- Limits block ---------- */
.offer-limits {
  background: var(--alt-bg);
  border-radius: 14px;
  padding: 26px 24px;
}

.offer-limits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-limits li {
  font-size: 0.98rem;
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}

.offer-limits li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-weight: 700;
}

/* ---------- Lead form ---------- */
.offer-form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .offer-form-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.offer-form-wrap__media img {
  border-radius: 12px;
  width: 100%;
}

.offer-form-wrap__note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--dark-muted);
  line-height: 1.55;
}

.offer-form {
  background: var(--panel-bg);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .offer-form__row--two {
    grid-template-columns: 1fr 1fr;
  }
}

.offer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.offer-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-muted);
}

.offer-field input,
.offer-field textarea {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0f1218;
  color: #fff;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
}

.offer-field textarea {
  min-height: 100px;
  resize: vertical;
}

.offer-field input::placeholder,
.offer-field textarea::placeholder {
  color: #767c8a;
}

.offer-field__error {
  font-size: 0.82rem;
  color: #ff9d9d;
  min-height: 1.1em;
}

.offer-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--dark-muted);
  line-height: 1.5;
}

.offer-consent input {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.offer-consent a {
  color: #fff;
  font-weight: 700;
}

.offer-form__success {
  display: none;
  background: rgba(255, 178, 56, 0.12);
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 16px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.offer-form.is-submitted .offer-form__fields,
.offer-form.is-submitted .offer-form__submit {
  display: none;
}

.offer-form.is-submitted .offer-form__success {
  display: block;
}

/* ---------- Sticky CTA rail ---------- */
.offer-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: bottom 0.15s ease;
}

.offer-sticky-cta.is-visible {
  display: flex;
}

body.cookie-banner-visible .offer-sticky-cta {
  bottom: var(--cookie-banner-height);
}

.offer-sticky-cta__text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: none;
}

@media (min-width: 420px) {
  .offer-sticky-cta__text {
    display: block;
  }
}

.offer-sticky-pad {
  height: 76px;
}
