/* ============================================================
   WESTCOAST DRAFTING — agency.css
   Base styles for the 6 new agency content elements.
   These are theme-agnostic defaults; themes.css overrides
   structure / colors per active theme.

   Elements:
     .hero-video-bg   — full-bleed video background in hero
     .hero-quote-card — floating client quote card in hero
     #process         — 4-step workflow section
     #testimonials    — client reviews grid
     #faq             — accordion Q&A list
   ============================================================ */

/* ── Video background ────────────────────────────────────── */
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: none;         /* hidden by default; themes.css shows it */
  opacity: 0.55;
  pointer-events: none;
}

/* Cinematic fallback: CSS animated gradient when no video src */
.hero-video-bg--fallback {
  display: block;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 40%, #0d0d1a 70%, #0a0a0a 100%);
  background-size: 400% 400%;
  animation: cinematicPulse 12s ease infinite;
}

@keyframes cinematicPulse {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Hero restructure: inner split support ───────────────── */
/* .hero-left is a wrapper for the existing hero headline content.
   By default (luxury) it behaves identically to the old hero-inner body. */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Hero Quote Card ─────────────────────────────────────── */
.hero-quote-card {
  display: none;         /* hidden by default; shown by agency themes */
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.hero-quote-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 10rem;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  font-family: Georgia, serif;
  pointer-events: none;
}

.hero-quote-card blockquote {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-style: italic;
  line-height: 1.75;
  color: inherit;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}

.quote-card-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.quote-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A96E, #a07840);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.quote-card-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.quote-card-info span {
  font-size: 0.75rem;
  opacity: 0.65;
}

.quote-card-stars {
  margin-top: 20px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #F59E0B;
  position: relative;
  z-index: 1;
}

.quote-card-stars small {
  color: inherit;
  opacity: 0.65;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-left: 6px;
}

/* ── Process Section ─────────────────────────────────────── */
#process {
  padding: var(--section-pad) 0;
}

#process .container { }

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: steps;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.25;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-muted);
}


/* ── Testimonials Section ────────────────────────────────── */
#testimonials {
  padding: var(--section-pad) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  padding: 36px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  font-style: italic;
  flex: 1;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card cite::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-gold);
}

/* ── FAQ Section ─────────────────────────────────────────── */
#faq {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--color-bg); }

.faq-question[aria-expanded="true"] { background: var(--color-bg); }

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
  color: var(--color-gold);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1), padding 0.3s ease;
}

.faq-answer.is-open {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-muted);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .process-steps     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
