/* ============================================================================
   QARABAĞ KLİNİK — design system
   Bərdə, Heydər Əliyev prospekti 124A

   Palitra loqodan götürülüb:
     dərin bənövşəyi  #591C62  (söz nişanı / loqo fonu)
     parlaq bənövşəyi #AB27B9  (romb nişanı — Azərbaycan xalça motivi)
   Bütün mətn tonları açıq fonda WCAG 2.2 AA kontrast tələbini ödəyir
   (--ink 15.4:1, --brand-btn 7.7:1, --brand-text 9.0:1, --faint 6.1:1).
   ========================================================================= */

:root {
  --ink:        #3D1145;   /* dərin bənövşəyi — başlıqlar, açıq fonda mətn */
  --ink-deep:   #2A0C31;   /* footer / mobil menyu qradiyent sonu */
  --brand:      #AB27B9;   /* loqonun parlaq bənövşəyisi — dekor, sərhəd, vurğu */
  --brand-deep: #591C62;   /* loqonun dərin bənövşəyisi — qradiyent, fon */
  --brand-btn:  #8A2196;   /* əsas düymələr (ağ mətn 7.7:1) */
  --brand-btn-h:#75197F;
  --brand-text: #7A1C86;   /* açıq fonda bənövşəyi mətn (9.0:1) */
  --brand-soft: #EBAAF2;   /* tünd fonda açıq bənövşəyi */
  --muted:      #453A4D;   /* əsas mətn */
  --faint:      #6B5E72;   /* ikincili mətn (AA) */
  --mist:       #FAF5FB;
  --mint:       #F4E9F6;   /* açıq bənövşəyi tint (sinif adı sabitlik üçün saxlanılıb) */
  --mint-strong:#E4C9E9;
  --line:       #E8DCEB;
  --line-soft:  #F2EAF4;
  --btn-line:   #CBAED2;
  --amber:      #8A5A12;   /* qeyd / diqqət blokları — semantik, brend deyil */
  --amber-bg:   #FDF7EC;
  --amber-line: #EBDCBE;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Rəqəmlər üçün monospace İSTİFADƏ EDİLMİR — "0̸" forması texniki görünüş
     verir və xəstə saytına uyğun deyil. Eyni sans + tabular-nums. */
  --mono: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-lg:   0 24px 60px -20px rgba(45,12,52,.26);
  --shadow-card: 0 12px 32px -16px rgba(45,12,52,.22);
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); margin: 0 0 16px; text-wrap: pretty; }
h1 { font-size: clamp(32px, 3.6vw, 48px); }
h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p  { margin: 0 0 16px; color: var(--muted); text-wrap: pretty; }
a  { color: var(--brand-text); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; color: var(--muted); }
li { margin-bottom: 6px; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: clamp(28px,4vw,44px) 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* == Layout == */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.narrow  { max-width: 880px; }
.reading { max-width: 760px; }
.section { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.section-tint { background: var(--mist); }

.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-text); margin-bottom: 14px;
}
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.lede { font-size: 17px; line-height: 1.65; color: var(--muted); }

/* == Buttons == */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-family: var(--sans);
  font-size: 15px; font-weight: 600; cursor: pointer; border: 0;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn-primary { background: var(--brand-btn); color: #fff; box-shadow: 0 8px 32px -8px rgba(138,33,150,.40); }
.btn-primary:hover { background: var(--brand-btn-h); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--btn-line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--brand-btn); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn svg { flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* == Header / nav == */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,220,235,.7);
}
.site-header .bar {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 26px);
  padding: 14px clamp(20px, 4vw, 48px);
  max-width: 1400px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { height: 34px; width: auto; display: block; flex: none; }
.brand-sub-wrap { display: flex; align-items: center; padding-left: 12px; border-left: 1px solid var(--line); }
.brand-sub  { font-size: 9px; font-weight: 600; letter-spacing: .13em; color: var(--faint);
              line-height: 1.35; max-width: 96px; text-transform: uppercase; }
.main-nav { display: flex; gap: clamp(8px, 1.4vw, 18px); }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; padding: 6px 2px; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none;
  cursor: pointer; transition: border-color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--brand); }
.menu-btn { display: none; }

/* == Mobile menu (drawer: bağlı = display:none — Android-də üfüqi sürüşməni önləyir) == */
.mobile-menu { display: none; }
html.menu-open { overflow: hidden; }
html.menu-open .mobile-menu {
  display: flex; flex-direction: column;
  position: fixed; inset: 0; z-index: 100;
  background: linear-gradient(165deg, #3D1145 0%, #2A0C31 100%);
  padding: 16px 18px; animation: fadeUp .25s ease both;
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.mobile-menu .menu-head {
  display: flex; align-items: center; justify-content: space-between; flex: none;
  position: sticky; top: 0; z-index: 3;
  margin: -16px -18px 0; padding: 14px 18px;
  background: #3D1145;
}
.mobile-menu .menu-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: #fff; }
.menu-close {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(250,245,251,.25);
  background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 18px; }
.mobile-menu nav > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 6px; border-bottom: 1px solid rgba(250,245,251,.1);
  font-size: 20px; font-weight: 700; color: #fff;
}
.mobile-menu nav > a[aria-current="page"], .mobile-menu nav > a:hover { color: var(--brand-soft); }
.mobile-menu .menu-sub { padding: 4px 0 12px 12px; border-bottom: 1px solid rgba(250,245,251,.1); }
.mobile-menu .menu-sub a { display: block; padding: 9px 6px; font-size: 15px; font-weight: 500; color: rgba(250,245,251,.82); }
.mobile-menu .menu-sub a:hover, .mobile-menu .menu-sub a[aria-current="page"] { color: var(--brand-soft); }
.mobile-menu .menu-ctas { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; flex: none; padding-bottom: 20px; }
.mobile-menu .menu-ctas .btn-ghost { background: transparent; border-color: rgba(250,245,251,.3); color: #FAF5FB; }
.mobile-menu .menu-ctas .btn-ghost:hover { color: #fff; border-color: var(--brand-soft); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.page-anim { animation: fadeUp .4s var(--ease) both; }

/* == Hero (desktop: açıq, mərkəzləşdirilmiş; mobil: tünd, tam enli) == */
.hero { background: linear-gradient(180deg, var(--mist) 0%, #fff 70%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 64px; }
.hero h1 { font-size: clamp(34px, 3.8vw, 46px); max-width: 880px; margin-bottom: 18px; }
.hero h1 .hl { color: var(--brand-text); }
.hero-sub { font-size: 17px; line-height: 1.6; max-width: 660px; margin: 0 auto 30px; color: var(--muted); }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stage { position: relative; padding-bottom: 64px; }
.hero-photo-box { position: relative; }
.hero-photo {
  display: block; width: min(660px, 100%); margin: 0 auto;
  aspect-ratio: 660 / 420; object-fit: cover; object-position: 50% 45%;
  border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--mint);
}
.chip {
  position: absolute; padding: 8px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-size: 13px; font-weight: 600; box-shadow: 0 1px 2px rgba(45,12,52,.08);
  white-space: nowrap; transition: border-color .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip:nth-of-type(1) { top: 12%; left: 4%; }
.chip:nth-of-type(2) { top: 40%; left: 1%; }
.chip:nth-of-type(3) { top: 68%; left: 5%; }
.chip:nth-of-type(4) { top: 12%; right: 4%; }
.chip:nth-of-type(5) { top: 40%; right: 1%; }
.chip:nth-of-type(6) { top: 68%; right: 4%; }
.hero-strip-row { display: flex; justify-content: center; margin-top: -33px; position: relative; }
.hero-strip {
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center;
  width: max-content; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-lg); padding: 10px 10px 10px 28px; gap: 0;
}
.hero-strip .cell { display: flex; flex-direction: column; gap: 2px; padding: 0 26px; border-right: 1px solid var(--line); }
.hero-strip .cell:first-child { padding-left: 0; }
.hero-strip .cell:nth-last-child(2) { border-right: 0; }
.hero-strip .cell .lbl { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--faint); }
.hero-strip .cell .val { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.hero-strip .btn { margin-left: 8px; padding: 13px 26px; font-size: 14px; }
.hero-mobile-facts { display: none; }

/* == Sürətli əməliyyatlar == */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.quick-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 116px; padding: 20px 12px; text-align: center;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; line-height: 1.3;
  transition: border-color .2s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.quick-card:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.quick-card .ico { width: 42px; height: 42px; border-radius: 999px; background: var(--mint); display: grid; place-items: center; flex: none; }

/* == İTS bandı == */
.its-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px); align-items: center;
  border-radius: 28px; padding: clamp(26px, 4vw, 44px);
  background: linear-gradient(150deg, #591C62 0%, #3D1145 100%);
  color: #fff;
}
.its-band h2 { color: #fff; margin-bottom: 12px; }
.its-band p  { color: rgba(250,245,251,.82); }
.its-band .kicker { color: var(--brand-soft); }
.its-band .btn-ghost { background: transparent; border-color: rgba(250,245,251,.35); color: #fff; }
.its-band .btn-ghost:hover { border-color: var(--brand-soft); color: #fff; }
.its-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.its-tags span {
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(250,245,251,.1); border: 1px solid rgba(250,245,251,.2);
}

/* == Xidmət / editorial siyahı == */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 4vw, 64px); }
.svc-list { display: flex; flex-direction: column; }
.svc-row {
  display: flex; align-items: center; gap: 18px; padding: 16px 6px;
  border-bottom: 1px solid var(--line-soft); color: var(--ink);
  transition: background .2s var(--ease);
}
.svc-row:hover { background: var(--mist); color: var(--ink); }
.svc-row .t { font-size: 17px; font-weight: 700; }
.svc-row .s { font-size: 13px; color: var(--faint); margin-top: 2px; }
.svc-row .body { flex: 1; min-width: 0; }
.svc-row svg { flex: none; }

/* == Haqqımızda / portret tağı == */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: center; }
.arch { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.arch::before {
  content: ''; position: absolute; top: 24px; left: -18px; width: 100%; height: 100%;
  border-radius: 200px 200px 24px 24px; background: var(--mint-strong);
}
.arch img {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow-lg); background: var(--mint);
}
.def-list { display: flex; flex-direction: column; margin-bottom: 26px; }
.def-row { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.def-row .y { font-family: var(--mono); font-size: 12.5px; color: var(--brand-text); width: 104px; flex: none; padding-top: 2px; font-weight: 600; }
.def-row .v { font-size: 14px; font-weight: 600; color: var(--ink); }
.def-row .d { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 4px; font-weight: 400; }

/* == Kartlar == */
.card { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: #fff; }
.card-grid   { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 12px; }
a.card { display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease); }
a.card:hover { border-color: var(--brand); box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--ink); }
.card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { margin: 0; line-height: 1.25; }
.card .sub { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.card.tint { background: var(--mint); border-color: var(--mint-strong); }

/* == Həkim kartı == */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); gap: 14px; }
.doc-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px;
  background: #fff; overflow: hidden; color: var(--ink);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.doc-card:hover { border-color: var(--brand); box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--ink); }
.doc-photo {
  aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: 50% 25%;
  background: var(--mint); display: block;
}
.doc-photo-ph {
  aspect-ratio: 4 / 3; width: 100%; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--mint) 0%, var(--mint-strong) 100%); color: var(--brand-text);
  font-size: 30px; font-weight: 700; letter-spacing: .02em;
}
.doc-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.doc-card .n { font-size: 16.5px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.doc-card .sp { font-size: 13.5px; color: var(--brand-text); font-weight: 600; }
.doc-card .ex { font-size: 13px; color: var(--muted); line-height: 1.5; }
.doc-card .foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.doc-card .go { font-size: 13.5px; font-weight: 600; color: var(--brand-text); display: inline-flex; align-items: center; gap: 6px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.badge-perm  { background: var(--mint); color: var(--brand-text); }
.badge-guest { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-line); }

/* == Filtr çubuğu == */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-bar a, .filter-bar button {
  padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--muted); font-size: 13.5px; font-weight: 600; font-family: var(--sans); cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.filter-bar a:hover, .filter-bar button:hover { border-color: var(--brand); color: var(--ink); }
.filter-bar .on, .filter-bar a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* == Axtarış qutusu == */
.search-box { position: relative; max-width: 620px; margin: 0 auto 22px; }
.search-box input {
  width: 100%; padding: 16px 18px 16px 50px; border-radius: 999px; border: 1px solid var(--btn-line);
  background: #fff; font-size: 15.5px; font-family: var(--sans); color: var(--ink);
  box-shadow: var(--shadow-card);
}
.search-box input::placeholder { color: var(--faint); }
.search-box input:focus-visible { outline: 3px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.search-box .si { position: absolute; left: 19px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search-meta { text-align: center; font-size: 13px; color: var(--faint); margin-bottom: 26px; }
.empty-state { text-align: center; padding: 44px 20px; border: 1px dashed var(--btn-line); border-radius: 20px; background: var(--mist); }
.empty-state p { margin: 0 0 6px; font-weight: 600; color: var(--ink); }
.empty-state .s { font-size: 13.5px; color: var(--faint); }

/* == Analiz kartı == */
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.test-card {
  display: flex; flex-direction: column; gap: 8px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.test-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-card); color: var(--ink); }
.test-card .n { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.test-card .ab { font-size: 12px; color: var(--faint); font-weight: 600; letter-spacing: .04em; }
.test-card .s { font-size: 13px; color: var(--muted); line-height: 1.5; }
.test-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--mint); color: var(--brand-text); font-size: 11.5px; font-weight: 600; }
.tag-warn { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-line); }
.tag-plain { background: var(--line-soft); color: var(--faint); }

/* == Fakt cədvəli (analiz / müayinə səhifələri) == */
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.fact {
  display: flex; flex-direction: column; gap: 3px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--mist); min-width: 150px;
}
.fact .k { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.fact .v { font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* == FAQ == */
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .2s var(--ease); }
.faq-item:hover { border-color: var(--brand); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 700; color: var(--ink); text-wrap: pretty;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 18px; color: var(--brand-text); flex: none; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .a { padding: 0 22px 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.faq-item .a p:last-child { margin-bottom: 0; }
.faq-group { display: flex; flex-direction: column; gap: 10px; }
.faq-static { border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; background: #fff; }
.faq-static .q { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.faq-static .a { font-size: 14px; line-height: 1.6; color: var(--muted); }
.faq-cat-title { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin: 34px 0 12px; }
.faq-cat-title:first-of-type { margin-top: 0; }

/* == Alt səhifə başlıq bandı == */
.page-hero { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); border-bottom: 1px solid var(--line-soft); }
.page-hero .lede { font-size: 16px; line-height: 1.65; margin: 0; max-width: 720px; }
.page-hero h1 { margin-bottom: 14px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--brand-text); margin-bottom: 18px; }

/* == Sürətli cavab qutusu (AEO) == */
.aeo-box { border: 1px solid var(--line); border-radius: 20px; background: var(--mist); padding: clamp(20px, 3vw, 26px); margin-bottom: clamp(32px, 4vw, 44px); }
.aeo-box .lbl { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--faint); margin-bottom: 14px; text-transform: uppercase; }
.aeo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: clamp(14px, 2vw, 22px); }
.aeo-grid h3 { font-size: 14.5px; margin-bottom: 5px; }
.aeo-grid p { font-size: 13.5px; line-height: 1.5; margin: 0; }

/* == Yoxlama siyahısı == */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 10px; margin-bottom: 30px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 14px; line-height: 1.5; color: var(--muted); }
.check-item svg { flex: none; margin-top: 2px; }
.check-list { display: flex; flex-direction: column; gap: 9px; margin: 14px 0 24px; }
.check-list .check-item { border: 0; padding: 0; background: none; }

/* == Qeyd / məsuliyyət blokları == */
.notice { border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; background: var(--mist); font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.notice p:last-child { margin-bottom: 0; }
.notice-warn { background: var(--amber-bg); border-color: var(--amber-line); }
.notice-warn strong { color: var(--amber); }
.notice-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 14.5px; }

/* == Pill sırası == */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; transition: border-color .2s var(--ease); }
.pill:hover { border-color: var(--brand); color: var(--brand-text); }

/* == Prosess addımları == */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 14px; counter-reset: st; }
.step { position: relative; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.step::before {
  counter-increment: st; content: counter(st);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13.5px; line-height: 1.55; margin: 0; }

/* == Əlaqə == */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 22px; background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease);
}
.contact-card:hover { border-color: var(--brand); color: var(--ink); }
.contact-card .ico { width: 44px; height: 44px; border-radius: 999px; background: var(--mint); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-card .lbl { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; color: var(--faint); margin-bottom: 2px; text-transform: uppercase; }
.contact-card .val { font-size: 15px; font-weight: 600; color: var(--ink); }
.contact-card .val.mono { font-size: 16px; font-weight: 500; }
.contact-card .sub { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 3px; font-weight: 400; }
.map-box { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line-soft); }
.map-box iframe { border: 0; display: block; width: 100%; height: 300px; }

.form-card { border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 60px -20px rgba(45,12,52,.12); padding: clamp(22px, 3vw, 30px); background: #fff; }
.form-card .fields { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--btn-line);
  background: #fff; font-size: 14px; color: var(--ink); font-family: var(--sans); width: 100%;
}
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.check-field { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.check-field input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--brand-btn); }
.form-note { font-size: 11.5px; line-height: 1.5; color: var(--faint); text-align: center; }
.form-hint { font-size: 13px; color: var(--faint); margin-bottom: 20px; }
.form-error { display: none; font-size: 13px; color: #A63434; font-weight: 600; }
.form-error.show { display: block; }

/* == CTA bandı == */
.cta-band {
  border-radius: 28px; padding: clamp(30px, 5vw, 52px); text-align: center;
  background: linear-gradient(150deg, #591C62 0%, #3D1145 100%); color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(250,245,251,.82); max-width: 560px; margin: 0 auto 26px; }
.cta-band .cta-row { justify-content: center; margin-top: 0; }
.cta-band .btn-ghost { background: transparent; border-color: rgba(250,245,251,.35); color: #fff; }
.cta-band .btn-ghost:hover { border-color: var(--brand-soft); color: #fff; }

/* == Maarifləndirmə illüstrasiyası (klinikanın öz materialı) == */
.ill-card { margin: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--mist); }
.ill-card img { display: block; width: 100%; height: auto; }

/* == Nəbz nöqtələri qalereyası == */
.pulse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.pulse-item {
  margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff;
  transition: border-color .2s var(--ease), transform .24s var(--ease), box-shadow .24s var(--ease);
}
.pulse-item:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.pulse-item img { display: block; width: 100%; height: auto; }
.pulse-item figcaption {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px 15px; border-top: 1px solid var(--line-soft);
}
.pulse-item figcaption strong { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.pulse-item figcaption span { font-size: 12.5px; color: var(--faint); }

/* == Sabit mobil CTA == */
.sticky-cta { display: none; }

/* == Footer == */
.site-footer { background: var(--ink-deep); color: rgba(250,245,251,.75); margin-top: clamp(48px, 7vw, 88px); }
.site-footer .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(24px, 4vw, 48px); padding: clamp(40px, 6vw, 64px) 0 36px;
  border-bottom: 1px solid rgba(250,245,251,.1);
}
.site-footer .f-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; font-weight: 700; font-size: 15px; color: #fff; }
.site-footer p { font-size: 13px; line-height: 1.55; color: rgba(250,245,251,.55); max-width: 280px; margin: 0; }
.site-footer .col-title { font-size: 11px; font-weight: 600; letter-spacing: .1em; color: rgba(250,245,251,.45); margin-bottom: 14px; text-transform: uppercase; }
.site-footer .links { display: flex; flex-direction: column; gap: 9px; }
.site-footer .links a { font-size: 13.5px; color: rgba(250,245,251,.75); }
.site-footer .links a:hover { color: var(--brand-soft); }
.site-footer .links .mono { color: var(--brand-soft); }
.site-footer .links span { font-size: 13.5px; color: rgba(250,245,251,.75); }
.site-footer .addr { font-size: 12.5px; line-height: 1.5; color: rgba(250,245,251,.55); }
.site-footer .f-social { display: flex; gap: 10px; margin-top: 14px; }
.site-footer .f-social a {
  width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(250,245,251,.22); background: rgba(250,245,251,.06);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.site-footer .f-social a:hover { background: var(--brand-soft); border-color: var(--brand-soft); transform: translateY(-2px); }
.site-footer .f-social a:hover svg { stroke: var(--ink); }
.site-footer .disclaimer { padding: 20px 0 0; font-size: 12px; line-height: 1.55; color: rgba(250,245,251,.45); max-width: 820px; }
.site-footer .base { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 22px 0 26px; }
.site-footer .base .c { font-size: 12px; color: rgba(250,245,251,.4); margin-right: auto; }
.site-footer .base a { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.55); }
.site-footer .base a:hover { color: var(--brand-soft); }

/* == Breadcrumbs == */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); padding: 14px 0 0; }
.crumbs a { color: var(--faint); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* == Məqalə gövdəsi == */
.article-body h2 { font-size: 22px; letter-spacing: -0.01em; margin: clamp(28px,4vw,38px) 0 12px; }
.article-body h3 { font-size: 17px; margin: 24px 0 8px; }
.article-body p, .article-body li { font-size: 15.5px; line-height: 1.7; }
.article-body > *:first-child { margin-top: 0; }

/* == Utilities == */
.only-m { display: none !important; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mb-s { margin-bottom: 14px; } .mb-m { margin-bottom: 26px; } .mb-l { margin-bottom: 40px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ======== Tablet / mobil <= 1080px ======== */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand-sub-wrap { display: none; }
  .brand-logo { height: 30px; }
  .only-m { display: revert !important; }
  .only-d { display: none !important; }

  /* Tünd mobil hero.
     Standart halda (foto YOXDUR) hero kompakt qalır — boş yer buraxılmır.
     Klinika fotosu əlavə olunduqda .hero-a `hero--photo` sinfi verilir və
     yuxarıda şəkil üçün yer açılır. */
  .hero { position: relative; background: var(--ink); overflow: hidden; }
  .hero-inner { position: relative; z-index: 2; align-items: flex-start; text-align: left; padding-top: 44px; padding-bottom: 0; }
  .hero--photo .hero-inner { padding-top: 380px; }
  .hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 60%; object-fit: cover; object-position: center; z-index: 0; }
  .hero-scrim { display: none; }
  .hero--photo .hero-scrim {
    display: block; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(30,8,35,.5) 0%, rgba(30,8,35,.12) 20%, rgba(30,8,35,.82) 42%, #3D1145 58%);
  }
  /* Fotosuz halda incə dekorativ fon — boş tünd sahə əvəzinə */
  .hero:not(.hero--photo)::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(680px 340px at 88% -8%, rgba(171,39,185,.30), transparent 70%),
      radial-gradient(520px 300px at -10% 12%, rgba(171,39,185,.15), transparent 70%);
  }
  .hero .kicker { color: var(--brand-soft); }
  .hero h1 { font-size: 31px; line-height: 1.2; color: #fff; }
  .hero h1 .hl { color: var(--brand-soft); }
  .hero-sub { font-size: 14.5px; color: rgba(250,245,251,.82); margin: 0 0 18px; }
  .hero-ctas { flex-direction: column; align-items: stretch; align-self: stretch; margin-bottom: 18px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-ghost { background: transparent; border-color: rgba(250,245,251,.35); color: #FAF5FB; }
  .hero-stage { position: relative; z-index: 2; padding-bottom: 26px; }
  .hero-photo-box, .hero-strip-row { display: none; }
  .hero-mobile-facts {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 14px 16px; border-radius: 18px;
    background: rgba(250,245,251,.08); border: 1px solid rgba(250,245,251,.15);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  .hero-mobile-facts .lbl { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; color: rgba(250,245,251,.6); margin-bottom: 3px; }
  .hero-mobile-facts .val { display: block; font-size: 12px; font-weight: 600; color: #fff; line-height: 1.35; }
  .hero-mobile-facts .val.mono { color: var(--brand-soft); font-weight: 500; }

  /* Sabit mobil CTA çubuğu */
  .sticky-cta {
    display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 80;
    gap: 8px; padding: 8px; border-radius: 999px;
    background: rgba(45,12,52,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 16px 48px -12px rgba(0,0,0,.45);
  }
  .sticky-cta .rnd {
    width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(250,245,251,.25);
    display: flex; align-items: center; justify-content: center; flex: none;
  }
  .sticky-cta .go { flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand-btn); color: #fff; font-size: 14.5px; font-weight: 600; }
  body.has-sticky { padding-bottom: 92px; }

  .hero-strip .cell { padding: 0 16px; }
  .map-box iframe { height: 240px; }

  /* Toxunma sahələri: ikincili linklər də ən azı 24px hündürlükdə olsun.
     Region klinikasının auditoriyasında yaşlı istifadəçi payı yüksəkdir. */
  .site-footer .links a,
  .site-footer .base a { display: inline-flex; align-items: center; min-height: 28px; }
  .crumbs { gap: 8px 6px; }
  .crumbs a, .crumbs [aria-current] { display: inline-flex; align-items: center; min-height: 26px; }
}

@media (max-width: 640px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 30px; }
  .card { padding: 20px; }
  .its-band { padding: 24px 20px; }
  .cta-band { padding: 28px 20px; }
  .field-row { grid-template-columns: 88px 1fr; }
}

/* Çox dar cihazlar (320–380px): heç nə daşmasın */
@media (max-width: 380px) {
  .site-header .bar { padding: 12px 14px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-logo { height: 26px; }
  .brand-name { font-size: 13px; }
  .icon-btn { width: 38px; height: 38px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}

/* Çap */
@media print {
  .site-header, .mobile-menu, .sticky-cta, .site-footer .f-social, .cta-band { display: none !important; }
  body { padding-bottom: 0 !important; }
  a { color: #000; }
}
