/* 피티픽 (PT Pick) — landing site styles
   Base reset + interactions + responsive overrides.
   Layout colors/spacing largely live as inline styles on the markup
   (faithful to the original design); this file adds what inline can't do:
   hover states, the FAQ accordion, and mobile responsiveness. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1B2A4A;
  background: #FFFFFF;
  line-height: 1.6;
  letter-spacing: -0.015em;
}
img { max-width: 100%; display: block; }

/* Service cards — hover lift (was style-hover in the design) */
.card-hover {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card-hover:hover {
  border-color: #C9D4F8 !important;
  box-shadow: 0 16px 36px -20px rgba(79,107,246,0.30);
  transform: translateY(-3px);
}

/* Generic link/button affordance on CTAs */
.cta:hover { filter: brightness(1.04); }
.link-underline:hover { text-decoration: underline; }

/* FAQ accordion */
.faq-toggle { transition: background .15s ease; }
.faq-toggle:hover { background: #FAFBFE; }

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 15px;
  color: #637092;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* Toggle icon: exactly one circle shows per state.
   Visibility is controlled ONLY by these rules (no inline display),
   so the open/closed swap can't be overridden by inline styles. */
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  flex: none;
}
.faq-icon-plus  { display: inline-flex; background: #EEF2FE; color: #4F6BF6; }
.faq-icon-minus { display: none;        background: #4F6BF6; color: #fff;    }
.faq-item.open .faq-icon-plus  { display: none; }
.faq-item.open .faq-icon-minus { display: inline-flex; }

/* Review filter chips (reviews page) */
.filter-chip { cursor: default; }

/* Footer */
.site-footer .foot-link { transition: color .15s ease; }
.site-footer .foot-link:hover { color: #4F6BF6 !important; }
@media (max-width: 640px) {
  .footer-top { flex-direction: column !important; gap: 36px !important; }
  .footer-cols { gap: 40px !important; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { gap: 16px !important; }
  .nav-links a.nav-text { display: none; }   /* hide text links, keep CTA */
  .hero-title { font-size: 38px !important; }
  .rv-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .section-pad { padding-left: 20px !important; padding-right: 20px !important; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 31px !important; }
  .cta-card { padding: 44px 24px !important; }
  .reviews-cols { columns: 1 !important; }
}
