/*
 * /services/ (resources/views/app/pages/services.blade.php). Page-only, prefixed svh-.
 * Icons are the header menu's (.pnav-ico masks, in app.css).
 */
.svh { --g: #00B26B; --g-hi: #00C878; --g-ink: #00804D; --ink: #1C2522; --ink-d: #04170F; --muted: #4A5551; --muted2: #5F6B66;
  --line: #E4E9E6; --tint: #F4F7F5; --mint: #E6F7EF; --dark: #011D12;
  font-family: Poppins, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #fff; }
.svh *, .svh *::before, .svh *::after { box-sizing: border-box; }
.svh h1, .svh h2, .svh h3, .svh p { margin: 0; }
.svh ul { list-style: none; margin: 0; padding: 0; }
.svh a { text-decoration: none; }
.svh :focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }
.svh-wrap { max-width: 1312px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }   /* lines up with the header */
@media (min-width: 768px) and (max-width: 1023.98px) { .svh-wrap { padding-left: 40px; padding-right: 40px; } }
.svh-g { color: var(--g); }

.svh-hero { color: #fff; background-color: var(--dark);
  background-image: radial-gradient(55% 75% at 82% 8%, rgba(0, 178, 107, .42) 0%, rgba(0, 178, 107, 0) 62%), radial-gradient(40% 60% at 0% 100%, rgba(0, 178, 107, .16) 0%, rgba(0, 178, 107, 0) 70%); }
.svh-hero .svh-wrap { padding-top: 128px; padding-bottom: 72px; }
.svh-crumbs ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 28px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.svh-crumbs a { color: inherit; }
.svh-crumbs a:hover, .svh-crumbs [aria-current] { color: #fff; }
.svh-hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.svh-hero .svh-lead { margin: 20px 0 44px; max-width: 600px; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .8); }

.svh-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0, 178, 107, .16); border: 1px solid rgba(0, 178, 107, .4); color: var(--g); }
.svh-ico--light { background: var(--mint); border-color: #BFE8D4; color: var(--g-ink); }
.svh-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svh-card { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: 16px; color: #fff;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s; }
.svh-card:hover { background: rgba(255, 255, 255, .09); border-color: var(--g); }
.svh-card__name { margin-top: 20px; font-size: 19px; font-weight: 600; }
.svh-card__aud { margin: 6px 0 20px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.svh-card__n { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--g-hi); }
.svh-down { transform: rotate(90deg); }

.svh-sec { scroll-margin-top: 72px; }
.svh-sec:nth-of-type(odd) { background: var(--tint); }
.svh-sec__in { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 72px; padding-top: 80px; padding-bottom: 80px; align-items: start; }
.svh-side { position: sticky; top: 104px; }
.svh-side h2 { margin: 20px 0 12px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.15; font-weight: 600; }
.svh-side h2 a { color: var(--ink); }
.svh-side h2 a:hover { color: var(--g-ink); }
.svh-side p { margin-bottom: 26px; font-size: 16px; line-height: 1.65; color: var(--muted); }
/* columns, so a short group doesn't leave a hole beside a long one */
.svh-groups { columns: 2; column-gap: 48px; margin-bottom: -40px; }
.svh-group { break-inside: avoid; padding-bottom: 40px; }
.svh-group summary { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); list-style: none; }
.svh-group summary::-webkit-details-marker { display: none; }
.svh-group summary .pnav-ico { display: none; margin-left: auto; color: var(--muted2); transition: transform .2s; }
.svh-n { display: none; }
.svh-group h3 { font-size: 14px; font-weight: 600; color: var(--muted2); }
.svh-sec:nth-of-type(odd) .svh-group summary { border-color: #D5DDD9; }
.svh-sec:nth-of-type(odd) .svh-group li + li { border-color: #DDE4E0; }
.svh-group li + li { border-top: 1px solid var(--line); }
.svh-item { display: block; padding: 14px 0; color: var(--ink); }
.svh-item__t { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.svh-item__t .pnav-ico { flex: none; color: var(--g-ink); transition: transform .2s; }
.svh-item__d { display: block; margin-top: 3px; padding-right: 26px; font-size: 14px; line-height: 1.5; color: var(--muted2); }
a.svh-item:hover .svh-item__t { color: var(--g-ink); }
a.svh-item:hover .pnav-ico { transform: translateX(3px); }

/* the header menu's proof card, under the service */
.svh-proof { display: block; margin-top: 28px; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid #D5DDD9; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.svh-proof:hover { border-color: var(--g); box-shadow: 0 10px 28px rgba(4, 23, 15, .08); }
.svh-proof span { display: block; }
.svh-proof__n { font-size: 32px; line-height: 1.15; font-weight: 600; color: var(--g-ink); }
.svh-proof__n--sm { font-size: 19px; color: var(--ink); }
.svh-proof__l { margin: 8px 0 14px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.svh-proof .svh-proof__go { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--g-ink); }
.svh-proof .pnav-ico { display: inline-block; }
.svh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-size: 15px; font-weight: 600; transition: background .2s; }
.svh-btn--dark { background: var(--ink-d); color: #fff; }
.svh-btn--dark:hover { background: #004B2D; color: #fff; }
.svh-btn--g { flex: none; background: var(--g); color: var(--ink-d); }
.svh-btn--g:hover { background: var(--g-hi); }

.svh-cta { background: var(--dark); color: #fff; }
.svh-cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.svh-cta h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; line-height: 1.2; color: #fff; }
.svh-cta p { margin-top: 10px; max-width: 620px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.svh-cta p a { color: var(--g-hi); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1023px) {
  .svh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svh-sec__in { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .svh-side { position: static; max-width: 620px; }
  .svh-proof { margin-top: 24px; }
}
@media (max-width: 640px) {
  .svh-wrap { padding-left: 16px; padding-right: 16px; }
  .svh-hero .svh-wrap { padding-top: 96px; padding-bottom: 48px; }
  .svh-hero .svh-lead { margin: 16px 0 32px; font-size: 16px; }
  .svh-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .svh-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 18px; }
  .svh-card .svh-ico { grid-row: 1 / 4; }
  .svh-card__name { margin-top: 0; }
  .svh-card__aud { margin: 2px 0 10px; }
  .svh-groups { columns: 1; margin-bottom: -32px; }
  .svh-group { padding-bottom: 32px; }
  .svh-sec__in { padding-top: 48px; padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) { .svh * { transition: none !important; } }
/* many sub-services: three columns on wide screens, names only on phones */
@media (min-width: 1280px) { .svh-sec__in { grid-template-columns: 290px minmax(0, 1fr); gap: 56px; } .svh-groups { columns: 3; column-gap: 36px; } .svh-item__t { font-size: 15px; } }
@media (max-width: 640px) { .svh-item__d { display: none; } .svh-item { padding: 12px 0; } }
@media (min-width: 641px) { .svh-group summary { pointer-events: none; } }
@media (max-width: 640px) {
  .svh-group { padding-bottom: 0 !important; }
  .svh-groups { margin-bottom: 0; }
  .svh-group summary { min-height: 52px; padding: 0; cursor: pointer; }
  .svh-group summary .pnav-ico { display: inline-block; }
  .svh-group[open] summary .pnav-ico { transform: rotate(180deg); }
  .svh-group h3 { font-size: 16px; color: var(--ink); }
  .svh-n { display: inline; font-size: 14px; color: var(--muted2); }
  .svh-group[open] ul { padding: 4px 0 16px; }
}
.svh-group summary:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }
