/* ======================================================================
   Store Craft Studio — component styles (part 2)
   services, case studies, process, testimonials, faq, contact, footer
   ====================================================================== */

.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.service { padding: 30px; transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-tint-2); }
.service__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--brand-tint); color: var(--brand);
  margin-bottom: 20px;
}
.service__title { font-size: 20px; font-weight: 600; }
.service__desc { margin-top: 10px; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 880px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Case studies ---------- */
/* ---------- Work / portfolio grid ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .28s ease, border-color .28s ease;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint-2); }
.work-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  background: var(--bg-soft-2);
  overflow: hidden;
}
.work-slot { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.work-card__skeleton {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(110% 80% at 25% 0%, hsl(var(--hue) 72% 62% / .28), transparent 62%),
    linear-gradient(135deg, hsl(var(--hue) 55% 95%), hsl(var(--hue) 48% 88%));
}
.work-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: rgba(255,255,255,0.94); color: var(--ink);
  backdrop-filter: blur(4px); box-shadow: var(--shadow-sm);
}
.work-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.work-card__brand { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.work-card__desc { margin-top: 9px; font-size: 14.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.work-card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-weight: 700; font-size: 14.5px; color: var(--brand);
  transition: gap .18s ease;
}
.work-card__link:hover { gap: 11px; text-decoration: underline; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { margin-top: 54px; display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 120px 1fr;
  gap: clamp(20px, 5vw, 60px);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 52px); color: #b69bf2; letter-spacing: -0.03em; line-height: 1; }
.step__t { color: #fff; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; }
.step__d { margin-top: 8px; font-size: 16px; color: var(--on-dark-muted); max-width: 620px; line-height: 1.6; }
@media (max-width: 620px) {
  .step { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.quote { padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.quote__stars { display: inline-flex; gap: 3px; color: #f5a623; }
.quote__text { font-size: 16.5px; color: var(--body); line-height: 1.6; flex: 1; }
.quote__by { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.quote__by strong { color: var(--ink); }
.quote__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-700);
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
}
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 820px; }
.faqs { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease; }
.faq.open { border-color: var(--brand-tint-2); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq__icon { color: var(--brand); flex-shrink: 0; transition: transform .25s ease; }
.faq.open .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq.open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a p { padding: 0 24px 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__copy h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-top: 16px; }
.contact__copy > p { margin-top: 18px; font-size: 18px; color: var(--on-dark-muted); line-height: 1.6; max-width: 480px; }
.contact__list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact__list li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--on-dark); }
.contact__list li svg { color: #b69bf2; }
.contact__details { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.contact__detail { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--on-dark); }
.contact__detail svg { color: #b69bf2; flex-shrink: 0; }
a.contact__detail:hover { color: #b69bf2; }

.contact__card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-lg); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.form input, .form select, .form textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  width: 100%; font-weight: 500;
}
.form input::placeholder, .form textarea::placeholder { color: var(--faint); font-weight: 500; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-glow); }
.form textarea { resize: vertical; }
.form__submit { width: 100%; margin-top: 4px; }
.form__fine { font-size: 12px; color: var(--faint); text-align: center; font-weight: 500; }
.contact__success { text-align: center; padding: 20px 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact__success-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.contact__success h3 { font-size: 24px; color: var(--ink); }
.contact__success p { color: var(--muted); font-size: 15.5px; max-width: 340px; line-height: 1.6; }
@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { background: #0c0815; color: var(--on-dark-muted); padding-top: clamp(54px, 7vw, 86px); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(32px, 5vw, 72px); padding-bottom: 48px; }
.footer__brand p { margin-top: 16px; font-size: 15px; color: var(--on-dark-muted); max-width: 320px; line-height: 1.6; }
.footer__stars { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #f5a623; font-size: 13.5px; }
.footer__stars span { color: var(--on-dark-muted); font-weight: 600; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__h { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; margin-bottom: 4px; }
.footer__col a { font-size: 14.5px; color: var(--on-dark-muted); transition: color .18s ease; }
.footer__col a:hover { color: #fff; }
.footer__muted { font-size: 14px; color: var(--faint); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 13.5px; color: var(--faint); }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
