/* 
  J&Tech 엘리베이터 초프리미엄 다크 디자인 시스템 (jandtech-premium-core.css)
*/

/* 1. 디자인 토큰 및 기본 초기화 */
:root {
  --primary: #2D7FF9; /* 더 밝고 가독성 좋은 블루 */
  --primary-hover: #1E6FE8;
  --primary-glow: rgba(45, 127, 249, 0.3);
  --bg-dark: #0a0a0a;
  --bg-deep: #050505;
  --card-bg: rgba(15, 15, 15, 0.45);
  --card-border: rgba(255, 255, 255, 0.03);
  --card-border-focus: rgba(255, 255, 255, 0.15);
  --text-light: #ffffff;
  --text-muted: #8f8f8f;
  --text-dark: #b3b3b3;
  --accent: #2D7FF9;
  --danger: #ff3b30;
  --naver: #03C75A; /* 네이버 그린 */

  /* Liquid Glass Design System */
  --glass-light: rgba(255, 255, 255, 0.05);
  --glass-medium: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-blur: 2px;
  --glass-border-width: 1px;
  --glass-glow: 0 8px 32px rgba(45, 127, 249, 0.15);
  --glass-glow-hover: 0 12px 40px rgba(45, 127, 249, 0.25);
  --glass-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --glass-inset-light: inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /*
    가격판 표면 — 유리 질감은 다른 카드와 같게 두고 색만 어둡게 씁니다.

    가격판은 시퀀스 1(밝기 23%) 위로 옮겨졌습니다. 주변 카드와 같은 흰 유리
    0.065 로 맞추면 흰 글자 대비가 3.36:1 까지 떨어집니다. 흰 유리는 배경을
    '밝게' 만들기 때문에, 두께를 어떻게 조절해도 흰 글자에는 도움이 되지
    않습니다. 금액을 읽는 화면이라 본문 기준 4.5:1 은 넘겨야 합니다.

    아래 값(평균 0.15)은 대비 4.80:1 입니다. 블러·테두리·광택·모서리는
    다른 카드와 그대로 같으므로, 눈에는 '살짝 어두운 같은 유리'로 보입니다.
    더 비치게 하려면 0.11 까지 낮출 수 있고, 그 아래는 4.5:1 이 깨집니다.
  */
  --panel-tint: rgba(10, 12, 16, 0.16);
  --panel-tint-2: rgba(10, 12, 16, 0.14);

  /*
    안전장치 카드 표면.

    이 카드는 시퀀스 3(좌열 32% / 우열 41%) 위로 옮겨졌습니다. 원래 쓰던
    흰 유리 0.065 를 그대로 두면 흰 글자 대비가 2.17:1 까지 떨어져,
    시퀀스 1 위에 있을 때의 3.34:1 보다 나빠집니다. 옮겼다는 이유로
    읽기 어려워지면 안 되므로, 이전 수준을 회복할 만큼만 어둡게 채웁니다.

    아래 값(평균 0.20)은 좌열 4.08:1 / 우열 3.42:1 입니다.
  */
  --card-tint: rgba(10, 12, 16, 0.22);
  --card-tint-2: rgba(10, 12, 16, 0.18);
  --card-tint-hover: rgba(10, 12, 16, 0.30);

  /* 판 뒤 배경이 복도라 선이 많습니다. 전역 유리(2px)보다 조금 더 흐립니다. */
  --panel-blur: 10px;

  /*
    유지보수 카드의 가격 줄.

    이 카드가 얹히는 시퀀스 1 후반부는 주황빛 중간톤(RGB 133,114,100)이고,
    카드 유리는 흰색 0.065 로 사실상 투명합니다. 그래서 글자가 영상 위에
    거의 그대로 얹혀, 어떤 글자색을 써도 대비가 3.1:1 을 못 넘습니다.
    (흰색 3.1 / 검정 3.0 / 하늘색 1.9 — 밝은 쪽도 어두운 쪽도 배경에 붙습니다)

    카드 배경은 그대로 두고 가격 글자 뒤에만 작은 칩을 깔아 6.2:1 을 냅니다.
    영상 비침은 카드 전체에서 그대로입니다.
  */
  --price-ink: #8FD3FF;
  --price-chip: rgba(10, 12, 16, 0.60);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
}

/* 2. 사전 로딩 오버레이 */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-deep);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
}

#loading-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-line-container {
  width: 240px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}

#loader-progress {
  width: 0%;
  height: 100%;
  background-color: var(--text-light);
  transition: width 0.1s ease-out;
}

#loader-text {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* 3. 완전 투명 헤더 네비게이션 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
}

.logo-image {
  width: 40px;
  height: auto;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #ffffff;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #ffffff;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.3s;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-link.active::after {
  width: 100%;
}

/*
  메뉴 항목이 6개가 되면서(승강기 라운지 추가) 좁은 데스크톱에서
  로고 + 메뉴 + 전화버튼이 헤더 폭을 넘습니다.
  메뉴가 아직 햄버거로 바뀌지 않는 1025~1180px 구간에서만 간격을 좁힙니다.
*/
@media (min-width: 1025px) and (max-width: 1180px) {
  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.88rem;
  }

  /*
    전화 버튼에 담당자 이름이 붙으면서 이 구간이 가장 빠듯해졌습니다.
    이름을 넣기 전 1025px 에서 여유가 80px 였는데 1px 로 줄었습니다.
    글꼴 폭이 기기마다 미세하게 달라 그대로 두면 언젠가 줄이 터집니다.

    아이콘을 빼서 24px(아이콘 16 + 간격 8), 여백과 글자를 줄여 나머지를
    확보합니다. 아이콘은 이 좁은 구간에서만 사라지고, 전화라는 뜻은
    번호 자체가 이미 전하고 있습니다.
  */
  .btn-tel {
    padding: 9px 14px;
    font-size: 0.84rem;
    gap: 6px;
  }

  .btn-tel svg {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-tel {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

/*
  헤더 전화 버튼의 담당자 표기.

  흐리게 하지 않습니다. 헤더는 영상 위에 떠 있어서 투명도를 낮추면
  밝은 프레임에서 이름이 지워집니다. 줄바꿈만 막습니다.
*/
.tel-person {
  white-space: nowrap;
}

/*
  폰에서는 이름을 번호 옆이 아니라 위에 쌓습니다.

  헤더에는 로고·전화·햄버거가 들어가는데, 390px 기준 전화 버튼에 허용되는
  폭이 158px 뿐입니다. 이름을 옆에 붙이면 한 줄로 200px 가 넘어 헤더가
  터집니다. 위아래로 쌓으면 113px 로 줄어 45px 의 여유가 생깁니다.

  덤으로 원래 있던 문제도 풀립니다. 이름을 넣기 전에도 이 구간은 여유가
  0 이었고 번호가 '010-7582-' / '5593' 으로 꺾여 버튼이 65px 였습니다.
  320px 화면에서는 15px 넘치고 있었습니다. 쌓으면 버튼이 46px 로 낮아지고
  320px 에서도 넘치지 않습니다.
*/
@media (max-width: 768px) {
  .btn-tel {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
  }

  /* 아이콘을 빼서 24px 확보합니다. 번호 자체가 전화라는 뜻을 전합니다. */
  .btn-tel svg {
    display: none;
  }

  .tel-person {
    font-size: 0.68rem;
    font-weight: 400;
  }
}

.btn-tel:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* 모바일 햄버거 토글러 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 4. 모바일 드로워 */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 100px 30px 40px;
  gap: 24px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  font-weight: 400;
  transition: color 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-light);
}

.btn-tel-mobile {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  margin-top: auto;
  text-align: center;
  padding: 14px 20px;
}

/* 5. 우측 플로팅 퀵 메뉴 */
.floating-quick-menu {
  position: fixed;
  right: 24px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 9999;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--glass-inset-light);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.floating-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.floating-btn:hover {
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.1), var(--glass-inset-light);
}

.blog-btn {
  background-color: var(--naver);
  color: #ffffff !important;
}

.tel-btn {
  background-color: var(--primary);
  color: #ffffff !important;
}

.tel-btn svg {
  display: block;
}

.kakao-btn {
  background-color: #fef01b;
  color: #3c1e1e !important;
}

/* 6. 인트로 캔버스 영역 */
.scroll-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  display: block;
  pointer-events: none;
  background-color: var(--bg-deep);
  transform: translateY(0);
}

.scroll-section {
  position: relative;
  width: 100%;
  z-index: 2;
  background-color: transparent;
  pointer-events: auto;
}

#section-1 { height: auto; }
#section-2 { height: auto; background-color: var(--bg-dark); }
#section-3 { height: 400vh; }
#section-4 { height: auto; background-color: var(--bg-dark); }

/*
  7대 안전장치 구간.

  section-3 과 달리 높이를 고정하지 않습니다. 내용(안전장치 6장 + 유지보수
  프로그램 상자)이 100vh 를 넘어 fixed 전면 요소로는 잘리기 때문에,
  section-1 처럼 내용을 일반 흐름에 두고 캔버스만 뒤에 고정했습니다.

  위아래 여백은 시퀀스 3(205장)이 재생될 스크롤 길이를 확보하려고 둡니다.
  내용 높이(약 143vh)만으로는 205장이 한 화면 남짓에 다 지나가 영상이
  감겨 보입니다. 60vh + 60vh 를 더하면 약 263vh 가 되어, 종전 280vh 일 때와
  거의 같은 속도(한 장당 8.6px 대 9.5px)로 재생됩니다.
  줄이면 시퀀스 3이 빨라지고, 늘리면 느려집니다.
*/
#section-5 {
  height: auto;
  padding: 60vh 0;
}

/* 안전장치와 유지보수 프로그램 상자 사이에는 선을 넣지 않습니다 (한 덩어리) */
#section-5 #service-section { border-bottom: 0; }

/*
  섹션 머리말은 카드 없이 영상 위에 바로 얹힙니다.

  시퀀스 3에는 밝은 금색 문 구간이 있어 흰 글자 대비가 3.45:1 까지
  떨어집니다. 시퀀스 1 위에 있을 때는 최악이 4.91:1 이었으므로, 옮긴 탓에
  나빠진 부분입니다. 이 사이트가 카드 없는 영상 위 글자에 이미 쓰는 방식
  (.hero-title / .sequence-title)과 같게 그림자로 받칩니다.
  이 그림자는 섹션 5에만 걸며, 다른 섹션의 머리말은 종전 그대로입니다.
*/
#section-5 .section-tag   { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85); }
#section-5 .section-title { text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75); }
#section-5 .section-desc  { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); }

/* 유지보수 프로그램 상자를 담는 껍데기. 상자 자신의 margin-top 60px 이 간격입니다. */
.program-section { padding: 0; }

/*
  계층 정리 — 캔버스 셋은 모두 같은 층(z-index: 1)입니다.

  캔버스끼리는 마크업 순서로 3 > 2 > 1 이 되어, 뒤 시퀀스가 앞 시퀀스를
  덮으며 올라옵니다. 캔버스 3만 위로 올리면 안 됩니다 — 섹션이 z-index: 2
  라서, 캔버스 3을 3으로 올리는 순간 그 위에 있어야 할 안전장치 카드가
  캔버스에 가려집니다.

  fixed 전면 요소는 이제 .sequence-feature(section-3) 하나뿐입니다.
  섹션 안에 있고, 섹션끼리는 마크업 순서로 겹침이 정해지므로 뒤 섹션이
  위에 옵니다. section-1 과 section-5 의 내용은 일반 흐름이라 해당 없습니다.
*/

/* 7. Hero 오버레이 영역 */
/*
  height 가 아니라 min-height 입니다.

  height 고정 + justify-content:center 조합에서는 내용이 화면보다 커지는 순간
  가운데 정렬이 위아래 양쪽으로 넘칩니다. 위로는 고정 헤더를 파고들고
  아래로는 잘려 나갑니다. 프로모션 카드를 넣으면서 실제로 그렇게 됐습니다.

  min-height 로 두면 넘칠 때 영역이 늘어나 잘리지 않습니다.
  padding 상단 값은 고정 헤더(약 84px)를 비켜 가기 위한 것이고,
  하단 값은 절대 배치된 마퀴 띠(약 54px)를 비켜 가기 위한 것입니다.
*/
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 110px 8% 90px;
  background: transparent;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 3;
}

.hero-tag {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--glass-medium), var(--glass-light));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border-width) solid transparent;
  background-clip: padding-box;
  position: relative;
  border-radius: 24px;
  box-shadow: var(--glass-shadow), var(--glass-inset-light);
}

.hero-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 127, 249, 0.4), rgba(45, 127, 249, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 30px;
  color: var(--text-light);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-desc-note {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 12px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 14px 28px;
  font-size: 0.95rem;
  border-radius: 4px;
}

.hero-actions .btn-primary {
  background-color: var(--primary);
  color: #fff;
  font-weight: 700;
}

.hero-actions .btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.hero-actions .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background-color: transparent;
}

.hero-actions .btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.hero-actions .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background-color: rgba(255, 255, 255, 0.05);
}

.hero-actions .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* 하단 무한 롤링 띠 */
.hero-marquee-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  z-index: 3;
}

.hero-marquee-wrapper {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}

.hero-marquee-item {
  display: inline-flex;
  align-items: center;
  margin-right: 50px;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.check-icon {
  color: var(--primary);
  margin-right: 8px;
  font-weight: 700;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 8. 정보 전달 본문 섹션 공통 */
.info-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--card-border);
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text-light);
}

.section-desc {
  color: #ffffff !important;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 300;
}

/* 가독성 증대를 위한 흰색 강제 통일 텍스트 */
.custom-white-text {
  color: #ffffff !important;
  font-weight: 300;
  line-height: 1.7;
}

/* 9. 시네마틱 양 옆 이분할(Split) 패러랙스 그리드 레이아웃 */
.parallax-split-layout {
  display: grid;
  grid-template-columns: 0.85fr 520px 0.85fr;
  gap: 0;
  align-items: start;
}

.split-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.split-center-gap {
  pointer-events: none;
}

/* 10. 미니멀 글래스모피즘 카드 컴포넌트 */
/* 일반 카드 (크기 30% 축소 튜닝 및 극도로 투명한 글래스 디자인) */
.device-card {
  /* 채움만 어둡게 — 이유는 --card-tint 주석 참조. 나머지 유리 속성은 공통입니다. */
  background: linear-gradient(135deg, var(--card-tint), var(--card-tint-2)) !important;
  backdrop-filter: blur(var(--glass-blur)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
  border: var(--glass-border-width) solid transparent !important;
  background-clip: padding-box !important;
  position: relative;
  border-radius: 16px !important;
  padding: 20px 24px !important;
  overflow: hidden;
  box-shadow: var(--glass-shadow), var(--glass-inset-light) !important;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.3;
  display: flex;
  align-items: center;
  gap: 16px;
}

.device-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.device-card:hover {
  background: linear-gradient(135deg, var(--card-tint-hover), var(--card-tint)) !important;
  box-shadow: var(--glass-glow-hover), var(--glass-shadow), var(--glass-inset-light) !important;
  transform: translateY(-4px) scale(1.02);
  opacity: 1;
}

/* 스크롤 인터랙션용 활성화 클래스 */
.device-card.scroll-visible {
  opacity: 1;
}

.device-card-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

/* 카드 이미지 스타일 */
.device-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 좌측 컬럼: 이미지 왼쪽 배치 */
.device-image-left {
  order: -1;
}

/* 우측 컬럼: 이미지 오른쪽 배치 */
.device-image-right {
  order: 1;
}

.device-name {
  font-size: 1.05rem !important;
  font-weight: 600;
  margin-bottom: 10px !important;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.device-name .sub-name {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.device-description {
  color: #ffffff !important;
  font-size: 0.82rem !important;
  line-height: 1.55;
  font-weight: 300;
}

/* [크기 유지] 대표 품목 하이라이트 카드 (로프브레이크) */
.device-card.featured-card {
  padding: 32px !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.25) 0%, rgba(0, 102, 255, 0.08) 100%) !important;
  border: 1px solid rgba(0, 102, 255, 0.15) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
  opacity: 0.3;
}

.device-card.featured-card:hover {
  border-color: rgba(0, 102, 255, 0.5) !important;
  box-shadow: 0 24px 60px rgba(0, 102, 255, 0.2) !important;
  opacity: 1;
}

.device-card.featured-card.scroll-visible {
  opacity: 1;
}

.device-card.featured-card .device-name {
  font-size: 1.25rem !important;
  margin-bottom: 14px !important;
}

.device-card.featured-card .device-description {
  font-size: 0.88rem !important;
  line-height: 1.6;
}

.card-badge {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.device-feature-points {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-feature-points p {
  font-size: 0.9rem;
  color: #ffffff !important;
  line-height: 1.5;
}

.device-feature-points strong {
  color: var(--primary);
  font-weight: 600;
}

/* 11. 수리 및 유지보수 섹션 (크기 30% 축소 튜닝) */
.repair-item {
  background: linear-gradient(135deg, var(--glass-medium), var(--glass-light)) !important;
  backdrop-filter: blur(var(--glass-blur)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
  border: var(--glass-border-width) solid transparent !important;
  background-clip: padding-box !important;
  position: relative;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  box-shadow: var(--glass-shadow), var(--glass-inset-light) !important;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.3;
  display: flex;
  align-items: center;
  gap: 14px;
}

.repair-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.repair-item:hover {
  background: linear-gradient(135deg, var(--glass-strong), var(--glass-medium)) !important;
  box-shadow: var(--glass-glow-hover), var(--glass-shadow), var(--glass-inset-light) !important;
  transform: translateY(-4px) scale(1.02);
  opacity: 1;
}

.repair-item.scroll-visible {
  opacity: 1;
}

.repair-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.repair-item h4 {
  font-size: 0.9rem !important;
  font-weight: 600;
  margin-bottom: 7px;
  color: #ffffff !important;
}

.repair-item p {
  color: #ffffff !important;
  font-size: 0.76rem !important;
  line-height: 1.4;
  font-weight: 300;
}

/*
  가격 줄 — 제목 아래 한 줄.

  위의 .repair-item p 가 색과 크기에 !important 를 걸고 있어서,
  여기서도 !important 로 되받아야 합니다. 선택자를 한 단계 더 붙여
  (.repair-item .repair-price) 우선순위를 확실히 두었습니다.
*/
.repair-item .repair-price {
  /* 글자 길이만큼만 칩이 깔리도록 — 카드 전체 폭을 덮지 않습니다 */
  display: inline-block;

  color: var(--price-ink) !important;
  background: var(--price-chip);
  border-radius: 7px;
  padding: 4px 10px;

  font-size: 0.82rem !important;
  font-weight: 700;
  line-height: 1.5;
  margin: 6px 0 8px;
  word-break: keep-all;
}

@media (max-width: 768px) {
  .repair-item .repair-price {
    font-size: 0.76rem !important;
    padding: 3px 8px;
    margin: 5px 0 7px;
  }
}

/* repair-item 컨텐츠 래퍼 */
.repair-content {
  flex: 1;
}

/* repair-item 이미지 스타일 */
.repair-image {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* 좌측 컬럼: 이미지 왼쪽 배치 */
.repair-image-left {
  order: -1;
}

/* 우측 컬럼: 이미지 오른쪽 배치 */
.repair-image-right {
  order: 1;
}

/* [크기 유지] 체계적인 유지보수 프로그램 박스 */
.maintenance-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)) !important;
  backdrop-filter: blur(var(--glass-blur)) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
  border: var(--glass-border-width) solid transparent !important;
  background-clip: padding-box !important;
  position: relative;
  border-radius: 24px !important;
  padding: 50px !important;
  margin-top: 60px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2) !important;
}

.maintenance-box-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.maintenance-box-header h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ffffff !important;
}

.maintenance-box-header p {
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 300;
}

.maintenance-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 25px;
  right: -25px;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.1);
}

.flow-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--glass-medium), var(--glass-light));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border-width) solid transparent;
  background-clip: padding-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--glass-shadow), var(--glass-inset-light);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.flow-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(45, 127, 249, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.flow-step:hover .flow-circle {
  transform: scale(1.1);
  box-shadow: var(--glass-glow), var(--glass-shadow), var(--glass-inset-light);
}

.flow-step h5 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ffffff !important;
}

.flow-step p {
  color: #ffffff !important;
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 300;
}

/* 12. 빠른 상담 CTA */
.quick-cta-section {
  background: linear-gradient(135deg, #0a111e 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 80px 0;
  text-align: center;
}

.quick-cta-section h2 {
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.quick-cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  font-weight: 300;
}

.btn-cta {
  background-color: var(--primary);
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: 8px;
}

.btn-cta:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px var(--primary-glow);
  transform: translateY(-2px);
}

/* 13. 진행 절차 타임라인 */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  width: 1px;
  height: 100%;
  background-color: var(--card-border);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
}

.timeline-content {
  background-color: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 30px;
  position: relative;
}

.timeline-num {
  position: absolute;
  left: -80px;
  top: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  z-index: 3;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-light);
}

.timeline-content p {
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 300;
}

/* 14. FAQ 아코디언 컴포넌트 */
.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

/*
  두 번째 시퀀스 구간(#section-3, 400vh)에 얹히는 소개 영상.
  sticky 로 붙여 두면 구간 내내 화면에 남습니다.
  스크롤 좌표를 JS 로 계산하던 방식(프로모션 카드가 쓰던)과 달리
  배치가 바뀌어도 깨지지 않습니다.
*/
/*
  캔버스 2 위에 얹히는 전면 요소.

  sticky 로는 안 됩니다. 캔버스가 position:fixed 로 떠 있고 app.js 가
  translateY 로 끌어올리는데, sticky 는 그 움직임을 따라갈 수 없어
  스크롤하면 글과 영상만 먼저 올라가 버립니다.

  캔버스와 똑같이 fixed 로 두고, app.js 가 캔버스에 쓰는 변위(translateY2)를
  그대로 받습니다. 좌표를 따로 계산하지 않으므로 캔버스 로직이 바뀌어도
  저절로 따라옵니다.
*/
.sequence-feature {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 2;                /* 캔버스(z-index:1) 바로 위 */
  pointer-events: none;      /* 빈 영역이 클릭을 삼키지 않도록 */
  will-change: transform;
}

/*
  가운데를 크게 비웁니다. 시퀀스 영상의 인물이 가운데 있어서,
  글과 영상을 안쪽에 두면 정작 보여줄 화면을 가립니다.
  .container(1360px) 대신 히어로와 같은 8% 여백을 써서 바깥쪽까지 씁니다.
*/
.sequence-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 42%) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  padding: 0 6%;
}

.sequence-copy {
  grid-column: 1;
  pointer-events: auto;
}

.sequence-feature .video-frame-wrap {
  grid-column: 3;
  pointer-events: auto;
}

.sequence-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
  word-break: keep-all;
}

.sequence-desc {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
  color: #ffffff;
  opacity: 0.85;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  word-break: keep-all;
}

.video-frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--glass-light);
  box-shadow: var(--glass-shadow), var(--glass-inset-light);
}

.video-frame-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.video-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
  transition: opacity 0.4s ease;
  z-index: 1;
}

.video-facade:hover .video-thumb {
  transform: scale(1.05);
}

.video-facade:hover::before {
  opacity: 0.6;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(45, 127, 249, 0.45);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
}

.video-facade:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 12px 36px rgba(45, 127, 249, 0.6);
}

/* 클릭 후 삽입되는 실제 유튜브 플레이어 */
.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.accordion-item {
  background: linear-gradient(135deg, var(--glass-light), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border-width) solid transparent;
  background-clip: padding-box;
  position: relative;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.accordion-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.accordion-item:hover {
  background: linear-gradient(135deg, var(--glass-medium), var(--glass-light));
  box-shadow: var(--glass-glow), var(--glass-shadow);
}

.accordion-item.active {
  background: linear-gradient(135deg, var(--glass-medium), var(--glass-light));
  box-shadow: var(--glass-glow-hover), var(--glass-shadow), var(--glass-inset-light);
}

.accordion-header {
  width: 100%;
  padding: 26px 24px;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.accordion-header span {
  padding-right: 20px;
}

.accordion-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  font-weight: 300;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content {
  padding: 0 24px 26px 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
}

/* 15. 컨택트 폼 섹션 */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 24px;
}

.contact-meta-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0;
}

.meta-item {
  display: flex;
  gap: 20px;
}

.meta-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.meta-text h5 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-light);
}

.meta-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.contact-social-icons {
  display: flex;
  gap: 16px;
}

.social-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.3s;
}

.social-circle:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* 견적 신청 박스 */
.contact-form-box {
  background: linear-gradient(135deg, var(--glass-strong), var(--glass-medium));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border-width) solid transparent;
  background-clip: padding-box;
  position: relative;
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--glass-shadow), var(--glass-inset-light);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-form-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(45, 127, 249, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-title {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid #282828;
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--text-light);
  font-size: 0.92rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-control::placeholder {
  color: #555;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 12px var(--primary-glow);
}

textarea.form-control {
  resize: none;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 14px 20px;
  font-size: 0.95rem;
  margin-top: 8px;
}

.btn-submit:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* 16. 푸터 */
#footer {
  background-color: var(--bg-deep);
  border-top: 1px solid var(--card-border);
  padding: 60px 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 300;
}

.footer-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 300;
}

/*
  대표번호 — 휴대폰에서 눌러 바로 걸 수 있게 링크로 두되,
  주변 문구와 같은 톤이라 링크처럼 튀지 않습니다.
  (팩스는 걸 수 없으므로 링크로 만들지 않았습니다)
*/
.footer-tel {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-tel:hover {
  color: var(--primary);
}

.footer-tel:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

.footer-info .copyright {
  margin-top: 16px;
  color: #555555;
}
/* 17. 유지보수 프로모션 카드 (섹션 3) */
/*
  히어로 2단 배치.
  카드가 스크롤로 제어되던 fixed 요소에서 히어로 안의 정적 요소로 바뀌었습니다.
  좌측은 문구, 우측은 프로모션 카드입니다.
*/
/*
  기본은 한 컬럼입니다.
  2단은 폭이 확보되는 1025px 이상에서만 켭니다.

  반대로(기본 2단 + 좁을 때 해제) 짜면, 해제 규칙을 한 곳이라도 빠뜨리는 순간
  좌측 문구 칸이 0에 가깝게 눌려 글자가 세로로 쏟아집니다. 실제로 그렇게 됐었습니다.
*/
.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  width: 100%;
}

@media (min-width: 1025px) {
  .hero-container {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 56px;
    max-width: 1500px;
  }
}

.maintenance-promo-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 34px 30px;
  background: linear-gradient(135deg, var(--glass-strong), var(--glass-medium));
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border-width) solid transparent;
  background-clip: padding-box;
  border-radius: 20px;
  text-align: center;
  z-index: 3;
  box-shadow: var(--glass-glow), var(--glass-shadow), var(--glass-inset-light);
  animation: liquid-pulse 3s ease-in-out infinite;

  /* 히어로가 100vh 고정이라, 화면이 낮으면 카드가 하단 배너를 밀어냅니다.
     넘칠 때만 카드 안에서 스크롤되게 막아둡니다. */
  max-height: calc(100vh - 260px);
  overflow-y: auto;
}

/* 항상 보이는 자리로 옮겼으므로 스크롤 페이드인은 쓰지 않습니다 */
.maintenance-promo-card.scroll-visible {
  opacity: 1;
}

/* 전국 / 전 지역 */
.promo-region {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  opacity: 0.75;
  margin: -8px 0 16px;
}

/* ============================================================
   진행 현황 카드 (진행 절차 섹션 상단)

   이 섹션은 검은 배경(section-2)이라 뒤에 비칠 영상이 없습니다.
   유리 효과 대신 또렷한 카드로 둡니다.

   막대 길이는 app.js 의 initShareBars() 가 화면에 적힌 비율에서 읽어
   width 로 넣습니다. 마크업에는 숫자가 한 번만 적혀 있습니다.
   ============================================================ */
.share-card {
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 30px 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.share-head {
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.share-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  word-break: keep-all;
}

.share-rows {
  display: grid;
  gap: 13px;
  margin-bottom: 26px;
}

.share-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 14px;
}

.share-name {
  font-size: 0.88rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.85;
  white-space: nowrap;
}

.share-bar {
  display: block;
  height: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* width 는 app.js 가 넣습니다. 값이 없으면 막대만 비고 비율 글자는 남습니다. */
.share-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--primary), #5c9dff);
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.share-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.share-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.share-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 127, 249, 0.35);
}

.share-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* 용량·쪽수를 미리 알리면 큰 파일이라도 기다려 줍니다 */
.share-cta-note {
  font-size: 0.74rem;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 2px;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .share-bar i { transition: none; }
}

@media (max-width: 768px) {
  .share-card {
    padding: 22px 20px;
    margin-bottom: 40px;
  }

  .share-title { font-size: 0.98rem; }

  .share-row {
    grid-template-columns: 62px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .share-name { font-size: 0.8rem; }
  .share-value { font-size: 0.82rem; }

  .share-cta {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    padding: 12px 16px;
  }
}

/* ============================================================
   7대 안전장치 시공 가격 (#section-1 안, 시퀀스 1 위)

   section-5 에서 옮겨 왔습니다. 그곳에서는 캔버스와 함께 fixed 로 떠서
   100vh 안에 욱여넣어야 했지만, 여기서는 일반 흐름이라 제한이 없습니다.

   격자는 따로 만들지 않고 바로 아래 유지보수 섹션과 같은
   .parallax-split-layout(좌 · 520px 여백 · 우)을 그대로 씁니다.
   두 섹션의 좌우 열이 정확히 같은 선에 맞고, 가운데로 승강기 영상이
   이어져 보입니다. 좁은 화면에서 세로로 쌓이는 처리도 이미 되어 있습니다.
   ============================================================ */
.pricing-section {
  padding: 120px 0;
  border-bottom: 1px solid var(--card-border);
}

/*
  두 판 공통. 유리 질감(블러·그라데이션 테두리·둥근 모서리·광택)은
  다른 카드와 같고, 색만 --panel-tint 로 어둡게 씁니다. 이유는 토큰 주석 참조.
*/
.pricing-panel {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--panel-tint), var(--panel-tint-2));
  backdrop-filter: blur(var(--panel-blur));
  -webkit-backdrop-filter: blur(var(--panel-blur));
  border: var(--glass-border-width) solid transparent;
  background-clip: padding-box;
  box-shadow: var(--glass-glow), 0 18px 48px rgba(0, 0, 0, 0.45), var(--glass-inset-light);
}

/* 프로모션 카드와 같은 그라데이션 테두리 */
.pricing-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/*
  좌우 배치는 .split-column(세로 flex)이 맡습니다. 열 너비를 그대로 채워
  아래 유지보수 카드와 좌우 끝선이 맞습니다.
*/
/* 좌측 — 시공 가격 */
.pricing-panel-rates {
  padding: 28px 32px;
}

/* 우측 — 공통 사항 + 견적 문의 */
.pricing-panel-terms {
  padding: 24px 26px;
}

.terms-head {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-head {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 8px;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
  word-break: keep-all;
}

.price-group { margin-bottom: 18px; }

.price-group-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 9px;
}

.price-unit-note {
  font-size: 0.76rem;
  font-weight: 400;
  color: #ffffff;
  opacity: 0.55;
  margin-left: 6px;
}

.price-rows { margin: 0; display: grid; gap: 2px; }

.price-rows > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.price-rows > div:last-child { border-bottom: 0; }

.price-rows dt {
  font-size: 0.88rem;
  color: #ffffff;
  opacity: 0.82;
  word-break: keep-all;
}

.price-rows dd {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-rows dd span {
  font-size: 0.78rem;
  font-weight: 500;
  color: #ffffff;
  margin-left: 3px;
}

/* 조건 목록 — 우측 판의 본문입니다 */
.price-terms {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.price-terms li {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #ffffff;
  opacity: 0.72;
  word-break: keep-all;
}

.price-terms li::before {
  content: '·';
  margin-right: 7px;
  color: var(--primary);
  opacity: 1;
}

.pricing-cta {
  display: block;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--primary);
  border-radius: 10px;
  padding: 13px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.pricing-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.pricing-cta:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* 맥동 애니메이션은 계속 보이는 자리로 옮겼으므로 설정을 존중합니다 */
@media (prefers-reduced-motion: reduce) {
  .maintenance-promo-card {
    animation: none;
  }
}

.maintenance-promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(45, 127, 249, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes liquid-pulse {
  0%, 100% {
    box-shadow: var(--glass-glow), var(--glass-shadow), var(--glass-inset-light);
  }
  50% {
    box-shadow: 0 12px 48px rgba(45, 127, 249, 0.35), var(--glass-shadow), var(--glass-inset-light);
  }
}

.maintenance-promo-card.scroll-visible {
  opacity: 1;
}

.promo-badge {
  display: inline-block;
  padding: 7px 18px;
  background: linear-gradient(135deg, var(--primary), #1E6FE8);
  border-radius: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.promo-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff !important;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.promo-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

.price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.price-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}

.price-vat {
  font-size: 0.78rem;
  color: #ffffff;
  opacity: 0.8;
  margin-bottom: 14px;
}

.promo-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 18px;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--primary);
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 16px rgba(45, 127, 249, 0.3);
}

.promo-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(45, 127, 249, 0.5);
}

.promo-cta svg {
  width: 16px;
  height: 16px;
}

/* 18. 견적 문의 — 개인정보 동의 및 접수 결과 */

/* hidden 속성이 display 선언을 항상 이기도록 고정 */
[hidden] {
  display: none !important;
}

.consent-block {
  margin: 4px 0 22px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ffffff;
}

.consent-check input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-toggle {
  display: inline-block;
  margin-top: 8px;
  margin-left: 27px;
  padding: 0;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-detail {
  margin: 14px 0 0 27px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.consent-detail dl {
  margin: 0 0 12px;
  display: grid;
  gap: 8px;
}

.consent-detail dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  align-items: baseline;
}

.consent-detail dt {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.55;
  white-space: nowrap;
}

.consent-detail dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #ffffff;
  opacity: 0.85;
  word-break: keep-all;
}

.consent-detail p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #ffffff;
  opacity: 0.6;
  word-break: keep-all;
}

.consent-detail a { color: var(--primary); }

/* 접수 결과 — 사실대로만 표시합니다 */
.inquiry-status {
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.65;
  border: 1px solid;
  word-break: keep-all;
}

.inquiry-status.is-ok {
  color: #7ee2b8;
  background: rgba(18, 190, 130, 0.1);
  border-color: rgba(18, 190, 130, 0.4);
}

.inquiry-status.is-error {
  color: #ff9d92;
  background: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.4);
}

.inquiry-status.is-busy {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  opacity: 0.85;
}

/* 푸터 법정 고지 링크 */
.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-legal a {
  color: #ffffff;
  opacity: 0.7;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

.consent-toggle:focus-visible,
.consent-check input:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* 19. 반응형 미디어 쿼리 */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }

  .parallax-split-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .split-center-gap {
    display: none;
  }

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

  /*
    세로로 쌓이는 것은 .parallax-split-layout 이 이미 1열로 바뀌면서
    처리됩니다. 여기서는 판이 지나치게 넓어지지 않도록만 잡습니다.
  */
  .pricing-panel-rates,
  .pricing-panel-terms {
    max-width: 520px;
    margin: 0 auto;
  }

  /* 좁아지면 가운데를 비울 여유가 없으므로 세로로 쌓습니다 */
  .sequence-feature-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 0 7%;
  }

  .sequence-copy,
  .sequence-feature .video-frame-wrap {
    grid-column: 1;
  }

  .sequence-title {
    font-size: 1.8rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .footer-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info {
    text-align: center;
    align-items: center;
  }

  .hero-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  .info-section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .maintenance-flow {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .contact-form-box {
    padding: 30px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .floating-quick-menu {
    right: 16px;
    bottom: 80px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  /*
    히어로 세로 압축.
    이 블록에 히어로 규칙이 없어서 휴대폰에서도 데스크톱 크기(제목 2.25rem)를
    그대로 쓰고 있었습니다. 카드까지 더해지자 화면 높이를 넘겨
    제목이 헤더를 파고들고 카드가 잘렸습니다.
  */
  .hero-section {
    padding: 100px 6% 80px;
  }

  .hero-tag {
    font-size: 0.72rem;
    padding: 6px 15px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: 1.72rem;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 22px;
  }

  .hero-desc-note {
    font-size: 0.78rem;
    margin-top: 8px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    padding: 11px 18px;
    font-size: 0.85rem;
  }

  .hero-container {
    gap: 18px;
  }

  /*
    가격판 압축. 전면 요소가 100vh 고정이라 넘치면 잘립니다.
    글자와 여백을 줄여 작은 화면에서도 표 전체가 들어가게 합니다.
  */
  .pricing-panel {
    border-radius: 16px;
  }

  .pricing-panel::before { border-radius: 16px; }

  .pricing-panel-rates { padding: 18px 18px; }
  .pricing-panel-terms { padding: 15px 16px; }

  .terms-head {
    font-size: 0.75rem;
    padding-bottom: 9px;
    margin-bottom: 10px;
  }

  .pricing-head {
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .pricing-tag { font-size: 0.64rem; margin-bottom: 6px; }
  .pricing-title { font-size: 1.15rem; }

  .price-group { margin-bottom: 14px; }
  .price-group-name { font-size: 0.86rem; margin-bottom: 6px; }
  .price-unit-note { font-size: 0.7rem; }

  .price-rows > div { padding: 5px 0; gap: 10px; }
  .price-rows dt { font-size: 0.78rem; }
  .price-rows dd { font-size: 1.02rem; }
  .price-rows dd span { font-size: 0.7rem; }

  .price-terms {
    margin-bottom: 13px;
    gap: 6px;
  }

  .price-terms li { font-size: 0.7rem; line-height: 1.5; }

  .pricing-cta { font-size: 0.85rem; padding: 11px; }

  /* 히어로 제목(1.72rem)보다 커지지 않게 낮춥니다 */
  .sequence-title {
    font-size: 1.45rem;
    margin-bottom: 12px;
  }

  .sequence-desc {
    font-size: 0.9rem;
  }

  .sequence-feature-inner {
    gap: 22px;
  }

  /*
    모바일 축약 띠.
    같은 마크업을 납작하게 눌러서 카드 높이를 최소화합니다.
  */
  .maintenance-promo-card {
    max-width: 100%;
    padding: 15px 16px;
    border-radius: 14px;
    text-align: left;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "badge  region"
      "title  title"
      "price  cta";
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
    animation: none;               /* 좁은 화면에서 맥동은 산만합니다 */
  }

  /*
    배지와 '전국 / 전 지역' 은 각자 칸을 가집니다.
    한 칸에 겹쳐 놓고 여백으로 밀면 글자 길이가 조금만 달라져도 줄이 터집니다.
  */
  .promo-badge {
    grid-area: badge;
    justify-self: start;
    font-size: 0.62rem;
    padding: 4px 11px;
    margin: 0;
    white-space: nowrap;
  }

  .promo-region {
    grid-area: region;
    justify-self: end;
    margin: 0;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  /* 가격과 부가세 문구는 위아래로 둡니다. 나란히 두면 부가세 쪽이 눌립니다. */
  .promo-price {
    grid-area: price;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin: 0;
    min-width: 0;
  }

  .price-row    { gap: 5px; }
  .price-amount { font-size: 1.4rem; }
  .price-label  { font-size: 0.78rem; }
  .price-unit   { font-size: 0.82rem; }

  .price-vat {
    font-size: 0.63rem;
    margin: 0;
    opacity: 0.7;
    white-space: nowrap;
  }

  /*
    프로모션 문구는 이 카드의 존재 이유라 좁은 화면에서도 남깁니다.
    배지 줄과 가격 줄 사이에 자기 줄을 차지합니다.

    마크업의 <br> 은 살려 둡니다. 데스크톱과 같은 두 줄 형태라야
    '유지보수 계약 시 / 3개월 무상 서비스' 로 끊겨 읽힙니다.
  */
  .promo-title {
    grid-area: title;
    font-size: 0.95rem;
    line-height: 1.35;
    margin: 0;
  }

  /* 부제('프리미엄 유지보수 전문')는 배지와 겹치는 말이라 계속 뺍니다 */
  .promo-subtitle {
    display: none;
  }

  .promo-cta {
    grid-area: cta;
    justify-self: end;
    padding: 11px 18px;
    font-size: 0.8rem;
    gap: 6px;
    white-space: nowrap;
  }

  .promo-cta svg {
    width: 14px;
    height: 14px;
  }
}

/*
  태블릿 구간(769~1024px). 히어로는 이미 기본값인 한 컬럼이므로
  카드 크기만 화면에 맞게 줄입니다.

  min-width 를 붙인 이유: 이 블록이 파일에서 768px 블록보다 뒤에 있어,
  max-width 만 쓰면 우선순위가 같은 모바일 축약 띠 규칙을 덮어씁니다.
*/
@media (min-width: 769px) and (max-width: 1024px) {
  .maintenance-promo-card {
    max-width: 420px;
    padding: 24px 22px;
  }

  .promo-title { font-size: 1.2rem; }
  .price-amount { font-size: 1.9rem; }
}

/*
  세로가 짧은 화면(iPhone SE 등) 전용이던 가격판 압축 블록은 없앴습니다.

  가격판이 fixed 로 떠서 100vh 안에 반드시 들어가야 했을 때만 필요했던
  처리입니다. 지금은 일반 흐름이라 넘치면 그냥 스크롤되므로, 글자를 줄이고
  '공통 사항' 머리말을 숨기던 것이 오히려 손해입니다.
*/

/*
  아주 좁은 화면(iPhone SE 등 360px 이하) 전용.
  위 축약 띠 그대로면 2행(가격 + 문의하기)의 여유가 6px 남짓이라,
  기기별 글꼴 차이만으로도 줄이 터집니다. 여백과 글자를 조금 더 줄입니다.
  이 블록은 768px 블록보다 뒤에 있어야 우선합니다.
*/
@media (max-width: 360px) {
  .maintenance-promo-card {
    padding: 14px 13px;
    column-gap: 9px;
  }

  .promo-badge  { font-size: 0.58rem; padding: 4px 9px; }
  .promo-region { font-size: 0.66rem; }
  .promo-title  { font-size: 0.86rem; }
  .price-amount { font-size: 1.25rem; }
  .price-label  { font-size: 0.72rem; }
  .price-unit   { font-size: 0.76rem; }
  .price-vat    { font-size: 0.6rem; }

  .promo-cta {
    padding: 10px 14px;
    font-size: 0.75rem;
  }

  /* 아이콘을 빼서 버튼 폭을 20px 확보합니다 */
  .promo-cta svg {
    display: none;
  }
}

/* Fallback for browsers that don't support backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .device-card,
  .repair-item,
  .flow-circle,
  .accordion-item,
  .contact-form-box,
  .maintenance-promo-card,
  .hero-tag,
  .floating-btn,
  .maintenance-box {
    background: rgba(15, 15, 15, 0.85) !important;
  }
}
