
/* 전체 섹션 */
.tab-image-section {
  width: 100%;
  padding: 70px 20px;
  background: #f7f4f1;
  box-sizing: border-box;
}

/* 내부 컨테이너 */
.tab-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* 제목 */
.tab-title {
  font-size: 36px;
  font-weight: 800;
  color: #2b1d18;
  margin-bottom: 10px;
}

.tab-desc {
  font-size: 18px;
  color: #666;
  margin-bottom: 35px;
}

/* 탭 버튼 영역 */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

/* 탭 버튼 */
.tab-btn {
  min-width: 160px;
  padding: 15px 28px;
  border: 1px solid #784c40;
  background: #fff;
  color: #784c40;
  font-size: 17px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  background: #784c40;
  color: #fff;
}

/* 이미지 박스 */
.tab-content-wrap {
  width: 100%;
}

/* 기본 숨김 */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

/* 활성화된 이미지 */
.tab-content.active {
  display: block;
}

/* 이미지 */
.tab-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

/* 부드러운 전환 효과 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .tab-image-section {
    padding: 45px 15px;
  }

  .tab-title {
    font-size: 28px;
  }

  .tab-desc {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .tab-buttons {
    gap: 8px;
  }

  .tab-btn {
    width: calc(33.333% - 6px);
    min-width: auto;
    padding: 12px 5px;
    font-size: 14px;
    border-radius: 12px;
  }

  .tab-content img {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .tab-btn {
    width: 100%;
    font-size: 15px;
  }
}


  img {
      max-width: 100%;
      height: auto;
    }

    .section-img {
      width: 100%;
      max-width: 1200px;
      border-radius: 8px;
    }

    .unit-card {
      background: #fff;
      border-radius: 16px;
      padding: 30px 24px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      height: 100%;
      text-align: center;
    }

    .unit-card h3 {
      font-size: 30px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .unit-card p {
      margin-bottom: 8px;
      color: #555;
    }

    .footer .sitename {
      color: inherit;
    }

    /* 등촌역 박스 */
    .station-badge {
      display: inline-block;
      background-color: #784c40;
      color: #fff;
      padding: 4px 10px;
      border-radius: 3px;
      font-size: 0.9em;
    }

    /* 유튜브 영상 반응형 영역 */
    .youtube-section {
      padding: 70px 0;
      background: #f8f8f8;
    }

    .youtube-section .section-title h2 {
      font-size: 34px;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .youtube-section .section-title p {
      color: #555;
      margin-bottom: 28px;
    }

    .youtube-video-wrap {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .youtube-autoplay-box {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: 16px;
      overflow: hidden;
      background: #000;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    }

    .youtube-autoplay-box iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

/* ==============================
   빠른 버튼 전체 영역
============================== */
.quick-buttons {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 10px;

  transform: none !important;
}

/* ==============================
   공통 버튼 스타일
============================== */
.quick-btn,
.quick-call,
.quick-register {
  width: 160px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;

  border-radius: 8px;
  border: none;

  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;

  cursor: pointer;

  /* 각각 독립적으로 움직이게 함 */
  will-change: transform;
}

/* 전화상담 버튼 */
.quick-call {
  background-color: #784c40;
}

/* 관심고객등록 버튼 */
.quick-register {
  background-color: #2f6f5e;
}

/* 빠른 버튼 처음에는 숨김 */
.quick-buttons {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  pointer-events: none;
}

/* 빠른 버튼 오류제거 */
.quick-buttons {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  pointer-events: none;
}

.quick-buttons.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* 스크롤 후 보이기 */
.quick-buttons.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* 마우스 올렸을 때 */
.quick-btn:hover,
.quick-call:hover,
.quick-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* 버튼 누를 때 - 누른 버튼만 움직임 */
.quick-btn:active,
.quick-call:active,
.quick-register:active {
  transform: translateY(2px) scale(0.96);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
}

/* 아이콘 크기 */
.quick-btn i,
.quick-call i,
.quick-register i {
  font-size: 17px;
}

/* ==============================
   모바일 반응형
============================== */
@media (max-width: 768px) {
  .quick-buttons {
    right: 12px;
    bottom: 70px;
    gap: 8px;
  }

  .quick-btn,
  .quick-call,
  .quick-register {
    width: 148px;
    height: 44px;
    font-size: 14px;
    border-radius: 7px;
  }

  .quick-btn i,
  .quick-call i,
  .quick-register i {
    font-size: 16px;
  }
}
 
/* ==============================
   관심고객 등록 폼
============================== */
    .lead-section {
      padding: 70px 0;
      background: linear-gradient(135deg, #0b1f3a 0%, #173b68 100%);
      color: #fff;
    }

    .lead-card {
      max-width: 720px;
      margin: 0 auto;
      background: #fff;
      color: #222;
      border-radius: 20px;
      padding: 34px;
      box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
    }

    .lead-card h2 {
      margin-bottom: 10px;
      font-size: 32px;
      font-weight: 800;
      text-align: center;
    }

    .lead-card .lead-desc {
      text-align: center;
      color: #666;
      margin-bottom: 26px;
    }

    .lead-form .form-label {
      font-weight: 700;
      margin-bottom: 8px;
    }

    .lead-form .form-control {
      height: 54px;
      border-radius: 12px;
      border: 1px solid #ddd;
      font-size: 18px;
      padding: 0 16px;
    }

    .lead-form .submit-btn {
      width: 100%;
      height: 58px;
      border: 0;
      border-radius: 14px;
      background: #ff6a00;
      color: #fff;
      font-size: 20px;
      font-weight: 800;
      transition: transform 0.15s ease, filter 0.15s ease;
    }

    .lead-form .submit-btn:hover {
      filter: brightness(1.06);
    }

    .lead-form .submit-btn:active {
      transform: translateY(2px) scale(0.99);
    }

    .lead-privacy {
      margin-top: 14px;
      font-size: 14px;
      color: #666;
      line-height: 1.6;
    }

    .lead-message {
      display: none;
      margin-bottom: 18px;
      padding: 14px 16px;
      border-radius: 12px;
      font-weight: 700;
      text-align: center;
    }

    .lead-message.success {
      display: block;
      background: #e8f7ee;
      color: #126b35;
    }

    .lead-message.error {
      display: block;
      background: #fff0f0;
      color: #b42318;
    }

    .hp-field {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

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

      .lead-card {
        padding: 26px 20px;
        border-radius: 16px;
      }

      .lead-card h2 {
        font-size: 26px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .zoom-text {
        animation: none;
      }
    }

/* 모바일 메인 이미지 크기 완전 고정 */
@media (max-width: 768px) {
  #hero.hero,
  .hero,
  #hero-carousel,
  #hero-carousel .carousel-inner,
  #hero-carousel .carousel-item {
    height: var(--fixed-hero-height) !important;
    min-height: var(--fixed-hero-height) !important;
    max-height: var(--fixed-hero-height) !important;
    overflow: hidden !important;
  }

  #hero-carousel .carousel-item img,
  .hero .carousel-item img,
  .hero img {
    width: 100% !important;
    height: var(--fixed-hero-height) !important;
    min-height: var(--fixed-hero-height) !important;
    max-height: var(--fixed-hero-height) !important;
    object-fit: cover !important;
    object-position: center center !important;

    transform: none !important;
    scale: 1 !important;
    animation: none !important;
    transition: none !important;
  }

  #hero-carousel .carousel-item.active img,
  .hero .carousel-item.active img {
    transform: none !important;
    scale: 1 !important;
    animation: none !important;
    transition: none !important;
  }
}