/* 로고 — 헤더·푸터 규격 (투명 PNG) */
.header-logo img {
  display: block;
  max-height: 48px;
  width: auto;
  max-width: 200px;
  background: transparent !important;
}

.header-logo a {
  background: transparent !important;
  line-height: 0;
}

.footer-toparea .widget-info img,
.footer-toparea .footer-widget img[alt*="벤데일립"] {
  max-height: 56px;
  width: auto;
  max-width: 240px;
}

.tm-service-details-image {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
}

.tm-member-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-us-area img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 서브페이지 배너 — 어두운 배경에서 제목·경로 글자 보이게 */
.tm-breadcrumb-area .tm-breadcrumb-title {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.tm-breadcrumb-area .tm-breadcrumb ul li {
  color: rgba(255, 255, 255, 0.95) !important;
}

.tm-breadcrumb-area .tm-breadcrumb ul li a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.tm-breadcrumb-area .tm-breadcrumb ul li a:hover {
  color: #ffffff !important;
}

.tm-breadcrumb-area[data-overlay="1"]:before {
  opacity: 0.55 !important;
}

/* 빠른 상담 — 버튼 글자색 (폼 링크 스타일 덮어쓰기 방지) */
.tm-form-field a.tm-button {
  color: #ffffff !important;
}

.tm-form-field a.tm-button:hover {
  color: #ffffff !important;
}

.tm-successreport .vdlp-chart-note {
  margin: 8px 0 0;
  font-size: 14px;
  color: #777;
}

/* 컨설턴트 SNS 숨김 */
.tm-member-social {
  display: none !important;
}

/* 히어로 — 슬라이드 전환 시 상단 글자 잘림 방지 */
.heroslider-animted .heroslider-animatebox {
  overflow: visible !important;
}

.heroslider-content {
  padding: 130px 0 100px !important;
}

.heroslider-content h1 {
  margin-top: 0 !important;
  line-height: 1.35;
}

.heroslider-content h1 span {
  display: block;
  padding-top: 6px;
  line-height: 1.4;
}

.heroslider-content h1 b {
  margin-top: 16px !important;
}

@media only screen and (max-width: 767px) {
  .heroslider-content {
    padding: 100px 0 70px !important;
  }
}

/* 벤데일립 — 고객 후기 아이콘 아바타 */
.tm-testimonial-authorimage.vdlp-avatar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.tm-testimonial-authorimage.vdlp-avatar-icon svg {
  width: 44px;
  height: 44px;
  fill: #ffffff;
  opacity: 0.92;
}

/* 상담신청 — Google 지도 iframe */
.tm-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 약관·정책 문서 */
.vdlp-legal-doc {
  color: #555;
  line-height: 1.85;
}

.vdlp-legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  background: #f7f8fa;
  border-left: 4px solid #c9a227;
  font-size: 14px;
  color: #666;
}

.vdlp-legal-meta span i {
  margin-right: 6px;
  color: #c9a227;
}

.vdlp-legal-intro {
  font-size: 16px;
  margin-bottom: 2rem;
  color: #444;
}

.vdlp-legal-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.vdlp-legal-section:last-child {
  border-bottom: 0;
}

.vdlp-legal-section h3 {
  font-size: 20px;
  margin-bottom: 1rem;
  color: #222;
  font-weight: 600;
}

.vdlp-legal-section p {
  margin-bottom: 0.75rem;
}

.vdlp-legal-highlight {
  background: #faf9f6;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e8e4d9;
  border-radius: 4px;
}

.vdlp-consent-quote {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.vdlp-legal-table-wrap {
  margin: 1rem 0;
}

.vdlp-legal-table {
  margin: 0;
  font-size: 14px;
}

.vdlp-legal-table th {
  background: #2c3e50;
  color: #fff;
  border: 0;
  padding: 10px 14px;
}

.vdlp-legal-table td {
  padding: 10px 14px;
  vertical-align: middle;
}

.vdlp-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.vdlp-badge-req {
  background: #c9a227;
  color: #fff;
}

.vdlp-badge-opt {
  background: #e8e8e8;
  color: #555;
}

/* 서비스 상세 */
.vdlp-lead {
  font-size: 17px;
  color: #444;
  line-height: 1.8;
}

.vdlp-subtitle {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.vdlp-process-card {
  background: #f7f8fa;
  padding: 1.25rem;
  height: 100%;
  border-left: 3px solid #c9a227;
}

.vdlp-process-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #c9a227;
  margin-bottom: 0.5rem;
}

.vdlp-process-card h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vdlp-process-card p {
  font-size: 14px;
  margin: 0;
  color: #666;
}

.vdlp-check-list li i {
  color: #c9a227;
}

/* 상담 폼 동의 — 테마 체크박스(input + label 형제) */
.vdlp-consent-field {
  margin-bottom: 10px !important;
}

.vdlp-consent-field input[type="checkbox"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  margin-right: 0;
}

.vdlp-consent-field label {
  font-size: 14px;
  line-height: 1.65;
  padding-left: 28px !important;
}

.vdlp-consent-field label::before {
  top: 3px !important;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #3f51b5 !important;
  border-radius: 3px;
  background: #fff;
}

.vdlp-consent-field input[type="checkbox"]:checked ~ label::before {
  content: "\f00c" !important;
  font-size: 12px !important;
  line-height: 16px !important;
  text-align: center;
  color: #3f51b5 !important;
  border-color: #3f51b5 !important;
}

.vdlp-consent-field label em {
  font-style: normal;
  color: #c0392b;
  font-size: 13px;
}

.vdlp-footer-legal {
  display: inline-block;
  margin-left: 1rem;
}

.vdlp-footer-legal a {
  color: #ccc;
  font-size: 13px;
  margin-left: 0.75rem;
  text-decoration: none;
}

.vdlp-footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media only screen and (max-width: 767px) {
  .vdlp-footer-legal {
    display: block;
    margin: 0.5rem 0 0;
  }

  .vdlp-footer-legal a {
    margin-left: 0;
    margin-right: 0.75rem;
  }
}

.vdlp-callback-note {
  margin-bottom: 1.25rem;
  color: #666;
  font-size: 15px;
}

/* 상담신청 접수 완료 팝업 */
body.vdlp-modal-open {
  overflow: hidden;
}

.vdlp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vdlp-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.vdlp-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.vdlp-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 8px;
  padding: 2.25rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.vdlp-modal.is-open .vdlp-modal-panel {
  transform: translateY(0) scale(1);
}

.vdlp-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #3f51b5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.vdlp-modal-title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
}

.vdlp-modal-text {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.vdlp-modal-btn {
  min-width: 140px;
}
