/* ============================================================================
   CareLink — support page
   All white: a head, three ways to reach us, then common questions as plain
   <details> (no script needed).
   ========================================================================== */

.support-head {
  padding: var(--cl-space-8) 0 var(--cl-space-7);
  background: var(--cl-white);
}

.support-head h1 {
  margin-bottom: var(--cl-space-3);
}

.support-head p:not(.eyebrow) {
  max-width: 56ch;
  font-size: 1.125rem;
}

/* Small label above titles, as on the home page. */
.eyebrow {
  margin-bottom: var(--cl-space-2);
  color: var(--cl-coral-deep);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-ways {
  padding-top: 0;
}

/* ── Ways to reach us ─────────────────────────────────────────────────────── */

.ways {
  display: grid;
  gap: var(--cl-space-4);
}

.way {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--cl-space-6);
  border: 1px solid var(--cl-border);
  border-radius: 20px;
  background: var(--cl-white);
  box-shadow: 0 10px 24px rgba(18, 28, 45, 0.06);
}

/* The cards fade in one after another (data-reveal, components.css). */
.way:nth-child(2) { transition-delay: 0.1s; }
.way:nth-child(3) { transition-delay: 0.2s; }
.faq__list[data-reveal] { transition-delay: 0.1s; }

/* The chat is the quickest route, so it leads in the brand colour. */
.way--chat {
  border-color: transparent;
  background: var(--cl-navy);
  color: var(--cl-white);
}

.way.way--chat h2,
.way.way--chat p {
  color: var(--cl-white);
}

.way--chat .btn--primary {
  background: var(--cl-white);
  border-color: var(--cl-white);
  color: var(--cl-navy);
}

.way--chat .btn--primary:hover {
  background: var(--cl-cream);
}

.way__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--cl-space-4);
  border-radius: 16px;
  background: var(--cl-cream);
}

.way--chat .way__icon {
  background: rgba(255, 255, 255, 0.14);
}

.way--privacy .way__icon {
  background: #fde3dd;
}

.way__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--cl-navy);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.way--chat .way__icon svg {
  stroke: var(--cl-white);
}

.way--privacy .way__icon svg {
  stroke: var(--cl-coral-deep);
}

.way h2 {
  margin-bottom: var(--cl-space-2);
  font-size: 1.375rem;
}

.way p {
  margin-bottom: var(--cl-space-5);
  color: var(--cl-text-weak);
}

.way .btn {
  margin-top: auto;
}

.way__address {
  font-weight: 600;
  word-break: break-word;
}

.way__more {
  margin-top: var(--cl-space-3);
  font-size: 0.9375rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .ways {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--cl-space-5);
  }
}

/* ── Common questions ─────────────────────────────────────────────────────── */

/* A hairline between sections, as on the home page. */
.support-faq {
  border-top: 1px solid var(--cl-border);
}

.faq {
  display: grid;
  gap: var(--cl-space-6);
}

.faq__intro p:not(.eyebrow) {
  margin-top: var(--cl-space-3);
  font-size: 1.0625rem;
}

.faq__intro a {
  font-weight: 600;
  word-break: break-word;
}

.faq__list {
  display: grid;
  gap: var(--cl-space-2);
}

.qa {
  border: 1px solid var(--cl-border);
  border-radius: 14px;
  background: var(--cl-white);
}

.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cl-space-4);
  min-height: 56px;
  padding: var(--cl-space-3) var(--cl-space-5);
  color: var(--cl-text);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

/* A plus whose upright bar folds away as the answer opens. While an answer
   is closing (.is-closing, from main.js) it shows the plus again. */
.qa__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.qa__icon::before,
.qa__icon::after {
  content: '';
  position: absolute;
  inset: 6px 0;
  border-radius: 2px;
  background: var(--cl-navy);
  transition: rotate 0.25s ease, opacity 0.25s ease;
}

.qa__icon::after {
  rotate: 90deg;
}

.qa[open]:not(.is-closing) .qa__icon::after {
  rotate: 0deg;
  opacity: 0;
}

.qa summary:hover {
  color: var(--cl-navy);
}

.qa summary:focus-visible {
  outline: none;
  border-radius: 14px;
  box-shadow: var(--cl-focus-ring);
}

/* main.js animates this box's height as an answer opens and closes. */
.qa__body {
  overflow: hidden;
}

.qa p {
  padding: 0 var(--cl-space-5) var(--cl-space-5);
  color: var(--cl-text-weak);
}

.qa a {
  font-weight: 600;
}

@media (min-width: 900px) {
  .faq {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: var(--cl-space-8);
    align-items: start;
  }
}
