body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: rgba(8, 10, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  z-index: 5;
}

.header__logo {
  width: 64px;
  height: 64px;
  margin-right: 12px;
  object-fit: contain;
  flex: 0 0 auto;
}

.header__spacer {
  flex: 1;
}

.lang-switch {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: inherit;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 12px;
}

.lang-switch:hover,
.lang-switch:focus {
  background: rgba(255, 255, 255, 0.16);
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 28px;
  background: rgba(8, 10, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  z-index: 5;
}

.footer a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.footer a:hover,
.footer a:focus {
  text-decoration: underline;
}

.header .brand {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

@media (max-width: 480px) {
  .header .brand {
    font-size: 20px;
  }
}

.fixed-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('media/bg3.png');
  background-size: cover;
  background-position: center;
  filter: blur(16px);
  z-index: -1;
}

.nav-dots {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 10px;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 6;
}

.nav-dots button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.nav-dots button::after {
  content: attr(data-label);
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(8, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.nav-dots button:hover::after,
.nav-dots button:focus-visible::after {
  opacity: 1;
}

.nav-dots button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.nav-dots button[aria-current="true"]::before {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  transform: scale(1.15);
}

.nav-dots button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 4px;
}

.container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.section {
  position: absolute;
  inset: 0;
  height: 100%;
  padding: 146px 50px 86px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1200ms ease-in-out;
}

.section.visible {
  opacity: 1;
  pointer-events: auto;
}

body {
  overflow: hidden;
}

.section-content {
  background: rgba(100, 100, 100, 0.95);
  padding: 20px;
  border-radius: 10px;
  overflow: visible;
  max-height: calc(100vh - 146px - 86px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

h1 {
  font-size: 36px;
}

p {
  font-size: 18px;
}

.section-content p {
  white-space: pre-line;
}

@media (max-width: 480px) {
  .section-content {
    padding: 20px;
    font-size: 18px;
  }

  h1 {
    font-size: 28px;
    margin: 0px;
  }
  p {
    margin: 0px;
  }
  .service-list {
    font-size: 18px;
  }
  .timeline {
    font-size: 18px;
  }
}

.service-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.service-list .muted {
  opacity: 0.85;
}

.timeline {
  margin-top: 18px;
}

.timeline .axis-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 6px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.timeline .axis-viewport::-webkit-scrollbar {
  display: none;
}

.timeline .axis {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  margin: 0;
  width: max-content;
  min-width: 100%;
}

@media (max-width: 700px) {
  .timeline .axis-viewport {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.timeline .tick {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.timeline .tick span {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

@media (max-width: 700px) {
  .timeline .tick span {
    top: 16px;
    font-size: 11px;
  }
}

.timeline .items {
  margin-top: 18px;
}

.timeline .controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  margin-top: 40px;
}

.timeline .controls button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  color: inherit;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline .controls button:disabled {
  opacity: 0.5;
  cursor: default;
}

.timeline .controls button:hover:not(:disabled),
.timeline .controls button:focus-visible:not(:disabled) {
  background: rgba(255, 255, 255, 0.16);
}

.timeline .details {
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.timeline .details.active {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.timeline .details.fading {
  opacity: 0;
  transform: translateY(4px);
}

.timeline .when {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  order: 1;
}

.timeline .what {
  font-size: 16px;
  line-height: 1.4;
  order: 2;
  white-space: pre-line;
}

.timeline .tick.active {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 9;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(100%);
  transition: transform 320ms ease;
  background: rgba(8, 10, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  z-index: 10;
  max-height: min(70vh, 560px);
  overflow: auto;
}

.bottom-sheet.open {
  transform: translateY(0);
}

.bottom-sheet__inner {
  padding: 18px 28px 26px;
}

.bottom-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.bottom-sheet__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.bottom-sheet__close {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 700;
}

.bottom-sheet__close:hover,
.bottom-sheet__close:focus {
  background: rgba(255, 255, 255, 0.18);
}

.bottom-sheet p,
.bottom-sheet a {
  font-size: 14px;
  line-height: 1.5;
  color: inherit;
}
