/**
 * Figma inner pages (Akademik yo‘nalishlar 496:458, Validatsiya 750:60,
 * Malaka oshirish 806:106 / 904:190) — desktop 1920 metrics with fluid fallbacks.
 */

/* ===== Buttons ===== */
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
}

.btn-download--lg {
  gap: 16px;
}

.btn-ico {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.btn-ico img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}

.btn-white .btn-ico {
  background: var(--muted);
}

.btn-white .btn-ico img {
  filter: none;
}

/* ===== Akademik: Yo‘nalish cards (434×434) ===== */
.section--dirs {
  padding-top: clamp(2rem, 5vw, 94px);
  padding-bottom: 0;
}

.dir-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.dir-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1;
  padding: clamp(1.25rem, 1.7vw, 32px) clamp(1rem, 1.5vw, 28px);
  background: var(--muted);
  color: var(--charcoal);
}

.dir-card--blue {
  background: var(--blue);
  color: var(--white);
}

.dir-card--dark {
  background: var(--charcoal);
  color: var(--white);
}

.dir-eyebrow {
  margin: 0 0 clamp(0.75rem, 1.2vw, 22px);
  font-size: clamp(0.85rem, 1.05vw, 20px);
  color: #a9c5f6;
  position: relative;
  z-index: 2;
}

.dir-card--dark .dir-eyebrow {
  color: #aca7a7;
}

.dir-card--muted .dir-eyebrow {
  color: #898989;
}

.dir-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.9vw, 36px);
  line-height: 1.11;
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 62%;
  position: relative;
  z-index: 2;
}

.dir-card ul {
  list-style: none;
  margin: clamp(1rem, 1.9vw, 36px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 0.95vw, 18px);
  position: relative;
  z-index: 2;
}

.dir-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.9rem, 1.05vw, 20px);
  line-height: 1;
}

.dir-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

.dir-card--muted li::before {
  background: #c9cdd8;
  opacity: 1;
}


/* ===== Validatsiya ===== */
.v-note {
  position: relative;
  width: min(100%, 1124px);
  margin-inline: auto;
  background: var(--muted);
  border-radius: 24px;
  padding: clamp(2rem, 3.4vw, 66px) clamp(1.5rem, 5.2vw, 100px) clamp(2rem, 3.4vw, 66px) clamp(2.5rem, 5.5vw, 106px);
  color: var(--charcoal);
}

.v-note p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 24px);
  line-height: 1.67;
}

.v-star {
  position: absolute;
  left: clamp(1.5rem, 4.8vw, 92px);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.2em;
}

.section--levels {
  padding-top: clamp(2rem, 3.6vw, 68px);
  padding-bottom: 0;
}

.v-levels {
  background: var(--muted);
  border-radius: 24px;
  padding: 40px;
}

.v-levels-head {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 58px) clamp(1.5rem, 3vw, 60px);
  text-align: center;
}

.v-levels-head p {
  margin: 0;
  font-size: clamp(1.25rem, 2.1vw, 40px);
  line-height: 1.25;
  color: #3f3f3f;
  max-width: 1200px;
  margin-inline: auto;
}

.lvl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 68px;
}

.lvl-card {
  background: var(--white);
  border-radius: 16px;
  min-height: 262px;
  padding: clamp(1.5rem, 2vw, 40px) clamp(1.25rem, 1.4vw, 26px);
  color: var(--charcoal);
}

.lvl-card--blue {
  background: var(--blue);
  color: var(--white);
}

.lvl-card--dark {
  background: var(--charcoal);
  color: var(--white);
}

.lvl-label {
  margin: 0 0 30px;
  font-size: 16px;
  color: #898989;
}

.lvl-card--blue .lvl-label {
  color: #cfdcf7;
}

.lvl-card--dark .lvl-label {
  color: #aca7a7;
}

.lvl-card h3 {
  margin: 0 0 30px 20px;
  font-size: clamp(1.5rem, 2.1vw, 40px);
  font-weight: 500;
  line-height: 1.1;
}

.lvl-desc {
  margin: 0;
  font-size: clamp(0.95rem, 1.05vw, 20px);
  line-height: 1.2;
  max-width: 470px;
}

.section--vband {
  padding-top: 64px;
  padding-bottom: 0;
}

.v-band {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 24px;
  min-height: 386px;
  padding: clamp(2rem, 3.4vw, 66px) clamp(1.5rem, 3.4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.v-band-mark {
  position: absolute;
  right: -60px;
  top: -60px;
  height: 150%;
  width: auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.v-band-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.v-band-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 2.5vw, 48px);
  line-height: 1.17;
  font-weight: 600;
}

.v-band-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 28px);
  line-height: 1.43;
  max-width: 660px;
}

.v-band .btn {
  position: relative;
  z-index: 1;
  min-height: clamp(72px, 5.6vw, 108px);
  padding: clamp(1rem, 1.35vw, 26px) clamp(2rem, 3.1vw, 60px);
  font-size: clamp(1.1rem, 1.45vw, 28px);
  border-radius: 16px;
  margin-right: clamp(0px, 10vw, 200px);
}

.section--vprocess {
  padding-top: 70px;
  padding-bottom: 0;
}

.section-title--v {
  font-size: clamp(1.75rem, 2.5vw, 48px);
  font-weight: 500;
  margin-bottom: 60px;
}

.v-process {
  background: var(--muted);
  border-radius: 24px;
  padding: 80px 40px;
}

.vstep-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.vstep-card {
  background: var(--white);
  border-radius: 16px;
  min-height: 500px;
  padding: 40px;
  color: var(--charcoal);
}

.vstep-card--blue {
  background: var(--blue);
  color: var(--white);
}

.vstep-card--dark {
  background: var(--charcoal);
  color: var(--white);
}

.vstep-num {
  display: block;
  font-size: clamp(3rem, 5vw, 96px);
  line-height: 1;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 36px;
}

.vstep-card--blue .vstep-num,
.vstep-card--dark .vstep-num {
  color: var(--white);
}

.vstep-card h3 {
  margin: 0 0 40px;
  font-size: clamp(1.25rem, 1.67vw, 32px);
  line-height: 1.19;
  font-weight: 500;
  min-height: 76px;
}

.vstep-card p {
  margin: 0;
  font-size: clamp(0.9rem, 1.05vw, 20px);
  line-height: 1.2;
}

.section--vcta {
  padding-top: 69px;
  padding-bottom: 0;
}

.v-cta {
  background: var(--blue);
  color: var(--white);
  border-radius: 24px;
  min-height: 600px;
  padding: 100px 80px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.v-cta h2 {
  margin: 0 0 40px;
  font-size: clamp(2rem, 3.75vw, 72px);
  line-height: 1.11;
  font-weight: 600;
  max-width: 1000px;
}

.v-cta p {
  margin: 0 0 64px;
  font-size: clamp(1rem, 1.45vw, 28px);
  line-height: 1.43;
  max-width: 1040px;
}

.v-cta .btn {
  min-height: 80px;
  padding: 22px 48px;
  font-size: 26px;
  border-radius: 16px;
}

.section--cta-split {
  padding-top: 145px;
}

.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 434px;
  gap: 24px;
  align-items: stretch;
}

.cta-split .cta-band {
  width: 100%;
  min-height: 563px;
}

.cta-split .cta-box {
  height: 563px;
  min-height: 563px;
}

.cta-split .cta-media {
  width: min(50%, 640px);
}

@media (min-width: 1680px) {
  .cta-split .cta-media {
    left: 826px;
    top: -142px;
    width: 640px;
    height: 705px;
  }

  .cta-split .cta-media img {
    width: 640px;
    height: 705px;
    max-width: 640px;
    max-height: 705px;
  }
}

.cta-side {
  background: var(--blue);
  color: var(--white);
  border-radius: 24px;
  padding: 56px 32px 32px;
  display: flex;
  flex-direction: column;
}

.cta-side-eyebrow {
  margin: 0 0 40px;
  font-size: 18px;
  color: #a9c5f6;
}

.cta-side h3 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 500;
  flex: 1;
}

.cta-side .btn {
  min-height: 108px;
  font-size: 28px;
  border-radius: 16px;
  justify-content: center;
}

/* ===== Malaka oshirish ===== */
.m-dark {
  width: min(100%, 1178px);
  margin-inline: auto;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(2rem, 3.6vw, 70px) clamp(1.5rem, 3.6vw, 70px);
  text-align: center;
}

.m-dark p {
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.67vw, 32px);
  line-height: 2.19;
  max-width: 1000px;
}

.container--m {
  width: min(100% - 3.5rem, 1562px);
  margin-inline: auto;
}

.section--mterms {
  padding-top: 70px;
  padding-bottom: 0;
}

.section-title--m {
  font-size: clamp(1.75rem, 2.5vw, 48px);
  font-weight: 500;
  margin: 0 0 56px 0;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}

.term-card {
  background: var(--muted);
  color: var(--charcoal);
  border-radius: 16px;
  min-height: 368px;
  padding: 76px 48px 48px;
}

.term-card--blue {
  background: var(--blue);
  color: var(--white);
}

.term-card h3 {
  margin: 0 0 44px;
  font-size: clamp(1.5rem, 2.1vw, 40px);
  font-weight: 600;
}

.term-card p {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 22px);
  line-height: 1.3;
}

.section--mmodes {
  padding-top: 62px;
  padding-bottom: 0;
}

.m-modes {
  width: min(100%, 1124px);
  margin-inline: auto;
  background: var(--muted);
  border-radius: 24px;
  padding: 70px 40px 52px;
}

.m-modes h2 {
  margin: 0 0 40px 2px;
  font-size: clamp(1.5rem, 1.9vw, 36px);
  font-weight: 500;
  color: var(--charcoal);
}

.mode-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mode-list::before {
  content: "";
  position: absolute;
  left: 51px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: #c9cdd8;
}

.mode {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  border-radius: 12px;
  padding: 20px 16px;
  min-height: 116px;
  background: var(--white);
  color: var(--charcoal);
}

.mode--dark {
  background: var(--charcoal);
  color: var(--white);
}

.mode--blue {
  background: var(--blue);
  color: var(--white);
}

.mode-num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 28px;
  font-weight: 600;
  flex-shrink: 0;
}

.mode--dark .mode-num {
  background: var(--white);
  color: var(--charcoal);
}

.mode--blue .mode-num {
  background: var(--white);
  color: var(--blue);
}

.mode h3 {
  margin: 0 0 4px;
  font-size: clamp(1.1rem, 1.45vw, 28px);
  font-weight: 500;
  line-height: 1.2;
}

.mode p {
  margin: 0;
  font-size: clamp(0.9rem, 1.05vw, 20px);
  line-height: 1.2;
}

.section--madmit {
  padding-top: 64px;
  padding-bottom: 0;
}

.m-admit {
  width: min(100%, 1580px);
  margin-inline: auto;
  background: var(--blue);
  color: var(--white);
  border-radius: 24px;
  padding: 56px 92px 118px;
}

.m-admit h2 {
  margin: 0 0 48px;
  font-size: clamp(1.75rem, 2.5vw, 48px);
  font-weight: 500;
}

.admit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.admit-card {
  background: #5087ec;
  border-radius: 16px;
  min-height: 334px;
  padding: 44px 30px 30px;
  display: flex;
  flex-direction: column;
}

.admit-card h3 {
  margin: 0 0 40px;
  font-size: clamp(1.25rem, 1.67vw, 32px);
  font-weight: 500;
  line-height: 1.2;
}

.admit-card p {
  margin: 0;
  flex: 1;
  font-size: clamp(0.9rem, 1.05vw, 20px);
  line-height: 1.15;
}

.admit-card a {
  margin-top: 32px;
  margin-left: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.section--massess {
  padding-top: 72px;
  padding-bottom: 124px;
}

.assess-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.assess-card {
  border-radius: 24px;
  min-height: 380px;
  padding: 100px 30px 30px;
  background: var(--muted);
  color: var(--charcoal);
}

.assess-card--blue {
  background: var(--blue);
  color: var(--white);
}

.assess-card--dark {
  background: var(--charcoal);
  color: var(--white);
}

.assess-card h3 {
  margin: 0 0 56px;
  font-size: clamp(1.25rem, 1.67vw, 32px);
  font-weight: 600;
}

.assess-card p {
  margin: 0;
  font-size: clamp(0.9rem, 1.05vw, 20px);
  line-height: 1.15;
}

/* ===== Malaka oshirish kurslari (904:190) ===== */
.page-lead--k {
  font-size: clamp(1rem, 1.4vw, 27px) !important;
  line-height: 36px !important;
  letter-spacing: -0.01em;
  max-width: 1200px !important;
  margin-top: 60px !important;
}

.section--kurslar {
  padding-top: 56px;
  padding-bottom: 120px;
}

.container--k {
  width: min(100% - 3.5rem, 1648px);
  margin-inline: auto;
}

.section-title--k {
  font-size: clamp(1.75rem, 2.9vw, 56px);
  font-weight: 500;
  margin: 0 0 56px;
}

.kurs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  padding-inline: 41px;
}

.kurs-card {
  background: var(--muted);
  color: var(--charcoal);
  border-radius: 24px;
  min-height: 698px;
  padding: 56px 40px 40px;
  display: flex;
  flex-direction: column;
}

.kurs-card--blue {
  background: var(--blue);
  color: var(--white);
}

.kurs-num {
  display: block;
  font-size: clamp(3rem, 4.2vw, 80px);
  line-height: 1;
  margin-bottom: 44px;
}

.kurs-card h3 {
  margin: 0 0 40px;
  font-size: clamp(1.25rem, 1.67vw, 32px);
  font-weight: 500;
  line-height: 1.19;
  min-height: 116px;
}

.kurs-card p {
  margin: 0;
  flex: 1;
  font-size: clamp(0.9rem, 1.05vw, 20px);
  line-height: 1.4;
}

.kurs-card .btn {
  margin-top: 40px;
  min-height: 80px;
  font-size: 24px;
  border-radius: 12px;
  padding: 20px 36px;
  justify-content: center;
}

.kurs-note {
  position: relative;
  margin-top: 50px;
  background: var(--muted);
  border-radius: 24px;
  padding: 44px 36px 44px 84px;
  font-size: clamp(1rem, 1.4vw, 27px);
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.kurs-note .v-star {
  left: 62px;
  top: 40px;
}

@media (max-width: 1100px) {
  .dir-grid,
  .vstep-grid,
  .assess-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lvl-grid,
  .term-grid,
  .admit-grid,
  .kurs-grid {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }
  .cta-split {
    grid-template-columns: 1fr;
  }
  .cta-split .cta-media {
    display: none;
  }
  .v-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .v-band .btn {
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .dir-grid,
  .vstep-grid,
  .assess-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dir-card {
    aspect-ratio: auto;
    min-height: 320px;
    padding-right: 48%;
  }
  .dir-card h3 {
    max-width: none;
  }
}

/* ===== Figma image-node crops (auto-generated from fit2) ===== */
.page-hero-fig { position: absolute; overflow: hidden; z-index: 1; pointer-events: none; }
.page-hero-fig > img { position: absolute; max-width: none; display: block; }
.page-hero-fig--grad-f { left: 54.757%; top: 0.289%; width: 27.876%; height: 99.856%; }
.page-hero-fig--grad-f > img { left: 0.000%; top: 0.000%; width: 100.000%; height: 109.249%; }
.page-hero-fig--grad-m { left: 72.069%; top: 0.289%; width: 30.476%; height: 99.856%; }
.page-hero-fig--grad-m > img { left: 0.000%; top: -0.289%; width: 100.181%; height: 119.798%; }
.page-hero-fig--kings { left: 0; top: 0; width: 100%; height: 100%; }
.page-hero-fig--kings > img { left: 45.133%; top: -2.309%; width: 60.951%; height: 105.916%; }
.page-hero-fig--students { left: 46.792%; top: 5.339%; width: 57.633%; height: 94.661%; }
.page-hero-fig--students > img { left: 0.000%; top: 0.000%; width: 100.192%; height: 106.098%; }
.page-hero-fig--women { left: 0; top: 0; width: 100%; height: 100%; }
.page-hero-fig--women > img { left: 49.336%; top: -1.443%; width: 62.223%; height: 108.225%; transform: scaleX(-1); }
.page-hero-fig--team { left: 48.783%; top: 6.205%; width: 54.480%; height: 93.939%; }
.page-hero-fig--team > img { left: 0.406%; top: 0.000%; width: 99.898%; height: 101.997%; }
.page-hero-fig--grad-f, .page-hero-fig--grad-m { opacity: 0.95; }
.dir-photo { position: absolute; overflow: hidden; z-index: 1; pointer-events: none; }
.dir-photo > img { position: absolute; max-width: none; display: block; }
.dir-photo--1 { left: 34.332%; top: 0.000%; width: 65.668%; height: 99.770%; }
.dir-photo--1 > img { left: 0.000%; top: -7.390%; width: 144.561%; height: 142.725%; }
.dir-photo--2 { left: 49.309%; top: 0.000%; width: 50.691%; height: 99.770%; }
.dir-photo--2 > img { left: -5.455%; top: -5.543%; width: 138.182%; height: 105.312%; }
.dir-photo--3 { left: 50.461%; top: 0.000%; width: 49.539%; height: 99.770%; }
.dir-photo--3 > img { left: -8.372%; top: -3.233%; width: 140.465%; height: 104.619%; }
.dir-photo--4 { left: 51.152%; top: 0.000%; width: 48.848%; height: 99.770%; }
.dir-photo--4 > img { left: -76.415%; top: -6.928%; width: 294.340%; height: 216.166%; }

@media (max-width: 1024px) {
  .page-hero-fig { position: static; overflow: visible; width: 100%; height: auto; margin-top: 1.5rem; opacity: 1; }
  .page-hero-fig > img { position: static; width: 100%; height: auto; max-height: 60vw; object-fit: contain; }
  .page-hero-fig--grad-m { display: none; }
}

