/* ============================================================
   THE THROUGHLINE — Fees & FAQs Styles
   ============================================================ */

/* ============================================================
   PAGE HEADER — journal sketch right side
   ============================================================ */

.fees-page-header {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

/* Bolder, more prominent sub line */
.fees-page-header__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(245, 240, 232, 0.85);
  margin-top: var(--space-lg);
  max-width: 560px;
  font-weight: 400;
  line-height: 1.5;
}

.fees-header-sketch {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(360px, 50vw, 720px);
  pointer-events: none;
  opacity: 0.38;
}

.fees-header-sketch__img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .fees-header-sketch {
    width: 220px;
    opacity: 0.15;
    right: -8%;
  }
}

/* ============================================================
   WATERMARK
   ============================================================ */

.fees-watermark {
  position: fixed;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 55vw, 700px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.fees-watermark.watermark-visible { opacity: 0.35; }
.fees-watermark.watermark-hidden  { opacity: 0; }

@media (max-width: 900px) {
  .fees-watermark { display: none; }
}

.fees-watermark__img {
  width: 100%;
  height: auto;
}

/* ============================================================
   FEES SECTION
   ============================================================ */

.fees-section {
  background-color: var(--cream);
}

.fees-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

/* Fee card — the price display */
.fee-card {
  background-color: var(--white);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
}

.fee-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.fee-card__label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
}

.fee-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.fee-card__detail {
  font-size: 0.85rem;
  color: var(--warm-gray);
  letter-spacing: 0.03em;
}

/* Fees text blocks */
.fees-block__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: var(--space-lg);
}

.fees-block__body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.fees-block__body:last-child {
  margin-bottom: 0;
}

/* Mentaya placeholder */
.fees-mentaya {
  background-color: var(--cream-dark);
  border: 1px dashed var(--cream-darker);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-2xl);
}

.fees-mentaya__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sepia);
  margin-bottom: var(--space-sm);
}

.fees-mentaya__note {
  font-size: 0.875rem;
  color: var(--warm-gray);
  font-style: italic;
}

/* Good Faith Estimate */
.fees-gfe {
  border-top: 1px solid var(--cream-darker);
  padding-top: var(--space-2xl);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */

.fees-faq {
  background-color: var(--cream-dark);
  border-top: 1px solid var(--cream-darker);
}

.fees-faq .container {
  position: relative;
  z-index: 1;
}

/* Reuse global accordion styles — override body padding for FAQs */
.accordion__body--fees {
  padding: 0 0 var(--space-xl) 0;
}

.accordion__body--fees p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink);
}

/* Force correct text color on FAQ accordion triggers */
.fees-faq .accordion__trigger {
  color: var(--navy);
}

.fees-faq .accordion__title {
  color: var(--navy);
}

.fees-faq .accordion__trigger:hover .accordion__title {
  color: var(--sepia);
}

/* Catch-all line */
.fees-faq__catchall {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-top: var(--space-2xl);
  line-height: 1.7;
}

.fees-faq__link {
  color: var(--sepia);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration-base) var(--ease-smooth);
}

.fees-faq__link:hover {
  color: var(--navy);
}

/* ============================================================
   CTA
   ============================================================ */

.fees-cta {
  background-color: var(--cream);
  text-align: center;
}

.fees-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  background-color: var(--white);
}

.fees-cta__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--navy);
  font-weight: 300;
  max-width: 520px;
}

.fees-cta__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--sepia);
  margin-top: calc(-1 * var(--space-sm));
}
