.barriers-page {
  background: #0a0a0a;
  color: #fff;
}

.barrier-hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}

.barrier-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(95% 90% at 20% 20%, rgba(229, 57, 53, 0.25), rgba(10, 10, 10, 0)),
    radial-gradient(80% 70% at 80% 0%, rgba(255, 255, 255, 0.08), rgba(10, 10, 10, 0)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), #0a0a0a 70%, #0a0a0a 100%);
}

.barrier-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: 'afacad', 'pretendard', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.barrier-hero__title {
  margin: 16px 0 14px;
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.16;
  text-shadow: var(--shadow-strong);
}

.barrier-hero__title-en {
  display: block;
  margin-top: 6px;
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #d6d7dc;
  letter-spacing: 0.05em;
}

.barrier-hero__desc {
  color: #dcdce1;
  font-size: 20px;
  line-height: 1.6;
  word-break: keep-all;
}

.barrier-hero__points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.point-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #1b1b1f;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 8px;
  color: #cfd0d5;
}

.point-card__label {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.hero-slider {
  position: relative;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1c1c1f;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5);
}

.hero-slider__track {
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide__image {
  height: 420px;
  background: #fff;
  color: #0f0f13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: 18px;
}

.hero-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}
.hero-slider__controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.slider-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(135deg);
}

.slider-btn--next::after {
  transform: rotate(-45deg);
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.hero-slider__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-slider__dots button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero-slider__dots button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(229, 57, 53, 0.18);
}

.barrier-keypoints {
  padding: 40px 0 110px;
}

.barrier-keypoints__inner {
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section-head h2 {
  margin: 10px 0 8px;
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.section-lead {
  color: #d2d2d7;
  font-size: 18px;
  line-height: 1.6;
  word-break: keep-all;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: 'afacad', 'pretendard', sans-serif;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.keypoint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.keypoint-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid #1b1b1f;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 10px;
}

.keypoint-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #f4f4f6;
}

.keypoint-card h3 {
  font-size: 22px;
  font-weight: 700;
}

.keypoint-card p {
  color: #cfd0d5;
  line-height: 1.5;
}

.barrier-video {
  padding: 30px 0 110px;
}

.barrier-video__inner {
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.video-frame {
  width: 100%;
  height: 500px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #1c1c1f;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
  background: #0f0f13;
}

.video-frame iframe {
  width: 100%;
  height: 500px;
  position: absolute;
  inset: 0;
  border: none;
}

.barrier-details {
  padding: 10px 0 120px;
}

.barrier-details__inner {
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.details-copy h2 {
  margin: 10px 0 8px;
  font-family: 'afacad', 'pretendard', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
}

.details-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  color: #d7d8dc;
  line-height: 1.5;
}

.details-list li {
  position: relative;
  padding-left: 14px;
}

.details-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.spec-card {
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #1b1b1f;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 8px;
  color: #cfd0d5;
}

.spec-card__label {
  font-weight: 700;
  color: #fff;
}

.barrier-gallery {
  padding: 10px 0 140px;
  background: radial-gradient(70% 70% at 10% 10%, rgba(229, 57, 53, 0.12), rgba(10, 10, 10, 0)), #0a0a0a;
}

.barrier-gallery__inner {
  max-width: 1440px;
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #1c1c1f;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
  padding: 16px 0;
}

.gallery-slider__track {
  display: flex;
  gap: 14px;
  animation: gallery-scroll 28s linear infinite;
}

.gallery-slide {
  overflow: hidden;
  flex: 0 0 calc((100% - 56px) / 5);
  height: 160px;
  border-radius: 12px;
  background: #fff;
  color: #0f0f13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35), inset 0 0 0 1.4px rgba(255, 255, 255, 0.82);
}
.gallery-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.lightbox.is-open {
  display: flex;
}

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

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: min(900px, calc(100% - 40px));
  display: grid;
  gap: 12px;
}
.lightbox__content img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox__image {
  overflow: hidden;
  width: 100%;
  height: 520px;
  background: #fff;
  color: #0f0f13;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: 'afacad', 'pretendard', sans-serif;
  letter-spacing: 0.04em;
  border-radius: 18px;
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.55);
}

.lightbox__image img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  margin: 0 auto;
}

.lightbox__caption {
  color: #e6e6e8;
  font-size: 15px;
  font-family: 'afacad', 'pretendard', sans-serif;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.lightbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.highlight {
  color: #fff;
  font-weight: 700;
}

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1200px) {
  .barrier-hero__inner,
  .barrier-keypoints__inner,
  .barrier-video__inner,
  .barrier-details__inner,
  .barrier-gallery__inner {
    width: min(1440px, calc(100% - 40px));
  }

  .barrier-hero__inner {
    grid-template-columns: 1fr;
  }

  .barrier-hero__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .keypoint-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .details-copy h2 {
    font-size: 34px;
  }
}

@media (max-width: 960px) {
  .barrier-hero__inner,
  .barrier-keypoints__inner,
  .barrier-video__inner,
  .barrier-details__inner,
  .barrier-gallery__inner {
    width: min(1440px, calc(100% - 34px));
  }

  .barrier-hero__title {
    font-size: 42px;
  }

  .barrier-hero__points {
    grid-template-columns: 1fr;
  }

  .hero-slide__image {
    height: 360px;
  }

  .keypoint-grid {
    grid-template-columns: 1fr;
  }

  .barrier-details__inner {
    grid-template-columns: 1fr;
  }

  .gallery-slide {
    flex: 0 0 calc((100% - 42px) / 3);
  }
}

.barrier-hero__inner,
.barrier-keypoints__inner,
.barrier-video__inner,
.barrier-details__inner,
.barrier-gallery__inner {
  transition: width 0.2s ease;
}

@media (max-width: 720px) {
  .barrier-hero__inner,
  .barrier-keypoints__inner,
  .barrier-video__inner,
  .barrier-details__inner,
  .barrier-gallery__inner {
    width: min(1440px, calc(100% - 32px));
  }

  .barrier-hero__title {
    font-size: 34px;
  }

  .barrier-hero__desc {
    font-size: 17px;
  }

  .hero-slide__image {
    height: 300px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .details-copy h2 {
    font-size: 30px;
  }

  .gallery-slide {
    flex: 0 0 calc((100% - 28px) / 2);
    height: 140px;
  }
}

@media (max-width: 540px) {
  .barrier-hero__inner,
  .barrier-keypoints__inner,
  .barrier-video__inner,
  .barrier-details__inner,
  .barrier-gallery__inner {
    width: min(1440px, calc(100% - 28px));
  }

  .barrier-hero__title {
    font-size: 28px;
  }

  .barrier-hero__desc {
    font-size: 15px;
  }

  .hero-slide__image {
    height: 240px;
  }

  .point-card,
  .keypoint-card,
  .spec-card {
    font-size: 14px;
  }

  .gallery-slide {
    flex: 0 0 calc((100% - 14px) / 1.4);
  }
}
