/* ============================================================
   TESTIMONIALS, BLOG, FAQ, & FOOTER — Elegant light-theme sections
   - Impeccable: Kinetic marquee carousels, responsive spacing, warm accents
   - Taste Skill: High-performance marquees, clean card transitions
   - Premium feel: Warm cream, charcoal ink text, burnt orange highlights
   ============================================================ */

.testimonials-section {
  padding-block: clamp(80px, 10vw, 140px);
  background: var(--cream-2);
  overflow: hidden;
  position: relative;
}

/* ── DUAL ROW CAROUSEL ────────────────────────────────────── */
.testimonials-carousel {
  margin-top: clamp(48px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px); /* Much more breathing room between rows */
  position: relative;
}

/* Elegant cream fade edges to mask the marquee carousel */
.testimonials-carousel::before,
.testimonials-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 12vw, 220px);
  z-index: 10;
  pointer-events: none;
}
.testimonials-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--cream-2), transparent);
}
.testimonials-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--cream-2), transparent);
}

/* ── TRACK ────────────────────────────────────────────────── */
.testi-track {
  display: flex;
  gap: clamp(20px, 2.5vw, 32px); /* Wider gaps between cards */
  overflow: visible;
}

.testi-row-1 .testi-track {
  animation: marquee-left 45s linear infinite; /* Slower = more readable */
}
.testi-row-2 .testi-track {
  animation: marquee-right 50s linear infinite;
}

.testi-row-1:hover .testi-track,
.testi-row-2:hover .testi-track {
  animation-play-state: paused;
}

/* ── TESTIMONIAL CARD ─────────────────────────────────────── */
.testi-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 36px) clamp(28px, 3vw, 36px) clamp(24px, 2.5vw, 32px);
  min-width: 380px;
  max-width: 420px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.03);
  transition: border-color 400ms cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 400ms cubic-bezier(0.25, 1, 0.5, 1),
              transform 400ms cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}
.testi-card:hover {
  border-color: rgba(232,98,26,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04), 0 20px 48px rgba(232,98,26,0.08);
  transform: translateY(-6px);
}

/* Stars */
.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testi-stars span {
  color: #F59E0B;
  font-size: 1rem;
  filter: drop-shadow(0 1px 2px rgba(245,158,11,0.3));
}

/* Quote text */
.testi-text {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: normal;
  letter-spacing: -0.005em;
}

/* Author row */
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 8px rgba(232,98,26,0.25);
}

.testi-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testi-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.testi-role {
  font-size: 0.78rem;
  color: var(--ink-subtle);
  font-weight: 500;
}

/* Quote icon accent */
.testi-quote-icon {
  float: right;
  font-size: 3.5rem;
  line-height: 0.7;
  color: var(--orange);
  opacity: 0.08;
  font-family: Georgia, serif;
  margin-top: -4px;
  margin-right: -4px;
}

/* ════════════════════════════════════════════════════════════
   BLOG SECTION
   ════════════════════════════════════════════════════════════ */

.blog-section {
  padding-block: var(--section-py);
  background: var(--cream);
}

/* Filter tabs (Pill toggle pattern) */
.blog-filters {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  background: transparent;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: all 250ms var(--ease-out);
}
.filter-tab:hover {
  color: var(--charcoal);
  border-color: var(--hairline-strong);
  background: var(--cream-deep);
}
.filter-tab.active {
  background: var(--orange-soft);
  color: var(--orange);
  border-color: rgba(232,98,26,0.3);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-card {
  background: var(--cream-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xxl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 450ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 450ms cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
  transform: translateY(-6px) scale(1.005);
  border-color: rgba(232,98,26,0.18);
  box-shadow: 0 20px 40px rgba(26,17,8,0.06), var(--shadow-card);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--cream-deep) 0%, var(--cream-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.blog-card-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,17,8,0.05) 100%);
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-category {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--hairline);
}

.blog-date {
  font-size: 0.75rem;
  color: var(--ink-subtle);
  font-weight: 500;
}

.blog-read-more {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms var(--ease-out), color 200ms var(--ease-out);
}
.blog-read-more:hover {
  color: var(--orange-deep);
  gap: 8px;
}

.blog-footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ════════════════════════════════════════════════════════════ */

.faq-section {
  padding-block: var(--section-py);
  background: var(--cream-2);
}

.faq-list {
  max-width: 800px;
  margin-inline: auto;
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--cream-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.faq-item:hover {
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-sm);
}
.faq-item:has(.faq-answer.open) {
  border-color: rgba(232,98,26,0.25);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  text-align: left;
  gap: var(--space-sm);
  cursor: pointer;
  transition: color 200ms var(--ease-out);
}
.faq-question:hover { 
  color: var(--orange); 
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms var(--ease-out);
}
.faq-item.open .faq-chevron { 
  transform: rotate(180deg); 
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms var(--ease-out);
}
.faq-answer.open { 
  grid-template-rows: 1fr; 
}

.faq-answer-inner {
  overflow: hidden;
  padding: 0 var(--space-lg) 0 var(--space-lg);
  transition: padding 350ms var(--ease-out);
}
.faq-answer.open .faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-md);
}

.faq-answer-inner p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.7;
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-sm);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */

.footer {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  padding-block: var(--space-2xl) var(--space-xl);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--amber) 50%, var(--orange-deep) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--hairline);
}

.footer-brand .logo-name { 
  font-size: 1.0625rem; 
  margin-bottom: 6px; 
}
.footer-brand-tagline {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 30ch;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}
.footer-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-subtle);
  margin-bottom: var(--space-md);
}
.footer-col ul { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: color 200ms var(--ease-out);
}
.footer-col a:hover { 
  color: var(--orange); 
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-copy {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
}
.footer-legal {
  display: flex;
  gap: var(--space-md);
}
.footer-legal a {
  font-size: 0.8125rem;
  color: var(--ink-subtle);
  transition: color 200ms var(--ease-out);
}
.footer-legal a:hover { 
  color: var(--orange); 
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .testi-card { min-width: 280px; }
}
