/* ========================================
   PREED 테마 메인 스타일시트 (정리본)
   - 중복 푸터(preed-ft / footer 중복 / patch 중복) 삭제
   - preed-footer 기준으로만 유지 (height 300px)
======================================== */

/* 기본 리셋 */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* 링크/버튼 클릭 시 파란색 아웃라인 제거 */
*, *:before, *:after {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

a, button, input, select, textarea, [tabindex], img {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

a:focus, a:active, a:visited,
button:focus, button:active,
*:focus {
  outline: none !important;
  outline-width: 0 !important;
  box-shadow: none !important;
}

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ========================================
   메인 컨테이너
======================================== */
#preed-main { width: 100%; max-width: 100%; margin: 0 auto; }

/* ========================================
   헤더
======================================== */
#preed-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  z-index: 1000;
}

.header-inner {
  width: 100%;
  height: 100px;
  padding: 0;
  display: grid;
  grid-template-columns: 350px 1fr 250px;
  align-items: center;
  gap: 30px;
}

/* 로고 */
.header-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 100px;
}

.header-logo a {
  display: block;
  width: 320px;
  height: 90px;
  text-decoration: none;
}

.header-logo img {
  width: 320px !important;
  height: 90px !important;
  min-width: 320px;
  min-height: 90px;
  max-width: 320px;
  max-height: 90px;
  object-fit: contain;
  display: block;
}

/* 이미지가 없을 때 숨김 */
.header-logo img[style*="display: none"] { display: none !important; }

.logo-text { display: flex; flex-direction: column; gap: 2px; }

.logo-main {
  font-size: 42px;
  font-weight: 700;
  color: #0066cc;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-sub {
  font-size: 13px;
  color: #666;
  letter-spacing: -0.3px;
  margin-top: 2px;
  line-height: 1;
}

.header-tel { font-size: 14px; color: #666; }

.header-tel strong {
  font-size: 20px;
  color: #e74c3c;
  font-weight: 700;
  margin-left: 5px;
}

/* 네비게이션 */
.header-nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
  padding-bottom: 5px;
  display: inline-block;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 3px;
  background: #00b9ff;
  transition: width 0.4s ease;
}

.nav-list a:hover { color: #00b9ff; }
.nav-list a:hover::after { width: 100%; }

/* 서브메뉴 (드롭다운) */
.nav-list > li {
  position: relative;
}

.nav-list > li.has-submenu > a::after {
  display: none;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 10px;
}

.submenu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  margin-top: 5px;
}

.submenu li {
  padding: 0;
}

.submenu li a {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-align: center;
  transition: all 0.2s ease;
}

.submenu li a::after {
  display: none;
}

.submenu li a:hover {
  background: #f5f5f5;
  color: #00b9ff;
}

/* 전화번호 버튼 */
.header-contact { 
  display: flex; 
  justify-content: flex-end; 
  padding-right: 50px;
  min-width: 200px;
  overflow: visible;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #00b9ff;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  overflow: visible;
}

.contact-btn:hover {
  background: #0099dd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 185, 255, 0.3);
}

.contact-btn i { font-size: 18px; }

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* 모바일 메뉴 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.is-active { right: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.mobile-logo { font-size: 24px; font-weight: 700; color: #0066cc; }

.mobile-menu-close {
  font-size: 24px;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { border-bottom: 1px solid #f0f0f0; }

.mobile-nav a {
  display: block;
  padding: 18px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
}

.mobile-nav a:hover { background: #f8f9fa; color: #0066cc; }

/* 모바일 서브메뉴 */
.mobile-has-sub > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-has-sub > a i {
  transition: transform 0.3s ease;
}

.mobile-has-sub.is-open > a i {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  background: #f8f9fa;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-has-sub.is-open .mobile-submenu {
  display: block;
}

.mobile-submenu li {
  border-bottom: 1px solid #eee;
}

.mobile-submenu li:last-child {
  border-bottom: none;
}

.mobile-submenu a {
  padding: 15px 20px 15px 35px;
  font-size: 15px;
  color: #555;
}

.mobile-submenu a:hover {
  background: #eee;
  color: #00b9ff;
}

.mobile-contact { padding: 20px; }

.mobile-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: #00b9ff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-menu-overlay.is-active { opacity: 1; visibility: visible; }

/* ========================================
   히어로 슬라이더
======================================== */
.preed-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  overflow: hidden;
  background: #000;
  margin-top: 100px;
}

.preed-slider { position: relative; width: 100%; height: 100%; }

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 0s 1s;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease-in-out, visibility 0s;
  z-index: 1;
}

.slide-dim {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.slide-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 18px;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* 유튜브 플레이어 */
.yt-wrap { position: relative; width: 100%; height: 100%; }

#ytPlayer {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  pointer-events: none;
}

/* 음소거 토글 버튼 */
.yt-mute-btn {
  position: absolute;
  top: 20px; left: 20px;
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.yt-mute-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.yt-mute-btn:active { transform: scale(0.95); }

.yt-mute-btn i { font-size: 20px; transition: all 0.3s ease; }
.yt-mute-btn:hover i { transform: scale(1.1); }

.yt-open {
  position: absolute;
  bottom: 20px; right: 20px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  z-index: 10;
  transition: background 0.3s;
}

.yt-open:hover { background: #fff; }

/* 도트 인디케이터 */
.preed-dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
  padding: 0;
}

.dot:hover { background: rgba(255, 255, 255, 0.8); transform: scale(1.2); }
.dot.is-active { background: #fff; width: 32px; border-radius: 6px; }

/* ========================================
   빠른 상담 섹션
======================================== */
.preed-consult {
  width: 100%;
  padding: 60px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 하단 고정 상담신청 버튼 */
.floating-consult {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.floating-consult.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.floating-btn:active { transform: translateY(-1px); }

.floating-btn i { font-size: 20px; animation: ring 1s ease infinite; }

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
}

.consult-inner { max-width: 800px; margin: 0 auto; }

.consult-title {
  text-align: center;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.consult-title strong {
  font-weight: 700;
  font-size: 32px;
  display: inline-block;
  margin-left: 10px;
}

.consult-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.c-input,
.c-select {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.3s;
}

.c-input:focus,
.c-select:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.c-input::placeholder { color: #999; }

.c-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23333' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.c-phone { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 10px; }

.c-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  padding: 10px 0;
}

.c-check input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; }

.c-btn {
  padding: 18px;
  background: #fff;
  color: #667eea;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s;
  margin-top: 10px;
}

.c-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.c-btn:active { transform: translateY(0); }

/* ========================================
   접근성
======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 포커스 */
a:focus, button:focus, input:focus, select:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* 유틸 */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* ========================================
   고객후기 섹션 (메인 페이지)
   ======================================== */
.preed-review {
  padding: 80px 0;
  background: #f8f9fa;
}

.review-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.preed-review .section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.preed-review .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
}

.preed-review .section-desc {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.preed-review .more-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #00b9ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.preed-review .more-link:hover {
  text-decoration: underline;
}

.review-content {
  /* latest 스킨이 들어감 */
}

@media (max-width: 768px) {
  .preed-review {
    padding: 50px 0;
  }
  
  .preed-review .section-title {
    font-size: 26px;
  }
  
  .preed-review .more-link {
    position: static;
    display: block;
    margin-top: 15px;
    transform: none;
  }
}

/* ========================================
   PREED FOOTER (최종 / tail.php 구조 기준)
   - 높이: 300px (PC 고정)
   - 회사정보: 12px
   - 패밀리사이트: 14px
======================================== */
#preed-footer { padding: 0 !important; }

.preed-footer {
  width: 100%;
  background: #162f4f;
  color: #fff;
  height: 300px;
  min-height: 300px;
}

.preed-footer-inner {
  max-width: 1600px;
  height: 300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* left */
.preed-footer-left { flex: 0 0 auto; }

.preed-footer-logo {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.preed-footer-logo img {
  width: 360px;
  height: auto;
  display: block;
}

/* divider */
.preed-footer-divider {
  width: 6px;
  height: 120px;
  background: #00b9ff;
  border-radius: 2px;
  opacity: .95;
}

/* center */
.preed-footer-center { flex: 1 1 auto; }

.preed-footer-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #d7e2ee;
}
.preed-footer-info b { font-weight: 700; }

/* right */
.preed-footer-right {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

/* family */
.preed-family { position: relative; }

.preed-family-btn {
  min-width: 180px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.preed-family-btn .arrow { font-size: 12px; opacity: .9; }

.preed-family-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  width: 100%;
  background: #0f2744;
  border: 1px solid rgba(255,255,255,.18);
  display: none;
  z-index: 1000;
}

.preed-family.is-open .preed-family-panel { display: block; }

.preed-family-panel a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.1);
}

.preed-family-panel a:hover { background: rgba(0,185,255,.18); }

/* ========================================
   반응형 (기존 유지 + footer 대응)
======================================== */
@media (max-width: 768px) {
  /* 모바일 동영상 50% 줄임 */
  .preed-hero { height: 400px; margin-top: 70px; }
  
  #preed-header { 
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  }

  .header-inner {
    height: 70px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .header-logo { 
    padding-left: 15px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .header-logo img {
    width: 180px !important;
    height: auto !important;
    max-height: 50px !important;
    min-width: auto !important;
    min-height: auto !important;
  }

  .header-tel { display: none !important; }
  
  .header-nav { display: none !important; }
  .nav-list { display: none !important; }
  
  .header-contact { display: none !important; }
  
  .mobile-menu-btn { 
    display: flex !important; 
    flex-direction: column !important;
    gap: 5px !important;
    padding: 10px !important;
    padding-right: 15px !important;
    flex-shrink: 0 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
  }
  
  .mobile-menu-btn span {
    display: block !important;
    width: 25px !important;
    height: 3px !important;
    background: #333 !important;
    border-radius: 2px !important;
  }

  .floating-consult { bottom: 20px; right: 20px; }
  .floating-btn { padding: 15px 24px; font-size: 15px; }

  .yt-mute-btn { width: 45px; height: 45px; top: 15px; left: 15px; }
  .yt-mute-btn i { font-size: 18px; }

  .slide-content h2 { font-size: 32px; }
  .slide-content p { font-size: 16px; }

  /* footer: 모바일/태블릿은 높이 자동 */
  .preed-footer { height: auto; min-height: auto; }
  .preed-footer-inner {
    height: auto;
    flex-wrap: wrap;
    padding: 28px 20px;
    gap: 22px;
  }
  .preed-footer-divider { display: none; }
}

@media (max-width: 480px) {
  /* 모바일 동영상 50% 줄임 */
  .preed-hero { height: 400px; margin-top: 60px; }
  
  #preed-header { height: 60px !important; min-height: 60px !important; max-height: 60px !important; }
  .header-inner { height: 60px !important; }
  .header-logo { padding-left: 12px !important; }

  .header-logo img {
    width: 140px !important;
    height: auto !important;
    max-height: 40px !important;
  }

  .mobile-menu-btn { padding-right: 12px !important; }

  .floating-consult { bottom: 15px; right: 15px; }
  .floating-btn { padding: 14px 20px; font-size: 14px; }
  .floating-btn span { display: none; }
  .floating-btn {
    width: 60px; height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
  .floating-btn i { font-size: 24px; margin: 0; }

  .yt-mute-btn { width: 40px; height: 40px; top: 10px; left: 10px; }
  .yt-mute-btn i { font-size: 16px; }

  .slide-content h2 { font-size: 24px; margin-bottom: 10px; }
  .slide-content p { font-size: 14px; }

  .preed-consult { padding: 40px 15px; }
  .c-input, .c-select { padding: 12px 15px; font-size: 14px; }
  .c-btn { padding: 15px; font-size: 16px; }

  .dot { width: 10px; height: 10px; }
  .dot.is-active { width: 24px; }
  .preed-dots { gap: 8px; }

  .mobile-menu { width: 100%; right: -100%; }
}

/* ========================================
   슬라이더 아래 1600px 섹션 (최종 적용)
   - "친절상담 1666-0000" 메인급 크게
======================================== */
.preed-banner-1600{
  width:100%;
  background:#fff;
  padding: 90px 0 80px;
}

.preed-banner-inner{
  width: 1600px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  text-align:center;
}

.preed-banner-top{
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  color:#222;
}

.preed-banner-mid{
  margin-top: 18px;
  font-size: 88px;
  font-weight: 900;
  letter-spacing: -2px;
  color:#00b9ff;
  line-height: 1.05;
}

/* ✅ 상담전화 메인급 강조 */
.preed-banner-tel{
  margin-top: 40px;
  display:flex;
  justify-content:center;
  align-items:baseline;
  gap: 22px;
}

.preed-banner-tel .tel-label{
  font-size: 34px;
  font-weight: 800;
  color:#222;
  letter-spacing: -0.5px;
}

.preed-banner-tel .tel-num{
  font-size: 68px;
  font-weight: 900;
  color:#111;
  text-decoration:none;
  letter-spacing: -1px;
  line-height: 1;
}

.preed-banner-tel .tel-num:hover{
  text-decoration: underline;
}

/* 반응형 */
@media (max-width: 768px){
  .preed-banner-1600{ padding: 70px 0 60px; }
  .preed-banner-top{ font-size: 28px; }
  .preed-banner-mid{ font-size: 54px; }

  .preed-banner-tel{
    margin-top: 30px;
    gap: 14px;
  }
  .preed-banner-tel .tel-label{ font-size: 22px; }
  .preed-banner-tel .tel-num{ font-size: 42px; }
}

@media (max-width: 480px){
  .preed-banner-top{ font-size: 22px; }
  .preed-banner-mid{ font-size: 42px; }

  .preed-banner-tel{
    flex-direction:column;
    gap:6px;
  }
  .preed-banner-tel .tel-label{ font-size: 18px; }
  .preed-banner-tel .tel-num{ font-size: 36px; }
}

/* ========================================
   PREED PRODUCTS SECTION (1600 / 4 정확 분할)
======================================== */

.preed-products{
  width: 100%;
  background: #f2f4f7;
  padding: 90px 0;
}

.preed-products-inner{
  width: 1600px;                 /* 기준 폭 */
  max-width: 100%;
  margin: 0 auto;
}

/* 제목 */
.preed-products-title{
  text-align: center;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 50px;
  line-height: 1.1;
}
.preed-products-title .t-blue{ color:#00b8fb; }
.preed-products-title .t-black{ color:#000; margin-left:10px; }

/* === 핵심: 정확히 4등분 === */
.preed-products-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 1600 / 4 */
  gap: 0;                                /* ❌ gap 제거 */
}

/* 카드 */
.preed-product-card{
  width: 100%;
  padding: 10px;                        /* ✅ 요청: 10px */
  box-sizing: border-box;
  opacity: 0;
  transform: translate3d(0,-26px,0);
  animation: preedDropIn 700ms cubic-bezier(.2,.9,.2,1) forwards;
}

/* 카드 안 이미지 */
.preed-product-card img{
  width: 100%;
  height: 360px;                        /* 동일 높이 */
  object-fit: cover;
  display: block;
  border-radius: 14px;
  background: #fff;
}

/* 순차 드롭 */
.preed-products-grid .preed-product-card:nth-child(1){ animation-delay: .10s; }
.preed-products-grid .preed-product-card:nth-child(2){ animation-delay: .30s; }
.preed-products-grid .preed-product-card:nth-child(3){ animation-delay: .50s; }
.preed-products-grid .preed-product-card:nth-child(4){ animation-delay: .70s; }

/* 드롭 애니메이션 */
@keyframes preedDropIn {
  0%   { opacity: 0; transform: translateY(-26px); }
  60%  { opacity: 1; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 모션 최소화 설정 */
@media (prefers-reduced-motion: reduce){
  .preed-product-card{
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* 반응형 */
@media (max-width: 1200px){
  .preed-products-inner{ width: 100%; padding: 0 20px; }
  .preed-products-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px){
  .preed-products-grid{ grid-template-columns: 1fr; }
  .preed-product-card img{ height: 260px; }
}


/* ========================================
   PREED PLAN (TAB + TABLE)  - image style
======================================== */
.preed-plan{
  width:100%;
  background:#fff;
  padding: 80px 0 90px;
}

.preed-plan-inner{
  width: 1600px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

/* tabs */
.preed-plan-tabs{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #cfcfcf;
  border-bottom: none;
  overflow: hidden;
}

.preed-tab{
  height: 74px;
  background: #b9b9b9;          /* 비활성 회색 */
  color: #fff;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.5px;
  border-right: 1px solid rgba(255,255,255,.35);
}

.preed-tab:last-child{ border-right: none; }

.preed-tab.is-active{
  background: #00b8fb;          /* 활성 파랑 */
}

/* panel */
.preed-plan-panel{
  border: 1px solid #cfcfcf;
  background: #fff;
}

.preed-plan-box{
  padding: 18px 0 8px;
}

/* table */
.preed-plan-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
}

.preed-plan-table th,
.preed-plan-table td{
  border: 1px solid #cfcfcf;
  padding: 12px 14px;
  vertical-align: middle;
}

.preed-plan-table th{
  width: 260px;
  background: #f1f1f1;
  font-weight: 800;
  text-align: center;
  color: #111;
}

.preed-plan-table td{
  background: #fff;
  color: #111;
}

.preed-plan-table .col-left{
  background:#f1f1f1;
}
.preed-plan-table .col-right{
  text-align: center;
  font-weight: 800;
}

.txt-red{ color:#d82121; }

.preed-plan-note{
  margin-top: 10px;
  text-align: right;
  font-size: 14px;
  color:#333;
  padding: 0 10px 10px;
}

/* responsive */
@media (max-width: 1200px){
  .preed-tab{ font-size: 20px; height: 64px; }
  .preed-plan-table th{ width: 210px; }
}

@media (max-width: 768px){
  .preed-plan{ padding: 60px 0 70px; }
  .preed-plan-inner{ max-width: calc(100% - 24px); }
  .preed-plan-tabs{ grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid #cfcfcf; }
  .preed-tab{ font-size: 18px; height: 58px; border-bottom: 1px solid rgba(255,255,255,.35); }

  .preed-plan-table{ font-size: 14px; }
  .preed-plan-table th{ width: 140px; padding: 10px; }
  .preed-plan-table td{ padding: 10px; }

  /* 모바일 동영상 50% 줄임 (15vh) */
  .preed-hero {
    height: 15vh;
  }
  
  #ytPlayer {
    width: 100vw;
    height: 56.25vw;
    min-height: 15vh;
    min-width: 26.67vh;
  }
}

/* ========================================
   게시판 헤더 타이틀 스타일
======================================== */
.board-header {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5282 100%);
  padding: 60px 20px;
  text-align: center;
  margin-top: 100px;
}

.board-header-title {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.board-header-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

/* 게시판 컨테이너 */
.board-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px 150px;
  background: #f8f9fa;
}

/* 게시판 탭 메뉴 */
.board-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #ddd;
}

.board-tab {
  flex: 1;
  padding: 18px 30px;
  font-size: 18px;
  font-weight: 600;
  color: #666;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.board-tab:hover {
  background: #e0e0e0;
  color: #333;
}

.board-tab.active {
  background: #1a3a5c;
  color: #fff;
}

/* 반응형 게시판 헤더 */
@media (max-width: 768px) {
  .board-header {
    padding: 40px 15px;
    margin-top: 80px;
  }
  
  .board-header-title {
    font-size: 28px;
  }
  
  .board-header-desc {
    font-size: 14px;
  }
  
  .board-container {
    padding: 30px 15px 180px;
  }
  
  .board-tab {
    padding: 15px 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .board-header {
    padding: 30px 10px;
    margin-top: 70px;
  }
  
  .board-header-title {
    font-size: 24px;
  }
  
  .board-tab {
    padding: 12px 15px;
    font-size: 14px;
  }
}

/* ========================================
   모바일 강제 적용 (최하단 - 최우선)
======================================== */
@media screen and (max-width: 768px) {
  /* 헤더 */
  #preed-header,
  header#preed-header {
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: #fff !important;
  }
  
  .header-inner,
  #preed-header .header-inner {
    height: 70px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
    grid-template-columns: unset !important;
    grid: none !important;
  }
  
  .header-logo,
  #preed-header .header-logo {
    padding-left: 15px !important;
  }
  
  .header-logo img,
  #preed-header .header-logo img {
    width: 160px !important;
    height: auto !important;
    max-height: 45px !important;
    min-width: unset !important;
    min-height: unset !important;
  }
  
  /* 메뉴 숨기기 */
  .header-nav,
  .nav-list,
  .header-contact,
  #preed-header .header-nav,
  #preed-header .nav-list,
  #preed-header .header-contact {
    display: none !important;
    visibility: hidden !important;
  }
  
  /* 햄버거 버튼 표시 */
  .mobile-menu-btn,
  #preed-header .mobile-menu-btn {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    padding: 15px !important;
    background: none !important;
    border: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  

/* ========================================
   모바일 반응형 스타일 (body.is-mobile)
   ======================================== */

/* 모바일 헤더 */
body.is-mobile #preed-header {
  height: 70px !important;
}

body.is-mobile .header-inner {
  height: 70px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

body.is-mobile .header-logo {
  padding-left: 15px !important;
  display: flex !important;
  align-items: center !important;
  height: 70px !important;
}

body.is-mobile .header-logo a {
  display: flex !important;
  align-items: center !important;
  height: 70px !important;
}

body.is-mobile .header-logo img {
  width: 140px !important;
  height: auto !important;
  max-height: 40px !important;
  min-width: unset !important;
  min-height: unset !important;
  vertical-align: middle !important;
}

body.is-mobile .header-nav,
body.is-mobile .nav-list,
body.is-mobile .header-contact,
body.is-mobile .header-tel {
  display: none !important;
}

body.is-mobile .mobile-menu-btn {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 20px !important;
  height: 70px !important;
}

body.is-mobile .mobile-menu-btn span {
  display: block !important;
  width: 24px !important;
  height: 3px !important;
  background: #333 !important;
}

/* ========== 모바일 슬라이더 400px ========== */
body.is-mobile .preed-hero,
body.is-mobile section.preed-hero {
  position: relative !important;
  width: 100% !important;
  height: 400px !important;
  margin-top: 70px !important;
  overflow: hidden !important;
  background: #000 !important;
}

body.is-mobile .preed-hero .preed-slider {
  position: relative !important;
  width: 100% !important;
  height: 400px !important;
}

/* 이미지 슬라이드 */
body.is-mobile .preed-hero .slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 400px !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* 유튜브 동영상 컨테이너 */
body.is-mobile .preed-hero .yt-wrap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 400px !important;
  overflow: hidden !important;
  background: #000 !important;
}

/* 유튜브 iframe - 16:9 비율 유지하면서 400px 높이에 꽉 차게 */
body.is-mobile .preed-hero #ytPlayer,
body.is-mobile .preed-hero .yt-wrap iframe {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100vw !important;
  height: 56.25vw !important; /* 16:9 비율 유지 */
  min-width: 711px !important; /* 400 * 16/9 */
  min-height: 400px !important;
  border: none !important;
}

/* 슬라이더 인디케이터 */
body.is-mobile .preed-hero .preed-dots {
  position: absolute !important;
  bottom: 15px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100 !important;
}

/* 음소거 버튼 */
body.is-mobile .preed-hero .yt-mute-btn {
  position: absolute !important;
  bottom: 15px !important;
  right: 15px !important;
  z-index: 100 !important;
}

/* 콘텐츠 영역 */
body.is-mobile #preed-main,
body.is-mobile .preed-banner-1600,
body.is-mobile .preed-products,
body.is-mobile .preed-plan,
body.is-mobile .preed-estimate {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* ========== 소형 모바일 (480px 이하) ========== */
body.is-small-mobile #preed-header {
  height: 60px !important;
}

body.is-small-mobile .header-inner {
  height: 60px !important;
}

body.is-small-mobile .header-logo {
  padding-left: 12px !important;
}

body.is-small-mobile .header-logo img {
  width: 120px !important;
  max-height: 35px !important;
}

body.is-small-mobile .mobile-menu-btn {
  padding: 15px !important;
}

body.is-small-mobile .mobile-menu-btn span {
  width: 22px !important;
}

body.is-small-mobile .preed-hero,
body.is-small-mobile section.preed-hero {
  margin-top: 60px !important;
}

/* 모바일 푸터 로고 20% 축소 (80% 크기) */
body.is-mobile .preed-footer-logo img {
  width: 288px !important;  /* 360px * 0.8 */
  max-width: 288px !important;
  height: auto !important;
}

body.is-small-mobile .preed-footer-logo img {
  width: 250px !important;
  max-width: 250px !important;
  height: auto !important;
}
