/* ============================================================
   Family & Lifestyle Medicine — Slider widget
   Part 08 of 11. The cascade depends on load order:
   these files must stay linked in numeric sequence (see any page <head>).
   ============================================================ */

/* ---------- Slider ---------- */
.slider {
  position: relative;
  --slide-gap: clamp(1.1rem, 2.2vw, 1.8rem);
  --slides-visible: 3;
}
.slider__viewport {
  overflow: hidden;
  margin-inline: calc(var(--slide-gap) * -0.5);
}
.slider__track {
  display: flex;
  transition: transform .55s var(--ease);
  will-change: transform;
}
.slider__slide {
  flex: 0 0 calc(100% / var(--slides-visible));
  padding-inline: calc(var(--slide-gap) * 0.5);
  box-sizing: border-box;
}
.slider__slide > * { height: 100%; }

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--crimson);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.slider__arrow:hover {
  transform: translateY(-50%) scale(1.08);
  border-color: rgba(155, 27, 47, .35);
}
.slider__arrow:active { transform: translateY(-50%) scale(1); }
.slider__arrow--prev { left: -23px; }
.slider__arrow--next { right: -23px; }
.slider__arrow svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.slider__arrow[aria-disabled="true"] {
  opacity: .35;
  cursor: not-allowed;
}

.slider__dots {
  display: flex; justify-content: center; gap: .55rem;
  margin-top: 1.8rem;
}
.slider__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--line);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.slider__dot[aria-current="true"] {
  background: var(--crimson);
  transform: scale(1.25);
}

@media (max-width: 980px) {
  .slider { --slides-visible: 2; }
  .slider__arrow--prev { left: -10px; }
  .slider__arrow--next { right: -10px; }
}
@media (max-width: 640px) {
  .slider { --slides-visible: 1; }
  .slider__arrow--prev { left: -8px; }
  .slider__arrow--next { right: -8px; }
}

/* Contact */
.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.contact-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
a.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: var(--r-md); margin-bottom: 1rem;
  background: linear-gradient(140deg, var(--crimson), var(--crimson-soft));
  box-shadow: var(--shadow-crimson);
}
.contact-card__icon svg { width: 24px; height: 24px; fill: #fff; }
.contact-card__label {
  display: block;
  font-size: .76rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--slate);
}
.contact-card__value {
  display: block; margin-top: .5rem;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--ink); word-break: break-word;
}
a.contact-card:hover .contact-card__value { color: var(--crimson); }

/* Pull quote */
.quote {
  background: linear-gradient(160deg, #fff, var(--cream));
  border: 1px solid var(--line);
  border-radius: var(--r-arch) var(--r-lg) var(--r-arch) var(--r-lg);
  padding: clamp(1.9rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute; top: -.1em; left: .18em;
  font-family: var(--font-display); font-size: 7rem; line-height: 1;
  color: rgba(155, 27, 47, .13);
}
.quote blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .98rem + .5vw, 1.28rem);
  font-style: italic; line-height: 1.6; color: var(--ink);
}
.quote figcaption {
  margin-top: 1.2rem; font-family: var(--font-body); font-size: .8rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson);
}

.price-card__note {
  font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem;
  border-top: 1px solid var(--line); padding-top: 1.2rem;
}
.price-card--featured .price-card__note {
  color: rgba(255, 255, 255, .78); border-top-color: rgba(255, 255, 255, .22);
}
.price-card__amount--inline { justify-content: flex-start; margin-top: 0; }

/* Spacing + layout helpers used by the interior pages */
.mt-block { margin-top: clamp(1.5rem, 3vw, 2.4rem); }
.mt-sm { margin-top: 1.6rem; }
.panel-stack {
  display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem);
  grid-template-columns: 1fr; align-content: start;
}

/* Callout — for notes, disclaimers, and off-site links */
.callout {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  font-size: .95rem;
}
.callout h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.callout > * + * { margin-top: .8rem; }
.callout--note { background: rgba(200, 155, 60, .1); border-color: rgba(200, 155, 60, .35); }

@media (max-width: 700px) {
  .staff-grid { grid-template-columns: 1fr; }
  /* Stacked, the price cards are tall and the banner is short — a full lift
     would put the first card over the headline rather than across the edge. */
  :root { --card-lift: 1.75rem; }
}

