/* ===== ACA page styles (self-service card) ===== */

/* Card wrapper matches site content width and visuals */
.aca-card{
  max-width: 1100px;
  margin: 38px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(2, 8, 20, .12);
}

.aca-inner{
  /* Force two columns on desktop */
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px, 440px);
  gap: 28px;
  padding: 28px 32px;
  align-items: start;
}

/* Left column */
.aca-copy{ color:#0f172a; }

.aca-h2{
  margin: 0 0 10px;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.15;
  color:#0b2347;
  letter-spacing:.2px;
}

.aca-copy p{
  margin: 12px 0;
  line-height: 1.65;
  color:#334155;
}

.aca-copy a{
  color:#007dd1;
  text-decoration: none;
  font-weight:600;
}
.aca-copy a:hover{ text-decoration:underline }

/* Buttons row */
.aca-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin: 18px 0 10px;
}

/* Pill gradient buttons with white text (your “good” style) */
.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 22px;
  border-radius: 9999px;
  color:#fff !important;
  font-weight: 800;
  text-decoration: none;
  letter-spacing:.2px;
  box-shadow: 0 8px 20px rgba(3, 102, 214, .25);
  transition: transform .06s ease, box-shadow .15s ease, filter .15s ease;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

/* Primary (HealthSherpa) */
.btn-primary{
  background: linear-gradient(90deg, #00AFF0 0%, #7c3aed 100%);
}

/* Secondary (Appointment) – slightly different start hue */
.btn-secondary{
  background: linear-gradient(90deg, #1ea5f7 0%, #8c5ae8 100%);
}

.btn-primary:hover,
.btn-secondary:hover{ filter: brightness(1.05) }

.btn-primary:active,
.btn-secondary:active{ transform: translateY(1px) }

.btn-primary:focus-visible,
.btn-secondary:focus-visible{
  outline: 3px solid rgba(0,175,240,.35);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(124,58,237,.25);
}

/* Optional icon inside HS button */
.btn--hs img{
  width:20px; height:20px; display:block;
  filter: brightness(0) invert(1);
}

/* Fine print */
.aca-note{
  font-size:.94rem;
  color:#64748b;
  margin-top: 8px;
}

/* Right column image */
.aca-illustration{
  margin:0; /* reset figure margin */
  align-self: start;
}

.aca-illustration img{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
  object-fit:cover;
  box-shadow: 0 10px 24px rgba(2,8,20,.14);
}

/* --- Responsive --- */
@media (max-width: 980px){
  .aca-inner{
    grid-template-columns: 1fr;   /* stack */
    padding: 22px 20px;
    gap: 18px;
  }
  .aca-illustration{ order: 2; }
  .aca-actions{ gap:12px }
  .btn-primary, .btn-secondary{ padding: 12px 18px }
}
