/*======================================
  offer-style.css
  Sun Business Group — Offer Page Stylesheet
  Inherits design tokens from /css/style.css
  Last updated: 2026-02-24
  Usage: link AFTER style.css in offer page <head>
        <link rel="stylesheet" href="/css/style.css">
        <link rel="stylesheet" href="offer-style.css">
=======================================*/

/* ── OFFER NAV ── */
.offer-nav {
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--bs-gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bs-white);
}

.offer-nav a.back-link {
  font-size: 0.875rem;
  color: var(--bs-gray-600);
  text-decoration: none;
  font-family: var(--bs-font-display);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.offer-nav a.back-link:hover {
  color: var(--bs-primary);
}

.offer-nav .offer-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bs-gray-400);
  font-family: var(--bs-font-display);
}

/* ── OFFER HERO ── */
.offer-hero {
  background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-navy-blue) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  color: var(--bs-white);
  position: relative;
  overflow: hidden;
}

.offer-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.offer-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offer-eyebrow {
  display: inline-block;
  background: rgba(247, 184, 1, 0.15);
  border: 1px solid rgba(247, 184, 1, 0.4);
  color: var(--bs-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  font-family: var(--bs-font-display);
}

.offer-hero h1 {
  font-family: var(--bs-font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--bs-white);
  margin-bottom: 1.25rem;
}

.offer-hero h1 .highlight {
  color: var(--bs-primary);
}

.offer-hero .offer-tagline {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
  font-family: var(--bs-body-font-family);
}

.offer-cta-btn {
  display: inline-block;
  background: var(--bs-primary);
  color: var(--bs-white);
  font-family: var(--bs-font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: 8px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  border: 2px solid var(--bs-primary);
}

.offer-cta-btn:hover {
  background: var(--bs-primary-dark);
  border-color: var(--bs-primary-dark);
  transform: scale(1.03);
  color: var(--bs-white);
}

/* ── OFFER SECTIONS ── */
.offer-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  border-bottom: 1px solid var(--bs-gray-200);
}

.offer-section:last-of-type {
  border-bottom: none;
}

.offer-section h2 {
  font-family: var(--bs-font-display);
  font-size: 1.75rem;
  color: var(--bs-secondary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.offer-section p {
  color: #4A4A4A;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

/* ── BUYER CARDS ── */
.offer-buyer-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.offer-buyer-card {
  background: var(--bs-white);
  border: 2px solid transparent;
  background-image:
    linear-gradient(white, white),
    linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-buyer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 78, 137, 0.1);
}

.offer-buyer-card .card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.offer-buyer-card strong {
  display: block;
  font-family: var(--bs-font-display);
  font-size: 1rem;
  color: var(--bs-secondary);
  margin-bottom: 0.4rem;
}

.offer-buyer-card span {
  font-size: 0.9rem;
  color: var(--bs-gray-600);
  line-height: 1.5;
}

/* ── DELIVERABLES GRID ── */
.offer-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.offer-deliverable {
  background: var(--bs-gray-100);
  border: 1px solid var(--bs-gray-200);
  border-left: 4px solid var(--bs-primary);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  transition: box-shadow 0.2s ease;
}

.offer-deliverable:hover {
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.1);
}

.offer-deliverable .d-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.offer-deliverable strong {
  display: block;
  font-family: var(--bs-font-display);
  font-size: 0.95rem;
  color: var(--bs-secondary);
  margin-bottom: 0.35rem;
}

.offer-deliverable span {
  font-size: 0.85rem;
  color: var(--bs-gray-600);
  line-height: 1.5;
}

/* ── PHASE TABLE ── */
.offer-phase-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.75rem;
  font-size: 0.9375rem;
}

.offer-phase-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--bs-secondary);
  color: var(--bs-accent);
  font-family: var(--bs-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.offer-phase-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--bs-gray-200);
  color: #4A4A4A;
  vertical-align: top;
  line-height: 1.6;
}

.offer-phase-table td:first-child {
  font-family: var(--bs-font-display);
  font-weight: 700;
  color: var(--bs-secondary);
  width: 28%;
}

.offer-phase-table tr:last-child td {
  border-bottom: none;
}

.offer-phase-table tr:nth-child(even) td {
  background: var(--bs-gray-100);
}

.phase-timing {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--bs-gray-500);
  margin-top: 0.2rem;
  font-family: var(--bs-body-font-family);
}

/* ── INSIGHT ROWS ── */
.offer-insights {
  margin-top: 1.5rem;
  border: 1px solid var(--bs-gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.offer-insight-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--bs-gray-200);
  background: var(--bs-white);
  transition: background 0.15s ease;
}

.offer-insight-row:last-child {
  border-bottom: none;
}

.offer-insight-row:hover {
  background: var(--bs-gray-100);
}

.insight-combo {
  font-size: 0.9rem;
  color: var(--bs-secondary);
  font-weight: 600;
  font-family: var(--bs-font-display);
  flex: 1;
}

.insight-arrow {
  color: var(--bs-primary);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.insight-result {
  font-size: 0.875rem;
  color: var(--bs-gray-600);
  flex: 1;
}

/* ── PRICING ── */
.offer-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
  align-items: start;
}

.offer-pricing-card {
  background: var(--bs-white);
  border: 2px solid var(--bs-gray-300);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 78, 137, 0.1);
}

.offer-pricing-card.featured {
  border-color: var(--bs-primary);
  background: #FFF8F5;
}

.offer-pricing-card .popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bs-primary);
  color: var(--bs-white);
  font-family: var(--bs-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier-name {
  font-family: var(--bs-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bs-primary);
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-family: var(--bs-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--bs-secondary);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.pricing-period {
  font-size: 0.8rem;
  color: var(--bs-gray-500);
  margin-bottom: 1rem;
}

.pricing-desc {
  font-size: 0.875rem;
  color: #4A4A4A;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bs-gray-200);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--bs-gray-700);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--bs-gray-100);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li .feat-check {
  color: var(--bs-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── WORKINGS BOX ── */
.offer-workings-box {
  margin-top: 1.75rem;
  background: var(--bs-gray-100);
  border: 1px solid var(--bs-gray-200);
  border-radius: 10px;
  padding: 1.5rem;
}

.workings-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bs-gray-500);
  font-family: var(--bs-font-display);
  margin-bottom: 1rem;
}

.workings-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--bs-gray-200);
  font-size: 0.875rem;
}

.workings-line:last-child {
  border-bottom: none;
}

.workings-line .wl-label {
  color: var(--bs-gray-600);
}

.workings-line .wl-val {
  font-family: var(--bs-font-monospace);
  font-size: 0.82rem;
  color: var(--bs-secondary);
  font-weight: 600;
}

.workings-line.wl-total .wl-label {
  font-weight: 700;
  color: var(--bs-body-color);
  font-family: var(--bs-font-display);
}

.workings-line.wl-total .wl-val {
  color: var(--bs-primary);
  font-size: 1rem;
}

/* ── CTA BLOCK ── */
.offer-cta-block {
  background: linear-gradient(135deg, var(--bs-secondary) 0%, var(--bs-navy-blue) 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.offer-cta-block::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.offer-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offer-cta-block h2 {
  font-family: var(--bs-font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--bs-white);
  margin-bottom: 0.75rem;
}

.offer-cta-block p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

/* ── OFFER FOOTER ── */
.offer-footer {
  background: #1A1A1A;
  color: rgba(255, 255, 255, 0.6);
  padding: 2.5rem 2rem;
  text-align: center;
}

.offer-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: inline-block;
  margin-bottom: 1.75rem;
}

.offer-footer a:hover {
  color: var(--bs-primary);
}

.offer-footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.offer-footer-logos img {
  max-height: 24px;
  opacity: 0.45;
  filter: brightness(0) invert(1);
  mix-blend-mode: screen;
  transition: opacity 0.2s ease;
}

.offer-footer-logos img:hover {
  opacity: 0.8;
}

.offer-copyright {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .offer-hero {
    padding: 3.5rem 1.25rem 3rem;
  }
  .offer-section {
    padding: 2.5rem 1.25rem;
  }
  .offer-buyer-cards,
  .offer-deliverables-grid,
  .offer-pricing-grid {
    grid-template-columns: 1fr;
  }
  .offer-phase-table {
    font-size: 0.85rem;
  }
  .offer-phase-table td:first-child {
    width: auto;
  }
  .offer-insight-row {
    flex-wrap: wrap;
  }
  .offer-cta-block {
    padding: 3rem 1.25rem;
  }
}
