/* ============================================================
   SEO ADDITIONS — Styles for new FAQ and Testimonials sections
   These styles extend the existing design system without
   modifying styles.css, making updates easy to maintain.
   ============================================================ */

/* ---------- TESTIMONIALS ---------- */
.testimonials{
  background:var(--paper-card);
  border-top:1px solid var(--paper-line);
  border-bottom:1px solid var(--paper-line);
  padding:96px 0;
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
  margin-top:40px;
}

.testimonial-card{
  display:flex;
  flex-direction:column;
  background:var(--paper);
  border:1px solid var(--paper-line);
  border-radius:10px;
  overflow:hidden; /* keeps the banner's corners following the card's */
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px -18px rgba(23,17,26,0.2);
}

.testimonial-content{
  padding:28px 28px 24px;
}

.testimonial-card .stars{
  color:var(--rose);
  font-size:1.1rem;
  margin-bottom:12px;
}

.testimonial-card p{
  font-size:0.95rem;
  color:var(--ink);
  margin-bottom:0;
  line-height:1.6;
}

/* Image banner, always pinned to the bottom of the card (margin-top:auto
   pushes it down while .testimonial-content stays natural height above
   it) so every card in a row lines up on the same baseline. */
.testimonial-banner{
  position:relative;
  margin-top:auto;
  min-height:92px;
  background-color:var(--rose-dim);
  background-size:cover;
  background-position:center;
}

.testimonial-banner.has-image::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(23,17,26,0.72) 0%, rgba(23,17,26,0.28) 60%, rgba(23,17,26,0.28) 100%);
}

.testimonial-banner-overlay{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 28px;
}

.testimonial-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--rose-dim);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  font-size:0.9rem;
  flex-shrink:0;
}

.testimonial-banner.has-image .testimonial-avatar{
  background:rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.4);
  backdrop-filter:blur(2px);
}

.testimonial-meta{
  min-width:0;
}

.testimonial-card cite{
  font-style:normal;
  font-weight:600;
  font-size:0.9rem;
  color:var(--ink);
}

.testimonial-card .client-site{
  display:block;
  font-size:0.8rem;
  color:var(--muted-dark);
}

.testimonial-banner.has-image cite{
  color:#fff;
}

.testimonial-banner.has-image .client-site{
  color:rgba(255,255,255,0.82);
}

/* ---------- FAQ ---------- */
.faq{
  background:var(--paper);
  padding:96px 0;
}

.faq-list{
  margin-top:40px;
}

.faq-item{
  background:var(--paper-card);
  border:1px solid var(--paper-line);
  border-radius:10px;
  margin-bottom:12px;
  overflow:hidden;
  transition:border-color 0.2s ease;
}

.faq-item:hover{
  border-color:var(--paper-line);
}

.faq-item.expanded{
  border-color:var(--rose);
}

.faq-item summary{
  padding:20px 24px;
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--ink);
  transition:background 0.2s ease;
}

.faq-item summary:hover{
  background:rgba(201,123,130,0.04);
}

.faq-item summary::-webkit-details-marker{
  display:none;
}

.faq-item summary .toggle-icon{
  color:var(--rose);
  font-size:1.2rem;
  font-weight:400;
  transition:transform 0.2s ease;
  flex-shrink:0;
  margin-left:12px;
}

.faq-item.expanded summary .toggle-icon{
  transform:rotate(45deg);
}

.faq-item .faq-answer{
  height:0;
  overflow:hidden;
}

.faq-item .faq-answer-inner{
  padding:0 24px 20px;
  color:var(--muted-dark);
  font-size:0.95rem;
  line-height:1.6;
}

.faq-item .faq-answer-inner p{
  margin-bottom:8px;
}

.faq-item .faq-answer-inner p:last-child{
  margin-bottom:0;
}

/* ---------- SECTION DIVIDER ---------- */
/* Sits between FAQ and Contact — both share the same background
   color, so this gradient line gives clear visual separation. */
.section-divider{
  height:1px;
  max-width:1080px;
  margin:0 auto;
  background:linear-gradient(90deg, transparent, var(--rose) 50%, transparent);
  opacity:0.45;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:820px){
  .testimonials-grid{
    grid-template-columns:1fr;
  }

  .testimonials{
    padding:64px 0;
  }

  .faq{
    padding:64px 0;
  }

  .faq-item summary{
    padding:16px 20px;
    font-size:0.95rem;
  }

  .faq-item .faq-answer-inner{
    padding:0 20px 16px;
  }
}