/* ===================================================================
   Medsun Klinika — Dizayn sistemi v2
   Estetika: təmiz redaksiya üslubu (isti krem fon, iri display başlıq,
   nazik böyük hərfli etiket, ağ kart, pill düymə, yumşaq rəngli kölgə)
   Brend rəngi loqodan götürülüb: #28939D
   Şrift: Manrope (başlıq) + Inter (mətn) — Ə hərfi tam dəstəklənir
   =================================================================== */

/* ---------- 1. Token ---------- */
:root {
  /* Brend — loqodan */
  --brand:        #28939d;
  --brand-600:    #1f7d86;
  --brand-700:    #1b6f78;
  --brand-800:    #145861;
  --brand-900:    #0e424a;
  --brand-300:    #8ec8ce;
  --brand-100:    #d6ebed;
  --brand-50:     #eef7f8;

  /* Accent — dərin petrol (etibar rəngi; turquoise brend kimliyi olaraq qalır) */
  --petrol:       #0d3b43;
  --petrol-800:   #0a2f36;
  --petrol-900:   #082529;

  /* İsti neytral */
  --bg:           #f4f1ed;
  --bg-2:         #e9e4dd;
  --surface:      #ffffff;
  --ink:          #2b2b2b;
  --ink-2:        #4a4a4a;
  --muted:        #6f6f6f;
  --line:         #ddd6ce;
  --line-soft:    #ebe6df;

  /* Semantik */
  --danger:       #a8342a;
  --warn-bg:      #fbf3e4;
  --warn-line:    #e2c88a;

  /* Tipoqrafiya */
  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Ölçü */
  --fs-label: 0.75rem;    /* 12px — böyük hərfli etiket */
  --fs-sm:    0.875rem;   /* 14 */
  --fs-base:  1rem;       /* 16 */
  --fs-lg:    1.125rem;   /* 18 */
  --fs-xl:    1.375rem;   /* 22 */
  --fs-2xl:   1.75rem;    /* 28 */
  --fs-3xl:   2.25rem;    /* 36 */
  --fs-4xl:   3rem;       /* 48 */
  --fs-hero:  clamp(2.5rem, 6.2vw, 5.5rem);

  --track-label: 0.24em;

  /* Boşluq */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem;   --s7: 2.5rem; --s8: 3rem;
  --s9: 4rem;   --s10: 5rem;  --s11: 7rem;

  /* Forma */
  --r-pill: 9999px;
  --r-card: 24px;
  --r-md:   16px;
  --r-sm:   10px;

  --shadow-brand: 0 20px 45px rgba(40, 147, 157, .18);
  --shadow-soft:  0 12px 26px rgba(43, 43, 43, .06);
  --shadow-lift:  0 18px 40px rgba(43, 43, 43, .10);

  --wrap: 1320px;
  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* üfüqi sürüşməyə qarşı son sədd */
}
img, video, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 var(--s4);
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.15;
}
h1 { font-size: var(--fs-hero); font-weight: 500; line-height: 1.02; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p  { margin: 0 0 var(--s4); }
a  { color: var(--brand-700); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
ul, ol { margin: 0 0 var(--s4); padding-left: 1.25em; }
li { margin-bottom: var(--s2); }
strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  user-select: none;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: var(--s3) var(--s5);
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s5); }
.section { padding-block: var(--s11); }
.section--sm { padding-block: var(--s9); }
.section--surface { background: var(--surface); }
.section--alt { background: var(--bg-2); }
.section--ink { background: var(--petrol); color: rgba(255,255,255,.82); }
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Etiket — kiçik, böyük hərf, geniş aralıq */
.label {
  display: inline-block;
  font-size: var(--fs-label);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: var(--s4);
}
.label--brand { color: var(--brand-700); }
.label--light { color: rgba(255,255,255,.75); }

.section-head { max-width: 760px; margin-bottom: var(--s8); }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

.lead { font-size: var(--fs-lg); color: var(--muted); }

/* ---------- 4. Düymələr — pill ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: .85rem 1.65rem; min-height: 50px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-family: var(--body); font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-600); color: #fff; }

.btn--dark { background: var(--petrol); color: #fff; }
.btn--dark:hover { background: var(--petrol-900); color: #fff; }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--surface); border-color: var(--brand); color: var(--brand-700); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--brand-50); color: var(--brand-800); }

.btn--wa { background: #1faa54; color: #fff; }
.btn--wa:hover { background: #189745; color: #fff; }

.btn--lg { padding: 1.05rem 2.1rem; min-height: 58px; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- 5. Başlıq ---------- */
.topbar {
  background: var(--petrol-900); color: rgba(255,255,255,.72);
  font-size: var(--fs-label); letter-spacing: .04em; padding-block: .55rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--brand-300); }
.topbar .material-symbols-rounded { font-size: 16px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: var(--s5); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); min-height: var(--header-h);
}
.brand-link { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand-link img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; min-width: 0; }
.nav a {
  padding: .6rem .85rem; border-radius: var(--r-pill);
  color: var(--ink-2); text-decoration: none;
  font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav a:hover { background: var(--brand-50); color: var(--brand-800); }
.nav a[aria-current="page"] { color: var(--brand-800); background: var(--brand-50); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: var(--s2); flex-shrink: 0; }
/* Başlıqdakı düymə mətni — .label sinfi ilə qarışmasın deyə ayrıca ad */
.btn-text { display: inline; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line);
  background: var(--surface); border-radius: var(--r-pill);
  cursor: pointer; color: var(--ink);
}
.nav-toggle .material-symbols-rounded { font-size: 26px; }

/* ---------- 6. Hero ---------- */
.hero { background: var(--bg); padding-block: var(--s10) var(--s11); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s8); align-items: center; }
.hero h1 { margin-bottom: var(--s5); }
.hero__lead { font-size: var(--fs-lg); color: var(--muted); max-width: 46ch; margin-bottom: var(--s6); }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--r-card); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero__badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--s4) var(--s5);
  box-shadow: var(--shadow-lift); max-width: 240px;
}
.hero__badge strong { display: block; font-family: var(--display); font-size: var(--fs-xl); color: var(--brand-700); }
.hero__badge span { font-size: var(--fs-sm); color: var(--muted); }

.hero-stats { display: flex; flex-wrap: wrap; gap: var(--s8); margin-top: var(--s8); padding-top: var(--s6); border-top: 1px solid var(--line); }
.hero-stat strong { display: block; font-family: var(--display); font-size: var(--fs-2xl); color: var(--ink); font-weight: 600; line-height: 1.1; }
.hero-stat span { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 7. Kartlar ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--s6);
  display: flex; flex-direction: column;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-soft); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 { margin-bottom: var(--s2); font-size: var(--fs-lg); }
.card p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0; }

.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-pill);
  display: grid; place-items: center; margin-bottom: var(--s5);
  background: var(--brand-50); color: var(--brand-700);
}
.card__icon .material-symbols-rounded { font-size: 26px; }

.card__more {
  margin-top: auto; padding-top: var(--s5);
  color: var(--brand-700); font-weight: 600; font-size: var(--fs-sm);
  display: inline-flex; align-items: center; gap: 6px;
}
.card__more .material-symbols-rounded { font-size: 18px; transition: transform .2s; }
a.card:hover .card__more .material-symbols-rounded { transform: translateX(4px); }

.card--photo { padding: 0; overflow: hidden; }
.card--photo > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card--photo .card__body { padding: var(--s5) var(--s6) var(--s6); display: flex; flex-direction: column; flex: 1; }

/* ---------- 8. Bloklar ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: center; }
.split img { border-radius: var(--r-card); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex; gap: var(--s4); align-items: flex-start;
  padding-block: var(--s4); border-bottom: 1px solid var(--line-soft);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .material-symbols-rounded { color: var(--brand); flex-shrink: 0; font-size: 22px; margin-top: 3px; }
.feature-list strong { display: block; color: var(--ink); }
.feature-list span { color: var(--muted); font-size: var(--fs-sm); }

.pill-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .45rem 1rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--ink-2); text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
}
a.pill:hover { border-color: var(--brand); color: var(--brand-800); background: var(--brand-50); }
.pill .material-symbols-rounded { font-size: 17px; color: var(--brand); }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: .25rem .8rem; border-radius: var(--r-pill);
  font-size: var(--fs-label); font-weight: 600; letter-spacing: .02em;
  background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-100);
}
.badge--verified { background: #eaf6ee; color: #1a6b3c; border-color: #bfe0ca; }
.badge--muted { background: var(--bg-2); color: var(--muted); border-color: var(--line); }
.badge .material-symbols-rounded { font-size: 15px; }

/* Etibar zolağı */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); padding-block: var(--s7); }
.trust-item .material-symbols-rounded { color: var(--brand); font-size: 30px; margin-bottom: var(--s3); }
.trust-item strong { display: block; font-family: var(--display); color: var(--ink); font-size: var(--fs-lg); }
.trust-item span { font-size: var(--fs-sm); color: var(--muted); }

/* CTA */
.cta {
  background: var(--petrol); color: rgba(255,255,255,.85);
  border-radius: var(--r-card); padding: var(--s10) var(--s8); text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: auto -10% -60% auto;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(40,147,157,.35), transparent 70%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { max-width: 520px; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: var(--s6); }

/* Qeyd */
.note {
  background: var(--brand-50); border-left: 3px solid var(--brand);
  padding: var(--s4) var(--s5); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-sm);
}
.note--warn { background: var(--warn-bg); border-left-color: var(--warn-line); }
.note p:last-child { margin-bottom: 0; }

/* ---------- 9. Səhifə başlığı ---------- */
.page-hero { background: var(--bg-2); padding-block: var(--s9) var(--s8); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: var(--s4); }
.page-hero p { color: var(--muted); max-width: 62ch; font-size: var(--fs-lg); margin-bottom: 0; }

.breadcrumb { font-size: var(--fs-label); letter-spacing: .05em; margin-bottom: var(--s5); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--s2); color: var(--muted); }
.breadcrumb li + li::before { content: '/'; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand-700); }

/* ---------- 10. Məzmun ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: var(--s8); font-size: var(--fs-2xl); }
.prose h3 { margin-top: var(--s6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose img { border-radius: var(--r-card); margin-block: var(--s6); }
.prose > p:first-of-type { font-size: var(--fs-lg); color: var(--ink-2); }

.layout-sidebar { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: var(--s9); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + var(--s4)); display: grid; gap: var(--s4); }
.sidebar-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--s5);
}
.sidebar-box h3 { font-size: var(--fs-base); margin-bottom: var(--s3); }
.sidebar-box--dark { background: var(--petrol); border-color: var(--petrol); color: rgba(255,255,255,.8); }
.sidebar-box--dark h3 { color: #fff; }
.sidebar-box--dark p { font-size: var(--fs-sm); }

.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.link-list li:last-child { border-bottom: 0; }
.link-list a, .link-list > li > span {
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; color: var(--ink-2); text-decoration: none; font-size: var(--fs-sm);
}
.link-list a:hover { color: var(--brand-700); }
.link-list .material-symbols-rounded { font-size: 18px; color: var(--brand); flex-shrink: 0; }

/* ---------- 11. FAQ ---------- */
.faq { display: grid; gap: var(--s3); max-width: 900px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
}
.faq details[open] { border-color: var(--brand-300); }
.faq summary {
  padding: var(--s4) var(--s5); cursor: pointer;
  font-family: var(--display); font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  list-style: none; min-height: 58px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: 'add' / ''; font-family: 'Material Symbols Rounded';
  font-size: 22px; color: var(--brand); transition: transform .22s; flex-shrink: 0;
}
.faq details[open] summary::after { content: 'remove' / ''; }
.faq summary:hover { background: var(--brand-50); }
.faq .faq__body { padding: 0 var(--s5) var(--s5); color: var(--muted); font-size: var(--fs-sm); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- 12. Həkim ---------- */
.doctor {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--s5);
  display: flex; flex-direction: column; gap: var(--s3);
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.doctor:hover { border-color: var(--brand-300); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.doctor__head { display: flex; gap: var(--s4); align-items: center; }
.doctor__avatar {
  width: 58px; height: 58px; flex-shrink: 0; border-radius: var(--r-pill);
  background: var(--brand-50); color: var(--brand-800);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: var(--fs-lg);
  border: 1px solid var(--brand-100);
}
.doctor__name {
  display: block;
  font-family: var(--display); font-weight: 600; color: var(--ink);
  font-size: var(--fs-base); line-height: 1.3;
}
.doctor__spec { display: block; color: var(--brand-700); font-size: var(--fs-sm); font-weight: 500; }
.doctor__schedule { font-size: var(--fs-sm); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.doctor__schedule .material-symbols-rounded { font-size: 17px; color: var(--brand); }
.doctor__services { list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.doctor__services li { margin-bottom: 4px; padding-left: 1.1em; position: relative; }
.doctor__services li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300);
}
.doctor--featured { border-color: var(--brand-300); background: linear-gradient(180deg, var(--brand-50), var(--surface) 55%); }

/* ---------- 13. Form ---------- */
.form { display: grid; gap: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--ink); }
.field .hint { font-size: var(--fs-label); color: var(--muted); line-height: 1.5; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: var(--fs-base); color: var(--ink);
  padding: .8rem 1rem; min-height: 50px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); outline: 3px solid var(--brand-100); outline-offset: 0;
}
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); }
.check input { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; accent-color: var(--brand); }

/* ---------- 14. Xəritə / video / qalereya ---------- */
.map-embed {
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-2);
  aspect-ratio: 16/10; width: 100%;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-facade {
  position: relative; display: block; border-radius: var(--r-card);
  overflow: hidden; background: var(--ink); aspect-ratio: 16/9;
  text-decoration: none; border: 1px solid var(--line);
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .68; transition: opacity .25s, transform .35s; }
.video-facade:hover img { opacity: .52; transform: scale(1.04); }

/* Fotosuz variant — dublikat şəkil yaratmamaq üçün qradiyent fon */
.video-facade--plain {
  background: linear-gradient(135deg, var(--petrol-900) 0%, var(--petrol) 45%, var(--brand-700) 100%);
}
.video-facade--plain::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.14), transparent 45%),
    radial-gradient(circle at 12% 88%, rgba(14,66,74,.5), transparent 55%);
  transition: opacity .25s;
}
.video-facade--plain:hover::before { opacity: .7; }
.video-facade__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-facade__play span {
  width: 66px; height: 66px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.95); color: var(--brand-800);
  display: grid; place-items: center; box-shadow: var(--shadow-lift);
}
.video-facade__play .material-symbols-rounded { font-size: 34px; }
.video-facade__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s6) var(--s4) var(--s4);
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff; font-weight: 600; font-size: var(--fs-sm);
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.gallery img { border-radius: var(--r-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--petrol-900); color: rgba(255,255,255,.68); padding-block: var(--s9) var(--s6); }
.site-footer .footer-title {
  color: #fff; font-family: var(--body); font-size: var(--fs-label);
  text-transform: uppercase; letter-spacing: var(--track-label);
  font-weight: 500; margin: 0 0 var(--s4);
}
.site-footer a { color: rgba(255,255,255,.68); text-decoration: none; }
.site-footer a:hover { color: var(--brand-300); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--s8); }
.footer-logo { height: 52px; width: auto; margin-bottom: var(--s4); }
.footer-list { list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); }
.footer-list li { margin-bottom: var(--s2); }
.footer-contact { display: grid; gap: var(--s3); font-size: var(--fs-sm); }
.footer-contact div { display: flex; gap: var(--s3); align-items: flex-start; }
.footer-contact .material-symbols-rounded { color: var(--brand-300); font-size: 20px; flex-shrink: 0; }
.social-row { display: flex; gap: var(--s2); margin-top: var(--s5); }
.social-row a {
  width: 44px; height: 44px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: #fff;
  transition: background .2s, border-color .2s;
}
.social-row a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-disclaimer { font-size: var(--fs-label); color: rgba(255,255,255,.45); margin-top: var(--s6); max-width: 70ch; line-height: 1.7; }
.footer-bottom {
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--s4); justify-content: space-between;
  font-size: var(--fs-label); color: rgba(255,255,255,.45);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--s4); }

.mobile-bar { display: none; }

/* ---------- 16. Yardımçı ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1100px) {
  :root { --s11: 5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .layout-sidebar { grid-template-columns: 1fr; gap: var(--s7); }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: var(--s6); }
  .hero__badge { left: 0; }
}

/* Naviqasiya üfüqi sığmadığı üçün mobil menyuya keçid burada başlayır */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }

  /* --- BULLETPROOF MOBİL MENYU ---
     Bağlı vəziyyətdə display:none — Android-də üfüqi overflow-un
     qarşısını tam alır (transform/visibility kifayət etmir). */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: var(--s4);
    overflow-y: auto; overscroll-behavior: contain;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: var(--s4); border-bottom: 1px solid var(--line-soft);
    border-radius: 0; font-size: var(--fs-base);
  }
  .nav a:last-child { border-bottom: 0; }
  body.nav-open { overflow: hidden; }

  .header-cta .btn .btn-text { display: none; }
  .header-cta .btn { padding: .85rem 1.1rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--s6); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4/3; }
  .hero__badge { display: none; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .topbar-info { gap: var(--s4); }
}

@media (max-width: 620px) {
  :root { --fs-3xl: 1.85rem; --fs-2xl: 1.5rem; --s11: 4rem; --s9: 3rem; }
  .wrap { padding-inline: var(--s4); }
  .grid-4, .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .sidebar { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--s5); }
  .cta { padding: var(--s8) var(--s5); }
  .topbar .hide-xs { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .card { padding: var(--s5); }
  .brand-link img { height: 40px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(43,43,43,.1);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: .8rem .4rem; min-height: 58px; font-weight: 600; font-size: var(--fs-label);
    text-decoration: none;
  }
  .mobile-bar a:nth-child(1) { background: var(--petrol); color: #fff; }
  .mobile-bar a:nth-child(2) { background: #1faa54; color: #fff; }
  .mobile-bar a:nth-child(3) { background: var(--brand); color: #fff; }
  body { padding-bottom: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, a.card:hover, .doctor:hover { transform: none; }
}

@media print {
  .site-header, .topbar, .mobile-bar, .site-footer, .btn, .sidebar { display: none !important; }
  body { background: #fff; color: #000; }
}
