/* ==========================================================================
   FixDebtUSA — Services Page
   Loaded only by services.html, on top of theme.css + style.css + home.css.
   Reuses every hp-* class (header, footer, buttons, section rhythm, hp-head)
   from home.css verbatim; only the sections unique to this page — the wave
   hero, the six debt-type cards, the four "built different" cards, and the
   CTA panel — get their own sv-* classes here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero — dark gradient band with a curved white wave at the foot
   -------------------------------------------------------------------------- */

.sv-hero {
  position: relative;
  padding-block: 3.5rem 6rem;
  background: linear-gradient(135deg, hsl(var(--hp-green-deep)), hsl(142 55% 34%));
  text-align: center;
  overflow: hidden;
}

.sv-hero__inner {
  position: relative;
  z-index: 1;
}

/* `.home h1` (theme.css) sets a dark ink color at higher specificity than a
   single class, so this needs the `.home` prefix to actually win the white. */
.home .sv-hero__title {
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1.15;
}

.sv-hero__title em {
  display: inline-block;
  font-style: italic;
  font-weight: 600;
  color: hsl(150 60% 78%);
}

/* The wave is a full-bleed SVG pinned to the bottom of the hero; the path
   dips down on the left and rises on the right, matching the reference. */
.sv-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 5rem;
  z-index: 0;
}

@media (min-width: 768px) {
  .sv-hero { padding-block: 4.5rem 7.5rem; }
  .sv-hero__wave { height: 7rem; }
}

/* --------------------------------------------------------------------------
   2. "What we help you tackle" — six debt-type cards
   -------------------------------------------------------------------------- */

.sv-tackle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.sv-tackle-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
}

.sv-tackle-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background-color: hsl(var(--hp-ink));
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sv-tackle-card__num {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--hp-body));
}

.sv-tackle-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, hsl(var(--hp-green)), hsl(var(--hp-green-dark)));
  color: #ffffff !important;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px hsl(var(--hp-green) / .25);
}

.sv-tackle-card__icon i,
.sv-tackle-card__icon svg,
.sv-tackle-card__icon path,
.sv-tackle-card__icon i::before {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.sv-tackle-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.6rem;
}

.sv-tackle-card > p {
  font-size: 0.9375rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}

.sv-tackle-card__ticks {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.sv-tackle-card__ticks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--hp-ink));
}

.sv-tackle-card__ticks li + li { margin-top: 0.5rem; }
.sv-tackle-card__ticks i { color: hsl(var(--hp-green)); flex-shrink: 0; }

.sv-tackle-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  border-top: 1px solid hsl(var(--hp-line));
}

.sv-tackle-card__stat strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  color: hsl(var(--hp-green));
}

.sv-tackle-card__stat small {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--hp-body));
}

.sv-tackle-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--hp-green));
  white-space: nowrap;
}

.sv-tackle-card__cta:hover { color: hsl(var(--hp-green-dark)); }

/* Per-card tints, applied via a modifier class on the card */
.sv-tint-blue   { --tint-bg: hsl(217 70% 94%); --tint-fg: hsl(217 65% 45%); }
.sv-tint-pink   { --tint-bg: hsl(350 75% 95%); --tint-fg: hsl(350 65% 50%); }
.sv-tint-orange { --tint-bg: hsl(30 85% 94%);  --tint-fg: hsl(28 75% 45%); }
.sv-tint-purple { --tint-bg: hsl(265 60% 95%); --tint-fg: hsl(265 50% 50%); }
.sv-tint-sky    { --tint-bg: hsl(200 75% 94%); --tint-fg: hsl(200 65% 42%); }
.sv-tint-green  { --tint-bg: hsl(var(--hp-mint)); --tint-fg: hsl(var(--hp-green-dark)); }

/* --------------------------------------------------------------------------
   3. "Built different. Built for you." — four benefit cards + stat strip
   -------------------------------------------------------------------------- */

.sv-built-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.sv-built-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid hsl(var(--hp-line));
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
}

.sv-built-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, hsl(var(--hp-green)), hsl(var(--hp-green-dark)));
  color: #ffffff !important;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px hsl(var(--hp-green) / .25);
}

.sv-built-card__icon i,
.sv-built-card__icon svg,
.sv-built-card__icon path,
.sv-built-card__icon i::before {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.sv-built-card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--hp-body) / .6);
}

.sv-built-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.sv-built-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.sv-built-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid hsl(var(--hp-line));
  width: 100%;
  font-size: 0.8125rem;
  font-weight: 700;
  color: hsl(var(--hp-green-dark));
}

.sv-built-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background-color: #fff;
  box-shadow: var(--hp-shadow-card);
  list-style: none;
  text-align: center;
}

.sv-built-strip strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: hsl(var(--hp-green));
}

.sv-built-strip span {
  display: block;
  font-size: 0.8125rem;
  color: hsl(var(--hp-body));
}

/* --------------------------------------------------------------------------
   4. CTA panel — dark gradient card with a stat sidebar
   -------------------------------------------------------------------------- */

.sv-cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  width: 100%;
  box-sizing: border-box;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, hsl(var(--hp-green-deep)), hsl(142 55% 28%));
  box-shadow: 0 20px 45px -10px rgba(12, 74, 44, 0.35);
  color: hsl(0 0% 100% / .9);
}

.sv-cta-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background-color: hsl(0 0% 100% / .14);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.home .sv-cta-card__title {
  color: #fff;
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  margin-bottom: 0.85rem;
}

.sv-cta-card__lede {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.sv-cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sv-cta-card__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sv-cta-card__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
}

.sv-cta-card__trust i { color: hsl(150 55% 65%); }

.sv-cta-card__panel {
  padding: 1.75rem 1.85rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  max-width: 360px;
  box-sizing: border-box;
  justify-self: center;
}

.sv-cta-card__panel-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(150 65% 75%);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.sv-cta-card__panel-value {
  font-size: 2.125rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.sv-cta-card__panel-sub {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(0 0% 100% / .75);
  margin-bottom: 1.5rem;
  text-transform: lowercase;
}

.sv-cta-card__panel-list {
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.sv-cta-card__panel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: hsl(0 0% 100% / .85);
  padding-block: 0.15rem;
}

.sv-cta-card__panel-list li + li { margin-top: 0.65rem; }
.sv-cta-card__panel-list strong { color: #ffffff; font-weight: 800; }

/* --------------------------------------------------------------------------
   5. Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .sv-tackle-grid { grid-template-columns: repeat(2, 1fr); }
  .sv-built-grid  { grid-template-columns: repeat(2, 1fr); }
  .sv-built-strip { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 992px) {
  .sv-tackle-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .sv-built-grid  { grid-template-columns: repeat(4, 1fr); }
  .sv-cta-card    { grid-template-columns: 1fr auto; padding: 3.25rem 3.5rem; gap: 3rem; align-items: center; }
  .sv-cta-card__panel { justify-self: end; width: 340px; }
}
