/* ============================================
   FINANCING PAGE — Divided Sky
   ============================================ */

/* --- Hero --- */
.fin-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.fin-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.fin-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.55);
  z-index: 1;
}
.fin-hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
}
.fin-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.fin-hero-sub {
  font-size: 1.15rem;
  color: var(--ds-gray-400, #aaa);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.fin-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Why Finance --- */
.fin-why {
  padding: 80px 0;
  background: #f5f5f5;
}
.fin-why-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.fin-why-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.fin-why-header p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
}
.fin-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fin-why-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fin-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.fin-why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.fin-why-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.fin-why-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Financing Options --- */
.fin-options {
  padding: 80px 0;
  background: var(--ds-darker, #0a0a0a);
}
.fin-options-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.fin-options-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.fin-options-header p {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.05rem;
  line-height: 1.6;
}
.fin-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.fin-highlight-item {
  background: var(--ds-dark-card, #1a1a1a);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.fin-highlight-item:hover {
  transform: translateY(-4px);
  border-color: rgba(119,232,6,0.2);
}
.fin-highlight-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.fin-highlight-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.fin-highlight-item p {
  color: var(--ds-gray-400, #aaa);
  font-size: 0.95rem;
  line-height: 1.6;
}
.fin-options-cta {
  text-align: center;
  padding: 48px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fin-options-cta p {
  color: var(--ds-gray-300, #ccc);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.fin-options-cta .ds-btn {
  margin: 0 8px 12px;
}
.fin-options-cta .ds-btn-outline {
  border: 2px solid var(--ds-green, #77e806);
  color: var(--ds-green, #77e806);
  background: transparent;
}
.fin-options-cta .ds-btn-outline:hover {
  background: rgba(119,232,6,0.1);
}

/* --- How It Works --- */
.fin-how {
  padding: 80px 0;
  background: #f5f5f5;
}
.fin-how-header {
  text-align: center;
  margin-bottom: 50px;
}
.fin-how-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
}
.fin-how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.fin-step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.fin-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(119,232,6,0.1);
  color: var(--ds-green, #77e806);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  border: 2px solid var(--ds-green, #77e806);
}
.fin-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.fin-step p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}
.fin-step-connector {
  width: 40px;
  height: 2px;
  background: rgba(119,232,6,0.2);
  margin-top: 28px;
  flex-shrink: 0;
}

/* --- FAQ --- */
.fin-faq {
  padding: 80px 0;
  background: var(--ds-darker, #0a0a0a);
}
.fin-faq-header {
  text-align: center;
  margin-bottom: 40px;
}
.fin-faq-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.fin-faq-list {
  max-width: 750px;
  margin: 0 auto;
}
.fin-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.fin-faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  transition: color 0.2s ease;
}
.fin-faq-question:hover {
  color: var(--ds-green, #77e806);
}
.fin-faq-toggle {
  font-size: 1.4rem;
  color: var(--ds-green, #77e806);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.fin-faq-item.open .fin-faq-toggle {
  transform: rotate(45deg);
}
.fin-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.fin-faq-item.open .fin-faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.fin-faq-answer p {
  color: var(--ds-gray-400, #aaa);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- CTA --- */
.fin-cta {
  padding: 80px 0;
  background: var(--ds-dark, #0f0f0f);
  text-align: center;
}
.fin-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.fin-cta > .ds-container > p {
  color: var(--ds-gray-400, #aaa);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.fin-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .fin-why-grid,
  .fin-highlights {
    grid-template-columns: 1fr;
  }
  .fin-how-steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .fin-step-connector {
    width: 2px;
    height: 24px;
    margin: 0;
  }
  .fin-hero-actions,
  .fin-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .fin-hero-overlay {
    background: rgba(25, 25, 25, 0.45);
  }
}
