/* Til almashtirish: tarjima tugaguncha sahifa yashirin (ruscha matn miltillamasligi uchun).
   Sinfni <head>dagi kichik skript qo'shadi, script.js esa tarjimadan keyin olib tashlaydi. */
html.i18n-pending body {
  visibility: hidden;
}

/* =========================================================
   LUMIDENT — style.css
   MUHIM: qoidalar tartibi ahamiyatli (keyingisi oldingisini bosib o'tadi).
   Qismlar: 1) Shrift  2) Ranglar va umumiy tizim  3) Tuzatishlar
   4) Navbar va bosh sahifa  5) Hero, logo, ijtimoiy tarmoqlar
   6) Xizmat oynasi. Biror qoidani o'chirishdan oldin sahifalarni tekshiring.
   ========================================================= */

/* =========================================================
   SHRIFT — Nunito (yumshoq, yumaloq shakl). Fayllar: fonts/ papkasi.
   Kirill (shu jumladan "ғ", "ў") va lotin harflari uchun alohida fayllar.
   Boshqa shrift kerak bo'lsa: pastdagi --font o'zgaruvchisini almashtiring.
   ========================================================= */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("./fonts/nunito-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("./fonts/nunito-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("./fonts/nunito-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("./fonts/nunito-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0-FF, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
}

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  color: #fff;
}

.logo {
  justify-content: center;
  overflow: hidden;
}

.lokatsiya {
  margin: 0;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.nav-phone:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.social-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-logos a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.social-logos a:hover {
  transform: translateY(-2px);
}

.s-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hamburg {
  width: 46px;
  height: 46px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s;
}

.hamburg span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: #fff;
}

.hamburg.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburg.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburg.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu a {
  border-radius: 10px;
  text-decoration: none;
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu .mobile-phone {
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 0 10px 10px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand p,
.footer-column p {
  line-height: 1.55;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column a {
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
}

.picture-main {
  display: flex;
}

.picture-words {
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
}

.first-word {
  display: flex;
  flex-direction: column;
}

.hello {
  display: flex;
  justify-content: center;
}

.third-part {
  flex-direction: row;
  color: rgb(77, 76, 76);
}

.number-side > div {
  display: flex;
  flex-direction: column;
}

.number-side {
  flex-direction: column;
}

.word-side {
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

.fourth-part {
  color: rgb(77, 76, 76);
}

.lumident-h1 {
  font-size: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h1-matn {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
}

.maqola-card-1 .text-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================================
   TREATMENT SECTION
================================ */

.treatment-section {
  width: 100%;
  padding: 80px 6%;
  box-sizing: border-box;
  background: #fff;
}

.treatment-content {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

/* ================================
   LEFT SIDE
================================ */

.treatment-info {
  min-width: 0;
}

.treatment-title {
  margin: 0 0 24px;
  font-family: var(--font);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #29292d;
}

.treatment-description {
  max-width: 580px;
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: #252525;
}

/* ================================
   STATISTICS
================================ */

.treatment-stats {
  width: 100%;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.treatment-stat {
  min-width: 0;
}

.stat-label {
  min-height: 58px;
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.35;
  color: #202020;
  word-break: normal;
  overflow-wrap: break-word;
}

.stat-number {
  margin-top: 8px;
  font-family: var(--font);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 400;
  line-height: 1;
  color: #29292d;
}

/* ================================
   RIGHT SIDE IMAGES
================================ */

.treatment-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.treatment-image {
  width: 100%;
  border-radius: 3px;
}

.treatment-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Birinchi rasm */

.treatment-image-main {
  aspect-ratio: 0.88 / 1;
}

/* Ikkinchi rasm */

.treatment-image-secondary {
  aspect-ratio: 0.88 / 1;
}

/* =========================================
   STEP 3 — PREVENTION
========================================= */

.prevention-section {
  width: 100%;
  padding: 30px 6% 100px;
  box-sizing: border-box;
  background: #fff;
}

/* =========================================
   MAIN CARD
========================================= */

.prevention-card {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 440px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}

/* =========================================
   BACKGROUND IMAGE
========================================= */

.prevention-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  display: block;
}

/* =========================================
   DARK OVERLAY
========================================= */

.prevention-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  background: rgba(3, 13, 19, 0.86);
  z-index: -1;
}

/*
  Gradient transition from image
  to dark content area
*/

.prevention-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 180px;
  background: linear-gradient(
    to right,
    rgba(3, 13, 19, 0),
    rgba(3, 13, 19, 0.86)
  );
}

/* =========================================
   CONTENT
========================================= */

.prevention-content {
  position: relative;
  width: 47%;
  margin-left: auto;
  min-height: 440px;
  padding: 48px 55px 45px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* =========================================
   TITLE
========================================= */

.prevention-title {
  margin: 0 0 26px;
  font-family: var(--font);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
}

/* =========================================
   TEXT
========================================= */

.prevention-text {
  margin: 0;
  max-width: 560px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
}

/* Birinchi paragraf */

.prevention-text-top {
  margin-bottom: 27px;
}

/* Ikkinchi paragraf */

.prevention-text-bottom {
  margin-top: 0;
}

/* =========================================
   HOVER EFFECT
========================================= */

.prevention-card .prevention-bg {
  transition: transform 0.7s ease;
}

.prevention-card:hover .prevention-bg {
  transform: scale(1.02);
}

.text-2-side p {
  line-height: 1.3;
}

.doctor-card {
  min-height: 420px;
  display: flex;
  flex-direction: row;
  background: #f4f3ef;
  overflow: hidden;
}

/* RASM */

.doctor-image {
  width: 45%;
  min-height: 420px;
  flex-shrink: 0;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* TEXT SIDE */

.doctor-info {
  width: 55%;
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* NUMBER */

.doctor-number {
  font-size: 14px;
  color: #8c8c87;
  letter-spacing: 2px;
}

/* ISM VA KASB */

.doctor-info h3 {
  margin: 35px 0 8px;
  font-weight: 500;
  color: #20201e;
}

.doctor-position {
  margin: 0;
  font-size: 16px;
  color: #777773;
}

/* DESCRIPTION */

.doctor-description {
  max-width: 430px;
  margin: 35px 0;
  color: #62625e;
}

/* PASTKI QISM */

.doctor-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  border-top: 1px solid #d8d7d1;
  color: #777773;
}

/* LINK */

.doctor-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #20201e;
  text-decoration: none;
}

.doctor-link span {
  font-size: 20px;
}

.doctor-link:hover {
  gap: 15px;
}

.doctor-cards-section {
  display: flex;
  flex-direction: column;
}

.article-card {
  justify-content: center;
}

.card-1 {
  width: min(350px, 100%);
}

.card-1 .text-side-article {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: rgb(66, 66, 66);
}

.card-1 .text-side-article p {
  font-size: 20px;
  line-height: 1.3;
}

/* ================================
   PRICE CARDS
================================ */

.price-cards {
  box-sizing: border-box;
}

/* ================================
   CARD
================================ */

.price-card {
  min-width: 0;
  width: 100%;
  padding: 34px 42px 36px;
  box-sizing: border-box;
}

/* ================================
   CARD HOVER
================================ */

/* ================================
   HEADER
================================ */

.price-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  min-height: 50px;
}

/* ================================
   TITLE
================================ */

.price-card__title {
  margin: 0;
  font-family: var(--font);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ================================
   PRICE TITLE
================================ */

.price-card__price-title {
  flex-shrink: 0;
  padding-top: 2px;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

/* ================================
   DIVIDER
================================ */

.price-card__divider {
  width: 100%;
  height: 1px;
  margin: 18px 0 18px;
}

/* ================================
   LIST
================================ */

.price-card__list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ================================
   ITEM
================================ */

.price-card__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 25px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ================================
   SERVICE NAME
================================ */

.price-card__service {
  min-width: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ================================
   PRICE
================================ */

.price-card__cost {
  flex-shrink: 0;
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
}

/* [GALEREYA kollaji — yangi uslub pastda, "GALEREYA-KOLLAJ" bo'limida] */

.advantages,
.advantages *,
.advantages *::before,
.advantages *::after {
  box-sizing: border-box;
}

.advantages {
  width: 100%;
  padding: 60px 20px;
  background: #fff;
  color: #111;
  font-family: var(--font);
}

.advantages h2,
.advantages h3,
.advantages p {
  margin: 0;
  padding: 0;
}

.advantages__inner {
  max-width: 1200px;
  margin: 0 auto;
  container-type: inline-size;
}

/* Sarlavha */

.advantages__heading {
  text-align: center;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(40px, 8cqw, 100px);
}

/* Doiralar joylashadigan maydon */

.advantages__grid {
  position: relative;
  width: 100%;
  margin-top: 10px;
  aspect-ratio: 490 / 444;
}

/* Doira */

.advantages__circle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  aspect-ratio: 1 / 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  background: #fff;
  font-size: max(11px, 1.1cqw);
}

.advantages__circle--1 {
  --x: 0%;
  --y: 5.6%;
  --w: 45.3%;
}

.advantages__circle--2 {
  --x: 45.5%;
  --y: 40.8%;
  --w: 36.5%;
}

.advantages__circle--3 {
  --x: 61.6%;
  --y: 0%;
  --w: 38%;
}

.advantages__circle--4 {
  --x: 8.8%;
  --y: 56.1%;
  --w: 39.8%;
}

/* Doira ichidagi matn bloki */

.advantages__content {
  width: 72%;
  min-width: 0;
  text-align: left;
}

.advantages__head {
  display: flex;
  align-items: flex-start;
  gap: 0.9em;
  margin-bottom: 1.1em;
}

.advantages__num {
  flex: 0 0 auto;
  padding-top: 0.35em;
  font-size: 0.7em;
  line-height: 1;
  white-space: nowrap;
}

.advantages__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 2.1em;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.advantages__text {
  font-size: 1em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.advantages__text + .advantages__text {
  margin-top: 1em;
}

.advantages__text b {
  font-weight: 700;
}

/* "Читать подробнее" havolasi */

.advantages__more {
  left: 56.5%;
  top: 84%;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: #222;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.advantages__more::before {
  content: "+";
  color: #8a5a2b;
  font-size: 1.5em;
  line-height: 1;
}

.advantages__more:hover {
  text-decoration: underline;
}

.doctors,
.doctors *,
.doctors *::before,
.doctors *::after {
  box-sizing: border-box;
}

.doctors {
  width: 100%;
  font-family: var(--font);
}

.doctors h2,
.doctors h3,
.doctors p {
  margin: 0;
  padding: 0;
}

.doctors a {
  text-decoration: none;
}

/* Sarlavha bloki */

.doctors__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.doctors__title {
  color: #fff;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
  text-align: center;
  overflow-wrap: anywhere;
}

/* Asosiy qism */

/* Bo'limlar */

.doctors__tabs {
  display: flex;
  flex-wrap: wrap;
}

.doctors__tab {
  font-family: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.doctors__tab:focus-visible,
.doctors__more:focus-visible,
.doctors__cta:focus-visible {
  outline: 2px solid #2a00b3;
  outline-offset: 2px;
}

/* Kartalar to'ri */

.doctors__body {
  max-width: 1400px;
  margin: 0 auto;
}

.doctors__list {
  display: grid;
}

.doctors__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.doctors__card[hidden] {
  display: none;
}

.doctors__photo {
  width: 100%;
}

.doctors__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doctors__name {
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.doctors__role {
  line-height: 1.3;
}

.doctors__exp {
  line-height: 1.3;
}

.doctors__more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.doctors__more:hover {
  border-color: #4a4a4a;
  color: #fff;
}

.services,
.services *,
.services *::before,
.services *::after {
  box-sizing: border-box;
}

.services {
  width: 100%;
  font-family: var(--font);
}

.services h3,
.services p {
  padding: 0;
}

.services a {
  text-decoration: none;
}

.services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Kartalar to'ri */

.services__list {
  display: grid;
  align-items: stretch;
}

/* Karta */

.services__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Rasm: har qanday o'lcham va formatda bo'lsa ham blokni to'ldiradi */

.services__photo {
  width: 100%;
  background: #e9e9e9;
}

.services__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Sarlavha */

.services__title {
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.services__title-light,
.services__title-bold {
  display: block;
}

.services__title-light {
  font-weight: 300;
}

.services__title-bold {
  font-weight: 600;
}

/* Tavsif */

.services__text {
  overflow-wrap: anywhere;
}

/* Tugma: har doim kartaning pastida turadi */

.services__more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  text-transform: uppercase;
}

.services__more:hover {
  color: #fff;
}

.services__more:focus-visible {
  outline: 2px solid #2a00b3;
  outline-offset: 2px;
}

/* ================================
   NAVBAR + FOOTER RESPONSIVE
================================ */

@media (max-width: 900px) {
  .nav-phone {
    margin-right: 5px;
  }
}

@media (max-width: 600px) {
  .nav-phone {
    overflow: hidden;
  }
  .hamburg {
    flex: 0 0 46px;
  }
}

/* =========================================================
   2-QISM — RANGLAR VA UMUMIY TIZIM
   Qora / grafit / kumush ranglar (--ink, --paper, --muted ...),
   sahifa va shrift asoslari, kontakt, shifokorlar, xizmatlar,
   narxlar va shifokor sahifalari uslublari.
   ========================================================= */

:root {
  --ink: #0b0c0e;
  --graphite: #151719;
  --graphite-2: #1d2024;
  --graphite-3: #282c31;
  --paper: #f5f5f3;
  --white: #ffffff;
  --muted: #a5a9af;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(15, 17, 20, 0.12);
  --accent: #d7d9dc;
  --accent-strong: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  --radius: 22px;
  --container: 1240px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.main-nav {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lokatsiya p strong {
  font-weight: 700;
}

.social-logos a,
.hamburg {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}

.social-logos a:hover,
.hamburg:hover {
  background: rgba(255, 255, 255, 0.13);
}

.site-footer {
  margin-top: 0;
  background: #090a0c;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  width: min(var(--container), calc(100% - 40px));
  padding: 76px 0 54px;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: clamp(34px, 6vw, 90px);
}

.footer-kicker {
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-brand {
  gap: 10px;
  max-width: 390px;
}

.footer-brand p,
.footer-column p {
  color: #9ea3aa;
}

.footer-column {
  gap: 8px;
}

.footer-column h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-column a {
  color: #b8bcc1;
}

.footer-phone {
  color: #fff !important;
  font-size: 19px !important;
  font-weight: 700;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.footer-socials a {
  color: #a8adb3;
  font-size: 13.5px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 10px;
  border-radius: 999px;
}

.footer-map-link {
  color: #fff !important;
  margin-top: 6px;
}

.footer-bottom {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-bottom p,
.footer-bottom span {
  color: #70757b;
  font-size: 13px;
}

/* Shared section headings */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9ea3aa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* Contact page */

.contact-hero {
  background: #fff;
  color: #0b0c0e;
  padding: clamp(70px, 10vw, 130px) 20px clamp(58px, 8vw, 92px);
}

.contact-hero__inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.contact-hero h1 {
  margin: 18px 0 0;
  max-width: 850px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.contact-hero h1 span {
  color: #0b0c0e;
}

.contact-hero p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #0b0c0e;
  font-size: clamp(14px, 1.7vw, 17px);
}

.contact-section {
  padding: clamp(30px, 6vw, 72px) 20px 90px;
}

.contact-grid {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
}

.contact-info-card,
.contact-map-card {
  background: #151719;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-info-card {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}

.contact-card-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.contact-card-heading h2 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-card-heading p {
  margin: 0;
  font-size: 14px;
}

.contact-items {
  margin-top: 28px;
}

.contact-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.contact-item:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
}

.contact-item small {
  display: block;
  margin-bottom: 4px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.contact-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.button--light {
  background: #fff;
  color: #0b0c0e;
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.contact-map-card {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.map-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  background: rgba(10, 11, 13, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.map-label span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #fff;
}

.contact-map {
  width: 100%;
  flex: 1;
  min-height: 520px;
  border: 0;
  filter: grayscale(0.55) contrast(1.03);
}

.map-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: #111315;
}

.map-bottom strong {
  display: block;
  font-size: 15px;
}

.map-bottom span {
  display: block;
  margin-top: 3px;
  color: #858a91;
  font-size: 13.5px;
}

.yandex-go-button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 11px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
}

.yandex-go-button span {
  color: #111;
  font-size: 18px;
  margin: 0;
}

/* Doctors */

.doctors {
  background: #ececea !important;
  color: #111 !important;
}

.doctors__hero {
  min-height: 330px !important;
  background: #0b0c0e !important;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42)),
    url("./images/hero.jpg") !important;
  background-position: center !important;
}

.doctors__title {
  font-weight: 700 !important;
  letter-spacing: -0.045em;
  text-transform: none !important;
}

.doctors__body {
  width: min(var(--container), calc(100% - 40px));
  padding: 58px 0 84px !important;
}

.doctors__tabs {
  justify-content: flex-start !important;
  gap: 8px !important;
}

.doctors__tab {
  min-height: 44px !important;
  padding: 10px 17px !important;
  border: 1px solid #d5d6d4 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #202225 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.doctors__tab:hover,
.doctors__tab.is-active {
  background: #111315 !important;
  color: #fff !important;
  border-color: #111315 !important;
}

.doctors__list {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 24px !important;
}

.doctors__card {
  margin: 0 !important;
  padding: 12px 12px 18px !important;
  min-height: 100%;
  background: #fff !important;
  border: 1px solid #dedfdd;
  border-radius: 20px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.doctors__photo {
  aspect-ratio: 4/4.8 !important;
  border-radius: 14px !important;
  background: #dfe0de !important;
}

.doctors__name {
  margin-top: 17px !important;
  padding: 0 4px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: -0.025em;
}

.doctors__role {
  margin-top: 5px !important;
  padding: 0 4px !important;
  color: #575b60;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.doctors__exp {
  margin-top: 8px !important;
  padding: 0 4px !important;
  color: #8b8f94 !important;
  font-size: 13.5px !important;
}

.doctors__more {
  min-height: 44px !important;
  margin: 17px 4px 0 !important;
  border: 1px solid #16181a !important;
  border-radius: 11px !important;
  background: #111315 !important;
  color: #fff !important;
  font-size: 13px !important;
  letter-spacing: 0.08em;
}

.doctors__more:hover {
  background: #2a2d31 !important;
}

/* Services */

.services {
  background: #ececea !important;
  color: #111 !important;
  padding: 64px 20px 88px !important;
}

.services__inner {
  width: min(var(--container), 100%);
}

.services__list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.services__card {
  padding: 12px 12px 18px;
  background: #fff;
  border: 1px solid #dedfdd;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
}

.services__photo {
  aspect-ratio: 16/10 !important;
  border-radius: 13px;
}

.services__title {
  margin: 18px 4px 0 !important;
  letter-spacing: -0.025em;
}

.services__text {
  margin: 10px 4px 0 !important;
  color: #64686d !important;
}

.services__more {
  margin: 17px 4px 0 !important;
  border: 1px solid #16181a !important;
  border-radius: 11px !important;
  background: #111315 !important;
  color: #fff !important;
}

.services__more:hover {
  background: #2a2d31 !important;
}

/* Price cards */

.price-cards {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  background: #fff !important;
  border: 1px solid #dedfdd !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.price-card__header {
  padding: 24px 24px 18px !important;
}

.price-card__title {
  color: #111315 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
}

.price-card__price-title {
  color: #8a8f94 !important;
  font-size: 13px !important;
}

.price-card__divider {
  background: #e4e5e3 !important;
}

.price-card__item {
  padding: 18px 24px !important;
  border-bottom-color: #ececea !important;
}

.price-card__service {
  color: #50545a !important;
  font-size: 13px !important;
}

.price-card__cost {
  color: #111315 !important;
  font-size: 14px !important;
  white-space: nowrap;
}

.hello {
  text-align: center;
}

.main-p-bottom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
}

/* Detail pages */

.doctor-detail-page {
  background: #ececea;
}

.doctor-detail {
  padding: 70px 20px 90px;
}

.doctor-detail__wrap {
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.doctor-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #656a70;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
}

.doctor-detail__back:hover {
  color: #111;
}

.doctor-detail__hero {
  margin-top: 25px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
}

.doctor-detail__photo {
  min-height: 560px;
  overflow: hidden;
  border-radius: 24px;
  background: #d9dad8;
  box-shadow: var(--shadow);
}

.doctor-detail__photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.doctor-detail__content {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 24px;
}

.doctor-detail__label {
  color: #858b92;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doctor-detail__content h1 {
  margin: 10px 0 6px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.doctor-detail__position {
  font-size: 15px;
}

.doctor-detail__intro {
  margin: 30px 0 0;
  max-width: 650px;
  font-size: 15px;
  line-height: 1.8;
}

.doctor-detail__facts {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
}

.doctor-detail__fact {
  padding: 17px;
}

.doctor-detail__fact small {
  display: block;
  color: #747a81;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doctor-detail__fact strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.doctor-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.doctor-detail__body {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.doctor-detail__section {
  padding: 30px;
  border: 1px solid #dedfdd;
  border-radius: 20px;
  background: #fff;
}

.doctor-detail__section h2 {
  margin: 0 0 18px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.doctor-detail__section p {
  margin: 0;
  color: #62676d;
  font-size: 14px;
  line-height: 1.75;
}

.doctor-detail__section ul {
  margin: 0;
  padding-left: 18px;
  color: #62676d;
  font-size: 14px;
  line-height: 1.9;
}

/* Index existing sections — keep the editorial structure but bring it into the dark system. */

.lumident-h1 h1,
.advantages__heading,
.doctor-cards-section h1 {
  letter-spacing: -0.04em !important;
}

.doctor-card,
.article-card,
.prevention-card,
.treatment-section,
.advantages__circle {
  border-radius: 20px !important;
}

@media (max-width: 1024px) {
  .doctors__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .contact-grid,
  .doctor-detail__hero {
    grid-template-columns: 1fr;
  }
  .contact-map-card {
    min-height: 560px;
  }
  .doctor-detail__photo,
  .doctor-detail__photo img {
    min-height: 500px;
  }
  .doctor-detail__body {
    grid-template-columns: 1fr;
  }
  .price-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-phone {
    max-width: 180px;
  }
  .nav-phone small {
    display: none;
  }
  .social-logos {
    display: none;
  }
  .hamburg {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .contact-hero {
    padding-top: 64px;
    padding-bottom: 58px;
  }
  .contact-hero h1 {
    font-size: clamp(42px, 12vw, 68px);
  }
  .contact-grid {
    width: 100%;
  }
  .contact-info-card {
    padding: 24px 20px;
  }
  .contact-map-card {
    min-height: 480px;
    border-radius: 18px;
  }
  .contact-map {
    min-height: 390px;
  }
  .map-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 17px;
  }
  .yandex-go-button {
    width: 100%;
    justify-content: center;
  }
  .doctors__body {
    width: calc(100% - 28px);
    padding: 38px 0 60px !important;
  }
  .doctors__list {
    grid-template-columns: 1fr !important;
  }
  .doctors__tabs {
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .doctors__tabs::-webkit-scrollbar {
    display: none;
  }
  .services {
    padding: 44px 14px 60px !important;
  }
  .services__list {
    grid-template-columns: 1fr !important;
  }
  .price-cards {
    width: calc(100% - 28px);
    padding-top: 42px;
  }
  .doctor-detail {
    padding: 42px 14px 60px;
  }
  .doctor-detail__hero {
    gap: 14px;
  }
  .doctor-detail__photo {
    min-height: 390px;
    border-radius: 18px;
  }
  .doctor-detail__photo img {
    min-height: 390px;
  }
  .doctor-detail__content {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .doctor-detail__facts {
    grid-template-columns: 1fr;
  }
  .doctor-detail__body {
    gap: 14px;
  }
  .doctor-detail__section {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .footer-inner {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    padding: 52px 0 38px;
    gap: 34px;
  }
  .footer-bottom {
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 390px) {
  .contact-hero h1 {
    font-size: 40px;
  }
  .contact-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =========================================================
   3-QISM — TUZATISHLAR
   Footer xaritasi, doiralar, kontakt kartasi, xizmat kartalari,
   shifokor sahifasi matnlari, sahifa aylantirilgandagi animatsiya.
========================================================= */

/* Footer map — appears directly below footer content */

.footer-map {
  width: 100%;
  background: #0e1012;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map__header {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-map__header > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-map__eyebrow {
  color: #7f858c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.footer-map__header strong {
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.footer-map__header span:last-child {
  color: #969ca3;
  font-size: 14px;
}

.footer-map__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.footer-map__link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.footer-map__iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(0.55) contrast(1.03);
}

/* Keep the four advantage blocks truly circular. */

.advantages__circle {
  border-radius: 50% !important;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease,
    background-color 0.3s ease;
}

.advantages__circle:hover {
  transform: translateY(-7px) scale(1.015);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.13);
}

/* The LUMIDENT title strip should be clean, not a heavy black box. */

.lumident-h1 {
  background: #f5f5f3 !important;
  color: #17191c !important;
  border-top: 1px solid #dedfdd;
  border-bottom: 1px solid #dedfdd;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
}

/* Stronger, cleaner typography on the main page. */

.first-word h3,
.word-side h3 {
  color: #4b5056 !important;
}

/* Doctor detail content: force readable white typography + shadow. */

.doctor-detail__content {
  background: #111315 !important;
  color: #fff !important;
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.2) !important;
}

.doctor-detail__content h1,
.doctor-detail__content .doctor-detail__position,
.doctor-detail__content .doctor-detail__intro,
.doctor-detail__content .doctor-detail__fact strong,
.doctor-detail__content .button--outline {
  color: #fff !important;
}

.doctor-detail__content .doctor-detail__intro {
  color: #d7dade !important;
}

.doctor-detail__content .doctor-detail__position {
  color: #c3c7cc !important;
}

.doctor-detail__content .doctor-detail__fact {
  background: #181a1d !important;
}

/* Contact information card: light surface, dark text, elevated shadow. */

.contact-info-card {
  background: #fff !important;
  color: #111315 !important;
  border-color: #dedfdd !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.13) !important;
}

.contact-info-card .contact-card-kicker {
  color: #666b71 !important;
}

.contact-info-card .contact-card-heading h2 {
  color: #111315 !important;
}

.contact-info-card .contact-card-heading p {
  color: #62676d !important;
}

.contact-info-card .contact-item {
  border-color: #e2e3e1 !important;
  color: #111315 !important;
}

.contact-info-card .contact-item small {
  color: #777d83 !important;
}

.contact-info-card .contact-item strong {
  color: #17191c !important;
}

.contact-info-card .contact-icon {
  color: #22252a !important;
  border-color: #d9dad8 !important;
}

.contact-info-card .button--light {
  background: #111315 !important;
  color: #fff !important;
}

.contact-info-card .button--outline {
  color: #111315 !important;
  border-color: #cfd1cf !important;
}

.contact-info-card .button--outline:hover {
  background: #f0f1ef !important;
}

/* Services cards: larger readable text and aligned buttons. */

.services__card {
  min-height: 100%;
}

.services__card:hover {
  border-color: #cfd1cf;
}

.services__title {
  font-size: 21px !important;
  line-height: 1.2 !important;
}

.services__text {
  font-size: 15.5px !important;
  line-height: 1.65 !important;
}

.services__more {
  min-height: 52px !important;
  margin-top: 22px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.07em;
}

/* Desktop text sizing requested for doctors / navbar / footer. */

@media (min-width: 1025px) {
  .doctors__name {
    font-size: 21px !important;
  }
  .doctors__role {
    font-size: 15px !important;
  }
  .doctors__exp {
    font-size: 14px !important;
  }
  .doctors__more {
    font-size: 13px !important;
    min-height: 50px !important;
  }
  .footer-brand p,
  .footer-column p {
    font-size: 16px !important;
  }
  .footer-column h3 {
    font-size: 16px !important;
  }
  .footer-column a {
    font-size: 16px !important;
  }
  .footer-socials a {
    font-size: 13px !important;
  }
  .footer-bottom p,
  .footer-bottom span {
    font-size: 13px !important;
  }
}

/* Scroll-reveal: text and content animate as they enter the viewport. */

.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service modal */

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease,
    visibility 0.28s ease;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.76);
  backdrop-filter: blur(8px);
}

.service-modal__dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #111315;
  color: #fff;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-modal.is-open .service-modal__dialog {
  transform: translateY(0) scale(1);
}

.service-modal__close {
  position: absolute;
  top: 15px;
  right: 17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease,
    background 0.2s ease;
}

.service-modal__close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.13);
}

.service-modal__eyebrow {
  color: #969ca3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-modal__title {
  margin: 12px 50px 18px 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.service-modal__body {
  color: #c9cdd2;
  font-size: 16px;
  line-height: 1.75;
}

.service-modal__body p {
  margin: 0 0 14px;
}

.service-modal__body ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-modal__body li {
  margin: 7px 0;
}

.service-modal__action {
  margin-top: 28px;
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #fff;
  color: #111315;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-modal__action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

body.modal-open {
  overflow: hidden;
}

/* Accessibility: preserve reduced-motion preference after the animation layer. */

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .reveal-item.is-visible,
  .service-modal__dialog,
  .advantages__circle,
  .services__card,
  .services__more,
  .footer-map__link {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}

/* =========================================================
   4-QISM — NAVBAR, BOSH SAHIFA, MOSLASHUVCHANLIK
   Yuqori menyu, tugmalar, kartalar, footer, sahifa sarlavhasi,
   bosh sahifa bo'limlari (hero, raqamlar, galereya, doiralar,
   "Как мы работаем", shifokorlar) va telefon/planshet moslashuvi.
   ========================================================= */

:root {
  --nav-h: 84px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
  --wrap: min(var(--container, 1240px), calc(100% - 40px));
}

html {
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--paper);
}

body {
  padding-top: var(--nav-h);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
body * {
  font-family: var(--font);
}

img {
  height: auto;
}

::selection {
  background: #14161a;
  color: #fff;
}

:focus-visible {
  outline: 2px solid #8fb4ff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- NAVBAR ---------- */

.main-nav {
  height: var(--nav-h);
  min-height: 0;
  padding: 0 clamp(16px, 3.2vw, 44px);
  gap: clamp(14px, 2vw, 28px);
  background: radial-gradient(
      120% 160% at 8% -40%,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(115deg, #040405 0%, #0d0f12 38%, #1b1e23 72%, #08090b 100%);
  border-bottom: 0;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
  overflow: visible;
  transition: height 0.35s var(--ease),
    box-shadow 0.35s ease,
    background-position 0.6s ease;
}

.main-nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 10%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.05) 90%,
    transparent 100%
  );
  pointer-events: none;
}

.main-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: navSweep 9s ease-in-out 1.5s infinite;
  pointer-events: none;
}

@keyframes navSweep {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.main-nav.is-scrolled {
  height: 68px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.main-nav .logo {
  width: auto;
  flex: 0 0 auto;
  border: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    height 0.35s var(--ease);
}

.main-nav .logo img {
  object-fit: contain;
  display: block;
}

.main-nav .logo:hover {
  transform: translateY(-2px) scale(1.03);
}

.main-nav .lokatsiya {
  flex: 0 1 auto;
  max-width: 230px;
  display: none;
  position: relative;
  z-index: 1;
}

.main-nav .lokatsiya p {
  color: #b9bec5;
  font-size: 13.5px;
  line-height: 1.4;
}

.main-nav .lokatsiya strong {
  display: block;
  color: #fff;
  font-size: 14.5px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.nav-links a {
  position: relative;
  padding: 10px 15px;
  border-radius: 10px;
  color: #c9cdd3;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.25s ease,
    background 0.25s ease,
    transform 0.25s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, #8d949c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a.is-current::after {
  transform: scaleX(1);
}

.nav-links a.is-current {
  color: #fff;
}

.main-nav .nav-phone {
  position: relative;
  z-index: 1;
  padding: 8px 18px;
  gap: 1px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.3s var(--ease),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.main-nav .nav-phone span {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.main-nav .nav-phone small {
  font-size: 12.5px;
  color: #aab0b7;
}

.main-nav .nav-phone:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.06)
  );
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.main-nav .social-logos {
  position: relative;
  z-index: 1;
}

.main-nav .social-logos a {
  transition: transform 0.3s var(--ease),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.main-nav .social-logos a:hover {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.main-nav .hamburg {
  position: relative;
  z-index: 1;
}

.main-nav .hamburg span {
  transition: transform 0.3s var(--ease),
    opacity 0.2s ease;
}

.main-nav .mobile-menu {
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 20px;
  background: linear-gradient(160deg, #0a0b0d 0%, #16181c 60%, #23272d 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.main-nav .mobile-menu a {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #e4e7eb;
  transition: background 0.25s ease,
    transform 0.25s var(--ease),
    color 0.25s;
}

.main-nav .mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(5px);
  color: #fff;
}

.main-nav .mobile-menu a.is-current {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.main-nav .mobile-menu .mobile-phone {
  color: #fff;
  font-weight: 800;
}

@media (min-width: 1101px) {
  .nav-links {
    display: flex;
  }
  .main-nav .hamburg,
  .main-nav .mobile-menu {
    display: none;
  }
}

@media (max-width: 1100px) {
  .main-nav .nav-phone {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .main-nav .lokatsiya {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 72px;
  }
  .main-nav {
    padding: 0 14px;
    gap: 10px;
  }
  .main-nav .nav-phone {
    max-width: none;
    padding: 7px 12px;
  }
  .main-nav .nav-phone span {
    font-size: 14.5px;
  }
  .main-nav .nav-phone small {
    display: none;
  }
  .main-nav .social-logos {
    display: none;
  }
  .main-nav .mobile-menu {
    left: 14px;
    width: auto;
  }
}

/* ---------- BUTTONS & HOVER ---------- */

.main-p-bottom,
.button,
.services__more,
.doctors__more,
.advantages__more,
.yandex-go-button,
.footer-map__link,
.doctor-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease),
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.main-p-bottom::before,
.services__more::before,
.doctors__more::before,
.button--light::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.main-p-bottom:hover::before,
.services__more:hover::before,
.doctors__more:hover::before,
.button--light:hover::before {
  transform: translateX(130%);
}

.main-p-bottom:hover,
.services__more:hover,
.doctors__more:hover,
.button:hover,
.yandex-go-button:hover,
.advantages__more:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.main-p-bottom:active,
.services__more:active,
.doctors__more:active,
.button:active {
  transform: translateY(-1px);
}

.main-p-bottom {
  min-height: 56px;
  padding: 0 34px;
  font-size: 14px;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #060607, #23262b) !important;
}

.doctor-link span,
.yandex-go-button span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.doctor-link:hover span,
.yandex-go-button:hover span {
  transform: translate(4px, -3px);
}

/* cards */

.services__card,
.doctors__card,
.price-card,
.contact-info-card,
.contact-item,
.doctor-card,
.treatment-stat,
.doctor-detail__section,
.card-1,
.prevention-card,
.treatment-image {
  transition: transform 0.4s var(--ease),
    box-shadow 0.4s ease;
}

.services__card:hover,
.doctors__card:hover,
.price-card:hover,
.doctor-detail__section:hover,
.card-1:hover,
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 56px rgba(8, 10, 14, 0.16);
}

.services__photo,
.doctors__photo,
.card-image,
.doctor-image,
.treatment-image {
  overflow: hidden;
}

.services__photo img,
.doctors__photo img,
.card-image img,
.doctor-image img,
.treatment-image img {
  transition: transform 0.9s var(--ease);
}

.services__card:hover .services__photo img,
.doctors__card:hover .doctors__photo img,
.card-1:hover .card-image img,
.doctor-card:hover .doctor-image img,
.treatment-image:hover img {
  transform: scale(1.06);
}

.price-card__item {
  transition: transform 0.25s var(--ease),
    background 0.25s ease;
  border-radius: 8px;
}

.price-card__item:hover {
  transform: translateX(6px);
}

.contact-item:hover {
  transform: translateX(6px);
}

.doctors__tab {
  transition: transform 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease !important;
}

.doctors__tab:hover {
  transform: translateY(-2px);
}

/* footer links */

.footer-column a,
.footer-socials a {
  transition: color 0.25s ease,
    transform 0.25s var(--ease),
    background 0.25s ease,
    border-color 0.25s ease;
}

.footer-column a:hover {
  transform: translateX(6px);
  color: #fff;
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.site-footer .footer-logo {
  width: auto;
  overflow: hidden;
  display: inline-flex;
}

.site-footer .footer-logo img {
  object-fit: contain;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  font-size: 16px;
}

/* ---------- PAGE HEAD (services / prices) ---------- */

.page-head {
  background: radial-gradient(
      90% 140% at 15% -30%,
      rgba(255, 255, 255, 0.12),
      transparent 60%
    ),
    linear-gradient(120deg, #050506 0%, #14171b 55%, #23272d 100%);
  color: #fff;
}

.page-head__inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 86px) 0;
}

.page-head h1 {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.page-head p {
  margin-top: 14px;
  max-width: 620px;
  color: #c3c8ce;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}

/* ---------- HOME: hero ---------- */

.first-word {
  height: auto;
  margin: 0;
  gap: 14px;
  padding: clamp(36px, 5.5vw, 84px)
    max(20px, calc((100% - var(--container, 1240px)) / 2))
    clamp(28px, 4vw, 56px);
}

.first-word h1 {
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  background: linear-gradient(
    100deg,
    #0b0c0e 0%,
    #3b4046 30%,
    #0b0c0e 55%,
    #4a5057 80%,
    #0b0c0e 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: silverFlow 9s ease-in-out infinite alternate;
}

@keyframes silverFlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

.first-word h3 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  max-width: 640px;
  line-height: 1.5;
}

.picture-main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: auto;
  min-height: clamp(540px, 60vw, 780px);
  align-items: flex-end;
}

.picture-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  animation: heroDrift 26s ease-in-out infinite alternate;
}

.picture-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

@keyframes heroDrift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.12) translateX(-1.5%);
  }
}

.picture-words {
  width: 100%;
  gap: 20px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55),
    0 2px 18px rgba(0, 0, 0, 0.45);
}

.picture-values {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 30px;
}

.picture-values > p {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #eef0f2;
  margin: 0;
  transition: transform 0.3s var(--ease),
    color 0.3s;
}

.picture-values > p:hover {
  transform: translateX(8px);
  color: #fff;
}

.picture-words .some-words {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  text-align: left;
}

.picture-words .some-words > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picture-words .some-words p {
  font-size: 12.5px;
  line-height: 1.4;
  color: #eef0f2;
  letter-spacing: 0.04em;
  margin: 0;
  order: 1;
}

.picture-words .stat-num {
  order: 2;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

@media (max-width: 560px) {
  .picture-words .some-words {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .picture-words .some-words > div {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
  }
  .picture-words .some-words p {
    order: 0;
  }
  .picture-words .stat-num {
    order: 1;
    font-size: 24px;
    white-space: nowrap;
  }
}

.hello {
  width: var(--wrap);
  margin: clamp(30px, 5vw, 64px) auto;
}

/* ---------- HOME: numbers + about ---------- */

.third-part {
  height: auto;
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 60px) 0 clamp(40px, 6vw, 90px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  justify-content: stretch;
}

.number-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px clamp(18px, 3vw, 40px);
}

.number-side > div {
  padding-top: 16px;
  gap: 8px;
  border-top: 1px solid #cfd1d4;
  transition: border-color 0.3s ease,
    transform 0.4s var(--ease);
}

.number-side > div:hover {
  border-color: #15171a;
  transform: translateY(-4px);
}

.number-side > div:last-child {
  grid-column: 1 / -1;
}

.number-side .stat-num {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #16181b;
}

.number-side p {
  font-size: 15px;
  line-height: 1.5;
  color: #555b62;
}

.word-side {
  gap: 22px;
  min-width: 0;
}

.word-side h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #16181b;
}

.word-side h3 {
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.6;
  font-weight: 600;
}

.word-side > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.word-side > div p {
  font-size: 16px;
  line-height: 1.7;
  color: #4b5056;
}

.fourth-part {
  width: var(--wrap);
  margin: 0 auto;
  padding: 10px 0 clamp(20px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
}

.fourth-part > div:first-child p {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #5a6067;
}

.fourth-part h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #16181b;
}

.fourth-part > div:last-child {
  max-width: 470px;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5056;
}

/* gallery */

.photo-collage__item img {
  transition: transform 0.9s var(--ease),
    filter 0.5s ease;
}

.photo-collage__item:hover img {
  transform: scale(1.07);
}

/* ---------- HOME: big wordmark ---------- */

.lumident-h1 {
  padding: clamp(34px, 6vw, 78px) 20px;
  text-align: center;
  gap: 0;
  overflow: hidden;
}

.lumident-h1__line {
  display: block;
  font-size: clamp(34px, 8.4vw, 112px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(100deg, #0b0c0e 0%, #4a5057 40%, #0b0c0e 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: silverFlow 8s ease-in-out infinite alternate;
}

.lumident-h1__line + .lumident-h1__line {
  font-size: clamp(38px, 9.6vw, 128px);
}

.h1-matn {
  margin: clamp(46px, 7vw, 90px) auto 10px;
  width: var(--wrap);
  text-align: center;
  gap: 8px;
}

.h1-matn p {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #5a6067;
}

.h1-matn h2 {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #16181b;
  position: relative;
  padding-bottom: 18px;
}

.h1-matn h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 3px;
  width: 72px;
  margin-left: -36px;
  border-radius: 3px;
  background: linear-gradient(90deg, #0b0c0e, #8d949c);
  transform: scaleX(0);
  transition: transform 0.9s var(--ease) 0.3s;
}

.h1-matn h2.is-visible::after {
  transform: scaleX(1);
}

/* how we work */

.maqola-part {
  display: block;
}

.maqola-card-1 {
  height: auto;
  width: var(--wrap);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

.maqola-card-1 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.maqola-card-1 .text-side h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.maqola-card-1 .text-side p {
  font-size: 17px;
  line-height: 1.7;
  color: #454a50;
}

.treatment-content {
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
}

.stat-label {
  font-size: 13.5px;
}

/* doctors block on home */

.text-2-side {
  width: var(--wrap);
  margin: clamp(40px, 6vw, 80px) auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
  padding: 0;
  height: auto;
}

.text-2-side > div p {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #5a6067;
}

.text-2-side > div h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: #16181b;
}

.article-card {
  width: var(--wrap);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  height: auto;
}

.card-1 {
  display: flex;
  flex-direction: column;
  height: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(12, 14, 18, 0.08);
}

.card-image {
  width: 100%;
  height: auto;
}

.card-image img {
  width: 100%;
  height: clamp(190px, 20vw, 260px);
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.text-side-article {
  padding: 24px 24px 30px;
}

.text-side-article .card-kicker {
  letter-spacing: 0.08em;
  color: #6a7078;
}

.text-side-article h3 {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #16181b;
}

.text-side-article p:last-child {
  font-size: 15.5px;
  line-height: 1.65;
  color: #4b5056;
}

@media (max-width: 1024px) {
  .article-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- responsive: home ---------- */

@media (max-width: 1024px) {
  .treatment-content {
    grid-template-columns: 1fr;
  }
  .treatment-images {
    max-width: 560px;
  }
  .maqola-card-1 {
    grid-template-columns: 1fr;
  }
  .third-part {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .word-side > div {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .number-side {
    gap: 22px 16px;
  }
  .fourth-part,
  .text-2-side {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .treatment-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-label {
    min-height: 0;
  }
  .treatment-images {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* ---------- other pages: responsive fixes ---------- */

.price-card__header {
  flex-wrap: wrap;
  gap: 6px 16px;
}

.price-card__title {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 720px) {
  .doctors__tabs {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    overflow: visible !important;
  }
  .doctors__tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 400px) {
  .price-card__item {
    column-gap: 12px;
  }
}

/* ---------- motion ---------- */

.reveal-item {
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .main-nav::after,
  .first-word h1,
  .lumident-h1__line,
  .picture-main::before {
    animation: none !important;
  }
  .h1-matn h2::after {
    transform: scaleX(1);
    transition: none;
  }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

.reveal-item.reveal-item {
  transition: opacity 0.75s ease,
    transform 0.75s var(--ease),
    box-shadow 0.4s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

/* featured doctors (home) — fluid stagger instead of negative margins */

.doctor-cards-section {
  width: var(--wrap);
  margin: 0 auto;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

.doctor-cards-section .h1-side {
  margin-bottom: 6px;
}

.doctor-cards-section .h1-side h2 {
  line-height: 1.1;
}

.doctor-cards-section .doctor-card-1,
.doctor-cards-section .doctor-card-2 {
  margin: 0;
  width: 100%;
  display: flex;
}

.doctor-cards-section .doctor-card-1 {
  justify-content: flex-start;
}

.doctor-cards-section .doctor-card-2 {
  justify-content: flex-end;
}

.doctor-card {
  width: 100%;
  max-width: 900px;
}

.doctor-info {
  flex: 1 1 auto;
  min-width: 0;
}

.doctor-info h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
}

.doctor-description {
  font-size: 15.5px;
  line-height: 1.6;
}

.doctor-bottom {
  font-size: 15px;
}

@media (max-width: 800px) {
  .doctor-card {
    flex-direction: column;
    min-height: 0;
    border-radius: 20px !important;
  }
  .doctor-cards-section .doctor-card-2 .doctor-card {
    flex-direction: column-reverse;
  }
  .doctor-image {
    width: 100%;
    min-height: 0;
    height: 300px;
  }
  .doctor-info {
    padding: 26px 22px 28px;
  }
}

/* ---------- Qo'shimcha takomillashtirishlar ---------- */

.main-p-bottom {
  border: 0;
}

.team-points {
  list-style: none;
  max-width: 520px;
  display: grid;
  gap: 10px;
}

.team-points li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.55;
  color: #3f444a;
  transition: transform 0.3s var(--ease),
    color 0.3s;
}

.team-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 2px;
  background: #16181b;
  transition: width 0.3s var(--ease);
}

.team-points li:hover {
  transform: translateX(6px);
  color: #0b0c0e;
}

.team-points li:hover::before {
  width: 16px;
}

.doctor-cards-section .h1-side h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #4b5056;
  text-align: left;
}

.doctor-cards-section .h1-side {
  text-align: left;
}

/* advantages: circles on desktop, stacked rounded cards on tablets/phones */

.advantages__more {
  font-size: 14px;
}

@media (max-width: 900px) {
  .advantages__grid {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .advantages__circle {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    aspect-ratio: auto;
    padding: 28px 22px;
    border-radius: 26px !important;
    font-size: 15px;
  }
  .advantages__content {
    width: 100%;
  }
  .advantages__title {
    font-size: 20px;
  }
  .advantages__text {
    font-size: 15px;
    line-height: 1.6;
  }
  .advantages__num {
    font-size: 14px;
  }
  .advantages__more {
    position: static;
    justify-self: start;
  }
}

/* mobile fixes: featured doctors, prevention card, compact phone button */

@media (max-width: 800px) {
  .doctor-info {
    width: 100%;
  }
  .doctor-info h3 {
    margin-top: 22px;
  }
  .doctor-description {
    margin: 20px 0 24px;
  }
  .doctor-bottom {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .prevention-section {
    padding-left: 14px;
    padding-right: 14px;
  }
  .prevention-card {
    min-height: 0;
  }
  .prevention-content {
    width: 100%;
    margin-left: 0;
    min-height: 0;
    padding: 200px 22px 30px;
  }
  .prevention-title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .prevention-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .main-nav .nav-phone {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
  }
  .main-nav .nav-phone span {
    font-size: 0;
    line-height: 0;
  }
  .main-nav .nav-phone span::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: no-repeat center / contain
          url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/></svg>");
  }
}

/* =========================================================
   5-QISM — HERO RASMI, NAVBAR MARKAZLASHUVI, LOGO, IJTIMOIY TARMOQLAR
   ========================================================= */

:root {
  --nav-container: 1240px;
  --nav-pad: max(
    clamp(16px, 3.2vw, 44px),
    calc((100% - var(--nav-container)) / 2)
  );
}

/* ---------- 1) HERO: image no longer edge-to-edge ---------- */

.picture-main {
  width: var(--wrap);
  margin: 0 auto clamp(28px, 4vw, 56px);
  border-radius: clamp(18px, 2.4vw, 32px);
  padding: clamp(16px, 3.4vw, 56px);
  background: linear-gradient(135deg, #0b0c0e 0%, #14213d 100%);
  box-shadow: 0 30px 70px rgba(10, 14, 22, 0.22);
}

.picture-main::before {
  background: url(./images/hero.jpg) center / cover no-repeat,
    linear-gradient(135deg, #0b0c0e 0%, #14213d 100%);
}

/* ---------- 2) NAVBAR: content sits in a centered container ---------- */

.main-nav {
  padding-left: var(--nav-pad);
  padding-right: var(--nav-pad);
}

.main-nav .mobile-menu {
  right: var(--nav-pad);
}

@media (min-width: 1101px) {
  .nav-links {
    margin-left: auto;
    margin-right: auto;
  }
  .nav-links + .nav-phone {
    margin-left: 0;
  }
}

/* keep the address from squeezing the menu on 13–14" laptops */

@media (min-width: 1360px) and (max-width: 1499px) {
  .main-nav .lokatsiya {
    display: none;
  }
}

@media (min-width: 1500px) {
  .main-nav .lokatsiya {
    display: block;
  }
}

@media (max-width: 600px) {
  .main-nav {
    padding-left: 14px;
    padding-right: 14px;
  }
  .main-nav .mobile-menu {
    right: 14px;
  }
}

/* ---------- 3) NEW LOGO (navy on white pill) ---------- */

.main-nav .logo {
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.main-nav .logo img {
  width: auto;
  height: 36px;
  max-height: none;
}

.main-nav .logo:hover {
  box-shadow: 0 10px 26px rgba(255, 255, 255, 0.18);
}

.main-nav.is-scrolled .logo {
  height: 46px;
  padding: 0 15px;
}

.main-nav.is-scrolled .logo img {
  height: 29px;
}

.site-footer .footer-logo {
  height: auto;
  padding: 12px 18px;
  background: #fff;
  border-radius: 14px;
  align-items: center;
}

.site-footer .footer-logo img {
  width: auto;
  height: 34px;
}

@media (max-width: 600px) {
  .main-nav .logo {
    height: 44px;
    padding: 0 12px;
  }
  .main-nav .logo img {
    height: 26px;
  }
  .main-nav.is-scrolled .logo {
    height: 40px;
  }
  .main-nav.is-scrolled .logo img {
    height: 24px;
  }
}

@media (max-width: 380px) {
  .main-nav .logo {
    height: 40px;
    padding: 0 10px;
  }
  .main-nav .logo img {
    height: 23px;
  }
}

/* ---------- 4) SOCIAL ICONS ---------- */

.main-nav .social-logos a {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.main-nav .social-logos a:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   6-QISM — XIZMAT OYNASI (modal): kirish matni, sarlavhalar, narxlar ro'yxati
   ========================================================= */

.service-modal__body .service-modal__lead {
  color: #e6e8eb;
  font-size: 17px;
}

.service-modal__body h3 {
  margin: 26px 0 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-modal__body ul.service-modal__prices {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.service-modal__prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}

.service-modal__prices li strong {
  flex: none;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.service-modal__body .service-modal__note {
  margin: 16px 0 0;
  color: #969ca3;
  font-size: 14px;
}

/* =========================================================
   7-QISM — YAKUNIY TUZATISHLAR
   Kartalardagi tugmalar bir tekis, kontakt havolalari rangi, raqamlar bloki
   ========================================================= */
.doctors__exp {
  margin-bottom: 17px;
}
.doctors__more {
  margin-top: auto !important;
}
.services__text {
  margin-bottom: 22px;
}
.services__more {
  margin-top: auto !important;
}
.contact-item a {
  color: inherit;
  text-decoration: none;
}
.contact-item a:hover {
  text-decoration: underline;
}
.treatment-stat .stat-label {
  min-height: 0;
  margin-bottom: 6px;
}

/* =========================================================
   8-QISM — HERO PANELI (bosh sahifadagi rasm ustidagi blok)
   Qoramtir, yarim shaffof "shisha" panel: devordagi Lumident yozuvi
   ko'rinib turadi, matn esa aniq o'qiladi.
   Kompyuter (>1024px): panel rasmning pastida, rasm ustida.
   Planshet va telefon (<=1024px): rasm tepada, panel uning ostida.
   ========================================================= */
.picture-main {
  padding: clamp(14px, 2vw, 28px);
  min-height: clamp(600px, 58vw, 820px);
}
.picture-words {
  width: 100%;
  gap: 18px;
  padding: 22px 30px 24px;
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.4) 0%, rgba(8, 10, 13, 0.62) 100%);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  backdrop-filter: blur(4px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: none;
}
.picture-values {
  justify-content: space-between;
  gap: 6px 28px;
}
.picture-values > p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(12px, 1.15vw, 14px);
  letter-spacing: 0.12em;
}
.picture-values > p::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
.picture-words .some-words {
  gap: 0;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.picture-words .some-words > div {
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.picture-words .some-words > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.picture-words .some-words p {
  color: #dfe3e8;
}
.picture-words .stat-num {
  font-size: clamp(26px, 3vw, 38px);
}

@media (max-width: 1024px) {
  .picture-main {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding: 0 0 16px;
  }
  .picture-main::before {
    position: static;
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    z-index: auto;
    animation: none;
  }
  .picture-main::after {
    display: none;
  }
  .picture-words {
    width: auto;
    margin: 16px 16px 0;
    padding: 20px 22px 22px;
    background: rgba(255, 255, 255, 0.07);
  }
  .picture-values {
    justify-content: flex-start;
    gap: 8px 26px;
  }
}

@media (max-width: 700px) {
  .picture-words {
    margin: 14px 12px 0;
    padding: 18px 18px 20px;
    gap: 14px;
  }
  .picture-values {
    justify-content: flex-start;
    gap: 8px 22px;
  }
}

@media (max-width: 560px) {
  .picture-words .some-words > div,
  .picture-words .some-words > div:first-child {
    padding: 10px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .picture-words .some-words > div:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .picture-words .some-words {
    padding-top: 12px;
  }
}

/* =========================================================
   9-QISM — SHIFOKORLAR RO'YXATI
   Kartalar o'rtada joylashadi (hozir 2 ta shifokor). Yangi shifokor qo'shilsa,
   avtomatik yangi kartaga joy ochiladi.
   ========================================================= */
.doctors__list {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px !important;
}
.doctors__card {
  flex: 1 1 300px;
  max-width: 380px;
}
.doctors__tabs {
  justify-content: center;
}

/* Portrait photos in landscape service cards: keep faces and instruments in frame */
.services__photo img.img-pos-surgery { object-position: 50% 40%; }
.services__photo img.img-pos-loupes { object-position: 50% 26%; }
/* Yangi kartalar: tik rasmlar 16:10 ramkaga to'g'ri qismi bilan sig'sin */
.services__photo img.img-pos-bridge { object-position: 50% 54%; }
.services__photo img.img-pos-desk { object-position: 50% 38%; }
.services__photo img.img-pos-shield { object-position: 50% 30%; }
.services__photo img.img-pos-computer { object-position: 50% 4%; }


/* ---------- LANGUAGE SWITCHER ---------- */
.lang-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  color: #f4f5f6;
  min-width: 44px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}
.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.lang-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}
.nav-links .lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}
.lang-toggle--mobile {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 12px;
  height: 44px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 13px;
}
@media (min-width: 1101px) {
  .lang-toggle--mobile { display: none; }
}
@media (max-width: 1100px) {
  .lang-toggle--desktop { display: none; }
}
@media (max-width: 600px) {
  .main-nav .lang-toggle--mobile { margin-top: 4px; }
}

/* 320px mobil ekranlarda jamoa ro'yxatining gorizontal overflowini oldini olish */
@media (max-width: 700px) {
  .team-points {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 0;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 700px) {
  .text-2-side > div {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .text-2-side > div h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 700px) {
  .first-word h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* =========================================================
   GALEREYA — 5 ta rasm, tarqoq KOLLAJ (Dr.Mun uslubida).
   Kompyuter: har bir rasm foizlarda (--x, --y, --w) joylashadi, bir-birining
   ustiga biroz chiqib turadi, shuning uchun kollaj ekran kengligiga qarab
   bir xil nisbatda kichrayadi/kattalashadi. Rasmlar o'z nisbatini saqlaydi.
   Hamma rasm yumaloq burchakli, ustma-ust joylarda oq hoshiya bor.
   Planshet va telefon: ikki ustunli joylashuv (KT-rasm butun kenglikda).
   ========================================================= */

.photo-collage {
  width: 100%;
  padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 80px);
  background: #fff;
}

.photo-collage,
.photo-collage *,
.photo-collage *::before,
.photo-collage *::after {
  box-sizing: border-box;
}

.photo-collage__grid {
  --radius: clamp(14px, 2vw, 26px);
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
  aspect-ratio: 100 / 86;
}

.photo-collage__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: #e6e7e8;
  box-shadow: 0 0 0 clamp(3px, 0.45vw, 6px) #fff,
    0 22px 44px -16px rgba(11, 12, 14, 0.4);
}

.photo-collage__item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* Har bir rasm o'z nisbatida (balandlik avtomatik), joylashuvi foizlarda */
.photo-collage__item--operating  { --x: 0%;  --y: 0%;  --w: 35%; aspect-ratio: 1099 / 1431; z-index: 1; }
.photo-collage__item--cbct       { --x: 42%; --y: 3%;  --w: 52%; aspect-ratio: 1426 / 1103; z-index: 1; }
.photo-collage__item--anesthesia { --x: 28%; --y: 45%; --w: 28%; aspect-ratio: 1100 / 1375; z-index: 3; }
.photo-collage__item--loupes     { --x: 63%; --y: 47%; --w: 32%; aspect-ratio: 1036 / 1295; z-index: 2; }
.photo-collage__item--bridge     { --x: 3%;  --y: 64%; --w: 25%; aspect-ratio: 1080 / 1290; z-index: 2; }

/* Planshet va telefon: ikki ustunli joylashuv */
@media (max-width: 860px) {
  .photo-collage__grid {
    --radius: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: calc(100% - 28px);
    aspect-ratio: auto;
  }

  .photo-collage__item {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    aspect-ratio: 4 / 5;
    box-shadow: 0 10px 24px -12px rgba(11, 12, 14, 0.32);
  }

  /* KT-rasm — butun kenglikda, keyin juft-juft */
  .photo-collage__item--cbct       { order: 1; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .photo-collage__item--operating  { order: 2; }
  .photo-collage__item--loupes     { order: 3; }
  .photo-collage__item--anesthesia { order: 4; }
  .photo-collage__item--bridge     { order: 5; }

  .photo-collage__item--operating img  { object-position: 40% 30%; }
  .photo-collage__item--bridge img     { object-position: 50% 40%; }
  .photo-collage__item--anesthesia img { object-position: 50% 35%; }
  .photo-collage__item--loupes img     { object-position: 50% 45%; }
}

@media (max-width: 480px) {
  .photo-collage__grid {
    --radius: 14px;
    gap: 8px;
  }
}

/* =========================================================
   NARXLAR SAHIFASI — qayta dizayn
   Muammo: kartalar bir xil balandlikka cho'zilib, ichida katta bo'sh joy qolardi,
   xizmat nomi bilan narx orasi juda uzoq edi.
   Yechim: (1) kartalar 2 ustunli "mozaika" — har biri o'z balandligida, bo'sh joy yo'q;
           (2) nom va narx orasi nuqtali chiziq bilan bog'langan (menyudagidek);
           (3) toifalar bo'yicha tez o'tish tugmalari.
   ========================================================= */

.price-nav {
  background: #f5f5f3;
  border-bottom: 1px solid #e4e5e3;
}

.price-nav__inner {
  width: var(--wrap);
  max-width: var(--container, 1240px);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.price-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #d3d5d8;
  border-radius: 999px;
  background: #fff;
  color: #1a1d21;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.price-nav a:hover,
.price-nav a:focus-visible {
  background: #111315;
  border-color: #111315;
  color: #fff;
}

.price-nav a:focus-visible {
  outline: 2px solid #111315;
  outline-offset: 3px;
}

main .price-cards {
  display: block;
  columns: 2;
  column-gap: 22px;
  width: var(--wrap);
  max-width: var(--container, 1240px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) 0 clamp(20px, 3vw, 36px);
}

main .price-cards .price-card {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  padding: 0 !important;
  break-inside: avoid;
  scroll-margin-top: 110px;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #dcdedf !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(11, 12, 14, 0.06);
}

main .price-cards .price-card:hover {
  transform: none;
  box-shadow: 0 16px 40px rgba(11, 12, 14, 0.1);
}

/* Karta sarlavhasi: sayt sarlavhasi bilan bir xil to'q fon */
main .price-cards .price-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  min-height: 0;
  padding: 22px 28px !important;
  background: linear-gradient(120deg, #07080a 0%, #14171b 60%, #23272d 100%);
}

main .price-cards .price-card__title {
  color: #fff !important;
  font-size: clamp(18px, 1.6vw, 21px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

main .price-cards .price-card__price-title {
  padding: 0;
  color: #9ea4ab !important;
  font-size: 13px !important;
  font-weight: 600;
}

/* Sarlavha va ro'yxat orasidagi ajratuvchi chiziq endi kerak emas */
main .price-cards .price-card__divider {
  display: none;
}

main .price-cards .price-card__list {
  gap: 0;
  padding: 10px 12px 14px;
}

/* Qator: [xizmat nomi] ········· [narx] */
main .price-cards .price-card__item {
  display: grid;
  grid-template-columns: minmax(0, max-content) minmax(18px, 1fr) auto;
  align-items: end;
  column-gap: 10px;
  padding: 13px 16px !important;
  border-radius: 12px;
  border-bottom: 0 !important;
}

main .price-cards .price-card__item::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: 0.42em;
  border-bottom: 2px dotted #c4c8cc;
}

main .price-cards .price-card__service {
  grid-column: 1;
  grid-row: 1;
  color: #2c3036 !important;
  font-size: 16px !important;
  line-height: 1.35;
}

main .price-cards .price-card__cost {
  grid-column: 3;
  grid-row: 1;
  color: #0b0c0e !important;
  font-size: 21px !important;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

main .price-cards .price-card__item:hover {
  transform: none;
  background: #f5f5f3;
}

main .price-cards .price-card__item:hover::before {
  border-bottom-color: #0b0c0e;
}

@media (max-width: 980px) {
  main .price-cards {
    columns: 1;
  }
}

@media (max-width: 720px) {
  /* Telefon: tugmalar bir qatorda gorizontal suriladi */
  .price-nav__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .price-nav__inner::-webkit-scrollbar {
    display: none;
  }

  .price-nav a {
    flex: 0 0 auto;
  }

  main .price-cards {
    width: calc(100% - 28px);
  }

  main .price-cards .price-card__header {
    padding: 18px 20px !important;
  }

  main .price-cards .price-card__list {
    padding: 8px 6px 12px;
  }

  main .price-cards .price-card__item {
    padding: 12px 14px !important;
    column-gap: 8px;
  }

  main .price-cards .price-card__service {
    font-size: 15px !important;
  }

  main .price-cards .price-card__cost {
    font-size: 18px !important;
  }
}

@media (max-width: 400px) {
  main .price-cards .price-card__item {
    column-gap: 6px;
  }

  main .price-cards .price-card__cost {
    font-size: 17px !important;
  }
}

/* Xizmat kartalari: matn bilan "Batafsil" tugmasi orasida bo'sh joy */
.services__card .services__text {
  margin-bottom: 18px;
}
