/* ============================================
   CASH-OFFERS.CSS — Cash Offers Page-Specific Styles
   ============================================

   Styles that ONLY apply to the cash offers page.
   ============================================ */


/* ----- HERO SECTION ----- */

.cash-hero {
  min-height: 100vh;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

.cash-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

.cash-hero-line-left,
.cash-hero-line-right {
  position: absolute;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
  opacity: 0.12;
}

.cash-hero-line-left {
  left: 18%;
  top: 0;
  height: 100%;
  animation: cashLineFloat 8s ease-in-out infinite;
}

.cash-hero-line-right {
  right: 18%;
  top: 0;
  height: 100%;
  animation: cashLineFloat 8s ease-in-out 2.5s infinite;
}

@keyframes cashLineFloat {
  0%, 100% { opacity: 0.06; }
  50% { opacity: 0.18; }
}

.cash-hero-content {
  position: relative;
  z-index: 2;
}

.cash-hero-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid rgba(201, 169, 110, 0.25);
  padding: 10px 24px;
  margin-bottom: var(--space-3xl);
  opacity: 0;
  animation: cashFadeUp 0.7s ease 0.2s forwards;
}

.cash-hero h1 {
  color: var(--color-white);
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  opacity: 0;
  animation: cashFadeUp 0.8s ease 0.4s forwards;
}

.cash-hero h1 em {
  color: var(--color-gold);
}

.cash-hero-sub {
  font-size: var(--text-md);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.4);
  max-width: 580px;
  line-height: 1.8;
  margin: 0 auto var(--space-3xl);
  opacity: 0;
  animation: cashFadeUp 0.7s ease 0.6s forwards;
}

.cash-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: cashFadeUp 0.7s ease 0.8s forwards;
}

.cash-btn-gold {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: var(--color-gold);
  padding: 18px 42px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-base);
}

.cash-btn-gold:hover {
  background: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.25);
}

.cash-btn-gold svg,
.cash-btn-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.cash-btn-ghost {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 18px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.cash-btn-ghost:hover {
  color: var(--color-gold);
  border-color: rgba(201, 169, 110, 0.3);
}

.cash-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: var(--space-3xl);
  opacity: 0;
  animation: cashFadeUp 0.7s ease 1s forwards;
}

.cash-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
}

.cash-pill-number {
  font-size: 1.5rem;
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  line-height: 1;
}

.cash-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: cashFadeIn 0.6s ease 1.3s forwards;
}

.cash-scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: cashScrollBounce 2s ease infinite;
}

.cash-scroll-hint span {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.15);
}

@keyframes cashScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(10px); opacity: 1; }
}


/* ----- COMPARE TABLE SECTION ----- */

.cash-compare-section {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
  text-align: center;
}

.cash-compare-section h2 {
  margin-bottom: var(--space-md);
}

.cash-compare-intro {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-mid-gray);
  max-width: 560px;
  margin: 0 auto var(--space-3xl);
  line-height: 1.8;
}

.cash-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(11, 29, 58, 0.06);
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(11, 29, 58, 0.04);
}

.cash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.cash-table th {
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-mid-gray);
  padding: 20px 24px;
  border-bottom: 2px solid var(--color-light-gray);
  background: var(--color-off-white);
}

.cash-table th.cash-table-highlight {
  color: var(--color-navy);
  background: rgba(201, 169, 110, 0.08);
  border-bottom-color: var(--color-gold);
}

.cash-table td {
  font-size: 0.9rem;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--color-dark-gray);
}

.cash-table td.cash-table-highlight {
  background: rgba(201, 169, 110, 0.04);
  color: var(--color-navy);
}

.cash-table td.cash-table-highlight strong {
  color: var(--color-navy);
  font-weight: var(--weight-semibold);
}

.cash-table tbody tr:last-child td {
  border-bottom: none;
}

.cash-table tbody tr:hover {
  background: rgba(201, 169, 110, 0.02);
}

/* Column hover — base transitions */
.cash-table th,
.cash-table td {
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Column hover — gold glow (column 2: Our Local Cash Offer) */
.cash-table th.cash-col-gold-hover {
  background: rgba(201, 169, 110, 0.18);
  color: var(--color-navy);
  box-shadow: inset 3px 0 0 var(--color-gold);
}

.cash-table td.cash-col-gold-hover {
  background: rgba(201, 169, 110, 0.1);
  box-shadow: inset 3px 0 0 var(--color-gold);
}

.cash-table td.cash-col-gold-hover strong {
  color: var(--color-gold);
}

/* Column hover — red/negative tint (columns 3 & 4) */
.cash-table th.cash-col-red-hover {
  background: rgba(200, 50, 50, 0.08);
  color: #8B2020;
}

.cash-table td.cash-col-red-hover {
  background: rgba(200, 50, 50, 0.05);
  color: #6B3030;
}


/* ----- PRIVATE CAPITAL SECTION ----- */

.cash-capital-section {
  padding: var(--space-5xl) 0;
  background: var(--color-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cash-capital-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

.cash-capital-section .section-label {
  display: block;
}

.cash-capital-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cash-capital-intro {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.4);
  max-width: 600px;
  margin: 0 auto var(--space-4xl);
  line-height: 1.8;
}

.cash-capital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto var(--space-4xl);
  position: relative;
  z-index: 1;
}

.cash-capital-card {
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.cash-capital-card.is-visible {
  animation: cashFadeUp 0.6s ease forwards;
}

.cash-capital-card:nth-child(2).is-visible { animation-delay: 0.12s; }
.cash-capital-card:nth-child(3).is-visible { animation-delay: 0.24s; }

.cash-capital-card:hover {
  background: rgba(201, 169, 110, 0.06);
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

.cash-capital-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s;
}

.cash-capital-card:hover .cash-capital-icon {
  background: rgba(201, 169, 110, 0.15);
  border-color: var(--color-gold);
}

.cash-capital-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cash-capital-card h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.cash-capital-card p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  font-weight: var(--weight-light);
  margin: 0;
}

.cash-impact-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
  z-index: 1;
  padding-top: var(--space-3xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 700px;
  margin: 0 auto;
}

.cash-impact-item {
  text-align: center;
}

.cash-impact-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.cash-impact-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}


/* ----- SITUATIONS SECTION ----- */

.cash-situations-section {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
  text-align: center;
}

.cash-situations-section h2 {
  margin-bottom: var(--space-md);
}

.cash-situations-intro {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: var(--color-mid-gray);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  line-height: 1.8;
}

.cash-situations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.cash-situation-card {
  background: var(--color-white);
  border: 1px solid rgba(11, 29, 58, 0.05);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: left;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.cash-situation-card.is-visible {
  animation: cashFadeUp 0.6s ease forwards;
}

.cash-situation-card:nth-child(2).is-visible { animation-delay: 0.1s; }
.cash-situation-card:nth-child(3).is-visible { animation-delay: 0.2s; }
.cash-situation-card:nth-child(4).is-visible { animation-delay: 0.3s; }

.cash-situation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(11, 29, 58, 0.08);
  border-color: rgba(201, 169, 110, 0.15);
}

.cash-situation-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cash-situation-card h3 {
  margin-bottom: 16px;
  color: var(--color-navy);
}

.cash-situation-challenge {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  line-height: 1.7;
  margin-bottom: 12px;
}

.cash-situation-challenge strong {
  color: var(--color-dark-gray);
}

.cash-situation-solution {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cash-situation-solution strong {
  color: var(--color-navy);
}

.cash-situation-link {
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: color 0.2s;
}

.cash-situation-link:hover {
  color: var(--color-navy);
}


/* ----- STEPS SECTION ----- */

.cash-steps-section {
  padding: var(--space-5xl) 0;
  background: var(--color-navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cash-steps-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

.cash-steps-section .section-label {
  display: block;
}

.cash-steps-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cash-steps-intro {
  font-size: var(--text-base);
  font-weight: var(--weight-light);
  color: rgba(255, 255, 255, 0.4);
  max-width: 560px;
  margin: 0 auto var(--space-4xl);
  line-height: 1.8;
}

.cash-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cash-step-card {
  padding: 44px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.cash-step-card.is-visible {
  animation: cashFadeUp 0.6s ease forwards;
}

.cash-step-card:nth-child(2).is-visible { animation-delay: 0.12s; }
.cash-step-card:nth-child(3).is-visible { animation-delay: 0.24s; }

.cash-step-card:hover {
  background: rgba(201, 169, 110, 0.06);
  border-color: rgba(201, 169, 110, 0.2);
  transform: translateY(-4px);
}

.cash-step-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
  transition: opacity 0.3s;
}

.cash-step-card:hover .cash-step-number {
  opacity: 0.7;
}

.cash-step-card h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.cash-step-card p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  font-weight: var(--weight-light);
  margin: 0;
}


/* ----- FORM SECTION ----- */

.cash-form-section {
  padding: var(--space-5xl) 0;
  background: var(--color-off-white);
}

.cash-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.cash-form-left h2 {
  margin-bottom: var(--space-md);
  font-size: 2.4rem;
}

.cash-form-left p {
  font-size: var(--text-base);
  color: var(--color-mid-gray);
  line-height: 1.8;
  font-weight: var(--weight-light);
  margin-bottom: var(--space-2xl);
}

.cash-form-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cash-form-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  font-weight: var(--weight-regular);
}

.cash-form-benefits svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.cash-form-right {
  background: var(--color-white);
  border: 1px solid rgba(11, 29, 58, 0.06);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 8px 30px rgba(11, 29, 58, 0.06);
}

.cash-form-group {
  margin-bottom: 20px;
}

.cash-form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.cash-form-group input,
.cash-form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-light-gray);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--color-dark-gray);
  background: var(--color-off-white);
  transition: border-color 0.2s;
}

.cash-form-group input:focus,
.cash-form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.cash-form-group input::placeholder {
  color: var(--color-mid-gray);
}

.cash-form-submit {
  width: 100%;
  padding: 18px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-base);
  margin-top: 8px;
}

.cash-form-submit:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-1px);
}

.cash-form-submit svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.cash-form-consent {
  font-size: 0.7rem;
  color: var(--color-mid-gray);
  line-height: 1.5;
  margin-top: 16px;
  text-align: center;
}

.cash-form-lock {
  font-size: 0.8rem;
  color: var(--color-dark-gray);
  text-align: center;
  margin-top: 12px;
  font-weight: var(--weight-medium);
}


/* ----- FAQ SECTION ----- */

.cash-faq-section {
  padding: var(--space-5xl) 0;
  background: var(--color-white);
  text-align: center;
}

.cash-faq-section h2 {
  margin-bottom: var(--space-3xl);
}

.cash-faq-list {
  max-width: 750px;
  margin: 0 auto;
  text-align: left;
}

.cash-faq-item {
  border-bottom: 1px solid var(--color-light-gray);
}

.cash-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: var(--weight-medium);
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.cash-faq-question:hover {
  color: var(--color-gold);
}

.cash-faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--color-mid-gray);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.3s;
}

.cash-faq-item.is-open .cash-faq-question svg {
  transform: rotate(180deg);
}

.cash-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.cash-faq-item.is-open .cash-faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.cash-faq-answer p {
  font-size: 0.95rem;
  color: var(--color-mid-gray);
  line-height: 1.8;
}


/* ----- LEGAL SECTION ----- */

.cash-legal {
  padding: var(--space-3xl);
  background: var(--color-navy-dark);
  text-align: center;
}

.cash-legal-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cash-legal-text {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  margin: 0 auto var(--space-md);
}

.cash-legal-text strong {
  color: rgba(255, 255, 255, 0.55);
}

.cash-legal-separator {
  display: block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: var(--space-md) auto;
}

.cash-legal-note {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.25);
  font-style: italic;
  line-height: 1.6;
}


/* ----- ANIMATIONS ----- */

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

@keyframes cashFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* ----- RESPONSIVE ----- */

@media (max-width: 768px) {
  .cash-hero {
    padding: var(--space-4xl) var(--space-lg);
  }

  .cash-hero h1 {
    font-size: var(--text-3xl);
  }

  .cash-hero-cta-group {
    flex-direction: column;
  }

  .cash-hero-stats {
    flex-direction: column;
    gap: 10px;
  }

  .cash-hero-line-left,
  .cash-hero-line-right {
    display: none;
  }

  .cash-compare-section,
  .cash-capital-section,
  .cash-situations-section,
  .cash-steps-section,
  .cash-form-section,
  .cash-faq-section {
    padding: var(--space-4xl) var(--space-lg);
  }

  .cash-capital-grid,
  .cash-steps-grid {
    grid-template-columns: 1fr;
  }

  .cash-situations-grid {
    grid-template-columns: 1fr;
  }

  .cash-form-wrapper {
    grid-template-columns: 1fr;
  }

  .cash-impact-stats {
    flex-direction: column;
    gap: 30px;
  }

  .cash-form-left h2 {
    font-size: var(--text-2xl);
  }
}
