/* ==========================================================================
   SPECIALIST HOUSE: REFRESHED SECTIONS
   Loaded on index.html ONLY, after styles.css.

   Scope, deliberately narrow: these are the four things the client approved
   from the redesign. Everything else on the homepage keeps its original look:

     1. The Visibility Gap  (.visibility-gap) : statement-led, no cards
     2. Ghost buttons       (.btn--ghost) : "View All Services", "See All Work"
     3. Why Us              (.why-item)   : numbered, no cards
     4. Testimonials        (.testimonial-*)
     5. FAQ                 (.faq-*)      : two-column, heading left
     6. Trust proof text    (.tp-*)       : readable body + stat labels

   Do not add unrelated rules here. If a fifth section is ever approved, give
   it its own clearly-labelled block below.
   ========================================================================== */

:root {
  --rf-radius:      16px;
  --rf-radius-sm:   10px;
  --rf-brass:       #946A2C;
  --rf-border:      rgba(12, 29, 48, 0.10);
  --rf-border-hi:   rgba(8, 124, 170, 0.28);
  --rf-shadow-1:    0 1px 2px rgba(12, 29, 48, 0.04), 0 2px 8px rgba(12, 29, 48, 0.05);
  --rf-shadow-2:    0 4px 8px rgba(12, 29, 48, 0.05), 0 12px 28px rgba(12, 29, 48, 0.09);
  --rf-shadow-3:    0 8px 16px rgba(12, 29, 48, 0.06), 0 24px 48px rgba(12, 29, 48, 0.12);
  --rf-ease:        cubic-bezier(0.16, 1, 0.30, 1);
}

/* ==========================================================================
   1. THE VISIBILITY GAP

   Option 3, chosen by the client: the three icon cards were removed. They
   largely repeated the paragraph above them, and three equal boxes was the
   wrong shape for what is really a sequential argument. The statement now
   carries the section, with the payoff line closing it.
   ========================================================================== */
.visibility-gap {
  background-color: var(--bg-surface);
}

.visibility-gap__inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.visibility-gap__statement {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-top: 1.25rem;
}

.visibility-gap__body {
  margin-top: 2rem;
  font-size: 1.15rem;
  line-height: 1.85;
}

.visibility-gap__close {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rf-border);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-accent);
}

@media (max-width: 700px) {
  .visibility-gap__body { font-size: 1.05rem; }
  .visibility-gap__close { font-size: 1.2rem; }
}

/* ==========================================================================
   2. GHOST BUTTONS, bordered pill-free button
   ========================================================================== */
.btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  min-height: 46px;

  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(12, 29, 48, 0.18);
  border-radius: var(--rf-radius-sm);

  font-weight: 600;
  letter-spacing: 0.02em;

  transition: color 0.15s var(--rf-ease),
              border-color 0.15s var(--rf-ease),
              background-color 0.15s var(--rf-ease),
              transform 0.15s var(--rf-ease);
}
.btn--ghost:hover {
  gap: 0.5rem;                              /* cancel the old gap-grow hover */
  color: #076C95;
  border-color: var(--rf-border-hi);
  background-color: #EFF8FC;
  transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0); }

/* On the dark services section styles.css already flips the text and border to
   white; the hover wash has to follow, or it flares a light box on navy. */
.services-preview .btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   3. WHY US, numbered columns, no cards
   ========================================================================== */
.why-item {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}
.why-item::before { content: none; }        /* the old 40px teal tick */
.why-item:hover { transform: none; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--rf-brass);
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--rf-border);
}

.why-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.why-item p {
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ==========================================================================
   4. TESTIMONIALS
   ========================================================================== */
.testimonial-inner {
  grid-template-columns: 340px 1fr;
  gap: 4rem;
}

/* Alternate the second testimonial so the page doesn't read as a list */
.testimonial-inner:nth-of-type(2) {
  grid-template-columns: 1fr 340px;
}
.testimonial-inner:nth-of-type(2) .testimonial-photo-col { order: 2; }

.testimonial-inner + .testimonial-inner {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--rf-border);
}

.testimonial-photo {
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--rf-radius);
  box-shadow: var(--rf-shadow-3);
}

/* The "CLIENT TESTIMONIAL" label is redundant beside a photo and a quote */
.testimonial-eyebrow { display: none; }

.testimonial-quote-mark {
  font-size: 3.5rem;
  line-height: 0.8;
  color: #B2DCEF;
  margin-bottom: 0.5rem;
}

.testimonial-quote {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 44ch;
}

@media (max-width: 900px) {
  .testimonial-inner,
  .testimonial-inner:nth-of-type(2) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .testimonial-inner:nth-of-type(2) .testimonial-photo-col { order: 0; }
  /* The source portraits are 1600x2400. A 3/2 landscape frame anchored to
     the top sliced them across the middle on phones. Keep the frame
     portrait so the subject stays whole. */
  .testimonial-photo {
    aspect-ratio: 4 / 5;
    max-width: 300px;
    margin-inline: auto;
    object-position: center top;
  }
}

/* ==========================================================================
   5. FAQ, heading parked on the left, questions on the right
   .faq-header and .faq-list are already siblings inside .container, so the
   two-column layout needs no markup change.
   ========================================================================== */
.faq-section .container {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.faq-header {
  position: sticky;
  top: 7rem;
  text-align: left;
  margin-bottom: 0;
}

/* styles.css sets this to #fff, a leftover from when the section was dark.
   On the ivory background that renders the heading invisible. */
.faq-headline {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.faq-list {
  max-width: none;
  margin: 0;
  border-top: 1px solid var(--rf-border);
}

.faq-item {
  padding: 0;
  padding-left: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rf-border);
  transition: none;
}
.faq-item--open {
  padding-left: 0;
  border-left-color: transparent;
}

.faq-question {
  padding: 1.6rem 0;
  gap: 2rem;
  font-size: 1.0625rem;
  transition: color 0.15s var(--rf-ease);
}
.faq-question:hover { color: #076C95; }

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  border: 1px solid var(--rf-border);
  border-radius: 50%;
  transition: color 0.26s var(--rf-ease),
              background-color 0.26s var(--rf-ease),
              border-color 0.26s var(--rf-ease);
}
.faq-item--open .faq-icon {
  color: #fff;
  background-color: var(--primary-accent);
  border-color: var(--primary-accent);
}

.faq-answer p {
  padding-top: 0;
  padding-bottom: 1.6rem;
  max-width: 60ch;
  font-size: 0.94rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .faq-section .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .faq-header { position: static; }
}

/* ==========================================================================
   6. TRUST PROOF, readability

   The stat labels were 0.65rem (10.4px) in #8A9BAD, which is about 3:1 on
   the ivory background and fails WCAG AA for text that size. The body copy
   sat at 0.95rem. Both are bumped and the label colour darkened; the layout
   is untouched.
   ========================================================================== */
.tp-body {
  font-size: 1.1rem;
  line-height: 1.85;
}

.tp-stat__num {
  font-size: 1.6rem;
}

.tp-stat__label {
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #55606A;
}

@media (max-width: 700px) {
  .tp-body { font-size: 1.05rem; }
  .tp-stat__label { font-size: 0.78rem; }
}
