/* =========================================================================
   Haqqımda (/haqqimizda) səhifəsi. services-premium.css (sv-*) üzərində qurulur.
   ========================================================================= */

.sp-inner .ab-hero p, .sp-inner .ab-bio p, .sp-inner .ab-hours p { margin: 0; }
.ab-muted { font-size: 15px !important; line-height: 1.6 !important; color: var(--hp-muted) !important; }

/* ---------- HERO ---------- */
.ab-hero {
  position: relative; isolation: isolate; overflow: hidden; padding: 18px 0 28px;
  background: linear-gradient(180deg, #FBF6EF 0%, #F8F1E8 100%);
}
.ab-hero__media { position: absolute; z-index: -1; right: 0; top: 0; width: 46vw; max-width: 240px; }
.ab-hero__media img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-composite: intersect;
}
.ab-hero__inner { position: relative; }
.ab-hero__inner .sv-crumbs, .ab-hero__inner .sv-eyebrow, .ab-hero__title, .ab-hero__role { max-width: 58%; }
.ab-hero__title { margin: 10px 0 6px; font-size: clamp(32px, 5.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: var(--hp-ink); }
.ab-hero__role { font-size: 17px !important; font-weight: 700; color: var(--hp-gold-text) !important; }
.ab-hero__role::after { content: ""; display: block; width: 44px; height: 2px; margin-top: 14px; background: var(--hp-gold); border-radius: 2px; }
.ab-hero__lead { max-width: 460px; margin-top: 14px !important; font-size: 16px !important; line-height: 1.6 !important; color: var(--hp-text) !important; }
.ab-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 575.98px) {
  .ab-hero__cta .sv-btn { flex: 1 1 100%; }
  .ab-hero__lead { margin-top: 18px !important; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .ab-hero__media { max-width: 320px; } }
@media (min-width: 992px) {
  .ab-hero { display: flex; align-items: center; min-height: clamp(460px, 36vw, 600px); padding: 40px 0 80px; }
  .ab-hero > .container { width: 100%; }
  .ab-hero__media { inset: 0; width: 100%; max-width: none; }
  .ab-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 28%; -webkit-mask-image: none; mask-image: none; }
  .ab-hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(251, 247, 240, .95) 0%, rgba(251, 247, 240, .75) 36%, rgba(251, 247, 240, 0) 58%);
  }
  .ab-hero__inner .sv-crumbs, .ab-hero__inner .sv-eyebrow, .ab-hero__title, .ab-hero__role { max-width: none; }
}

/* Statistika — hero-nun üstünə çıxan kart */
.ab-stats { position: relative; z-index: 2; margin-top: 18px !important; }
@media (min-width: 992px) { .ab-stats { margin-top: -52px !important; } }

/* ---------- BİOQRAFİYA ---------- */
.ab-bio { padding-top: 40px; }
.ab-bio__grid { display: grid; gap: 26px; }
.ab-bio__photo { position: relative; margin: 0; }
.ab-bio__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 22px; box-shadow: var(--hp-shadow); }
.ab-bio__badge {
  position: absolute; left: 16px; bottom: -18px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 104px; height: 104px; border-radius: 50%; background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow); text-align: center;
}
.ab-bio__badge strong { font-size: 30px; font-weight: 800; line-height: 1; color: var(--hp-gold-text); font-variant-numeric: lining-nums; }
.ab-bio__badge span { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--hp-ink); }
.ab-bio__text .sv-h2 { margin: 8px 0 6px; }
.ab-bio__name { margin: 0 0 14px !important; font-size: 17px !important; font-weight: 700 !important; line-height: 1.35 !important; color: var(--hp-gold-text) !important; letter-spacing: 0 !important; }
.ab-bio__content { font-size: 15.5px !important; line-height: 1.75 !important; color: var(--hp-text) !important; white-space: pre-line; }
.ab-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0 !important; padding: 0 !important; list-style: none; }
.ab-features li {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; border-radius: 14px;
  background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow-sm); font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--hp-ink);
}
.ab-features span, .ab-principle__list li > span, .ab-clinics__ico, .ab-book__ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF6E2 0%, #EFD9A8 100%);
}
.ab-features svg, .ab-principle__list svg, .ab-clinics__ico svg, .ab-book__ico svg { width: 19px; height: 19px; fill: var(--hp-gold-text); }
@media (min-width: 992px) {
  .ab-bio { padding-top: 56px; }
  .ab-bio__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
  .ab-bio__photo img { aspect-ratio: 5 / 5.2; }
  .ab-bio__badge { left: auto; right: -22px; bottom: 34px; width: 120px; height: 120px; }
  .ab-bio__badge strong { font-size: 36px; }
  .ab-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ab-features li { flex-direction: column; text-align: center; padding: 16px 10px; }
}

/* ---------- TƏCRÜBƏ + KLİNİKALAR ---------- */
.ab-exp .sv-h2 { margin-top: 8px; }
.ab-exp__grid { display: grid; gap: 18px; }
.ab-card { padding: 22px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow-sm); }
.ab-card__title { margin: 0 0 16px !important; font-size: 19px !important; font-weight: 800 !important; letter-spacing: -.01em; color: var(--hp-ink) !important; }
.ab-timeline { position: relative; margin: 0 !important; padding: 0 !important; list-style: none; }
.ab-timeline::before { content: ""; position: absolute; left: 30px; top: 8px; bottom: 8px; width: 1px; background: var(--hp-sand); }
.ab-timeline li { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 8px 0; }
.ab-timeline__year {
  position: relative; z-index: 1; align-self: start; display: inline-flex; align-items: center; justify-content: center; height: 30px; border-radius: 999px;
  background: var(--hp-gold-soft); border: 1px solid #E6CC94; font-size: 13px; font-weight: 800; color: var(--hp-gold-text); font-variant-numeric: lining-nums;
}
.ab-timeline strong, .ab-clinics strong { display: block; font-size: 15px; font-weight: 700; color: var(--hp-ink); line-height: 1.35; }
.ab-timeline small, .ab-clinics small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--hp-muted); }
.ab-clinics { display: grid; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ab-clinics li { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--hp-ivory); border: 1px solid var(--hp-line); }
.ab-clinics__year { display: inline-block; margin-bottom: 2px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hp-gold-text); }
@media (min-width: 768px) { .ab-clinics { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) {
  .ab-exp__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: stretch; }
  .ab-card { padding: 28px; }
}

/* ---------- İŞ PRİNSİPİ ---------- */
.ab-principle { display: grid; gap: 14px; padding: 22px 20px; border-radius: 22px; background: linear-gradient(135deg, #FBF3E4 0%, #F5EADA 100%); border: 1px solid var(--hp-sand); }
.ab-principle .sv-h2 { margin: 6px 0 0; }
.ab-principle__list { display: grid; gap: 12px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ab-principle__list li { display: flex; align-items: center; gap: 12px; }
.ab-principle__list li > span { width: 46px; height: 46px; background: #fff; box-shadow: var(--hp-shadow-sm); }
.ab-principle__list strong { display: block; font-size: 15px; font-weight: 700; color: var(--hp-ink); }
.ab-principle__list small { display: block; font-size: 13px; line-height: 1.45; color: var(--hp-muted); }
@media (min-width: 992px) {
  .ab-principle { grid-template-columns: 220px 1fr; align-items: center; gap: 28px; padding: 28px 32px; }
  .ab-principle__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* ---------- KLİNİK MÜHİT ---------- */
.ab-gallery__grid { display: grid; gap: 16px; }
.ab-gallery__grid .sv-h2 { margin: 8px 0 8px; }
.ab-gallery__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; margin: 0 !important; padding: 2px 0 10px !important; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.ab-gallery__rail::-webkit-scrollbar { display: none; }
.ab-gallery__rail li { scroll-snap-align: start; }
.ab-gallery__rail img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; border-radius: 18px; box-shadow: var(--hp-shadow-sm); }
@media (min-width: 768px) {
  .ab-gallery__rail { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 !important; padding: 0 !important; overflow: visible; }
}
@media (min-width: 992px) {
  .ab-gallery__grid { grid-template-columns: 260px 1fr; align-items: center; gap: 32px; }
  .ab-gallery__rail img { aspect-ratio: 4 / 3.3; }
}

/* ---------- ƏVVƏL / SONRA ---------- */
.ab-ba { padding-bottom: 0; }
.ab-ba__card { position: relative; max-width: 620px; margin: 0 auto; overflow: hidden; border-radius: 22px; box-shadow: var(--hp-shadow); }
.ab-ba__card img { display: block; width: 100%; height: auto; }
.ab-ba__tag {
  position: absolute; top: 14px; z-index: 30; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-ink); pointer-events: none;
}
.ab-ba__tag--l { left: 14px; }
.ab-ba__tag--r { right: 14px; }
/* twentytwenty plaginin öz "before/after" etiketlərini gizlədirik (bizimkilər var) */
.ab-ba .twentytwenty-overlay { display: none; }

/* ---------- İŞ SAATLARI + QƏBUL ---------- */
.ab-hours__grid { display: grid; gap: 16px; }
.ab-hours__title { margin-top: 8px !important; }
.ab-hours__card .ab-muted { margin-bottom: 14px !important; }
.ab-hours__table { margin: 0 !important; padding: 0 !important; list-style: none; }
.ab-hours__table li {
  display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 8px 0;
  border-bottom: 1px dashed var(--hp-sand); font-size: 14.5px; font-weight: 600; color: var(--hp-ink);
}
.ab-hours__table li:last-child { border-bottom: 0; }
.ab-hours__table time { font-weight: 700; color: var(--hp-gold-text); font-variant-numeric: lining-nums tabular-nums; }
.ab-hours__table .is-closed { color: var(--hp-muted); }
.ab-hours__table .is-closed span:last-child { font-weight: 700; color: #A0522D; }
.ab-book {
  display: flex; align-items: center; gap: 14px; padding: 22px 20px; border-radius: 22px; color: #fff !important;
  background: var(--hp-gold-btn); box-shadow: 0 14px 30px rgba(132, 99, 39, .28); transition: transform .2s ease, box-shadow .2s ease;
}
.ab-book:hover, .ab-book:focus { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(132, 99, 39, .34); }
.ab-book__ico { width: 52px; height: 52px; background: rgba(255, 255, 255, .16); }
.ab-book__ico svg { fill: #fff; width: 24px; height: 24px; }
.ab-book__text { flex: 1; }
.ab-book__text strong { display: block; font-size: 20px; font-weight: 800; }
.ab-book__text small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.5; opacity: .9; }
.ab-book__go { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--hp-gold-text); font-size: 20px; font-weight: 800; }
@media (min-width: 992px) {
  .ab-hours { padding-bottom: 64px; }
  .ab-hours__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 22px; align-items: stretch; }
  .ab-hours__table { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 32px; }
  .ab-hours__table li:nth-child(4) { border-bottom: 0; }
  .ab-book { flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 30px; }
  .ab-book__go { margin-top: 6px; }
}
