@charset "UTF-8";
/*
 * Services pages — page-specific enhancements
 * Prime Investments Hong Kong Limited
 * ---------------------------------------------------------------------------
 * Loaded after assets/css/site.css via site_header(['page_css' => [...]]).
 * Only additions that are specific to /services and /services/{slug} live here:
 * long-form rich text, the editorial intro split, the detail overview/aside
 * composition, the indicative-rates table and the FAQ split. Global components,
 * tokens and layout primitives stay in site.css.
 */

/* ---------------------------------------------------------------------------
 * Long-form rich text (overview HTML, intro body)
 * ------------------------------------------------------------------------- */
.prose {
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 1.2rem;
}

.prose h2 {
  font-size: var(--h3);
  margin-top: 2.25rem;
}

.prose h3 {
  font-size: var(--h4);
  margin-top: 1.9rem;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 0.9rem;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.3rem;
}

.prose li::marker {
  color: var(--gold-600);
}

.prose a {
  font-weight: 600;
}

.prose strong {
  color: var(--ink-900);
}

.prose blockquote {
  margin: 1.75rem 0;
  padding-left: 1.35rem;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-700);
}

.prose > :first-child {
  margin-top: 0;
}

/* ---------------------------------------------------------------------------
 * Section rhythm (larger gap between section heading and its content)
 * ------------------------------------------------------------------------- */
.services-overview .flow > * + *,
.service-detail .flow > * + * {
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

/* ---------------------------------------------------------------------------
 * Intro split (overview page)
 * ------------------------------------------------------------------------- */
.services-intro__media {
  margin: 0;
}

.services-intro__media .media-frame {
  box-shadow: var(--shadow-lg);
}

.services-intro__caption {
  margin-top: 0.95rem;
  color: var(--muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.services-intro__caption::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 0.6rem;
  vertical-align: middle;
  background-color: var(--gold-500);
}

.services-intro .intro__title {
  font-size: var(--h2);
  line-height: 1.08;
}

.services-intro__checklist {
  margin-top: 1.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------------------
 * Grids
 * ------------------------------------------------------------------------- */
.services-grid .service-card {
  height: 100%;
}

.service-features__grid .feature-card,
.loan-features__grid .feature-card {
  height: 100%;
}

.feature-card {
  padding: clamp(1.5rem, 2.4vw, 2rem);
}

.feature-card__title {
  margin-top: 1.4rem;
  font-size: var(--h4);
  line-height: 1.3;
}

.feature-card__text {
  margin-top: 0.6rem;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
 * Why Prime strip
 * ------------------------------------------------------------------------- */
.checklist--loose {
  gap: 1.15rem;
}

.checklist--loose li {
  font-size: 1rem;
}

.services-why__actions {
  margin-top: 2rem;
}

/* ---------------------------------------------------------------------------
 * Detail: overview + highlights aside
 * ------------------------------------------------------------------------- */
.service-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.service-overview__title {
  margin-top: 1rem;
  font-size: var(--h2);
  line-height: 1.08;
}

.service-overview__body .prose {
  margin-top: 1.75rem;
}

.service-aside {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.service-aside::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.5rem, 2.6vw, 2.1rem);
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.service-aside__title {
  margin-top: 0.9rem;
  font-size: var(--h4);
  line-height: 1.3;
}

.service-aside__list {
  margin-top: 1.35rem;
}

.service-aside__contact {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.service-aside__contact-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-aside__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--brand-700);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.service-aside__phone:hover {
  color: var(--brand-600);
}

.service-aside__phone .icon {
  color: var(--gold-600);
}

/* ---------------------------------------------------------------------------
 * Detail: at-a-glance stats (three columns)
 * ------------------------------------------------------------------------- */
.service-stats .stats-band__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------------------------------------------------------------------------
 * Detail: indicative terms table
 * ------------------------------------------------------------------------- */
.service-rates-table {
  min-width: 680px;
}

.service-rates-table th[scope="row"] {
  color: var(--ink-900);
  font-weight: 700;
  white-space: nowrap;
}

.service-rates-table td:nth-child(3) {
  color: var(--body);
  font-size: 0.875rem;
  line-height: 1.6;
}

.fine-print {
  max-width: 82ch;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
 * FAQ split
 * ------------------------------------------------------------------------- */
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.faq-split__accordion .accordion {
  margin-top: 0;
}

/* ---------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .service-stats .stats-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .service-overview__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-aside {
    max-width: 620px;
  }

  .faq-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .service-stats .stats-band__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-rates-table {
    min-width: 560px;
  }

  .services-intro__media {
    margin-bottom: 0.5rem;
  }
}
