/*
 * Area and service pages, restyled (FEATURE_SERVICES_V2).
 * Plain CSS on purpose: it loads only on those pages while the flag is on,
 * and goes away — or into services.scss — once the new look is settled.
 *
 * The area color is an accent, not a background: rules, markers and links.
 * Text stays in neutral ink so any area color keeps contrast.
 * Several blocks come from the CMS with inline styles, hence the !important.
 */
.svc2 {
  --svc2-ink: #1d2320;
  --svc2-muted: #5b635f;
  --svc2-line: #e3e6e4;
  --svc2-soft: #f6f7f6;
  --svc2-paper: #ffffff;
  color: var(--svc2-ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

.svc2 .container { max-width: 1080px; }

.svc2 h1, .svc2 h2, .svc2 h3, .svc2 h4, .svc2 h5 {
  font-family: "degular", "degular-text", sans-serif;
  color: var(--svc2-ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.svc2-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.svc2-section + .svc2-section { border-top: 1px solid var(--svc2-line); }
/* The one tinted band: a light wash of the area color instead of plain gray. */
.svc2-band {
  background: color-mix(in srgb, var(--svc2-accent) 10%, var(--svc2-paper));
  border-block: 1px solid color-mix(in srgb, var(--svc2-accent) 25%, var(--svc2-paper));
}

.svc2-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 0.9rem;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--svc2-muted) !important;
  line-height: 1.4 !important;
}
.svc2-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  border-radius: 2px;
  background: var(--svc2-accent);
}
/* The area name as the page's h1 when the subtitle's claim is the headline:
   a clear label above it, in the area color darkened enough to read. */
.svc2-area-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem !important;
  font-size: clamp(1.1rem, 1.8vw, 1.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: color-mix(in srgb, var(--svc2-accent) 60%, var(--svc2-ink)) !important;
}
.svc2-area-name::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  border-radius: 2px;
  background: var(--svc2-accent);
}
.svc2-eyebrow a { color: inherit; text-decoration: none; }
.svc2-eyebrow a:hover { color: var(--svc2-ink); }

.svc2-h1,
.svc2-hero-text h1,
.svc2-hero-text h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em;
  margin: 0 0 1rem !important;
  max-width: 22ch;
}
.svc2-h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 0 0 1rem !important;
  max-width: 34ch;
}
.svc2-h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.75rem !important;
}
.svc2-lead { color: var(--svc2-muted); font-size: 1.05rem; max-width: 60ch; }

/* Hero: left-aligned on a wash of the area color that sets it apart from the
   white body. With a hero image, the picture takes the half the text leaves. */
.svc2-hero {
  padding: clamp(6.5rem, 12vw, 8.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, var(--svc2-paper) 0%,
                              color-mix(in srgb, var(--svc2-accent) 9%, var(--svc2-paper)) 100%);
}
.svc2-hero-text { max-width: 62ch; }
.svc2-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 992px) {
  .svc2-hero--image .svc2-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.svc2-hero-visual { position: relative; margin: 0 1rem 1rem 0; }
.svc2-hero-visual::before {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 70%;
  height: 70%;
  border-radius: 1.5rem;
  background: var(--svc2-accent);
}
.svc2-hero-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
@media (min-width: 992px) { .svc2-hero-image { aspect-ratio: 4 / 5; max-height: 34rem; } }
/* The fact the page leads with, on a card: under the picture and over its
   edge on a phone, where the picture is short; over its corner on a desktop. */
.svc2-hero-highlight {
  position: relative;
  max-width: min(17rem, calc(100% - 1.5rem));
  margin: -1.75rem 0 0 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  background: var(--svc2-paper);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--svc2-ink);
}
.svc2-hero-highlight strong {
  display: block;
  font-family: "degular", "degular-text", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
}
.svc2-hero-highlight span { display: block; margin-top: 0.2rem; }
@media (min-width: 992px) {
  .svc2-hero-highlight { position: absolute; left: -1.75rem; bottom: 2rem; margin: 0; }
}
.svc2-service-name {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: var(--svc2-muted) !important;
  margin: 0 0 0.75rem !important;
}
.svc2-hero-text div,
.svc2-hero-text p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.6;
  color: var(--svc2-muted);
}

.svc2-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0; }
.svc2-btn,
.svc2 .my-primary-button {
  display: inline-block;
  padding: 0.7rem 1.6rem !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--svc2-ink) !important;
  background: var(--svc2-ink) !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-decoration: none;
  box-shadow: none !important;
  transition: opacity 0.15s;
}
.svc2-btn:hover, .svc2 .my-primary-button:hover { opacity: 0.85; color: #fff !important; }
.svc2-btn--ghost { background: transparent !important; color: var(--svc2-ink) !important; }
.svc2-btn--ghost:hover { color: var(--svc2-ink) !important; }
.svc2-hero-note { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; }
.svc2-hero-note li { position: relative; padding-left: 1.75rem; color: var(--svc2-muted); }
.svc2-hero-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--svc2-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* Text blocks coming from the CMS */
.svc2-prose { max-width: 66ch; }
.svc2-prose div, .svc2-prose p, .svc2-prose li { font-size: 0.95rem; line-height: 1.65; color: var(--svc2-ink); }
.svc2-prose ul { padding-left: 0; list-style: none; margin: 1rem 0 0; display: grid; gap: 0.6rem; }
.svc2-prose ul li { position: relative; padding-left: 1.4rem; }
.svc2-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--svc2-accent);
}
.svc2-prose h1 { font-size: 1.35rem !important; }
.svc2-prose h2, .svc2-prose h3 { font-size: 1.15rem !important; margin-top: 1.25rem; }

.svc2-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 992px) { .svc2-split--image { grid-template-columns: 7fr 4fr; } }
/* Right after a hero picture the picture swaps sides, so the two do not stack
   on the right. Only the columns move: the markup keeps text before picture,
   and on a phone the two pictures stay apart. */
@media (min-width: 992px) {
  .svc2-split--image-left { grid-template-columns: 4fr 7fr; }
  .svc2-split--image-left > img { order: -1; }
}
.svc2-side-image { width: 100%; max-width: 360px; justify-self: center; border-radius: 12px; }

/* Service cards: a grid of equal cards instead of stacked full-width boxes */
.svc2-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 1.5rem;
}
.svc2-card,
.svc2 .service-preview-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem !important;
  background: var(--svc2-paper) !important;
  border: 1px solid var(--svc2-line) !important;
  border-radius: 14px !important;
  color: var(--svc2-ink);
}
.svc2-card:hover, .svc2 .service-preview-card:hover { border-color: var(--svc2-accent) !important; }
.svc2-card > * { margin: 0; }
.svc2-card h2, .svc2-card h3,
.svc2 .service-preview-card h3 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  color: var(--svc2-ink) !important;
}
.svc2-card span:not(.rw-step-number),
.svc2-card .rw-eyebrow {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--svc2-muted) !important;
  margin: 0 !important;
}
.svc2-card p, .svc2-card li, .svc2-card div { font-size: 0.92rem !important; line-height: 1.55 !important; color: var(--svc2-muted) !important; }
.svc2-card div { margin: 0 !important; }
.svc2-card .rw-quote { font-style: italic; }
.svc2-card ul { margin: 0 !important; padding-left: 1.1rem !important; line-height: 1.5 !important; }
.svc2-card li { margin: 0 0 0.2rem !important; }
.svc2-card hr { display: none; }
.svc2-card p:last-child { margin-top: auto !important; }
.svc2-card a,
.svc2 .service-preview-cta {
  display: inline !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--svc2-ink) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  text-decoration: underline;
  text-decoration-color: var(--svc2-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.svc2 .service-preview-subtitle { color: var(--svc2-muted); font-size: 0.92rem; }

/* Recommended way: numbered steps laid out across */
.svc2-steps ul.rw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.svc2-steps .rw-step { flex-direction: column; gap: 0.6rem; }
.svc2-steps .rw-step-number {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--svc2-accent) !important;
  color: var(--svc2-accent-ink, #fff) !important;
  font-size: 0.85rem;
  font-weight: 700;
}
.svc2-steps .rw-step-body h4 { font-size: 1rem !important; }
.svc2-steps .rw-step-body p { color: var(--svc2-muted); font-size: 0.92rem; }
.svc2-steps > *:not(ul) { max-width: 66ch; }

/* Panels: what is included, who it is for */
.svc2-two { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { .svc2-two { grid-template-columns: 1fr 1fr; } }
.svc2-panel {
  background: var(--svc2-paper);
  border: 1px solid var(--svc2-line);
  border-radius: 14px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.svc2-details, .svc2-details * { font-size: 0.95rem; }
/* Side by side, the unboxed column starts where the panel's text does (its
   padding plus its 1px border), so both headings sit on one line. */
@media (min-width: 992px) {
  .svc2-two > .svc2-panel ~ .svc2-results { padding-top: calc(clamp(1.25rem, 3vw, 2rem) + 1px); }
}
/* CMS details often arrive as <p><h2>…</h2>…</p>; the browser closes that <p>
   before the heading and leaves an empty one pushing the panel's text down. */
.svc2-details > p:empty { display: none; }

/* Links in the CMS prose read as links: underlined, in the darkened area color. */
.svc2-prose a {
  color: color-mix(in srgb, var(--svc2-accent) 60%, var(--svc2-ink));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.svc2-details h2, .svc2-details .rw-details-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 0 1rem !important;
  color: var(--svc2-ink) !important;
}
.svc2-details span { color: var(--svc2-muted) !important; font-size: 0.75rem !important; letter-spacing: 0.1em; }
.svc2-details p, .svc2-details li { color: var(--svc2-ink) !important; font-size: 0.95rem !important; line-height: 1.55 !important; }
.svc2-details a { background: var(--svc2-ink) !important; color: #fff !important; font-size: 0.95rem !important; padding: 0.6rem 1.4rem !important; box-shadow: none !important; }
.svc2-details hr { border-top: 1px solid var(--svc2-line) !important; margin: 2rem 0 !important; }
.svc2 dl.rw-spec { margin: 0; }
.svc2 dl.rw-spec dt {
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--svc2-muted);
  padding-top: 0.9rem;
  border-top: 1px solid var(--svc2-line);
}
.svc2 dl.rw-spec dt:first-child { border-top: 0; padding-top: 0; }
.svc2 dl.rw-spec dd { margin: 0.2rem 0 0.9rem; }

/* Blocks reused from the current pages (outcomes, program, FAQ, target):
   neutral borders instead of the area color */
.svc2-offering .outcomes h4,
.svc2-offering .program h4,
.svc2-offering .faq h4 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem) !important;
  font-weight: 700 !important;
  text-align: left !important;
  margin-bottom: 1rem !important;
}
.svc2-offering .outcome {
  border: 1px solid var(--svc2-line) !important;
  border-radius: 12px !important;
  background: var(--svc2-paper) !important;
}
.svc2-offering .outcome .check {
  background: transparent !important;
  border: 0 !important;
}
.svc2-offering .outcome .check img { filter: brightness(0) saturate(0); opacity: 0.7; }
.svc2-offering .outcome p, .svc2-offering .program-item p { font-size: 0.95rem !important; }
.svc2-offering .program-item {
  border: 1px solid var(--svc2-line) !important;
  background: var(--svc2-paper) !important;
  border-radius: 12px !important;
}
.svc2-offering .program-item h5 { font-size: 1rem !important; }
/* Their spacing, padding and minimum height came from the old page's
   .service-info-container, which these pages do not have: without it the
   cards touched and each one took the height of its own text. Every card
   fills its cell, so a row's cards align. */
.svc2-offering .outcome-list, .svc2-offering .program > .row { --bs-gutter-y: 1rem; margin-top: 0.5rem !important; }
.svc2-offering .outcome-container, .svc2-offering .program > .row > [class*="col-"] { display: flex; }
.svc2-offering .outcome { flex: 1; margin: 0 !important; padding: 0.9rem 0.5rem; }
.svc2-offering .outcome .check, .svc2-offering .outcome .content { display: flex; align-items: center; }
.svc2-offering .outcome .check { justify-content: center; }
.svc2-offering .outcome .check img { height: 26px; }
.svc2-offering .outcome p { margin: 0 !important; }
.svc2-offering .program-item { flex: 1; margin: 0 !important; padding: 1.25rem 0.75rem; }
.svc2-offering .program-item h5 { margin-bottom: 0.5rem !important; }
.svc2-offering .program-item .detail { margin: 0 !important; }
.svc2-offering .accordion-button { font-size: 0.98rem; color: var(--svc2-ink); background: transparent; box-shadow: none; }
.svc2-offering .accordion-button:not(.collapsed) { color: var(--svc2-ink); background: var(--svc2-soft); }
.svc2-offering .accordion-body { font-size: 0.95rem; color: var(--svc2-muted); }
.svc2-offering .faq .accordion { max-width: none !important; }
.svc2-target { margin-top: 2rem; }
