.container {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--page-gap);
}

main .container,
footer .container {
  container-type: inline-size;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 0.625vw, 12px);
  font-size: var(--fs-btn);
  font-weight: 500;
  line-height: 1.4;
  padding: clamp(14px, 2.5vw - 26px, 22px) clamp(30px, 3.125vw - 20px, 40px);
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn__arrow {
  flex: none;
  transition: transform 0.25s ease;
}

.btn:hover .btn__arrow { transform: rotate(-45deg); }

.btn--primary {
  background: var(--color-pink);
  color: var(--color-white);
}

.btn--blue {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn--blue:hover { background: var(--color-blue-chip); }

.btn--outline {
  border-color: var(--color-pink);
  color: var(--color-pink);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-pink);
}

.btn--outline:hover,
.btn--white:hover {
  background: var(--color-pink);
  color: var(--color-white);
}

.btn--small {
  padding: clamp(10px, 1.25vw - 10px, 14px) clamp(20px, 1.25vw, 24px);
}

@media (max-width: 767px) {
  .btn { width: 100%; }

  .btn__arrow {
    width: 20px;
    height: 20px;
  }

  .lightbox { padding: 10px; }
  .lightbox__close { top: -46px; }
}

.scroll-nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.scroll-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-light-blue);
  border-radius: var(--radius-pill);
  color: var(--color-blue-2);
  transition: border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.scroll-nav__btn:hover:not(:disabled) {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.scroll-nav__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

@media (max-width: 767px) {
  .scroll-nav { display: flex; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overscroll-behavior: contain;
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.lightbox__window {
  position: relative;
  width: min(1100px, 100%);
  max-height: 90dvh;
}

.lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.15);
  transition: background-color 0.25s ease;
}

.lightbox__close:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox__content {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.lightbox__content video,
.lightbox__content iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #000;
}

.b24-trigger {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.carousel {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.5cqw, 28px);
}

.carousel__track {
  position: relative;
  display: flex;
  gap: var(--carousel-gap, clamp(10px, 1.06cqw, 20px));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: var(--carousel-peek, 13%);
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  transform: scale(0.88);
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel__slide.is-active {
  transform: none;
  opacity: 1;
}

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.3cqw, 24px);
}

.carousel__btn {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 3.4cqw, 60px);
  height: clamp(38px, 3.4cqw, 60px);
  border: 0;
  border-radius: 50%;
  background: var(--carousel-btn-bg, var(--color-white));
  color: var(--carousel-btn-fg, var(--color-blue));
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.carousel__btn--next {
  background: var(--carousel-btn-next-bg, var(--color-blue));
  color: var(--carousel-btn-next-fg, var(--color-white));
}

.carousel__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.carousel__btn svg {
  width: 40%;
  height: 40%;
}

.carousel__counter {
  font-size: var(--fs-text);
  letter-spacing: 0.08em;
  color: var(--carousel-fg, var(--color-white));
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.carousel__dot {
  display: block;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--carousel-dot, color-mix(in srgb, var(--color-white) 45%, transparent));
  cursor: pointer;
}

.carousel__dot.is-active {
  background: var(--carousel-dot-active, var(--color-pink));
}
