/* dentures.css - 임플란트 틀니 페이지 */

/* --------------------- dentures main section container */
#dentures_main section .container {
  padding: 90px 20px;
}

#dentures_main section .container .wrapper h2 {
  font-size: var(--text-lg);
  padding-bottom: 20px;
}

#dentures_main section .container .wrapper p {
  line-height: 1.3;
}

#dentures_main section .container .wrapper .content {
  padding-top: 35px;
}

/* --------------------- header */
#dentures_header {
  min-height: 900px;
  display: flex;
  align-items: center;
  background: #333;
}
#dentures_header .container {
  width: 100%;
}
#dentures_header .container .wrapper {
}
#dentures_header .container .wrapper .main-banner {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#dentures_header .container .wrapper .main-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#dentures_header .container .wrapper .main-banner .txt {
  position: absolute;
  width: 100%;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  font-family: "BMDOHYEON";
  text-shadow: 5px 0 #0000002c;
  /*  */
}

#dentures_header .container .wrapper .main-banner .txt h1 {
  font-size: var(--text-xl);
}
#dentures_header .container .wrapper .main-banner .txt h1 span {
  color: #00d8b5;
}
#dentures_header .container .wrapper .main-banner .txt h4 {
  font-size: var(--text-lg);
  font-weight: 300;
  opacity: 0.9;
  padding: 20px;
  line-height: 1.45;
}

/* --------------------- dentures section 01 */

#dentures_1 {
  background: #fafafa;
}

#dentures_1 .container {
}
#dentures_1 .container .wrapper {
}
#dentures_1 .container .wrapper .content {
  text-align: center;
}

#dentures_1 .container .wrapper .content .txt p {
  font-size: var(--text-sm);
  line-height: 1.7;
  font-weight: 300;
}

#dentures_1 .container .wrapper .content .txt p span {
  font-weight: 600;
}
#dentures_1 .container .wrapper .content img {
  padding: 30px 0;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

/* --------------------- dentures section 02 */

#dentures_2 {
  background: #cdfff6;
  background: linear-gradient(
    109deg,
    rgba(230, 254, 249, 1) 0%,
    rgba(225, 229, 224, 1) 100%
  );
}

#dentures_main #dentures_2 .container .wrapper .content {
  padding: 0;
}

#dentures_2 .container .wrapper .candidates {
  text-align: center;
  padding: 50px 0;
}

#dentures_2 .container .wrapper .candidates img {
  padding-left: 40px;
  max-width: 900px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* --------------------- dentures section 03 */
#dentures_3 {
  background: #fafafa;
}

#dentures_3 .container .wrapper .content {
}
#dentures_3 .container .wrapper .content .content-wrapper {
  text-align: center;
  padding: 80px 0;
}
#dentures_3 .container .wrapper .content .content-wrapper .txt:first-child {
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 180px;
}
#dentures_3 .container .wrapper .content .content-wrapper .txt:first-child div {
  font-size: var(--text-md);
  font-weight: 600;
  padding: 0;
  line-height: 1.6;
}
#dentures_3 .container .wrapper .content .content-wrapper .txt:first-child div small {
  font-size: var(--text-xs);
  font-weight: 400;
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}
#dentures_3 .container .wrapper .content .content-wrapper .txt:last-child {
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 275px;
}
#dentures_3 .container .wrapper .content .content-wrapper .txt:last-child div {
  font-size: var(--text-md);
  font-weight: 600;
  padding: 0;
  line-height: 1.6;
}
#dentures_3 .container .wrapper .content .content-wrapper .txt:last-child div small {
  font-size: var(--text-xs);
  font-weight: 400;
  display: block;
  margin-top: 8px;
  line-height: 1.5;
}
#dentures_3 .container .wrapper .content .content-wrapper img {
  padding: 20px 0 30px 40px;
  max-width: 1100px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

/* --------------------- dentures section 04 */

#dentures_4 {
  background: #e5e5e5;
}

#dentures_4 .container .wrapper .content {
  text-align: center;
}

#dentures_4 .container .wrapper .content .comparison-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

#dentures_4 .container .wrapper .content .comparison-images img {
  max-width: 450px;
  width: 100%;
  height: auto;
}

/* --------------------- dentures section 05 */

#dentures_5 {
  background: #fafafa;
}

#dentures_main section#dentures_5 .container .wrapper .content {
  padding-top: 60px;
}

#dentures_5 .container .wrapper .content .process-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

#dentures_5 .container .wrapper .content .process-card {
  flex: 1;
  max-width: 320px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

#dentures_5 .container .wrapper .content .process-card .card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

#dentures_5 .container .wrapper .content .process-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#dentures_5 .container .wrapper .content .process-card .card-content {
  background: #00b89f;
  padding: 30px 25px;
  text-align: left;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#dentures_5 .container .wrapper .content .process-card .card-content .step {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

#dentures_5 .container .wrapper .content .process-card .card-content .title {
  font-size: var(--text-md);
  font-weight: 700;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

#dentures_5 .container .wrapper .content .process-card .card-content .description {
  font-size: var(--text-xs);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* Old styles - keeping for reference */
#dentures_5 .container .wrapper .content .point .txt span.color {
  font-weight: 700;
  padding-bottom: 15px;
}
#dentures_5 .container .wrapper .content .point .txt span.color .green {
  color: #0e9380;
}
#dentures_5 .container .wrapper .content .point .txt p {
  font-size: var(--text-xs);
  padding-top: 15px;
  position: relative;
}

#dentures_5 .container .wrapper .content .point .txt p:before {
  content: "";
  position: absolute;
  width: 130%;
  height: 2px;
  background-color: #0e9380;
  top: -2px;
}

#dentures_5 .container .wrapper .content .point img {
  border-radius: 20px;
}

/* --------------------- dentures section 06 */

#dentures_6 {
  background: #E5E5E5;
}

#dentures_6 .container .wrapper h2 {
  padding: 0;
  text-align: center;
  margin-bottom: 40px;
}

#dentures_6 .container .wrapper h2 .review-title {
  display: block;
  text-align: center;
  font-family: 'ABeeZee', sans-serif;
  color: #3ca89a;
  font-size: var(--text-sm);
  font-weight: 400;
  margin-bottom: 8px;
}

#dentures_6 .container .wrapper h2 .review-sub {
  display: block;
  margin-top: 8px;
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.7;
  color: #333;
}

#dentures_6 .container .wrapper h2 .review-sub strong {
  font-weight: 600;
}

#dentures_6 .before-after-section {
  display: block;
  text-align: center;
  margin: 60px 0;
}

#dentures_6 .ba-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
}

#dentures_6 .ba-image {
  position: relative;
  max-width: 350px;
}

#dentures_6 .ba-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
}

#dentures_6 .ba-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 30px;
  border-radius: 25px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: white;
}

#dentures_6 .before-label {
  background: #666;
}

#dentures_6 .after-label {
  background: #3ca89a;
}

#dentures_6 .ba-note {
  color: #999;
  font-size: 13px;
  margin-top: 15px;
  display: block;
}

#dentures_6 .review-cards {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 40px auto;
  padding: 100px 20px;
}

#dentures_6 .review-card {
  background: #f5f5f5;
  border: 2px solid #d0d0d0;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.3s ease;
  position: relative;
}

#dentures_6 .review-avatar {
  flex-shrink: 0;
}

#dentures_6 .review-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

#dentures_6 .review-content {
  flex: 1;
}

#dentures_6 .review-name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

#dentures_6 .review-text {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: #666;
}

#dentures_6 .review-text strong {
  color: #333;
  font-weight: 600;
}

#dentures_6 .review-card.active {
  background: #e0f7f4 !important;
  border-color: #3ca89a !important;
  transform: scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(60, 168, 154, 0.3);
}

/* --------------------- dentures section 07 */

#dentures_7 {
  background: #FAFAFA;
  padding: 100px 0;
}

#dentures_7 .container .wrapper {
  max-width: 900px;
  margin: 0 auto;
}

#dentures_7 .section-header {
  text-align: center;
  margin-bottom: 80px;
}

#dentures_7 .section-header h2 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

#dentures_7 .section-header p {
  font-size: var(--text-lg);
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

#dentures_7 .qa-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#dentures_7 .qa-item {
  padding: 50px 40px;
  border-bottom: 1px solid #3ca89a;
}

#dentures_7 .qa-item:last-child {
  border-bottom: none;
}

#dentures_7 .question-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #3ca89a;
  margin-bottom: 15px;
}

#dentures_7 .question-title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

#dentures_7 .answer-text {
  font-size: var(--text-xs);
  font-weight: 400;
  color: #666;
  line-height: 1.8;
}

/* =====================================================
   모바일 반응형 스타일 (개선된 디자인)
   ===================================================== */

/* --------------------- 태블릿 (768px 이하) */
@media screen and (max-width: 768px) {
  /* 공통 섹션 타이틀 조정 */
  #dentures_main section h2 {
    font-size: 28px !important;
    line-height: 1.5 !important;
    padding: 0 20px;
  }
  #dentures_main section h2 span {
    font-size: 24px !important;
  }

  /* Header - 히어로 섹션 */
  #dentures_header {
    min-height: 450px;
  }
  #dentures_header .container .wrapper .main-banner {
    min-height: 450px;
  }
  #dentures_header .container .wrapper .main-banner .txt {
    padding: 0 20px;
  }
  #dentures_header .container .wrapper .main-banner .txt h1 {
    font-size: 38px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  }
  #dentures_header .container .wrapper .main-banner .txt h4 {
    font-size: 18px;
    padding: 15px 10px;
    line-height: 1.6;
  }

  /* Section 1 - 임플란트 틀니란? */
  #dentures_1 .container .wrapper .content .txt p {
    font-size: 16px;
    padding: 0 24px;
    line-height: 1.9;
    color: #555;
  }
  #dentures_1 .container .wrapper .content .txt p br {
    display: none;
  }
  #dentures_1 .container .wrapper .content img {
    padding: 30px 20px;
    max-width: 100%;
  }

  /* Section 2 - 추천 대상 */
  #dentures_2 .container .wrapper .candidates {
    padding: 20px 0;
  }
  #dentures_2 .container .wrapper .candidates img {
    padding: 0 24px;
    max-width: 100%;
  }

  /* Section 3 - 무엇이 다를까요 */
  #dentures_3 .container .wrapper .content .content-wrapper {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
  }
  #dentures_3 .container .wrapper .content .content-wrapper img {
    order: -1;
    padding: 0 20px 30px;
    max-width: 100%;
  }
  #dentures_3 .container .wrapper .content .content-wrapper .txt:first-child,
  #dentures_3 .container .wrapper .content .content-wrapper .txt:last-child {
    flex-direction: column;
    gap: 0;
  }
  #dentures_3 .container .wrapper .content .content-wrapper .txt:first-child div,
  #dentures_3 .container .wrapper .content .content-wrapper .txt:last-child div {
    font-size: 18px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #00b89f;
  }
  #dentures_3 .container .wrapper .content .content-wrapper .txt:first-child div small,
  #dentures_3 .container .wrapper .content .content-wrapper .txt:last-child div small {
    font-size: 14px;
    color: #666;
    margin-top: 6px;
  }
  #dentures_3 .container .wrapper .content .content-wrapper .txt:first-child div small br,
  #dentures_3 .container .wrapper .content .content-wrapper .txt:last-child div small br {
    display: none;
  }

  /* Section 4 - 비교 이미지 (2열 그리드) */
  #dentures_4 .container .wrapper .content .comparison-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 24px;
  }
  #dentures_4 .container .wrapper .content .comparison-images img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }

  /* Section 5 - 시술 과정 카드 (2x2 그리드) */
  #dentures_main section#dentures_5 .container .wrapper .content {
    padding-top: 20px;
  }
  #dentures_5 .container .wrapper .content .process-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px 24px 20px;
  }
  #dentures_5 .container .wrapper .content .process-card {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  #dentures_5 .container .wrapper .content .process-card .card-image {
    height: 140px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content {
    padding: 16px 14px;
    border-radius: 0 0 16px 16px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content .step {
    font-size: 11px;
    opacity: 0.9;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content .title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content .description {
    font-size: 12px;
    line-height: 1.6;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content .description br {
    display: none;
  }

  /* Section 6 - 후기 섹션 */
  #dentures_6 .container .wrapper h2 {
    margin-bottom: 30px;
  }
  #dentures_6 .container .wrapper h2 .review-title {
    font-size: 16px;
    letter-spacing: 1px;
  }
  #dentures_6 .container .wrapper h2 .review-sub {
    font-size: 22px;
    padding: 0 24px;
    line-height: 1.6;
  }
  #dentures_6 .container .wrapper h2 .review-sub br {
    display: none;
  }
  #dentures_6 .before-after-section {
    margin: 30px 0;
  }
  #dentures_6 .ba-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 24px;
  }
  #dentures_6 .ba-image {
    max-width: 100%;
  }
  #dentures_6 .ba-image img {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  }
  #dentures_6 .ba-label {
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 20px;
    bottom: 12px;
  }
  #dentures_6 .ba-note {
    font-size: 13px;
    color: #888;
    margin-top: 20px;
  }
  #dentures_6 .review-cards {
    padding: 40px 24px;
    gap: 20px;
  }
  #dentures_6 .review-card {
    flex-direction: row;
    text-align: left;
    padding: 24px;
    border-radius: 16px;
    background: #fff;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }
  #dentures_6 .review-avatar {
    flex-shrink: 0;
  }
  #dentures_6 .review-avatar img {
    width: 56px;
    height: 56px;
    border: 2px solid #e0f7f4;
  }
  #dentures_6 .review-name {
    font-size: 15px;
    color: #3ca89a;
    margin-bottom: 8px;
  }
  #dentures_6 .review-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
  }
  #dentures_6 .review-text br {
    display: none;
  }

  /* Section 7 - Q&A */
  #dentures_7 {
    padding: 60px 0;
  }
  #dentures_7 .container .wrapper {
    padding: 0 24px;
  }
  #dentures_7 .section-header {
    margin-bottom: 40px;
  }
  #dentures_7 .section-header h2,
  #dentures_7 .section-header p {
    font-size: 26px !important;
  }
  #dentures_7 .qa-item {
    padding: 28px 0;
    border-bottom: 1px solid #e0e0e0;
  }
  #dentures_7 .qa-item:last-child {
    border-bottom: none;
  }
  #dentures_7 .question-label {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
  }
  #dentures_7 .question-title {
    font-size: 17px;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  #dentures_7 .answer-text {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
  }
  #dentures_7 .answer-text br {
    display: none;
  }
}

/* --------------------- 모바일 (480px 이하) */
@media screen and (max-width: 480px) {
  /* 공통 섹션 타이틀 */
  #dentures_main section h2 {
    font-size: 24px !important;
    padding: 0 16px;
  }
  #dentures_main section h2 span {
    font-size: 20px !important;
  }

  /* Header */
  #dentures_header {
    min-height: 380px;
  }
  #dentures_header .container .wrapper .main-banner {
    min-height: 380px;
  }
  #dentures_header .container .wrapper .main-banner .txt {
    padding: 0 16px;
  }
  #dentures_header .container .wrapper .main-banner .txt h1 {
    font-size: 30px;
  }
  #dentures_header .container .wrapper .main-banner .txt h4 {
    font-size: 15px;
    padding: 12px 8px;
    line-height: 1.5;
  }

  /* Section 1 */
  #dentures_1 .container .wrapper .content .txt p {
    font-size: 15px;
    padding: 0 16px;
    line-height: 1.85;
  }
  #dentures_1 .container .wrapper .content img {
    padding: 24px 16px;
  }

  /* Section 2 */
  #dentures_2 .container .wrapper .candidates img {
    padding: 0 16px;
  }

  /* Section 3 */
  #dentures_3 .container .wrapper .content .content-wrapper {
    padding: 20px 16px;
  }
  #dentures_3 .container .wrapper .content .content-wrapper img {
    padding: 0 16px 24px;
  }
  #dentures_3 .container .wrapper .content .content-wrapper .txt:first-child div,
  #dentures_3 .container .wrapper .content .content-wrapper .txt:last-child div {
    font-size: 16px;
    padding: 14px 16px;
    margin-bottom: 10px;
  }
  #dentures_3 .container .wrapper .content .content-wrapper .txt:first-child div small,
  #dentures_3 .container .wrapper .content .content-wrapper .txt:last-child div small {
    font-size: 13px;
  }

  /* Section 4 (2열 그리드) */
  #dentures_4 .container .wrapper .content .comparison-images {
    gap: 12px;
    padding: 0 16px;
  }
  #dentures_4 .container .wrapper .content .comparison-images img {
    border-radius: 10px;
  }

  /* Section 5 - 카드 (2x2 그리드) */
  #dentures_5 .container .wrapper .content .process-cards {
    padding: 10px 16px 20px;
    gap: 10px;
  }
  #dentures_5 .container .wrapper .content .process-card {
    border-radius: 12px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-image {
    height: 100px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content {
    padding: 12px 10px;
    border-radius: 0 0 12px 12px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content .step {
    font-size: 10px;
    margin-bottom: 4px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content .title {
    font-size: 14px;
    margin-bottom: 6px;
  }
  #dentures_5 .container .wrapper .content .process-card .card-content .description {
    font-size: 11px;
    line-height: 1.5;
  }

  /* Section 6 */
  #dentures_6 .container .wrapper h2 .review-title {
    font-size: 14px;
  }
  #dentures_6 .container .wrapper h2 .review-sub {
    font-size: 18px;
    padding: 0 16px;
    line-height: 1.5;
  }
  #dentures_6 .ba-images {
    padding: 0 16px;
    gap: 10px;
  }
  #dentures_6 .ba-image img {
    border-radius: 12px;
  }
  #dentures_6 .ba-label {
    font-size: 11px;
    padding: 6px 16px;
    bottom: 10px;
  }
  #dentures_6 .ba-note {
    font-size: 12px;
    padding: 0 16px;
  }
  #dentures_6 .review-cards {
    padding: 30px 16px;
    gap: 16px;
  }
  #dentures_6 .review-card {
    padding: 20px 16px;
    border-radius: 14px;
    gap: 16px;
  }
  #dentures_6 .review-avatar img {
    width: 48px;
    height: 48px;
  }
  #dentures_6 .review-name {
    font-size: 14px;
  }
  #dentures_6 .review-text {
    font-size: 13px;
    line-height: 1.65;
  }

  /* Section 7 */
  #dentures_7 {
    padding: 50px 0;
  }
  #dentures_7 .container .wrapper {
    padding: 0 16px;
  }
  #dentures_7 .section-header {
    margin-bottom: 32px;
  }
  #dentures_7 .section-header h2,
  #dentures_7 .section-header p {
    font-size: 22px !important;
  }
  #dentures_7 .qa-item {
    padding: 24px 0;
  }
  #dentures_7 .question-label {
    font-size: 15px;
    margin-bottom: 8px;
  }
  #dentures_7 .question-title {
    font-size: 15px;
    margin-bottom: 14px;
  }
  #dentures_7 .answer-text {
    font-size: 14px;
    padding: 16px;
    border-radius: 10px;
    line-height: 1.75;
  }
}

