.documents-page {
  display: flex;
  max-width: 100%;
  min-height: 100vh;
  padding-top: 9.5rem;
  background: var(--white);
}

.documents-sidebar {
  width: 25%;
  min-width: 0;
  flex-shrink: 0;
  padding: 0 3rem 4rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  user-select: none;
}

.breadcrumbs-link {
  color: #999;
  text-decoration: none;
  transition: color .3s ease;
}

.breadcrumbs-link:hover {
  color: #666;
}

.breadcrumbs-separator {
  color: #ccc;
}

.breadcrumbs-current {
  color: #1a1a1a;
  font-weight: 500;
}

.documents-page-heading {
  margin: 0 0 10rem;
  padding: 0;
  color: var(--dark);
  font-size: 8.6rem;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.1;
  user-select: none;
}

.documents-progress-sticky {
  position: sticky;
  top: 14rem;
}

.documents-progress {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  max-height: calc(100vh - 17rem);
  overflow-y: auto;
  padding: 1.2rem;
  border-radius: 2rem;
  background: #f2f3f5;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.documents-progress::-webkit-scrollbar {
  display: none;
}

.document-progress-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: .8rem 1rem;
  border: .2rem solid transparent;
  border-radius: 1.4rem;
  color: var(--text-light);
  text-decoration: none;
  transition: all .3s ease;
}

.document-progress-dot {
  position: relative;
  width: .8rem;
  height: .8rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--border);
  transition: all .3s ease;
}

.document-progress-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.8rem;
  height: 1.8rem;
  border: .2rem solid #ffa500;
  border-radius: 50%;
  content: '';
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all .3s ease;
}

.document-progress-label {
  min-width: 0;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: color .3s ease;
}

.document-progress-item.active {
  border-color: #fff;
  background: #fff;
  color: var(--dark);
}

.document-progress-item.active .document-progress-dot,
.document-progress-item:hover .document-progress-dot {
  background: #ffa500;
}

.document-progress-item.active .document-progress-dot::before {
  opacity: 1;
}

.document-progress-item.active .document-progress-label {
  font-weight: 600;
}

.document-progress-item:hover .document-progress-label {
  color: #ffa500;
}

.documents-mobile-progress-sticky {
  display: none;
}

.documents-content {
  flex: 1;
  min-width: 0;
                                                                   
  margin-top: 16rem;
  padding: 0 4rem 8rem 2rem;
}

.documents-empty,
.documents-section-empty {
  margin: 0;
  color: var(--text-light);
  font-size: 2rem;
}

.documents-section {
  min-width: 0;
  margin-bottom: 8rem;
  scroll-margin-top: 12rem;
}

.documents-section:last-child {
  margin-bottom: 0;
}

.documents-section-title {
  margin: 0 0 3.2rem;
  color: var(--dark);
  font-size: 3.6rem;
  font-weight: 600;
  letter-spacing: -.03rem;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.document-card {
  display: flex;
  aspect-ratio: 1;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 2.4rem;
  border-radius: 2.5rem;
  background: #f2f2f0;
  color: var(--dark);
  text-decoration: none;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity .45s ease, transform .45s ease, background .25s ease, box-shadow .25s ease;
}

.document-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.document-card:hover {
  background: #202137;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .12);
  color: #fff;
  transform: translateY(-.6rem);
}

.document-card:focus-visible {
  outline: .3rem solid #ffa500;
  outline-offset: .3rem;
}

.document-card-icon {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: #f06b08;
}

.document-card-icon svg {
  width: 4.8rem;
  height: 4.8rem;
}

.document-card-icon span {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.document-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
}

.document-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 1.8vw, 2.2rem);
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.document-card-arrow {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .25s ease;
}

.document-card:hover .document-card-arrow {
  transform: translateX(.4rem);
}

@media (min-width: 769px) {
  .breadcrumbs {
    margin-left: 2rem;
  }

  body.documents-page-body .navbar .logo-main,
  body.documents-page-body .navbar .logo-main span,
  body.documents-page-body .navbar .nav-links a {
    color: #1a1a1a !important;
  }

  body.documents-page-body .navbar .logo-sub {
    color: #666 !important;
  }

  body.documents-page-body .navbar .nav-phone-btn {
    border-color: transparent !important;
    background: rgba(0, 0, 0, .08) !important;
  }

  body.documents-page-body .navbar .nav-phone-btn svg {
    stroke: #1a1a1a !important;
  }

  body.documents-page-body .navbar .btn-booking,
  body.documents-page-body .navbar.scrolled .btn-booking {
    border: none !important;
    background: linear-gradient(135deg, #f06b08 0%, #fb8318 35%, #ff9a2e 64%, #f3730b 100%) !important;
    color: #fff !important;
  }
}

@media (max-width: 1050px) and (min-width: 769px) {
  .documents-sidebar {
    width: 29%;
    padding-right: 2rem;
  }

  .documents-page-heading {
    font-size: 6.5rem;
  }

  .document-card {
    padding: 1.8rem;
    border-radius: 2rem;
  }
}

@media (max-width: 768px) {
  body.documents-page-body .navbar .logo-main,
  body.documents-page-body .navbar .logo-main span {
    color: #1a1a1a !important;
  }

  body.documents-page-body .navbar .logo-sub {
    color: #666 !important;
  }

  body.documents-page-body .navbar .mobile-phone-btn,
  body.documents-page-body .navbar .burger-btn {
    background: rgba(0, 0, 0, .08) !important;
  }

  body.documents-page-body .navbar .mobile-phone-btn svg,
  body.documents-page-body .navbar .burger-btn svg {
    stroke: #1a1a1a !important;
  }

  .documents-page {
    flex-direction: column;
    padding-top: 8rem;
  }

  .documents-sidebar {
    width: 100%;
    padding: 0 2rem;
  }

  .documents-page-heading {
    margin-bottom: 4rem;
    font-size: 4rem;
  }

  .breadcrumbs {
    margin-bottom: 1.5rem;
    margin-left: 0;
    font-size: 1.2rem;
  }

  .documents-progress-sticky {
    display: none;
  }

  .documents-mobile-progress-sticky {
    position: sticky;
    top: 6.4rem;
    z-index: 100;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: .5rem 0;
  }

  .documents-mobile-progress {
    display: flex;
    gap: .6rem;
    overflow-x: auto;
    padding: 0 2rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-padding-inline: 2rem;
    scroll-snap-type: x proximity;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .documents-mobile-progress::-webkit-scrollbar {
    display: none;
  }

  .mobile-document-progress-item {
    flex: 0 0 auto;
    padding: .95rem 1.45rem;
    border-radius: 2.2rem;
    background: #f2f3f5;
    color: var(--dark);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    scroll-snap-align: start;
    transition: background .25s ease, color .25s ease;
  }

  .mobile-document-progress-item.active,
  .mobile-document-progress-item[aria-current='true'] {
    background: #202137;
    color: #fff;
  }

  .mobile-document-progress-item:focus-visible {
    outline: .2rem solid #ffa500;
    outline-offset: .2rem;
  }

  .documents-content {
    margin-top: 2rem;
    padding: 0 2rem 4rem;
  }

  .documents-section {
    margin-bottom: 4rem;
    scroll-margin-top: 9rem;
  }

  .documents-section-title {
    margin-bottom: 2rem;
    font-size: 2.4rem;
  }

  .documents-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .document-card {
    padding: 1.6rem;
    border-radius: 2rem;
  }

  .document-card:hover {
    transform: translateY(0);
  }

  .document-card-icon svg {
    width: 3.6rem;
    height: 3.6rem;
  }

  .document-card h3 {
    font-size: 1.6rem;
  }
}

