/* Services hub (board PM-3). Components come from site.css; this file only sets the PM-3 layout, whose horizontal
   geometry follows the board at 1280 px. Vertical rhythm comes from the shared tokens: every section pads by --sec-y
   (site.css), headings sit --sec-head-gap above their content. Desktop-only geometry sits inside min-width: 1100px. */

/* ---------------------------------------------------------------- hero */
.svc-hub-device .device-screen { grid-template-columns: 14.2em minmax(0, 1fr); }
.svc-hub-device .device-nav li { min-height: 2.6em; font-size: 1.16em; }
.svc-hub-device .device-main { gap: 0; padding: 2.3em 1.7em 2.6em; }
.svc-hub-device .dash-title { margin-bottom: 1.45em; font-size: 1.8em; }
.svc-hub-device .dash-row { grid-template-columns: 1.08fr 1fr; gap: 1.25em; }
.svc-hub-device .dash-chart { padding: 3.6em 1.9em 2.1em; }
.svc-hub-device .dash-bars { gap: 1.3em; padding-inline: 0; }
.svc-glance { grid-auto-rows: 1fr; align-content: stretch; gap: 0; padding: .4em 1.5em; }
.svc-glance p { gap: .75em; font-size: 1.42em; font-weight: 600; }
.svc-glance p + p { border-top: 1px solid #edf0f5; }
.svc-glance .icon { width: 1.55em; height: 1.55em; }
.svc-hub-hero .page-hero-intro { max-width: 460px; }
.svc-hub-hero .page-hero-actions { margin-top: 17px; }
.svc-hub-hero .page-hero-ticks { font-size: 13px; }
.svc-hub-hero .page-hero-actions .btn .icon[class*='btn-icon']:first-child { width: 22px; height: 22px; margin-left: -3px; }
@media (min-width: 1100px) {
  .svc-hub-hero .page-hero-inner { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); min-height: 392px; }
  .svc-hub-hero .page-hero-media { align-self: center; max-width: 604px; margin: 0 -9px 0 0; }
}

/* ---------------------------------------------------------------- our accounting services */
/* first section under the dark hero: the hero band has no white padding of its own, so this one carries more */
.svc-all { padding-block: calc(var(--sec-y) * 2) var(--sec-y); }
.svc-all .section-head { margin-bottom: var(--sec-head-gap); }
.svc-all .section-head p { font-size: 15px; }
.svc-all-grid { gap: 23px 24px; }
.svc-all-grid .icon-card { gap: 24px; padding: 8px 18px 24px 14px; border-color: #e8eef5; border-radius: var(--r-lg); background: linear-gradient(180deg, #fcfdfe 0%, #f1f5fa 100%); box-shadow: 0 2px 8px rgba(16, 36, 77, .04); }
.svc-all-grid .icon-card-icon--mint { width: 65px; height: 64px; border-radius: 11px; background: linear-gradient(135deg, #e5f6f0 0%, #f1faf7 100%); color: #0b7d4f; }
.svc-all-grid .icon-card-icon--mint .icon { width: 48px; height: 48px; stroke-width: 1.45; }
.svc-all-grid .icon-card-body { gap: 7px; padding-top: 8px; }
.svc-all-grid .icon-card-title { font-size: 19px; line-height: 1.2; }
.svc-all-grid .icon-card-text { max-width: 203px; color: #2f3852; font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.svc-all-grid .icon-card-arrow { right: 14px; bottom: 14px; width: 37px; height: 37px; color: #030e38; }
.svc-all-grid .icon-card-arrow .icon { width: 18px; height: 18px; }
/* keep the description clear of the arrow button (bottom right) when the cards narrow */
.svc-all-grid .icon-card-text { max-width: min(203px, 100% - 44px); }
@media (min-width: 1100px) {
  .svc-all-grid .icon-card { min-height: 122px; padding-bottom: 18px; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .svc-all-grid .icon-card { gap: 16px; }
  .svc-all-grid .icon-card-icon--mint { width: 54px; height: 54px; }
  .svc-all-grid .icon-card-icon--mint .icon { width: 40px; height: 40px; }
}

/* specialist services: every other service page, as compact pill links under the grid */
.svc-more { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 14px 24px; align-items: start; margin-top: 32px; padding: 22px 24px; border: 1px solid #e8eef5; border-radius: var(--r-lg); background: var(--surface-2); }
.svc-more-title { font-size: 17.5px; line-height: 1.25; }
.svc-more-head p { margin-top: 6px; color: var(--body); font-size: 14px; line-height: 1.45; }
.svc-more-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.svc-more-link { gap: 7px; min-height: 34px; padding: 0 13px 0 10px; border-color: #dbe3ee; font-size: 13px; font-weight: 700; }
.svc-more-link .icon { width: 17px; height: 17px; color: #0b7d4f; }
a.svc-more-link:hover { border-color: var(--ink-2); color: var(--blue); }

/* ---------------------------------------------------------------- how it works (no divider on this board) */
.svc-how .wrap-wide { width: min(100% - 2 * var(--gutter), calc(var(--container) + 10px)); }
.svc-how .how-panel { min-height: 159px; border-radius: 16px; background: #f6f8fc; }
.svc-how .how-intro p { margin-top: 10px; font-size: 16.5px; line-height: 1.45; }
.svc-how .how-step h3 { font-size: 18px; }
.svc-how .how-step p { font-size: 15px; line-height: 1.36; }
.svc-how .how-num { width: 36px; height: 36px; background: #baf5e8; font-size: 15px; }
.svc-how .how-icon .icon { width: 42px; height: 42px; stroke-width: 1.6; }
@media (min-width: 1100px) {
  .svc-how .how-panel { grid-template-columns: 316px minmax(0, 1fr); align-items: start; padding: calc(var(--sec-y) * .5) 18px calc(var(--sec-y) * .55); }
  .svc-how .how-intro { padding: 16px 24px 0 0; }
  .svc-how .how-panel .how-steps { grid-template-columns: 299fr 289fr 250fr; padding-left: 0; border-left: 0; }
  .svc-how .how-panel .how-step + .how-step { padding-left: 0; }
  .svc-how .how-step-top { gap: 14px; margin-bottom: 2px; }
  .svc-how .how-step h3, .svc-how .how-step p { margin-left: 12px; }
  /* the board's line breaks */
  .svc-how .how-step:nth-child(1) p { max-width: 215px; }
  .svc-how .how-step:nth-child(2) p { max-width: 170px; }
  .svc-how .how-step:nth-child(3) p { max-width: 230px; }
  .svc-how .how-step:not(:last-child) { padding-right: 46px; }
  /* the board's arrows are larger and lighter than the shared ones */
  .svc-how .how-panel .how-step + .how-step .how-arrow { left: -64px; top: 37px; color: #94a1b5; }
  .svc-how .how-arrow .icon { width: 27px; height: 27px; stroke-width: 1.7; }
}

/* ---------------------------------------------------------------- why choose our services */
.svc-why-inner { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 17px; align-items: start; }
.svc-why-copy { padding: 4px 0 0 17px; }
.svc-why-copy h2 { font-size: var(--fs-h2-lg); line-height: 1.15; }
.svc-why-copy p { margin-top: 16px; max-width: 12.5em; color: var(--body); font-size: 17px; line-height: 1.45; }
.svc-why-table { border-color: #e5e9ee; border-radius: 11px; }
.svc-why-table .cmp-table .is-hl { background: #e0f7f1; }
.svc-why-table .cmp-table thead .is-hl { background: #d9f6ef; }
.svc-why-table .cmp-yes .icon { color: #14b46f; }
.svc-why-table .cmp-no .icon { color: #fe3b49; }
@media (min-width: 1100px) {
  .svc-why-table { margin-right: -7px; }
  .svc-why-table .cmp-table { font-size: 15px; }
  .svc-why-table .cmp-table th, .svc-why-table .cmp-table td { height: 32px; padding: 0 16px; }
  .svc-why-table .cmp-table thead th { height: 43px; background: #f6f8fa; font-size: 14.5px; }
  .svc-why-table .cmp-table thead th:first-child, .svc-why-table .cmp-table tbody th { padding-left: 27px; }
  .svc-why-table .cmp-table tbody th { font-size: 14px; font-weight: 700; }
  .svc-why-table .cmp-table thead th:nth-child(1) { width: 29.6%; }
  .svc-why-table .cmp-table thead th:nth-child(2) { width: 24.6%; }
  .svc-why-table .cmp-table thead th:nth-child(3) { width: 23.3%; }
  .svc-why-table .cmp-yes .icon, .svc-why-table .cmp-no .icon { width: 21px; height: 21px; }
}

/* ---------------------------------------------------------------- sectors */
.svc-sectors .section-head { margin-bottom: var(--sec-head-gap); }
.svc-sectors .section-head h2 { font-size: var(--fs-h2-sm); }
.svc-sector-list { display: flex; flex-wrap: wrap; gap: 12px 15px; list-style: none; padding: 0; }
.svc-sector { display: flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 0 20px; border-radius: var(--r-pill); background: #ecfaf7; color: var(--ink); font-size: 13.6px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.svc-sector .icon { width: 33px; height: 33px; color: #017f3f; stroke-width: 1.5; }
/* below the board width the six chips sit in an even 3 × 2 grid (flex wrapping left "Hospitality" alone on a row) */
@media (max-width: 1239px) {
  .svc-sector-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- testimonials */
.svc-testimonials .testimonials-head { margin-bottom: var(--sec-head-gap); }
.svc-testimonials .testimonials-head h2 { font-size: var(--fs-h2-sm); }
.svc-testimonials .testimonials-list { gap: 26px; }
.svc-testimonials .quote-card { min-height: 150px; padding: 8px 14px 8px 16px; border-color: #eef2f7; background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%); }
.svc-testimonials .quote-card-photo { width: 112px; height: 125px; }
.svc-testimonials .quote-card-text p { font-size: 16.5px; }
/* the font's closing quote sits a space away from the full stop; the board sets them tight */
.svc-q-end { margin-left: -.2em; }
.svc-testimonials .quote-card-name { margin-top: 10px; }
@media (min-width: 1100px) {
  .svc-testimonials .testimonials-list { display: grid; grid-template-columns: 378fr 368fr 390fr; }
  .svc-testimonials .quote-card { gap: 16px; padding-right: 10px; }
  .svc-testimonials .quote-card-text p { padding-left: 29px; text-wrap: balance; }
  /* the board's larger green quote mark */
  .svc-testimonials .quote-card-mark { top: -6px; font-size: 46px; }
  .svc-testimonials .quote-card-name, .svc-testimonials .quote-card-body .stars { padding-left: 29px; }
}
@media (min-width: 1240px) and (max-width: 1399px) {
  /* the board breaks the second quote over three lines (wider screens let the quote wrap naturally) */
  .svc-testimonials li:nth-child(2) .quote-card-text p { max-width: 172px; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .svc-testimonials .quote-card-photo { width: 88px; height: 100px; }
}

/* ---------------------------------------------------------------- CTA band */
.svc-hub-cta .cta-band { gap: 16px; min-height: 150px; padding: calc(var(--sec-y) * .5) 48px; border-radius: 52px; }
.svc-hub-cta .cta-band-copy h2 { font-size: 32px; }
.svc-hub-cta .cta-band-copy p { margin-top: 4px; font-size: 15.6px; }
.svc-hub-cta .cta-band-actions { gap: 14px 44px; }
.svc-hub-cta .cta-band-actions .btn { --btn-h: 44px; min-width: 220px; border-radius: 13px; }
.svc-hub-cta .cta-band-actions .btn:first-child { font-size: 16px; }
.svc-hub-cta .cta-band-actions .btn .btn-icon:first-child { width: 24px; height: 24px; }
@media (min-width: 1100px) {
  .svc-hub-cta .wrap-wide { width: min(100% - 2 * var(--gutter), calc(var(--container) + 60px)); }
}

/* ---------------------------------------------------------------- tablet and mobile */
@media (max-width: 1099px) {
  .svc-more { grid-template-columns: minmax(0, 1fr); }
  .svc-why-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-why-copy { padding-left: 0; }
  .svc-why-copy h2 br { display: none; }
  .svc-why-copy p { max-width: none; }
  .svc-hub-cta .cta-band { padding: 26px 32px 28px; border-radius: 32px; }
}
@media (max-width: 767px) {
  .svc-all-grid .icon-card { padding-bottom: 20px; }
  .svc-sector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-sector { justify-content: flex-start; padding-inline: 16px; white-space: normal; }
  .svc-hub-cta .cta-band { padding: 26px 24px; border-radius: 28px; }
  .svc-hub-cta .cta-band-actions { gap: 12px; }
  .svc-hub-cta .cta-band-actions .btn { min-width: 0; }
}
@media (max-width: 479px) {
  .svc-sector-list { grid-template-columns: minmax(0, 1fr); }
}
