/* ============================================================
   Dr. Fidan Kərimova — USM  ·  v2 "Editorial Luxe"
   Mobile-first · Manrope + Playfair Display
   ============================================================ */

:root {
  /* ------------------------------------------------------------
     BALIQ BÜRCÜ PALİTRASI — analiz əsaslı seçim

     Balıqlar: su bürcü, hakim planeti Neptun. Xarakter: empatiya,
     intuisiya, şəfavericilik, incəlik, dərinlik, sakit güc.

     · Dərin okean (#0a1418) — bürcün stixiyası olan suyun gecə
       dərinliyi; psixologiyada dərinlik + peşəkar ciddilik.
       Mavi ton qatqısı (yaşıl-qara əvəzinə) Neptun suyuna işarə.
     · Akvamarin / dəniz köpüyü (#7fd4c4) — Balıqların ənənəvi
       daşı akvamarindir; teal-aqua tibbdə sübut olunmuş şəkildə
       narahatlığı azaldan, təmizlik + inam yaradan tondur.
     · Yumşaq lavanda (#b9a8e0) — Neptunun bənövşəyi spektri:
       intuisiya, qayğı, qadın incəliyi. Yalnız vurğu kimi —
       çox işlədildikdə tibbi ciddiliyi azaldar.
     · Mirvari (#f1f3f0) — Balıqların ikinci simvolu mirvari;
       saf, yumşaq ağ — steril ağın soyuqluğu olmadan təmizlik.
     ------------------------------------------------------------ */
  --bg: #0a1418;            /* dərin okean */
  --bg-2: #0e1b1f;
  --bone: #f1f3f0;          /* mirvari — tünd fonda mətn */
  --cream: #eceeeb;         /* dəniz dumanı — açıq bölmələr */
  --ink: #101a1d;           /* açıq fonda mətn */
  --muted-d: rgba(241, 243, 240, 0.72);
  --muted-l: rgba(16, 26, 29, 0.62);
  --sea: #7fd4c4;           /* akvamarin (tünd fonda vurğu) */
  --sea-deep: #2e7d6e;      /* dərin dəniz (açıq fonda vurğu) */
  --lav: #b9a8e0;           /* lavanda (Neptun vurğusu) */
  --line-d: rgba(241, 243, 240, 0.12);
  --line-l: rgba(16, 26, 29, 0.12);

  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --serif: "Playfair Display", Georgia, serif;

  --shell: 1240px;
  --pad: 20px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* fixed header altında qalmasın deyə anchor keçidlərinə boşluq */
  scroll-padding-top: calc(var(--header-h) + 8px);
  /* üfüqi wobble-ın kökü: hidden yox, clip — scroll konteyneri yaratmır */
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--bone);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, p, li {
  text-wrap: pretty;
}

h1, h2, h3 {
  text-wrap: balance;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--bg);
  background: var(--sea);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

a, button { touch-action: manipulation; }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 4px;
}

.section--light :where(a, button, summary, input, select, textarea):focus-visible {
  outline-color: var(--sea-deep);
}

::selection { background: var(--sea); color: var(--bg); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.2rem + 3vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 24ch;
}
.title--light { color: var(--bone); }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(36px, 6vw, 64px);
  color: var(--ink);
}
.sec-head__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--sea-deep);
}
.sec-head__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sec-head__rule {
  flex: 1;
  height: 1px;
  background: var(--line-l);
  transform-origin: left;
}
.sec-head--dark { color: var(--bone); }
.sec-head--dark .sec-head__num { color: var(--sea); }
.sec-head--dark .sec-head__rule { background: var(--line-d); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid { background: var(--bone); color: var(--bg); }
.btn--solid:hover { background: var(--sea); }

.btn--gold { background: var(--sea); color: var(--bg); }
.btn--gold:hover { background: var(--bone); }

.btn--dark, .btn--primary { background: var(--ink); color: var(--bone); }
.btn--dark:hover, .btn--primary:hover { background: var(--sea-deep); color: #fff; }

.btn--wa { border-color: var(--line-l); color: var(--ink); background: transparent; }
.btn--wa:hover { border-color: var(--ink); }

.btn--big { padding: 17px 32px; font-size: 15.5px; }
.btn--block { width: 100%; }

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--bone);
  min-height: 44px;
  padding-bottom: 3px;
}
.link-arrow::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--sea);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover::before { transform: scaleX(1); }
.link-arrow::after { content: "→"; color: var(--sea); transition: transform 0.3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: border-color 0.35s;
  border-bottom: 1px solid transparent;
}
/* blur pseudo-elementdədir: header-in özündə filter olsa,
   fixed .nav onun containing block-una düşüb pozulur */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 24, 0.8);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.header.is-scrolled { border-bottom-color: var(--line-d); }
.header.is-scrolled::before {
  opacity: 1;
  /* blur yalnız lazım olanda — scroll performansı üçün */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header.is-scrolled {
  box-shadow: 0 12px 36px -30px rgba(0, 0, 0, 0.9);
}
.brand, .header__right { position: relative; z-index: 2; }
.header__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; }
/* Logo faylı yüklənərsə (has-logo) FK. yazısını əvəz edir */
.brand__logo { display: none; flex: none; }
.brand.has-logo .brand__logo { display: block; }
.brand.has-logo .brand__sig { display: none; }
.brand__logo img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}
.brand__sig {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--bone);
  line-height: 1;
}
.brand__sig i { font-style: normal; color: var(--sea); }
.brand__name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header__right { display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }

.lang { display: flex; gap: 2px; }
.lang__btn {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted-d);
  border: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.lang__btn:hover { color: var(--bone); }
.lang__btn.is-active { color: var(--bone); border-color: var(--sea); }
.lang--header { display: none; }

.burger {
  width: 44px; height: 44px;
  display: grid;
  place-content: center;
  gap: 7px;
  border-radius: 50%;
  border: 1px solid var(--line-d);
  transition: border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease);
}
.burger:hover { border-color: var(--sea); }
.burger[aria-expanded="true"] {
  border-color: rgba(127, 212, 196, 0.65);
  background: rgba(127, 212, 196, 0.1);
  transform: rotate(90deg);
}
.burger span {
  width: 20px; height: 1.5px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.2px) rotate(-45deg); }

/* Mobile nav sheet */
.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 100% 4%, rgba(127, 212, 196, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.025), transparent 42%),
    var(--bg);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 18px) var(--pad) max(24px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(-14px);
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease), visibility 0s linear 0.42s;
}
.nav::after {
  content: "FK";
  position: absolute;
  right: -0.04em;
  bottom: 12%;
  z-index: -1;
  font-family: var(--serif);
  font-size: min(48vw, 13rem);
  font-style: italic;
  line-height: 0.7;
  color: rgba(255,255,255,0.022);
  pointer-events: none;
}
.nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav__intro {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(10px, 2.4vh, 22px);
  color: var(--muted-d);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__intro i { width: 34px; height: 1px; background: var(--sea); opacity: 0.7; }
.nav__links {
  display: flex;
  flex-direction: column;
  counter-reset: mobile-nav;
  border-top: 1px solid var(--line-d);
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  counter-increment: mobile-nav;
  position: relative;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.3rem, 6vw, 1.7rem);
  letter-spacing: -0.025em;
  color: var(--bone);
  padding: clamp(14px, 2.3vh, 20px) 38px clamp(14px, 2.3vh, 20px) 0;
  border-bottom: 1px solid var(--line-d);
  opacity: 0;
  transform: translateY(10px);
  transition: color 0.25s, padding-left 0.3s var(--ease), opacity 0.35s var(--ease), transform 0.4s var(--ease);
}
.nav.is-open .nav__link { opacity: 1; transform: translateY(0); }
.nav.is-open .nav__link:nth-child(1) { transition-delay: 0.06s; }
.nav.is-open .nav__link:nth-child(2) { transition-delay: 0.1s; }
.nav.is-open .nav__link:nth-child(3) { transition-delay: 0.14s; }
.nav.is-open .nav__link:nth-child(4) { transition-delay: 0.18s; }
.nav.is-open .nav__link:nth-child(5) { transition-delay: 0.22s; }
.nav__link::before {
  content: "0" counter(mobile-nav);
  min-width: 22px;
  color: var(--sea);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.78;
}
.nav__link::after {
  content: "↗";
  position: absolute;
  right: 2px;
  top: 50%;
  color: var(--muted-d);
  font-size: 17px;
  font-weight: 400;
  transform: translateY(-50%);
  transition: color 0.25s, transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--sea); padding-left: 6px; }
.nav__link:hover::after { color: var(--sea); transform: translate(3px, -3px); }
.nav__link.is-active { color: var(--sea); }
.nav__link.is-active span::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 9px;
  border-radius: 50%;
  background: var(--sea);
  vertical-align: middle;
  box-shadow: 0 0 0 5px rgba(127, 212, 196, 0.1);
}
.nav__link sup {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--sea);
}
.nav__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: clamp(22px, 4vh, 36px);
}
.nav__utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav__foot .lang {
  flex: 0 1 auto;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255,255,255,0.025);
}
.nav__foot .lang__btn { padding: 7px 9px; }
.nav__phone {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--bone);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav__phone svg { color: var(--sea); }
.nav__foot .btn {
  min-height: 54px;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(127, 212, 196, 0.12);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  /* svh-ə bağlı boşluqlar: hero istənilən ekran hündürlüyünə tam sığır */
  padding: calc(var(--header-h) + clamp(14px, 3svh, 56px)) 0 clamp(14px, 3svh, 48px);
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Eyni həkimlə üç peşəkar klinik kadrın yumşaq crossfade keçidi */
.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 50%;
  filter: saturate(0.92) brightness(1.02) contrast(1.01);
  opacity: 0;
  animation: heroXfade 18s linear infinite;
}
.hero__photo img:only-child {
  opacity: 1;
  animation: none;
  transform: scale(1.02);
  object-position: 76% 50%;
  filter: saturate(0.96) brightness(0.88) contrast(1.03);
}
.hero__photo img:nth-of-type(1) { animation-delay: -2s; }
.hero__photo img:nth-of-type(2) {
  animation-delay: 4s;
  object-position: 68% 50%;
  filter: saturate(0.9) brightness(1.01) contrast(1.01);
}
.hero__photo img:nth-of-type(3) {
  animation-delay: 10s;
  object-position: 66% 50%;
  filter: saturate(0.9) brightness(1.01) contrast(1.01);
}
@keyframes heroXfade {
  0%     { opacity: 0; transform: scale(1.06); }
  11.1%  { opacity: 1; }
  33.3%  { opacity: 1; }
  44.4%  { opacity: 0; transform: scale(1); }
  100%   { opacity: 0; transform: scale(1); }
}
.hero__photo--two img {
  object-position: 76% 50%;
  filter: saturate(0.96) brightness(0.9) contrast(1.03);
  animation: heroXfadeTwo 14s ease-in-out infinite;
}
.hero__photo--two img:nth-of-type(1) { animation-delay: 0s; }
.hero__photo--two img:nth-of-type(2) { animation-delay: -7s; object-position: 76% 50%; }
@keyframes heroXfadeTwo {
  0%, 42% { opacity: 1; transform: scale(1.025); }
  50%, 92% { opacity: 0; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.025); }
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--bg) 4%, rgba(10, 20, 24, 0.72) 34%, rgba(10, 20, 24, 0.18) 72%, rgba(10, 20, 24, 0.28) 100%),
    linear-gradient(0deg, var(--bg) 5%, rgba(10, 20, 24, 0.16) 46%, rgba(10, 20, 24, 0.2) 100%),
    radial-gradient(70% 60% at 75% 30%, rgba(127, 212, 196, 0.08), transparent 70%);
}
.hero__aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 82% 18%, rgba(124, 208, 189, 0.14), transparent 65%),
    radial-gradient(45% 40% at 12% 85%, rgba(180, 165, 220, 0.10), transparent 60%);
}
.hero__rings {
  position: absolute;
  top: 50%; right: -12%;
  width: min(72vw, 640px);
  aspect-ratio: 1;
  transform: translateY(-58%);
  pointer-events: none;
}
.hero__rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(240, 242, 238, 0.09);
  border-radius: 50%;
  animation: ringPulse 7s var(--ease) infinite;
}
.hero__rings span:nth-child(2) { inset: 13%; animation-delay: 0.6s; }
.hero__rings span:nth-child(3) { inset: 26%; animation-delay: 1.2s; }
.hero__rings span:nth-child(4) { inset: 39%; border-color: rgba(124, 208, 189, 0.28); animation-delay: 1.8s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.045); opacity: 0.6; }
}
.hero__ghost {
  position: absolute;
  top: 9%;
  right: -2%;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(7rem, 24vw, 19rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(240, 242, 238, 0.08);
  pointer-events: none;
  user-select: none;
}

.hero__grid { position: relative; display: grid; gap: clamp(20px, 4svh, 72px); }

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-d);
  margin-bottom: clamp(12px, 2.2svh, 32px);
}
.hero__meta::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--sea);
}

.hero__title {
  font-weight: 800;
  /* həm enə (vw), həm hündürlüyə (svh) bağlı — hero həmişə ekrana sığır */
  font-size: min(clamp(2.2rem, 2rem + 7.5vw, 7rem), 7.4svh);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: clamp(14px, 2.6svh, 44px);
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line__in {
  display: inline-block;
  transform: translateY(115%);
  animation: lineUp 1s var(--ease) forwards;
}
.line:nth-child(2) .line__in { animation-delay: 0.14s; }
@keyframes lineUp { to { transform: translateY(0); } }
.line__in--serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--lav);
  padding-right: 0.1em;
}

.hero__row { display: grid; gap: clamp(14px, 2.4svh, 28px); }
.hero__lead {
  font-size: min(clamp(0.95rem, 0.9rem + 0.4vw, 1.15rem), 2.4svh);
  line-height: 1.7;
  color: var(--muted-d);
  max-width: 46ch;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero__cta .btn--big { padding: clamp(12px, 1.9svh, 17px) 28px; font-size: 15px; }
.hero__bottom { display: grid; gap: 18px; }
.hero__bottom .hero__cta { order: -1; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-d);
}
.hero__stats > div {
  min-width: 0;
  padding: clamp(9px, 1.6svh, 18px) 10px 4px 0;
  border-bottom: 1px solid var(--line-d);
}
.hero__stats > div + div {
  padding-left: 10px;
  border-left: 1px solid var(--line-d);
}
.hero__stats dt {
  font-weight: 800;
  font-size: min(clamp(1.4rem, 1.1rem + 1.8vw, 2.4rem), 3.6svh);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero__stats dd { font-size: clamp(10px, 2.8vw, 12px); letter-spacing: 0.035em; color: var(--muted-d); }

/* load-in rise */
.rise { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease) 0.45s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
  background: var(--bg);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-d);
  white-space: nowrap;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee__track i {
  width: 6px; height: 6px;
  background: var(--sea);
  transform: rotate(45deg);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(76px, 10vw, 132px) 0; }
.section--light { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--bg); color: var(--bone); }

/* ---------- About ---------- */
.about { display: grid; gap: clamp(48px, 8vw, 80px); }
.portrait {
  position: relative;
  max-width: 400px;
  margin-inline: auto;
}
.portrait__ph, .portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px 24px 24px;   /* arch */
  overflow: hidden;
}
.portrait__ph { overflow: hidden; }
.portrait--about img {
  object-position: center top;
}
.portrait__spin {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 108px;
  height: 108px;
  animation: spin 14s linear infinite;
  filter: drop-shadow(0 10px 24px rgba(18, 24, 21, 0.25));
}
.portrait__spin svg { width: 100%; height: 100%; }
@keyframes spin { to { transform: rotate(360deg); } }

.about__body .title { margin-bottom: clamp(24px, 4vw, 40px); }
.about__cols { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 48px); }
.about__cols p { color: var(--muted-l); font-size: 15.5px; }

.creds { list-style: none; counter-reset: cred; }
.creds li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line-l);
}
.creds li:last-child { border-bottom: 1px solid var(--line-l); }
.creds__i {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--sea-deep);
  flex: none;
  width: 20px;
}
.creds strong { display: block; font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.creds span { font-size: 13.5px; color: var(--muted-l); }

/* ---------- Services (index list) ---------- */
.svc-intro { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px); }
.svc-intro__sub { color: var(--muted-d); max-width: 52ch; font-size: 15px; }

.svc-list { display: flex; flex-direction: column; }
.svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  border-top: 1px solid var(--line-d);
  transition: padding-left 0.35s var(--ease), background 0.35s;
}
.svc:last-child { border-bottom: 1px solid var(--line-d); }
.svc:hover { padding-left: 14px; }
.svc__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--sea);
  width: 26px;
}
.svc__title {
  display: block;
  font-weight: 800;
  font-size: clamp(1.15rem, 1rem + 1.6vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--bone);
  transition: color 0.3s;
}
.svc:hover .svc__title { color: var(--sea); }
.svc__short {
  display: block;
  font-size: 13px;
  color: var(--muted-d);
  margin-top: 4px;
  max-width: 54ch;
}
.svc__go {
  flex: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-d);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bone);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.svc:hover .svc__go {
  background: var(--sea);
  border-color: var(--sea);
  color: var(--bg);
  transform: rotate(-45deg);
}
.svc.is-hidden { display: none; }

.svc-more { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 34px; }
.svc-more.is-hidden { display: none; }
.btn--outline {
  border-color: var(--line-d);
  color: var(--bone);
  background: transparent;
}
.btn--outline:hover { border-color: var(--sea); color: var(--sea); }

.btn--outline-light {
  border-color: var(--line-l);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}
.btn--outline-light:hover { border-color: var(--sea-deep); background: #fff; color: var(--sea-deep); }

.link-arrow--dark { color: var(--ink); }
.link-arrow--dark::before { background: var(--sea-deep); }
.link-arrow--dark::after { color: var(--sea-deep); }

.section--light .svc {
  border-color: var(--line-l);
}

.section--light .svc:last-child {
  border-bottom-color: var(--line-l);
}

.section--light .svc__title,
.section--light .svc__go {
  color: var(--ink);
}

.section--light .svc__short {
  color: var(--muted-l);
}

.section--light .svc-intro__sub {
  color: var(--muted-l);
}

.section--light .svc__num {
  color: var(--sea-deep);
}

.section--light .svc__go {
  border-color: var(--line-l);
}

.section--light .svc:hover .svc__title {
  color: var(--sea-deep);
}

/* ---------- Why ---------- */
#why .title { margin-bottom: clamp(36px, 6vw, 60px); }
.why {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-l);
}
.why__item { padding: 26px 0; border-bottom: 1px solid var(--line-l); }
.why__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--sea-deep);
}
.why__item h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 10px 0 8px;
}
.why__item p { font-size: 14.5px; color: var(--muted-l); }

/* ---------- Process ---------- */
.process { margin-top: clamp(56px, 9vw, 96px); }
.process__title {
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.steps { list-style: none; display: grid; gap: 22px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; }
.steps__num {
  flex: none;
  width: 46px; height: 46px;
  border: 1px solid var(--sea-deep);
  color: var(--sea-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
}
.steps strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
.steps p { font-size: 14px; color: var(--muted-l); }

/* ---------- Reviews ---------- */
.quote { max-width: 900px; margin-bottom: clamp(44px, 7vw, 72px); }
.quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 1.05rem + 2.2vw, 2.3rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin-bottom: 24px;
}
.quote__by { display: flex; align-items: center; gap: 14px; font-size: 13.5px; }
.quote__by::before { content: ""; width: 34px; height: 1px; background: var(--sea); }
.quote__by strong { font-weight: 800; }
.quote__by span { color: var(--muted-d); }

.quote-row { display: grid; gap: 20px; }
.quote-sm {
  border-top: 1px solid var(--line-d);
  padding-top: 22px;
}
.quote-sm p { font-size: 14.5px; color: var(--muted-d); margin-bottom: 16px; }
.quote-sm footer { display: flex; gap: 10px; align-items: baseline; font-size: 13px; }
.quote-sm strong { font-weight: 800; color: var(--bone); }
.quote-sm span { color: var(--muted-d); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: clamp(44px, 7vw, 72px); }
.contact__cta .title { margin-bottom: 18px; }
.contact__cta > p { color: var(--muted-l); max-width: 50ch; margin-bottom: 28px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.contact__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-l);
}
.contact__note::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sea-deep);
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

.contact__rows { list-style: none; border-top: 1px solid var(--line-l); }
.clinics { display: grid; gap: 3px; }
.clinics span { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.contact__rows li {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-l);
}
.contact__rows li {
  transition: padding-left 0.25s var(--ease), background 0.25s;
}

.contact__rows li:hover {
  padding-left: 10px;
  background: rgba(255, 255, 255, 0.26);
}
.contact__rows small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.contact__rows a, .contact__rows span:not([data-i18n^="contact."]) { font-weight: 700; }
.contact__rows li > a, .contact__rows li > span { font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; }
.contact__rows a { transition: color 0.25s; }
.contact__rows li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.contact__rows a:hover { color: var(--sea-deep); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line-d);
  padding: clamp(46px, 6vw, 72px) 0 26px;
}
.footer__inner {
  display: grid;
  gap: 28px;
}
.footer__main {
  display: grid;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-d);
}
.footer__identity {
  display: grid;
  justify-items: start;
}
.footer__identity p {
  margin-top: 15px;
  color: var(--bone);
  font-size: 14px;
  font-weight: 750;
}
.footer__identity span {
  margin-top: 2px;
  color: var(--muted-d);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 38px;
  color: var(--bone);
  line-height: 1;
  min-height: 44px;
}
.footer__brand.has-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.footer__brand i { font-style: normal; color: var(--sea); }
.footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 22px;
  align-content: start;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
}
.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(241, 243, 240, 0.68);
  font-size: 11.5px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.footer__legal a:hover { color: var(--bone); text-decoration-color: var(--sea); }
.footer__link {
  position: relative;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 0 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-d);
  transition: color 0.25s;
}
.footer__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--sea);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.footer__link:hover { color: var(--bone); }
.footer__link:hover::after { transform: scaleX(1); }
.footer__connect {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  align-content: start;
}
.footer__phone-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid var(--line-d);
  border-radius: 50%;
  color: var(--muted-d);
  transition: border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.footer__phone-icon:hover {
  transform: translateY(-3px);
  border-color: var(--sea);
  color: var(--sea);
}
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__copy { font-size: 12px; color: rgba(241, 243, 240, 0.62); }
.footer__soc { display: flex; gap: 10px; }
.footer__soc a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-d);
  color: var(--muted-d);
  transition: border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.footer__soc a:hover {
  border-color: var(--sea);
  color: var(--sea);
  transform: translateY(-3px);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 70;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bone);
  color: var(--bg);
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.wa-float.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.wa-float.is-visible:hover { transform: scale(1.08); background: #25d366; color: #fff; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: end center;
  visibility: hidden;
}
.modal.is-open { visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 11, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 660px;
  max-height: 90dvh;
  background: var(--cream);
  color: var(--ink);
  border-radius: 26px 26px 0 0;
  transform: translateY(48px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal.is-open .modal__panel { transform: none; opacity: 1; }
/* Mobil bottom-sheet tutacağı */
.modal__panel::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: rgba(16, 26, 29, 0.18);
  z-index: 1;
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-l);
  background: var(--cream);
  color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--bone); }
.modal__scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
}

/* Başlıq zonası — kicker + başlıq + çiplər, alt xətlə ayrılır */
.modal-head {
  padding: 30px clamp(20px, 4vw, 36px) 20px;
  padding-right: 74px;               /* bağlama düyməsinə yer */
  border-bottom: 1px solid var(--line-l);
}
.modal-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sea-deep);
  margin-bottom: 10px;
}
.modal-kicker::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--sea-deep);
  transform: rotate(45deg);
  flex: none;
}
.modal-head h2 {
  font-weight: 800;
  font-size: clamp(1.4rem, 1.15rem + 1.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.14;
}
.modal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.modal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--line-l);
  border-radius: 999px;
  padding: 6px 13px;
}
.modal-meta svg { color: var(--sea-deep); }

/* Gövdə */
.modal-body { padding: 22px clamp(20px, 4vw, 36px) 26px; }
.modal-body p { color: var(--muted-l); font-size: 15px; margin-bottom: 14px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea-deep);
  margin: 24px 0 8px;
}
.modal-body h4:first-child { margin-top: 0; }

.modal-list { list-style: none; }
.modal-list li {
  display: flex;
  gap: 13px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-l);
  font-size: 14.5px;
}
.modal-list li:last-child { border-bottom: none; }
.modal-list li::before {
  content: "→";
  color: var(--sea-deep);
  font-size: 13px;
  flex: none;
}
.modal-note {
  background: rgba(46, 125, 110, 0.09);
  border-left: 2px solid var(--sea-deep);
  border-radius: 0 12px 12px 0;
  padding: 13px 16px;
  font-size: 13.5px;
  margin-top: 4px;
}

/* Yapışqan CTA zonası — scroll etsən də düymə görünür */
.modal-cta {
  position: sticky;
  bottom: 0;
  padding: 14px clamp(20px, 4vw, 36px) clamp(20px, 4vw, 26px);
  background: linear-gradient(180deg, rgba(236, 238, 235, 0) 0%, var(--cream) 34%);
}
.modal-cta .btn { width: 100%; }

/* ---------- Appointment wizard ---------- */
.booking-wizard[hidden],
.booking-wizard [hidden] { display: none !important; }
.booking-wizard__panel {
  max-width: 820px;
  max-height: min(92dvh, 860px);
}
.booking-wizard__head {
  display: grid;
  gap: 18px;
  padding: 30px clamp(20px, 4vw, 38px) 20px;
  padding-right: 76px;
  border-bottom: 1px solid var(--line-l);
  background: rgba(255, 255, 255, 0.42);
}
.booking-wizard__head h2 {
  font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.booking-wizard__head > div > p:last-child {
  max-width: 54ch;
  margin-top: 8px;
  color: var(--muted-l);
  font-size: 14px;
}
.booking-progress { display: grid; gap: 7px; align-content: end; }
.booking-progress > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.booking-progress > div {
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(16, 26, 29, 0.1);
}
.booking-progress i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: var(--sea-deep);
  transition: width 0.35s var(--ease);
}
.booking-form {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.booking-wizard__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.booking-step {
  padding: clamp(24px, 4vw, 38px);
  animation: bookingStepIn 0.32s var(--ease) both;
}
@keyframes bookingStepIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}
.booking-step__intro {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 24px;
}
.booking-step__intro > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(46, 125, 110, 0.3);
  border-radius: 50%;
  color: var(--sea-deep);
  font-size: 11px;
  font-weight: 800;
}
.booking-step__intro h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.booking-step__intro p { margin-top: 5px; color: var(--muted-l); font-size: 13.5px; }
.booking-options { display: grid; gap: 10px; }
.booking-option {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--line-l);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: border-color 0.22s, background 0.22s, box-shadow 0.22s, transform 0.22s var(--ease);
}
.booking-option:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 125, 110, 0.38);
  background: #fff;
}
.booking-option input { position: absolute; opacity: 0; pointer-events: none; }
.booking-option__mark {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid rgba(16, 26, 29, 0.3);
  border-radius: 50%;
  transition: border-color 0.2s, background 0.2s;
}
.booking-option__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bone);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.booking-option input:checked ~ .booking-option__mark { border-color: var(--sea-deep); background: var(--sea-deep); }
.booking-option input:checked ~ .booking-option__mark::after { transform: scale(1); }
.booking-options--services .booking-option__mark { border-radius: 6px; }
.booking-options--services .booking-option__mark::after {
  content: "✓";
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.booking-option:has(input:checked) {
  border-color: rgba(46, 125, 110, 0.55);
  background: rgba(127, 212, 196, 0.12);
  box-shadow: 0 18px 38px -32px rgba(10, 20, 24, 0.65);
}
.booking-option input:focus-visible ~ .booking-option__mark { box-shadow: 0 0 0 4px rgba(46, 125, 110, 0.18); }
.booking-option strong { display: block; font-size: 14px; line-height: 1.35; }
.booking-option small { display: block; margin-top: 5px; color: var(--muted-l); font-size: 12.5px; line-height: 1.5; }
.booking-option--unsure { border-style: dashed; }
.booking-fields { display: grid; gap: 16px; }
.booking-fields label { display: grid; gap: 7px; }
.booking-fields label > span {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.booking-fields input,
.booking-fields select,
.booking-fields textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line-l);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.booking-fields textarea { min-height: 96px; resize: vertical; }
.booking-fields input:focus,
.booking-fields select:focus,
.booking-fields textarea:focus {
  outline: none;
  border-color: var(--sea-deep);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 125, 110, 0.14);
}
.booking-fields select:disabled { opacity: 0.6; cursor: not-allowed; }
.booking-inline-error,
.booking-error { color: #9e3d32; font-size: 12.5px; font-weight: 700; }
.booking-inline-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(158, 61, 50, 0.08);
}
.booking-suggestions {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(46, 125, 110, 0.22);
  border-radius: 14px;
  background: rgba(127, 212, 196, 0.09);
}
.booking-suggestions > strong {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sea-deep);
}
.booking-suggestions > div { display: grid; gap: 7px; }
.booking-suggestion {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-l);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.booking-suggestion:hover { transform: translateY(-1px); border-color: var(--sea-deep); background: #fff; }
.booking-suggestion strong { font-size: 13px; }
.booking-suggestion small { color: var(--muted-l); font-size: 12px; white-space: nowrap; }
.booking-summary {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-l);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}
.booking-summary > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) 1fr;
  gap: 18px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-l);
}
.booking-summary > div:last-child { border-bottom: none; }
.booking-summary dt { color: var(--muted-l); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.booking-summary dd { font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.booking-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 15px;
  border: 1px solid var(--line-l);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted-l);
  font-size: 12px;
  line-height: 1.6;
}
.booking-consent__icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(46, 125, 110, 0.28);
  border-radius: 50%;
  background: rgba(46, 125, 110, 0.08);
  color: var(--sea-deep);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  font-weight: 800;
}
.booking-consent a { color: var(--sea-deep); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.booking-wizard__foot {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  padding: 14px clamp(20px, 4vw, 38px) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-l);
  background: rgba(236, 238, 235, 0.94);
  backdrop-filter: blur(14px);
}
.booking-wizard__foot > div { display: flex; justify-content: flex-end; gap: 10px; }
.booking-wizard__foot .btn { min-width: 132px; }
.booking-send { background: #1fbd63; color: #fff; }
.booking-send:hover { background: #159c50; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line-l); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--sea-deep);
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; font-size: 14.5px; color: var(--muted-l); }

/* Pricing table */
.price-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.price-table td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-l);
  font-size: 14.5px;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child {
  text-align: right;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Appointment form */
.form { display: grid; gap: 16px; margin-top: 18px; }
.form .btn { margin-top: 4px; }
.form__group { display: grid; gap: 7px; }
.form__group label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-l);
}
.form__group input,
.form__group select,
.form__group textarea {
  font: inherit;
  font-size: 16px;   /* 16px-dən kiçik olsa iOS fokusda səhifəni zoom edir */
  min-height: 48px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-l);
  border-radius: 14px;
  padding: 13px 16px;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--sea-deep);
  box-shadow: 0 0 0 4px rgba(46, 125, 110, 0.2);
}
.form__group textarea { resize: vertical; min-height: 84px; }
.form__hint { font-size: 12.5px; color: var(--muted-l); text-align: center; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .rise, .line__in { opacity: 1; transform: none; }
  /* Slayder dayanır — ilk şəkil sabit qalır */
  .hero__photo img { animation: none !important; opacity: 0; }
  .hero__photo img:first-of-type { opacity: 1; }
}

@media (max-width: 639px) {
  :root {
    --header-h: 72px;
  }

  .brand {
    gap: 9px;
  }

  .brand__sig {
    font-size: 24px;
  }

  .brand__name {
    max-width: 158px;
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  .hero__stats dt {
    font-size: clamp(1.15rem, 5.5vw, 1.45rem);
  }

  .hero__stats dd {
    line-height: 1.35;
  }

  .contact__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact__actions .btn {
    width: 100%;
  }

  .wa-float {
    right: 14px;
    width: 50px;
    height: 50px;
  }

  .booking-wizard__panel { max-height: 96dvh; }
  .booking-wizard__head { gap: 12px; padding-top: 32px; padding-bottom: 16px; }
  .booking-step { padding: 22px 20px 26px; }
  .booking-summary > div { grid-template-columns: 108px 1fr; gap: 12px; padding-inline: 13px; }
  .booking-wizard__foot > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-wizard__foot .btn { min-width: 0; width: 100%; padding-inline: 14px; }
  .booking-wizard__foot > div:has([data-booking-back][hidden]) [data-booking-next] { grid-column: 1 / -1; }

  /* Dar ekranda iş avadanlığı həddən artıq crop olunur; əsas portret sabit qalır. */
  .hero__photo:not(.hero__photo--two) img {
    animation: none;
    opacity: 0;
  }
  .hero__photo:not(.hero__photo--two) img:first-of-type {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* ============================================================
   ≥ 640px
   ============================================================ */
@media (min-width: 640px) {
  .lang--header { display: flex; }
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 840px; }
  .booking-wizard__head { grid-template-columns: 1fr minmax(150px, 0.32fr); align-items: end; }
  .booking-options--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-fields--split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stats > div { padding-right: 20px; }
  .hero__stats > div + div { padding-left: 20px; }
  .why { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .steps li { flex-direction: column; gap: 14px; }
  .quote-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .modal { place-items: center; padding: 28px; }
  .modal__panel { border-radius: 26px; max-height: 84dvh; }
  .modal__panel::before { display: none; }
  .modal-head { padding-top: 32px; }
}

/* ============================================================
   ≥ 992px
   ============================================================ */
@media (min-width: 992px) {
  .burger { display: none; }
  .header__cta { display: inline-flex; padding: 11px 22px; }

  .nav {
    /* relative + z-index: header::before (blur qatı) üstünü örtməsin */
    position: relative;
    inset: auto;
    z-index: 2;
    flex-direction: row;
    align-items: center;
    background: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    transform: none;
    transition: none;
  }
  .nav::after { display: none; }
  .nav__links { flex-direction: row; gap: 4px; border-top: 0; }
  .nav__intro, .nav__phone { display: none; }
  .nav__link {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0;
    min-height: 44px;
    padding: 8px 14px;
    border: none;
    color: var(--muted-d);
    gap: 6px;
    opacity: 1;
    transform: none;
  }
  .nav__link::before, .nav__link::after { display: none; }
  .nav__link:hover { color: var(--bone); padding-left: 14px; }
  .nav__link.is-active {
    color: var(--bone);
    background: rgba(127, 212, 196, 0.09);
    box-shadow: inset 0 0 0 1px rgba(127, 212, 196, 0.12);
    border-radius: 999px;
  }
  .nav__link.is-active::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    min-width: 5px;
    background: var(--sea);
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(127, 212, 196, 0.08);
  }
  .nav__link.is-active span::after { display: none; }
  .nav__link { position: relative; }
  .nav__link sup { font-size: 10px; }
  .nav__foot { display: none; }

  .hero__photo {
    left: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__photo img { filter: saturate(0.96) brightness(0.92) contrast(1.02); }
  .hero__photo img:nth-of-type(1) { object-position: 50% 50%; }
  .hero__photo img:nth-of-type(2) { object-position: 50% 50%; }
  .hero__photo img:nth-of-type(3) { object-position: 58% 50%; }
  .hero__photo::after {
    background:
      linear-gradient(90deg, rgba(10, 20, 24, 0.96) 0%, rgba(10, 20, 24, 0.84) 30%, rgba(10, 20, 24, 0.42) 54%, rgba(10, 20, 24, 0.1) 78%, rgba(10, 20, 24, 0.14) 100%),
      linear-gradient(180deg, rgba(10, 20, 24, 0.58) 0%, rgba(10, 20, 24, 0.02) 24%, rgba(10, 20, 24, 0.03) 68%, rgba(10, 20, 24, 0.88) 100%);
  }

  /* Başlıq dar sütunda qalsın — sağdakı həkim şəklinin üzərinə düşməsin.
     "Dəqiq / diaqnostika, / qayğı ilə." kimi 3 sətrə qırılır (hər 3 dildə).
     Hündürlük şərti: 3 sətir + qalan kontent həmişə ekrana sığsın */
  .hero__title {
    max-width: 7em;
    font-size: clamp(3.5rem, 6.3vw, 5.75rem);
  }
  .hero__cta .btn--big { padding: 17px 32px; font-size: 15.5px; }

  .hero__grid { gap: clamp(36px, 7vh, 72px); }
  .hero__row {
    max-width: 46ch;
  }
  .hero__bottom {
    grid-template-columns: minmax(0, 840px) minmax(260px, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
  }
  .hero__bottom .hero__cta { order: 0; justify-content: flex-end; }

  .about { grid-template-columns: 380px 1fr; gap: 96px; align-items: start; }
  .about__media { position: sticky; top: 110px; }
  .about__cols { grid-template-columns: 1fr 1fr; gap: 28px; }

  .svc { grid-template-columns: 60px 1fr auto; padding: 28px 0; }
  .svc:hover { padding-left: 22px; }
  .svc__go { width: 56px; height: 56px; }

  .why { grid-template-columns: repeat(4, 1fr); gap: 0 40px; }

  .contact { grid-template-columns: 1.15fr 0.85fr; gap: 100px; align-items: start; }

  .footer__inner {
    gap: 28px;
  }
  .footer__main {
    grid-template-columns: minmax(240px, 1.15fr) minmax(260px, 0.9fr) auto;
    gap: clamp(54px, 8vw, 110px);
    align-items: start;
  }
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer__copy { order: -1; }
}
.consent-banner {
  position: fixed;
  z-index: 1200;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 36px);
  width: min(640px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
  color: #f7f4ee;
  background: rgba(10, 20, 24, .97);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px);
}
.consent-banner[hidden] { display: none; }
.consent-banner__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #102126; background: #d6b77a; font-weight: 800; }
.consent-banner__copy strong { display: block; margin-bottom: 5px; font-size: 15px; }
.consent-banner__copy p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 12px; line-height: 1.55; }
.consent-banner__copy a { color: #f1d69e; text-underline-offset: 3px; }
.consent-banner__actions { display: flex; gap: 8px; }
.consent-banner__actions .btn { min-height: 42px; padding: 0 15px; white-space: nowrap; }
.consent-banner__actions .btn--ghost { color: #fff; border-color: rgba(255,255,255,.24); background: transparent; }
.footer__legal button { padding: 0; color: inherit; background: none; border: 0; font: inherit; cursor: pointer; }
.footer__legal button:hover { color: var(--gold, #b99352); }
@media (max-width: 720px) {
  .consent-banner { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 16px; border-radius: 17px; }
  .consent-banner__icon { width: 36px; height: 36px; }
  .consent-banner__actions { grid-column: 1 / -1; }
  .consent-banner__actions .btn { flex: 1; }
}
