/* About page — reuses the service template's feature + rows (svcpage.css), the home
   facts row (facts.css) and services index (svc.css). Only the differences live here. */

/* the cut-out portrait stands on a sand panel instead of filling a photo frame */
.about-portrait { display: flex; align-items: flex-end; justify-content: center; }
.about-portrait img { width: 88%; height: auto; max-height: 100%; object-fit: contain; object-position: 50% 100%; }

/* timeline: the year (or place) replaces the row number */
.stimeline .sopts__item::before { content: attr(data-year); }
.stimeline .sopts__item { grid-template-columns: 96px minmax(0, .9fr) minmax(0, 1.2fr); }

.about-facts { padding-top: 0; }
.about-facts .facts { margin-top: 0; }
.sopts + .about-facts { padding-top: var(--section-y); }

@media (max-width: 1023.98px) {
  .stimeline .sopts__item { grid-template-columns: 80px 1fr; }
  .about-portrait { aspect-ratio: 4 / 5; max-width: 420px; }
}
@media (max-width: 767.98px) {
  .stimeline .sopts__item { grid-template-columns: 1fr; gap: 6px; }
  .stimeline .sopts__text { grid-column: 1; }
  .about-facts .facts { grid-template-columns: 1fr 1fr; gap: 0 20px; }
}

/* ---------- Why patients choose Dr. Doaa (client round, 2026-10-26; moved from the home
   page). A calm navy band: the heading holds the left column while five numbered reasons
   run down the right, each a serif title, one line of proof and small cream tags.
   No photos (the old accordion's portraits were generated), no per-letter animation. */
.why { background: var(--navy); color: var(--cream); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}
.why__head { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 24px; }
.why__intro { margin: 0; max-width: 36ch; font-size: 17px; line-height: 1.6; color: rgba(253, 247, 235, .78); }
.why__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(253, 247, 235, .18); }
.why__item {
  display: grid;
  grid-template-columns: 48px minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 8px 28px;
  align-items: baseline;
  padding: clamp(24px, 2.6vw, 36px) 0;
  border-bottom: 1px solid rgba(253, 247, 235, .18);
}
.why__num { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.why__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
}
.why__body p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(253, 247, 235, .8); }
.why__tags { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.why__tags li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(206, 158, 69, .55);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--light-yellow);
}
.why__tags a { color: inherit; text-decoration: none; }
@media (hover: hover) { .why__tags a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.why__tags a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.js .why__list[data-reveal] .why__item { opacity: 0; translate: 0 24px; transition: opacity .7s ease calc(var(--i) * 70ms + .1s), translate .9s cubic-bezier(.16, 1, .3, 1) calc(var(--i) * 70ms + .1s); }
.js .why__list.is-revealed .why__item { opacity: 1; translate: 0 0; }

@media (max-width: 1023.98px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__head { position: static; }
}
@media (max-width: 699.98px) {
  .why__item { grid-template-columns: 36px minmax(0, 1fr); }
  .why__body { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .js .why__list[data-reveal] .why__item { opacity: 1; translate: none; transition: none; }
}
