/* ADHawk Services page — page-scoped CSS */
.services-page {
  --bg: var(--deep-navy);
  --ink: var(--white);
  --ink-muted: #c9d5e3;
  --line: var(--slate-accent-gray);
  color: var(--graphite);
}

/* Lede + tagline */
.services-page .lede {
  max-width: 70ch;
  margin: 0 auto 2rem;
}

.services-page .badge {
  display: block;
  font-weight: 600;
  font-size: 1.05rem; /* bump to 1.1rem if you want more presence */
  color: var(--teal-accent);
  background: none;
  padding: 0;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

/* Headings */
.services-page h1 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0.25rem 0 1rem;
  color: var(--deep-navy);
}

.services-page h2 {
  font-size: 1.375rem;
  color: var(--deep-navy);
  margin: 2rem 0 1rem;
}

/* -----------------------------
   Service cards (2×2 layout)
   ----------------------------- */
.services-page .adh-sv-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;                 /* phones: one per row */
  max-width: 1100px;                          /* prevents ultra-wide stretch */
  margin: 0 auto;
  align-items: stretch;
  justify-content: center;
}

@media (min-width: 720px) {
  .services-page .adh-sv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* always two per row */
  }
}

/* Cards */
.services-page .adh-sv-card {
  background: #fff !important;                /* solid white */
  border: 1px solid rgba(10, 30, 51, 0.1);
  border-radius: 1rem;
  padding: 1rem 1.25rem;

  /* no taffy / no bleed */
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;

  /* equal-height & consistent internal layout */
  display: grid;
  grid-template-rows: auto auto 1fr;  /* h3 | paragraph | list flexes */
  hyphens: none;                       /* avoid line-breaking that bumps height */

}

/* Readable text inside white cards */
.services-page .adh-sv-card,
.services-page .adh-sv-card h3,
.services-page .adh-sv-card p,
.services-page .adh-sv-card li,
.services-page .adh-sv-card a {
  color: var(--graphite) !important;
  opacity: 1 !important;
}

.services-page .adh-sv-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.services-page .adh-sv-card p {
  margin: 0.25rem 0 0.75rem;
}

.services-page .adh-sv-card ul { 
  margin: .25rem 0 .5rem 1.25rem; 
}
.services-page .adh-sv-card li { 
  margin: .25rem 0; 
}
.services-page .adh-sv-card ::marker {
  color: var(--hawk-shield-blue);
}

.services-page .adh-sv-icon {
  width: 28px;
  height: 28px;
}

/* -----------------------------
   Process steps (3-up on md+)
   ----------------------------- */
.adh-process {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 860px) {
  .adh-process {
    grid-template-columns: repeat(3, 1fr);
  }
}

.adh-step {
  background: linear-gradient(180deg, #ffffff, rgba(0, 0, 0, 0));
  border: 1px solid rgba(10, 30, 51, 0.08);
  border-radius: 1rem;
  padding: 1rem;
}

.adh-step h4 {
  margin: 0.25rem 0 0.25rem;
  position: relative;
  padding-left: 2rem;
  color: var(--graphite);
}
.adh-step h4::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--hawk-shield-blue), var(--teal-accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.adh-step p { margin: 0.25rem 0 0; }

/* -----------------------------
   CTA band
   ----------------------------- */
.adh-cta {
  margin: 2.5rem 0;
  padding: 1.25rem;
  border: 1px dashed rgba(10, 30, 51, 0.2);
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
}
.adh-cta p { margin: 0; }

/* --- Services page typography: white outside cards, dark inside cards --- */
.services-page :where(h1, h2, h3, h4, p, li, a:not(.button)) {
  color: var(--white) !important;
}

/* Keep card contents dark on white backgrounds */
.services-page .adh-sv-card :where(h1, h2, h3, h4, p, li, a) {
  color: var(--graphite) !important;
}

/* Preserve link color in cards if you use brand links */
.services-page .adh-sv-card a {
  color: var(--electric-blue) !important;
}


/* --- Badge/Tagline color fix (teal) --- */
.services-page .badge,
.services-page p.badge,
.services-page .lede .badge {
  color: var(--teal-accent) !important;
}

.services-page .adh-sv-card > :last-child { margin-bottom: 0; }


@media (min-width: 860px) {
  .services-page .adh-sv-card { min-height: 500px; } /* adjust 480–520px as needed */
}



.services-page .adh-sv-card h3 { margin: 0 0 .35rem; }
.services-page .adh-sv-card p  { margin: 0 0 .6rem;  }
.services-page .adh-sv-card ul { margin: 0;          }
.services-page .adh-sv-card li { margin: 0 0 .45rem; }



/* --- Balance content vertically within service cards --- */
.services-page .adh-sv-card {
  display: grid;
  grid-template-rows: auto auto 1fr;  /* h3 | paragraph | list flexes */
  align-content: space-between;       /* distribute elements to reduce white gaps */
  row-gap: 0.5rem;
}

/* Make list bullets evenly spaced and flexible */
.services-page .adh-sv-card ul {
  display: grid;
  gap: 0.45rem;             /* consistent rhythm between bullets */
  margin: 0.25rem 0 0 1.25rem;
  padding: 0;
  align-self: stretch;      /* lets list grow naturally to fill vertical space */
}

/* Minor refinements for clean rhythm */
.services-page .adh-sv-card h3 { margin: 0 0 0.4rem; text-wrap: balance; }
.services-page .adh-sv-card p  { margin: 0 0 0.5rem; text-wrap: pretty; }
.services-page .adh-sv-card li { margin: 0; line-height: 1.45; }

/* Accessible, compact accordion */
.adh-faq { max-width: 860px; margin: 0 auto 1.5rem; }
.adh-faq-item { border-bottom: 1px solid rgba(255,255,255,.12); padding: .65rem 0; }
.adh-faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--white);
  list-style: none; outline: none;
}
.adh-faq-item summary::-webkit-details-marker { display: none; }
.adh-faq-item[open] summary { color: var(--hawk-shield-blue); }
.adh-faq-item p { margin: .5rem 0 0; color: var(--ink-muted); line-height: 1.55; }

/* --- Inline link styling for Services page (ADHawk brand blue) --- */
.services-page a {
  color: var(--electric-blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--electric-blue);
  text-underline-offset: 3px;
  transition: all 0.2s ease-in-out;
}

.services-page a:hover,
.services-page a:focus {
  color: var(--hawk-shield-blue);
  border-bottom-color: var(--hawk-shield-blue);
}

/* --- CTA button text visibility fix --- */
.services-page .button,
.services-page button.button {
  color: #fff !important;              /* ensures readable white text */
  font-weight: 600;
}

.services-page .button--outline {
  color: var(--electric-blue) !important;
}

.services-page .button--primary:hover {
  background: var(--hawk-shield-blue);
  color: #fff;
}

.services-page .button--outline:hover {
  background: rgba(0,156,222,0.1);
  color: var(--hawk-shield-blue);
}