/* Aesthetic Section Styles */

.aesthetic_c02 {
  padding: 150px 0;
  background: #fff;
}

.aesthetic_c02 .cbox {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

.aesthetic_c02 .img {
  flex: 1;
}

.aesthetic_c02 .img img {
  width: 100%;
  height: auto;
}

.aesthetic_c02 .tcont {
  flex: 1;
  background: #f5f5f5;
  padding: 40px;
}

.aesthetic_c02 .tcont strong {
  display: block;
  font-size: 36px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #313131;
}

.aesthetic_c02 .tcont strong span {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.aesthetic_c02 .tcont strong span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #9572af;
}

.aesthetic_c02 .tcont p {
  font-size: 18px;
  line-height: 1.8;
}

.aesthetic_c02 .premium_header_box {
  background: #e0e0e0;
  padding: 20px 30px;
  margin-bottom: 30px;
}

.aesthetic_c02 .premium_header_box strong {
  margin-bottom: 0;
  font-size: 28px;
}

.aesthetic_c02 .premium_header_box strong span::after {
  display: none;
}

.aesthetic_c03 {
  position: relative;
  padding: 150px 0;
  background: #f5f3f8;
}

.aesthetic_c03 .list ul {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.aesthetic_c03 .list li {
  padding: 15px;
}

.aesthetic_c03 .list .tcont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.aesthetic_c03 .list .tcont:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.aesthetic_c03 .list .tcont p {
  font-size: 20px;
  font-weight: 500;
  color: #313131;
  text-align: center;
  line-height: 1.6;
}

/* Background styles for different steps */
.aesthetic_c03 .s01 .tcont {
  background: linear-gradient(135deg, #f5f3f8 0%, #e8e3f0 100%);
}

.aesthetic_c03 .s02 .tcont {
  background: linear-gradient(135deg, #e8e3f0 0%, #dcd4e8 100%);
}

.aesthetic_c03 .s03 .tcont {
  background: linear-gradient(135deg, #dcd4e8 0%, #d0c5e0 100%);
}

.aesthetic_c03 .s04 .tcont {
  background: linear-gradient(135deg, #d0c5e0 0%, #c4b6d8 100%);
}

.aesthetic_c03 .s05 .tcont {
  background: linear-gradient(135deg, #c4b6d8 0%, #b8a7d0 100%);
}

.aesthetic_c03 .s06 .tcont {
  background: linear-gradient(135deg, #b8a7d0 0%, #9572af 100%);
  color: #fff;
}

.aesthetic_c03 .s06 .tcont p {
  color: #fff;
}

/* Responsive styles */
@media all and (max-width: 991.9px) {
  .aesthetic_c02 {
    padding: 80px 0;
  }

  .aesthetic_c02 .cbox {
    flex-direction: column;
    gap: 30px;
  }

  .aesthetic_c02 .tcont strong {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .aesthetic_c02 .tcont p {
    font-size: 16px;
  }

  .aesthetic_c03 {
    padding: 80px 0;
  }

  .aesthetic_c03 .list ul {
    margin: -10px;
  }

  .aesthetic_c03 .list li {
    padding: 10px;
  }

  .aesthetic_c03 .list .tcont {
    min-height: 200px;
    padding: 30px 20px;
  }

  .aesthetic_c03 .list .tcont p {
    font-size: 16px;
  }

  .aesthetic_c03 .list .tcont p br {
    display: none;
  }
}

@media all and (max-width: 576px) {
  .aesthetic_c02 .tcont strong {
    font-size: 24px;
  }

  .aesthetic_c02 .tcont p {
    font-size: 14px;
  }

  .aesthetic_c03 .list .tcont {
    min-height: 150px;
    padding: 20px 15px;
  }

  .aesthetic_c03 .list .tcont p {
    font-size: 14px;
  }
}

/* ============================================
   Cavity Status Infographic Styles
   ============================================ */

.cavity-status-section {
  padding: 100px 0;
  background: #ffffff;
}

.cavity-status-infographic {
  max-width: 1400px;
  margin: 0 auto;
}

/* 헤더 스타일 */
.cavity-status-header {
  text-align: center;
  margin-bottom: 60px;
}

.clinic-name {
  font-family: "Lato", sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #4db6ac;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.question-box {
  display: inline-block;
  background: #f5f5f5;
  border: 1px solid #000000;
  padding: 20px 40px;
  border-radius: 8px;
}

.question-text {
  font-size: 24px;
  color: #000000;
  margin: 0;
  font-weight: 400;
}

.question-text .highlight {
  position: relative;
  display: inline-block;
}

.question-text .highlight::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 4px;
  background-size: 60px 20px;
  background-position: 0 center;
}

/* 4단계 컬럼 컨테이너 */
.cavity-stages-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cavity-stage-column {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* 치아 일러스트 */
.tooth-illustration {
  width: 100%;
  max-width: 200px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.tooth-illustration svg {
  width: 100%;
  height: 100%;
}

/* 단계 번호 박스 */
.stage-number-box {
  background: #4a4a4a;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 20px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  max-width: 120px;
}

/* 단계 제목 박스 */
.stage-title-box {
  background: #e0e0e0;
  color: #000000;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

/* 증상 박스 */
.stage-symptoms-box {
  background: #e0e0e0;
  color: #000000;
  padding: 15px 20px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 치료법 박스 */
.stage-treatment-box {
  background: #4a4a4a;
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  width: 100%;
  line-height: 1.6;
}

/* 반응형 스타일 */
@media all and (max-width: 1200px) {
  .cavity-stages-container {
    gap: 15px;
  }

  .cavity-stage-column {
    min-width: 220px;
  }

  .tooth-illustration {
    max-width: 180px;
    height: 250px;
  }

  .stage-number-box {
    font-size: 18px;
    padding: 10px 25px;
  }

  .stage-title-box {
    font-size: 16px;
    padding: 10px 15px;
  }

  .stage-symptoms-box {
    font-size: 14px;
    padding: 12px 15px;
    min-height: 70px;
  }

  .stage-treatment-box {
    font-size: 14px;
    padding: 12px 15px;
  }
}

@media all and (max-width: 991.9px) {
  .cavity-status-section {
    padding: 60px 0;
  }

  .cavity-status-header {
    margin-bottom: 40px;
  }

  .clinic-name {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .question-box {
    padding: 15px 30px;
  }

  .question-text {
    font-size: 20px;
  }

  .cavity-stages-container {
    flex-direction: column;
    gap: 30px;
  }

  .cavity-stage-column {
    min-width: 100%;
    max-width: 100%;
  }

  .tooth-illustration {
    max-width: 150px;
    height: 210px;
  }

  .stage-number-box {
    font-size: 18px;
    max-width: 100px;
  }

  .stage-title-box {
    font-size: 16px;
  }

  .stage-symptoms-box {
    font-size: 14px;
    min-height: auto;
  }

  .stage-treatment-box {
    font-size: 14px;
  }
}

@media all and (max-width: 576px) {
  .cavity-status-section {
    padding: 40px 0;
  }

  .clinic-name {
    font-size: 18px;
  }

  .question-box {
    padding: 12px 20px;
  }

  .question-text {
    font-size: 16px;
  }

  .tooth-illustration {
    max-width: 120px;
    height: 168px;
  }

  .stage-number-box {
    font-size: 16px;
    padding: 8px 20px;
    max-width: 90px;
  }

  .stage-title-box {
    font-size: 14px;
    padding: 8px 12px;
  }

  .stage-symptoms-box {
    font-size: 13px;
    padding: 10px 12px;
  }

  .stage-treatment-box {
    font-size: 13px;
    padding: 10px 12px;
  }
}

/* ============================================
   Root Canal Procedure Infographic Styles
   ============================================ */

.root-canal-procedure {
  position: relative;
  padding: 100px 0;
  background: #e8f4f8;
  overflow: hidden;
}

.root-canal-procedure::before {
  content: "Zeal Dental Clinic";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: "Lato", sans-serif;
  font-size: 120px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.root-canal-infographic {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.root-canal-header {
  text-align: center;
  margin-bottom: 60px;
}

.root-canal-title {
  display: inline-block;
  background: #808080;
  color: #000000;
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.root-canal-steps {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.root-canal-step {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.step-illustration {
  width: 100%;
  max-width: 200px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-illustration svg {
  width: 100%;
  height: 100%;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #4a4a4a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.step-description {
  background: #ffffff;
  color: #000000;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 반응형 스타일 */
@media all and (max-width: 1200px) {
  .root-canal-procedure::before {
    font-size: 80px;
  }

  .root-canal-steps {
    gap: 15px;
  }

  .root-canal-step {
    min-width: 180px;
  }

  .step-illustration {
    max-width: 180px;
    height: 250px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .step-description {
    font-size: 15px;
    padding: 12px 15px;
    min-height: 60px;
  }
}

@media all and (max-width: 991.9px) {
  .root-canal-procedure {
    padding: 60px 0;
  }

  .root-canal-procedure::before {
    font-size: 60px;
  }

  .root-canal-header {
    margin-bottom: 40px;
  }

  .root-canal-title {
    font-size: 20px;
    padding: 12px 30px;
  }

  .root-canal-steps {
    flex-direction: column;
    gap: 30px;
  }

  .root-canal-step {
    min-width: 100%;
    max-width: 100%;
  }

  .step-illustration {
    max-width: 150px;
    height: 210px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .step-description {
    font-size: 15px;
    min-height: auto;
  }
}

@media all and (max-width: 576px) {
  .root-canal-procedure {
    padding: 40px 0;
  }

  .root-canal-procedure::before {
    font-size: 40px;
  }

  .root-canal-title {
    font-size: 18px;
    padding: 10px 20px;
  }

  .step-illustration {
    max-width: 120px;
    height: 168px;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .step-description {
    font-size: 14px;
    padding: 10px 15px;
  }
}

/* ============================================
   Material Comparison Section Styles
   ============================================ */

.material-comparison-section {
  position: relative;
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.material-comparison-section::before {
  content: "Zegh Dental";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  font-family: "Lato", sans-serif;
  font-size: 150px;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.03);
  letter-spacing: 0.1em;
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.material-comparison-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 제목 박스 */
.material-comparison-title-box {
  background: #e0e0e0;
  border: 1px solid #000000;
  padding: 20px 40px;
  text-align: center;
  margin-bottom: 20px;
}

.material-comparison-title {
  font-size: 28px;
  font-weight: 500;
  color: #000000;
  margin: 0;
}

.title-divider {
  width: 100%;
  height: 2px;
  background: #000000;
  margin-bottom: 60px;
}

/* 재료 아이템 */
.material-item {
  display: flex;
  align-items: stretch;
  gap: 40px;
  margin-bottom: 60px;
}

.material-item:last-child {
  margin-bottom: 0;
}

.material-image-wrapper {
  flex: 1;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.material-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.material-text-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 실시간 상담 박스 */
.realtime-consult-box {
  background: #ff8800;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 15px;
}

/* 텍스트 박스 */
.material-text-box {
  background: #e0e0e0;
  border: 1px solid #000000;
  padding: 30px;
  flex: 1;
}

.material-name {
  font-size: 32px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 25px 0;
}

.material-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.material-label {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin: 0;
}

.material-text {
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
  margin: 0 0 10px 0;
}

/* 레진 - 이미지 왼쪽, 텍스트 오른쪽 */
.material-resin {
  flex-direction: row;
}

/* 골드 - 텍스트 왼쪽, 이미지 오른쪽 */
.material-gold {
  flex-direction: row-reverse;
}

/* 올세라믹 - 이미지 왼쪽, 텍스트 오른쪽 */
.material-ceramic {
  flex-direction: row;
}

/* 지르코니아 - 텍스트 왼쪽, 이미지 오른쪽 */
.material-zirconia {
  flex-direction: row-reverse;
}

/* 반응형 스타일 */
@media all and (max-width: 991.9px) {
  .material-comparison-section {
    padding: 60px 0;
  }

  .material-comparison-section::before {
    font-size: 80px;
  }

  .material-comparison-title-box {
    padding: 15px 30px;
  }

  .material-comparison-title {
    font-size: 22px;
  }

  .title-divider {
    margin-bottom: 40px;
  }

  .material-item {
    flex-direction: column !important;
    gap: 30px;
    margin-bottom: 40px;
  }

  .material-image-wrapper {
    width: 100%;
    height: 300px;
  }

  .material-text-box {
    padding: 25px;
  }

  .material-name {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .material-label {
    font-size: 16px;
  }

  .material-text {
    font-size: 15px;
  }
}

@media all and (max-width: 576px) {
  .material-comparison-section {
    padding: 40px 0;
  }

  .material-comparison-section::before {
    font-size: 50px;
  }

  .material-comparison-title-box {
    padding: 12px 20px;
  }

  .material-comparison-title {
    font-size: 18px;
  }

  .title-divider {
    margin-bottom: 30px;
  }

  .material-item {
    margin-bottom: 30px;
  }

  .material-image-wrapper {
    height: 250px;
  }

  .material-text-box {
    padding: 20px;
  }

  .material-name {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .material-label {
    font-size: 15px;
  }

  .material-text {
    font-size: 14px;
  }

  .realtime-consult-box {
    font-size: 12px;
    padding: 8px 15px;
  }
}

/* ============================================
   TMJ Self-Check Section Styles
   ============================================ */

.tmj-self-check-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.tmj-check-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* 배경 텍스트 */
.tmj-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Lato", sans-serif;
  font-size: 120px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.03);
  white-space: nowrap;
  z-index: 1;
  letter-spacing: 0.05em;
}

/* 제목 */
.tmj-title-box {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.tmj-title {
  display: inline-block;
  background: #f5f5f5;
  border: 1px solid #000000;
  padding: 20px 60px;
  font-size: 32px;
  font-weight: 700;
  color: #313131;
  margin: 0;
}

/* 실시간 상담 아이콘 */
.tmj-consult-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 3;
}

.consult-icon {
  position: absolute;
  pointer-events: all;
}

.consult-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 29px;
  background: #ff6600;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.2;
}

.consult-link:hover {
  background: #e55a00;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}

.consult-link span {
  display: block;
}

/* 이미지 컨테이너 */
.tmj-images-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.tmj-image-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.tmj-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 안내 텍스트 */
.tmj-info-box {
  background: #f5f5f5;
  border: 1px solid #000000;
  padding: 20px 30px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.tmj-info-text {
  font-size: 20px;
  color: #313131;
  text-align: center;
  margin: 0;
}

.tmj-info-text strong {
  color: #d32f2f;
  font-weight: 700;
}

/* 증상 박스 */
.tmj-symptoms-box {
  background: #ffffff;
  border: 1px solid #000000;
  padding: 40px;
  position: relative;
  z-index: 2;
}

.tmj-symptoms-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tmj-symptoms-list li {
  font-size: 18px;
  color: #313131;
  line-height: 2;
  padding-left: 20px;
  position: relative;
  margin-bottom: 15px;
}

.tmj-symptoms-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #313131;
  font-size: 24px;
  line-height: 1;
}

/* 반응형 디자인 */
@media all and (max-width: 991.9px) {
  .tmj-self-check-section {
    padding: 60px 0;
  }

  .tmj-bg-text {
    font-size: 80px;
  }

  .tmj-title {
    font-size: 24px;
    padding: 15px 40px;
  }

  .tmj-images-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tmj-image-wrapper {
    height: 300px;
  }

  .tmj-info-text {
    font-size: 16px;
  }

  .tmj-symptoms-box {
    padding: 30px 20px;
  }

  .tmj-symptoms-list li {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .consult-link {
    width: 70px;
    height: 70px;
    font-size: 12px;
  }
}

@media all and (max-width: 576px) {
  .tmj-self-check-section {
    padding: 40px 0;
  }

  .tmj-bg-text {
    font-size: 50px;
  }

  .tmj-title {
    font-size: 18px;
    padding: 12px 25px;
  }

  .tmj-images-container {
    gap: 20px;
  }

  .tmj-image-wrapper {
    height: 250px;
  }

  .tmj-info-box {
    padding: 15px 20px;
  }

  .tmj-info-text {
    font-size: 14px;
  }

  .tmj-symptoms-box {
    padding: 20px 15px;
  }

  .tmj-symptoms-list li {
    font-size: 14px;
    line-height: 1.8;
  }

  .consult-icon {
    display: none;
  }
}
