/* Typography & Spacing System */
:root {
  --primary-color: #90B8B4;
  --title-main: clamp(36px, 6vw, 60px);
  --title-sub: clamp(20px, 3vw, 30px);
  --text-body: 16px;
  --text-desc: 18px;
  --section-padding: clamp(60px, 10vw, 120px) 0;
}
.mb_none {
  display: none;
}
.pc-only {
  display: block;
}
.mo-only {
  display: none;
}

@media (max-width: 1024px) {
  /* .pc-only {
    display: block;
  }
  .mo-only {
    display: none;
  } */
}
.section {
  padding: var(--section-padding);
  margin: 0 auto;
}
.title-area {
  margin-bottom: clamp(30px, 6vw, 40px);
  text-align: center;
}

/* Global Title Styles */
.section-title-main {
  font-size: var(--title-main);
  color: var(--primary-color);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 10px;
}
.section-title-sub {
  font-size: var(--title-sub);
  font-weight: 700;
  color: #111;
  margin: 20px 0 30px;
}
.section-desc {
  font-size: var(--text-body);
  color: #666;
  line-height: 1.6;
  word-break: keep-all;
  max-width: 800px;
  margin: 0 auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  font-family: "Pretendard", sans-serif;
  line-height: 1.5;
  color: #333;
  overflow-x: hidden;
  width: 100%;
  word-break: keep-all;
}
body.menu-open {
  overflow: hidden;
}
p,
span,
h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: keep-all;
}
ul,
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.section {
  padding: 80px 0;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  a,
  li,
  .section-title-main,
  .section-title-sub,
  .section-desc,
  .hero .sub-title,
  .hero .main-title,
  .problem-footer p,
  .stage-item-desc,
  .card-desc,
  .rev-desc,
  .doctor-item .message,
  .faq-q,
  .faq-a .a-inner,
  .intro-text .bio p,
  .change-row .text-box .row-desc {
    text-wrap: balance;
  }
  br {
    display: none;
  }
}

.diary2-desc br{
  display: block;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s;
}
#header .inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
#header .logo {
  display: none;
}

/* Menu Toggle Buttons (+ / -) */
.menu-controls {
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1100;
  display: flex;
  gap: 10px;
}
.btn-ctrl {
  width: 44px;
  height: 44px;
  background: #90B8B4;
  border-radius: 50%;
  position: relative;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-ctrl::before,
.btn-ctrl::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.btn-ctrl.btn-close::before {
  width: 18px;
  height: 3px;
}
.btn-ctrl.btn-open::before {
  width: 18px;
  height: 3px;
}
.btn-ctrl.btn-open::after {
  width: 3px;
  height: 18px;
}
.menu-controls.open .btn-open {
  display: none;
}
.menu-controls:not(.open) .btn-close {
  display: none;
}
.btn-ctrl:hover {
  transform: scale(1.1);
  background: #90B8B4;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* GNB */
#header .gnb {
  position: fixed;
  top: 0;
  right: -100%;
  background: none;
  padding: 100px 30px 0;
  transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  display: block;
  pointer-events: none;
}
#header .gnb.open {
  right: 0;
  pointer-events: auto;
}
#header .gnb ul {
  text-align: right;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  padding: 20px 25px;
  border-radius: 15px;
}
#header .gnb li {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(30px);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#header .gnb.open li {
  opacity: 1;
  transform: translateX(0);
}

/* Sequence Delays */
#header .gnb.open li:nth-child(1) {
  transition-delay: 0.1s;
}
#header .gnb.open li:nth-child(2) {
  transition-delay: 0.15s;
}
#header .gnb.open li:nth-child(3) {
  transition-delay: 0.2s;
}
#header .gnb.open li:nth-child(4) {
  transition-delay: 0.25s;
}
#header .gnb.open li:nth-child(5) {
  transition-delay: 0.3s;
}
#header .gnb.open li:nth-child(6) {
  transition-delay: 0.35s;
}
#header .gnb.open li:nth-child(7) {
  transition-delay: 0.4s;
}
#header .gnb.open li:nth-child(8) {
  transition-delay: 0.45s;
}
#header .gnb.open li:nth-child(9) {
  transition-delay: 0.5s;
}

#header .gnb a {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  transition: 0.2s;
  display: inline-block;
  line-height: 1;
  position: relative;
}
#header .gnb a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
#header .gnb a:hover {
  color: #fff;
  transform: translateX(-5px);
}
#header .gnb a:hover::after,
#header .gnb li.active a::after {
  width: 100%;
}
#header .gnb li.active a {
  color: #fff;
}

@media (max-width: 768px) {
  #header .gnb {
    padding: 120px 20px 0;
  }
  .menu-controls {
    right: 15px;
    top: 70px;
  }
  .btn-ctrl {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  #header .gnb li {
    margin-bottom: 10px;
  }
  #header .gnb a {
    font-size: 20px;
  }
}

/* Hero Section */
.hero {
  width: 100%;
  aspect-ratio: 1280 / 850;
  background-color: #e6e6e6;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: 600px;
  padding-bottom: 40px;
  max-height: 800px;
  overflow: hidden;
}
.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg-slider .swiper-slide {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}
.hero .hero-content {
  color: #fff;
  text-align: center;
  width: 100%;
  position: relative;
  bottom: -20px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero .title-top {
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero .main-title {
  font-size: clamp(40px, 10vw, 120px);
  font-weight: 300;
  letter-spacing: -2px;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
.hero .title-bottom {
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: 4px;
  opacity: 0.9;
  text-transform: uppercase;
}
.hero .sub-title {
  display: none;
}

/* Fixed Elements */
.top-banner {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 1000;
  font-size: clamp(10px, 3.5vw, 14px);
  gap: clamp(5px, 2vw, 15px);
  white-space: nowrap;
}
.top-banner a {
  color: #90B8B4;
  font-weight: 700;
  border-bottom: 1px solid #90B8B4;
}

.side-floating {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: clamp(10px, 2vw, 20px);
  width: clamp(60px, 8vw, 110px);
  z-index: 1000;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.side-floating .floating-box {
  background: #333;
  border-radius: clamp(20px, 3vw, 40px);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}
.side-floating .floating-box:hover {
  transform: scale(1.05);
}
.side-floating .img-wrap {
  aspect-ratio: 1 / 1.1;
  width: 100%;
}
.side-floating .text {
  padding: clamp(5px, 1.5vw, 15px) 5px;
  color: #fff;
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 800;
  line-height: 1.3;
}
@media (max-width: 768px) {
  .side-floating {
    display: none;
  }
}

/* History Section Animation */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.history-animate {
  opacity: 0;
  transform: translateY(30px);
}

.history-animate.show {
  animation: fade-in-up 0.6s ease-out forwards;
}

/* History Section */
.history {
  background: #333;
  padding: 100px 0;
}
.history-title-area {
  text-align: center;
  margin-bottom: 60px;
}
.history-main-title {
  font-size: 28px;
  font-weight: 900;
  color: #90B8B4;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.history-subtitle {
  font-size: 17px;
  color: #ccc;
  font-weight: 500;
}
.history-body {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.history-photos {
  flex: 0 0 auto;
  width: 470px;
}
.history-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.history-photo-item {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  background: #444;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}
.history-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
  transition: all 0.4s ease;
}
.history-photo-item:hover img,
.history-photo-item.active img {
  filter: grayscale(0%);
}
.history-photo-item.active {
}
.history-photo-empty {
  background: transparent;
}
.history-profile {
  flex: 1;
}
.history-profile-header {
  margin-bottom: 30px;
}
.history-name {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.history-birth {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.history-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.history-info-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 15px;
}
.history-info-list .info-label {
  color: #aaa;
  font-weight: 700;
  min-width: 60px;
  flex-shrink: 0;
}
.history-info-list .info-value {
  color: #ddd;
  font-weight: 500;
}
.history-story-card {
  border: 1px solid #555;
  padding: 30px;
}
.story-year {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}
.story-title {
  font-size: 18px;
  font-weight: 800;
  color: #90B8B4;
  margin-bottom: 20px;
}
.story-text {
  font-size: 15px;
  color: #ccc;
  line-height: 1.9;
  font-weight: 400;
}
@media (max-width: 900px) {
  .history-body {
    flex-direction: column;
  }
  .history-photos {
    width: 100%;
  }
  .history-photo-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Introduce Section */
.introduce {
  background: #fff;
  text-align: center;
  padding: 120px 0;
}
.introduce .intro-title {
  font-size: 28px;
  font-weight: 900;
  color: #90B8B4;
  margin-bottom: 60px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.introduce .intro-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 60px;
  text-align: left;
}
.introduce .intro-visual {
  flex-shrink: 0;
}
.introduce .intro-visual .img-wrap {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px dashed #90B8B4;
  padding: 12px;
  position: relative;
}
.introduce .intro-visual .img-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed #90B8B4;
  transform: scale(1.05);
  pointer-events: none;
  opacity: 0.5;
}
.introduce .intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(100%);
}
.introduce .intro-text {
  flex: 1;
}
.introduce .intro-text .name {
  font-size: 30px;
  font-weight: 900;
  color: #000;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
}
.introduce .intro-text .name .year {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-left: 15px;
}
.introduce .intro-text .info-list {
  margin-bottom: 30px;
}
.introduce .intro-text .info-list li {
  position: relative;
  padding-left: 15px;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}
.introduce .intro-text .info-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  font-weight: 900;
  font-size: 20px;
  top: -2px;
}
.introduce .intro-text .bio p {
  font-size: 16px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 15px;
  word-break: keep-all;
  font-weight: 500;
}

.reason-footer-banner {
  padding: 80px 20px;
  text-align: center;
}
.reason-footer-title {
  font-size: clamp(22px, 3.5vw, 40px);
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
  letter-spacing: -1px;
  margin-bottom: 50px;
}
.reason .intro-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.reason .intro-footer .arrow {
  width: 45px;
  height: 45px;
  color: #fff;
  margin-bottom: 10px;
}
.reason .intro-footer .btn-intro-check {
  display: inline-block;
  background: #90B8B4;
  color: #fff;
  padding: 16px 55px;
  border-radius: 50px;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(144, 184, 180, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.reason .intro-footer .btn-intro-check:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(144, 204, 200, 0.5);
}
.reason .intro-footer .desc {
  font-size: 16px;
  color: #ccc;
  font-weight: 500;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .introduce {
    padding: 80px 0;
  }
  .introduce .intro-content {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }
  .introduce .intro-visual .img-wrap {
    width: 300px;
    height: 300px;
  }
  .introduce .intro-text {
    text-align: center;
  }
  .introduce .intro-text .name {
    justify-content: center;
    font-size: 26px;
  }
  .introduce .intro-text .name .year {
    font-size: 18px;
  }
  .introduce .intro-text .info-list li {
    font-size: 16px;
    padding-left: 0;
  }
  .introduce .intro-text .info-list li::before {
    display: none;
  }
  .introduce .intro-text .bio p {
    font-size: 15px;
  }
}

/* Tabs Common Style */
.change-tabs,
.selfie-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.selfie-desc-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.selfie-desc-wrap br{
  display: block;
}
.change-tabs button,
.selfie-tabs button {
  width: 120px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1.5px solid #999;
  color: #999;
  background: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
}
.change-tabs button.active,
.selfie-tabs button.active {
  background: #90B8B4;
  border-color: #90B8B4;
  color: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}
.case-item {
  width: 100%;
}
.case-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}
.case-label .session-num {
  color: #f47d31;
}
.case-item .img-box {
  aspect-ratio: 1 / 1;
  border-radius: 15px;
  overflow: hidden;
  background: #f4f4f4;
}
.case-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.case-item:hover .img-box img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .change-tabs,
  .selfie-tabs {
    gap: 5px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
  }
  .change-tabs button,
  .selfie-tabs button {
    min-width: 50px;
    width: auto;
    flex: 1;
    max-width: 70px;
    height: 38px;
    font-size: 13px;
    padding: 0 8px;
  }
}

/* Change Section */
.change {
  background-color: #222;
  padding: 100px 0;
}
.change .title-area {
  margin-bottom: 60px;
}
.change .section-title-main {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #fff;
}
.change .section-title-sub {
  font-size: 20px;
  font-weight: 600;
  margin-top: 0;
  color: #fff !important;
}

.change-container-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.change-content {
  display: none;
}
.change-content.active {
  display: block;
}

.change-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.change-row.reverse {
  flex-direction: row-reverse;
}
.change-row:last-child {
  margin-bottom: 0;
}

.change-row .img-box {
  flex: 1.1;
  aspect-ratio: 1.4 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #333;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.change-row .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.change-row .text-box {
  flex: 1;
  text-align: left;
  color: #fff;
}
.change-row .text-box .row-title {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}
.change-row .text-box .row-desc {
  font-size: 17px;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 30px;
  word-break: keep-all;
  font-weight: 700;
}

.change-row .info-group {
  padding: 0;
}
.change-row .info-title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 15px;
}
.change-row .info-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 600;
}
.change-row .info-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  top: -2px;
}

@media (max-width: 1024px) {
  .change {
    padding: 80px 0;
  }
  .change-row {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }
  .change-row.reverse {
    flex-direction: column;
  }
  .change-row .img-box {
    width: 100%;
    max-width: 700px;
  }
  .change-row .text-box {
    width: 100%;
    text-align: center;
  }
  .change-row .text-box .row-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .change-row .text-box .row-desc {
    font-size: 16px;
  }
  .change-row .info-list {
    text-align: left;
    display: inline-block;
  }
}

/* Reason Section */
.reason {
  background: #333;
  padding: 120px 0;
}
.reason .title-area {
  margin-bottom: 80px;
}
.reason .section-title-main {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.reason .section-title-sub {
  font-size: 24px;
  font-weight: 700;
  color: #bbb;
  margin-top: 0;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.reason-item {
  text-align: center;
}
.reason-item .img-box {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  border-radius: 25px;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}
.reason-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reason-item .item-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}
.reason-item .item-desc {
  font-size: 16px;
  color: #888;
  line-height: 1.7;
  font-weight: 500;
  text-wrap: balance;
}

@media (max-width: 768px) {
  .reason {
    padding: 80px 0;
  }
  .reason-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .reason-item .item-title {
    font-size: 19px;
  }
  .reason-item .item-desc {
    font-size: 15px;
  }
}

/* Selfie Section */
.selfie {
  padding: 120px 0;
}
.selfie .title-area {
  margin-bottom: 60px;
}
.selfie .section-title-main {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.selfie .section-title-sub {
  font-size: 20px;
  font-weight: 600;
  margin-top: 0;
}

.selfie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.selfie-item {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #333;
  cursor: pointer;
}
.selfie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.selfie-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .selfie-grid {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .selfie {
    padding: 80px 0;
  }
  .selfie-grid {
    gap: 10px;
  }
  .selfie .selfie-tabs button {
    padding: 6px 25px;
    font-size: 14px;
  }
}

/* Image Popup Modal */
.image-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}
.image-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-popup .popup-content {
  width: 90%;
  max-width: 800px;
  transition: transform 0.3s;
}
.image-popup .popup-content img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Selfie Popup Modal */
.selfie-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.selfie-popup.active {
  display: block;
}
.selfie-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}
.selfie-popup-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  padding: 20px;
}
.selfie-popup-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 15px 15px 0 0;
}
.selfie-popup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.selfie-popup-text {
  flex: 1;
  overflow-y: auto;
  overflow: scroll;
  padding-top: 10px;
}
.selfie-popup-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.selfie-popup-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}
.selfie-popup-date {
  font-size: 14px;
  color: #999;
  font-weight: 400;
  white-space: nowrap;
}
.selfie-popup-desc {
  color: #666;
  line-height: 1.8;
}
.selfie-popup-desc p {
  margin: 0 0 15px 0;
  font-size: 15px;
}
.selfie-popup-desc p:last-child {
  margin-bottom: 0;
}
.selfie-popup-close {
  position: absolute;
  right: 50%;
  bottom: 0;
  transform: translate(50%, 40%);
  width: 80px;
  padding: 8px;
  background: linear-gradient(135deg, #90B8B4, #ff8a3d);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .selfie-popup-card {
    max-width: 95%;
    border-radius: 15px;
  }
  .selfie-popup-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 15px;
  }
  .selfie-popup-title {
    font-size: 18px;
  }
  .selfie-popup-date {
    font-size: 13px;
  }
  .selfie-popup-desc p {
    font-size: 14px;
  }
  .selfie-popup-close {
    font-size: 15px;
  }
}

/* Contact Float */
.contactFloat {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1101;
  pointer-events: none;
}
.contactFloat > .container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.contactFloat > .container > .contact {
  width: 100%;
  height: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.595);
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: auto;
}
.contactFloat > .container > .contact.active {
  display: flex;
  opacity: 1;
}
.contactFloat > .container > .contact > #consultForm {
  width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  bottom: 80px;
}
.contactFloat > .container > .contact > #consultForm .close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  border: none;
  background-color: white;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
  box-shadow: -5px 3px 10px 0 rgb(0 0 0 / 16%);
}
.contactFloat > .container > .contact > #consultForm .close-btn:hover {
  background-color: rgb(210, 209, 209);
}
.contactFloat > .container > .contact > #consultForm h2 {
  color: #5a4e47;
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}
.contactFloat > .container > .contact > #consultForm p {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
  margin-top: 0;
}
.contactFloat > .container > .contact > #consultForm .form-group {
  margin-bottom: 15px;
}
.contactFloat > .container > .contact > #consultForm .form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}
.contactFloat > .container > .contact > #consultForm .required {
  color: red;
}
.contactFloat
  > .container
  > .contact
  > #consultForm
  .form-group
  input[type="text"] {
  width: 80%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 4px;
}
.contactFloat > .container > .contact > #consultForm .phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contactFloat > .container > .contact > #consultForm .phone-input input {
  width: 80px !important;
}
.contactFloat > .container > .contact > #consultForm .phone-input span {
  color: #666;
}
.contactFloat > .container > .contact > #consultForm .checkbox-group {
  margin: 20px 0;
}
.contactFloat > .container > .contact > #consultForm .checkbox-group label {
  display: block;
  margin-bottom: 10px;
  color: #666;
  font-size: 14px;
}
.contactFloat > .container > .contact > #consultForm .submit-btn {
  width: 100%;
  padding: 15px;
  background: #90B8B4;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.contactFloat > .container > .contact > #consultForm .submit-btn:hover {
  background: #90B8B4;
}
.contactFloat > .container > .contact > #consultForm .notice {
  margin-top: 15px;
  text-align: center;
  color: #333;
}
.contactFloat > .container > .contact > #consultForm .notice > span {
  font-weight: bold;
}
.contactFloat > .container > .contact > #consultForm .sub-notice {
  font-size: 12px;
  color: #999;
  text-align: center;
}

.contactFloat > .btnBox {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 99;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  pointer-events: auto;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  justify-content: center;
  padding: 0 20px;
}
.contactFloat > .btnBox.hidden {
  display: none;
  opacity: 0;
}
.contactFloat > .btnBox > button {
  flex: 1;
  height: 60px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.contactFloat > .btnBox > button svg {
  width: 20px;
  height: 20px;
  opacity: 0.9;
  flex-shrink: 0;
}
.contactFloat > .btnBox > button span {
  font-size: 13px;
  letter-spacing: -0.5px;
  line-height: 1;
}
.contactFloat > .btnBox > .btn-consult-trigger {
  background: linear-gradient(
    135deg,
    rgba(144, 184, 180, 0.9),
    rgba(164, 204, 200, 0.8)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.contactFloat > .btnBox > .btn-kakao {
  background: linear-gradient(
    135deg,
    rgba(254, 229, 0, 0.9),
    rgba(255, 235, 59, 0.8)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #3c1e1e;
}
.contactFloat > .btnBox > .sub_btn {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(51, 51, 51, 0.7)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}
.contactFloat > .btnBox > button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}
.contactFloat > .btnBox > button:active {
  transform: translateY(-1px);
}

@media all and (max-width: 478px) {
  .contactFloat > .btnBox {
    bottom: 15px;
    padding: 0 12px;
    gap: 8px;
    max-width: 100%;
  }
  .contactFloat > .btnBox > button {
    height: 46px;
    font-size: 13px;
    border-radius: 14px;
    padding: 0 5px;
    gap: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .contactFloat > .btnBox > button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .contactFloat > .btnBox > button span {
    font-size: 11px;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
  }
  .contactFloat > .container > .contact > #consultForm {
    width: 300px;
    bottom: 0;
  }
  .contactFloat
    > .container
    > .contact
    > #consultForm
    .form-group
    input[type="text"] {
    width: 79%;
  }
  .contactFloat > .container > .contact > #consultForm .phone-input input {
    width: 50px !important;
  }
}

/* Information Section */
.information {
  background: #fff;
  padding: 120px 0;
}
.information .title-area {
  margin-bottom: 30px;
}
.information .section-title-main {
  font-size: 18px;
  font-weight: 900;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.information .section-title-sub {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-top: 0;
}

.info-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.info-tabs button {
  width: 200px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1.5px dashed #bbb;
  background: #fff;
  color: #888;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.info-tabs button.active {
  background: #90B8B4;
  border: 1.5px solid #90B8B4;
  color: #fff;
  border-style: solid;
  box-shadow: 0 8px 20px rgba(244, 125, 49, 0.3);
}

.info-container-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.info-content {
  display: none;
}
.info-content.active {
  display: block;
}

.info-flex {
  display: flex;
  align-items: center;
  gap: 100px;
}
.info-flex .text-box {
  flex: 1.2;
  text-align: left;
}
.info-flex .img-box {
  flex: 1;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.info-flex .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-h1 {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  letter-spacing: -1px;
  line-height: 0.7;
}
.info-h2 {
  font-size: 24px;
  font-weight: 700;
  color: #888;
  letter-spacing: -0.5px;
}
.info-h3 {
  font-size: 42px;
  font-weight: 900;
  color: #90B8B4;
  margin-bottom: 25px;
  letter-spacing: -1px;
  line-height: 0.7;
  margin-left: -2px;
}

.info-desc-group p {
  font-size: 16px;
  color: #777;
  line-height: 1.8;
  margin-bottom: 25px;
  word-break: keep-all;
  font-weight: 500;
  text-wrap: balance;
}
.info-desc-group p strong {
  color: #333;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .info-flex {
    flex-direction: column;
    gap: 60px;
  }
  .info-flex .text-box {
    text-align: center;
  }
  .info-flex .img-box {
    width: 100%;
    max-width: 450px;
  }
  .info-h3 {
    font-size: 42px;
    margin-bottom: 35px;
  }
  .info-container-wrap {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .information {
    padding: 80px 0;
  }
  .info-tabs {
    gap: 10px;
    margin-bottom: 50px;
  }
  .info-tabs button {
    width: 100%;
    max-width: 280px;
    height: 42px;
    font-size: 16px;
  }
  .info-h1 {
    font-size: 26px;
  }
  .info-h2 {
    font-size: 18px;
  }
  .info-h3 {
    font-size: 32px;
    margin-bottom: 25px;
  }
  .info-desc-group p {
    font-size: 15px;
    margin-bottom: 20px;
  }
}

/* Self Test Section */
.self-test {
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.self-test-img {
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 400px;
  max-width: 900px;
  z-index: 1;
  transform: translate(-100%, 0px);
}
.self-test-img img {
  width: 100%;
  display: block;
}

.self-test .inner {
  z-index: 3;
  width: 100%;
  position: relative;
}
.self-test .title-area {
  margin-bottom: 60px;
  text-align: center;
}
.self-test .section-title-main {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.self-test .section-title-sub {
  font-size: 18px;
  font-weight: 500;
}

.test-content {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-right: 5%;
}
.test-text-wrap {
  width: 45%;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text_img {
  margin-bottom: 30px;
  width: 80%;
}
.text_img img {
  max-width: 100%;
  height: auto;
}

.btn-test-check {
  display: inline-block;
  background: #90B8B4;
  color: #fff;
  padding: 10px 50px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(244, 125, 49, 0.4);
  transition: 0.3s;
  margin-bottom: 30px;
  white-space: nowrap;
}
.btn-test-check:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(244, 125, 49, 0.5);
}
.test-desc {
  font-size: 20px;
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
  .self-test {
    min-height: 700px;
  }
  .test-text-wrap {
    width: 50%;
  }
}

@media (max-width: 1024px) {
  .self-test {
    min-height: 600px;
    padding: 80px 0;
  }
  .test-content {
    padding-right: 0;
  }
  .test-text-wrap {
    width: 60%;
  }
  .btn-test-check {
    font-size: 18px;
    padding: 10px 40px;
  }
  .test-desc {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .self-test {
    min-height: auto;
    padding: 60px 0 0;
    display: block;
  }
  .test-content {
    justify-content: center;
    padding: 40px 0 60px;
  }
  .test-text-wrap {
    width: 90%;
    text-align: center;
  }
  .self-test-img {
    left: unset;
    transform: translate(0, 50%);
    right: 0;
    width: 200px;
    bottom: 50%;
  }
}

/* Video Section */
.video {
  background-color: #000;
  padding: 120px 0;
}
.video .title-area {
  margin-bottom: 60px;
}
.video .section-title-main {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #fff;
}
.video .section-title-sub {
  font-size: 20px;
  font-weight: 600;
  margin-top: 0;
  color: #fff !important;
}

.video-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.video-tabs button {
  width: 120px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: 1.5px solid #fff;
  background: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
}
.video-tabs button.active {
  background: #90B8B4;
  border-color: #90B8B4;
}

.video-container-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.video-content {
  display: none;
}
.video-content.active {
  display: block;
}

.video-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.video-box video,
.video-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .video {
    padding: 80px 0;
  }
  .video-tabs {
    gap: 5px;
    flex-wrap: nowrap;
  }
  .video-tabs button {
    min-width: 50px;
    width: auto;
    flex: 1;
    max-width: 70px;
    height: 38px;
    font-size: 13px;
    padding: 0 8px;
  }
  .video-box {
    border-radius: 20px;
  }
}

/* Confession (inside Diary) */
.confession-wrap {
  margin-top: 120px;
  text-align: center;
}
.confession-top {
  margin-bottom: 100px;
}
.confession-question {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  color: #222;
  letter-spacing: -2px;
  margin-bottom: 30px;
  line-height: 1.1;
}
.confession-desc {
  font-size: clamp(15px, 2vw, 19px);
  color: #555;
  line-height: 2;
  font-weight: 500;
}
.confession-wish {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  color: #90B8B4;
  line-height: 1.3;
  letter-spacing: -1px;
  margin-bottom: 35px;
}
.confession-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.confession-list li {
  font-size: clamp(15px, 2vw, 19px);
  color: #555;
  font-weight: 500;
}
.confession-list-bold {
  font-weight: 900;
  color: #222;
}

/* Information Section */
.information {
  background: #fff;
  padding: 100px 0;
}
.information .title-area {
  text-align: center;
  margin-bottom: 50px;
}
.information .section-title-main {
  font-size: 18px;
  font-weight: 900;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.information .section-title-sub {
  font-size: 17px;
  font-weight: 500;
  color: #555;
  margin-top: 0;
}
.info-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 70px;
}
.info-tabs button {
  padding: 12px 40px;
  border-radius: 50px;
  border: 1.5px solid #ccc;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  transition: all 0.3s;
}
.info-tabs button.active {
  background: #90B8B4;
  border-color: #90B8B4;
  color: #fff;
}
.info-body {
  display: flex;
  align-items: start;
  gap: 60px;
  min-height: 520px;
}
.info-text {
  flex: 1;
}
.info-protocol-label {
  font-size: 16px;
  font-weight: 900;
  color: #000;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.info-protocol-sub {
  font-size: 18px;
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
}
.info-protocol-name {
  font-size: 42px;
  font-weight: 900;
  color: #90B8B4;
  margin-bottom: 30px;
  letter-spacing: -1px;
}
.info-desc-group p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  word-break: keep-all;
}
.info-desc-group p strong {
  color: #333;
  font-weight: 800;
}
.info-visual {
  flex: 0 0 420px;
}
.info-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
@media (max-width: 900px) {
  .info-body {
    flex-direction: column;
  }
  .info-visual {
    flex: none;
    width: 280px;
    height: 280px;
  }
  .info-visual img {
    height: 280px;
  }
  .info-tabs button {
    padding: 10px 24px;
    font-size: 14px;
  }
}
.doctor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 40px;
  margin-bottom: 100px;
  justify-content: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.doctor-item {
  text-align: center;
  width: calc((100% - 80px) / 3);
  min-width: 240px;
}
.doctor-item .doc-img {
  width: clamp(200px, 25vw, 300px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.doctor-item .doc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-item .name {
  font-size: 24px;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
}
.doctor-item .message {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  word-break: keep-all;
}
.reason-04 {
  padding-top: 0;
}

@media (max-width: 1024px) {
  .doctor-grid {
    gap: 40px 20px;
  }
  .doctor-item {
    width: calc((100% - 40px) / 3);
  }
}

@media (max-width: 768px) {
  .doctor-grid {
    flex-direction: column;
    align-items: center;
  }
  .doctor-item {
    width: 100%;
    min-width: auto;
    max-width: 400px;
  }
  .doctor-item .message br {
    display: none;
  }
}

.team-visual-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 50px;
  overflow: hidden;
  padding-top: 0;
  position: relative;
}
.team-visual-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.team-visual-wrap .team-visual-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, 0%);
  text-align: center;
  color: #fff;
  width: 100%;
}
.team-visual-wrap .team-visual-text h3 {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  margin-bottom: 10px;
}
.team-visual-wrap .team-visual-text p {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -1px;
}
@media (max-width: 768px) {
  .team-visual-wrap .team-visual-text h3 {
    font-size: 24px;
  }
  .team-visual-wrap .team-visual-text p {
    font-size: 16px;
  }
}
/* Diary2 Section */
.diary2 {
  background: #333;
  padding: 100px 0;
}
.diary2 .title-area {
  text-align: center;
  margin-bottom: 60px;
}
.diary2 .section-title-main {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #fff;
}
.diary2 .section-title-sub {
  font-size: 20px;
  font-weight: 600;
  margin-top: 0;
  color: #aaa;
}
.diary2-main {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 60px;
}
.diary2-main-img {
  flex: 0 0 480px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.diary2-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.diary2-main-text {
  flex: 1;
  padding-top: 10px;
}
.diary2-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.diary2-date {
  font-size: 16px;
  font-weight: 800;
  color: #90B8B4;
}
.diary2-badge {
  background: #90B8B4;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 30px;
}
.diary2-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.4;
}
.diary2-desc p {
  font-size: 15px;
  color: #aaa;
  line-height: 1.8;
  margin-bottom: 16px;
  word-break: keep-all;
}
.diary2-swiper-wrap {
  position: relative;
}
.diary2-pagination {
  text-align: center;
  margin-bottom: 20px;
}
.diary2-pagination .swiper-pagination-bullet {
  background: #555;
  opacity: 1;
}
.diary2-pagination .swiper-pagination-bullet-active {
  background: #90B8B4;
}
.diary2-swiper .swiper-slide {
  cursor: pointer;
  text-align: center;
}
.thumb-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 10px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.thumb-date {
  font-size: 13px;
  color: #888;
  font-weight: 600;
}
.thumb-new {
  font-size: 11px;
  color: #90B8B4;
  font-weight: 800;
  display: block;
  margin-top: 2px;
}
.diary2-swiper .swiper-slide-active .thumb-img {
  border-color: #90B8B4;
}
.diary2-swiper .swiper-slide-active .thumb-date {
  color: #90B8B4;
}
.diary2-prev,
.diary2-next {
  color: #fff;
}
.diary2-prev::after,
.diary2-next::after {
  font-size: 18px;
}
@media (max-width: 900px) {
  .diary2-main {
    flex-direction: column;
  }
  .diary2-main-img {
    flex: none;
    width: 100%;
  }
}

/* Diary Section */
.diary {
  background: #fff;
  padding: 120px 0;
}
.diary .title-area {
  margin-bottom: 80px;
}
.diary .section-title-main {
  font-size: 28px;
  font-weight: 900;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 15px;
}
.diary .section-title-sub {
  font-size: 18px;
  font-weight: 700;
  color: #bbbbbb;
  margin-top: 0;
}

/* PC Layout - 2 Columns */
.diary-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.diary-container.diary-swiper {
  display: grid !important;
}

/* PC: Swiper 비활성화, Grid로 표시 */
.diary-swiper .swiper-wrapper {
  display: contents;
}

.diary-swiper .swiper-slide {
  display: block;
  animation: fade-in-up 0.8s ease-out forwards;
}

.diary-swiper .swiper-slide:nth-child(1) {
  animation-delay: 0s;
}
.diary-swiper .swiper-slide:nth-child(2) {
  animation-delay: 0.2s;
  margin-top: 100px;
}
.diary-swiper .swiper-slide:nth-child(3) {
  animation-delay: 0.4s;
}
.diary-swiper .swiper-slide:nth-child(4) {
  animation-delay: 0.6s;
  margin-top: 100px;
}
.diary-swiper .swiper-slide:nth-child(5) {
  animation-delay: 0.4s;
}
.diary-swiper .swiper-slide:nth-child(6) {
  animation-delay: 0.6s;
  margin-top: 100px;
}


.diary-item {
  width: 100%;
  text-align: left;
}

.diary-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  max-width: 420px;
  margin: 0 auto 10px;
}
.diary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.diary-img .insta-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 35px;
  height: 35px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  padding: 7px;
}
.diary-item .diary-text {
  text-align: center;
      max-width: 420px;
    margin: 0 auto;
}
.diary-date {
  font-size: 18px;
  font-weight: 800;
  color: #90B8B4;
  margin-bottom: 10px;
}
.diary-title {
  font-size: 22px;
  font-weight: 900;
  color: #000;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.diary-desc p {
  font-size: 16px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 15px;
  word-break: keep-all;
  font-weight: 500;
  text-align: left;
}
.diary-desc p:last-child {
  margin-bottom: 0;
}

/* Diary Swiper Pagination */
.diary-pagination {
  margin-top: 40px;
}
.diary-pagination.swiper-pagination-bullets {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.diary-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 1;
  transition: all 0.3s ease;
}
.diary-pagination .swiper-pagination-bullet-active {
  background: #90B8B4;
  width: 30px;
  border-radius: 5px;
}

/* PC only: Swiper inline style override */
@media (min-width: 769px) {
  .diary-swiper {
    overflow: visible !important;
  }

  .diary-swiper .swiper-wrapper {
    width: auto !important;
    height: auto !important;
    transform: none !important;
  }

  .diary-swiper .swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .diary-container {
    gap: 30px;
  }
  .diary-column:nth-child(2) {
    margin-top: 60px;
  }
}

/* 모바일: Swiper 활성화 */
@media (max-width: 768px) {
  .diary {
    padding: 80px 0;
  }

  .diary-container {
    display: block;
    padding: 0 20px;
  }

  .diary-swiper {
    overflow: hidden;
  }

  .diary-swiper .swiper-wrapper {
    display: flex;
  }

  .diary-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0;
    display: block;
    animation: fade-in-up 0.6s ease-out forwards;
    animation-delay: 0s;
  }

  .diary-swiper .swiper-slide:nth-child(2),
  .diary-swiper .swiper-slide:nth-child(4) {
    margin-top: 0 !important;
  }

  .diary-item {
    width: 100%;
    text-align: left;
  }

  .diary-img {
    border-radius: 20px;
  }
  .diary-title {
    font-size: 20px;
  }
  .diary-desc p {
    font-size: 15px;
  }
  .diary-pagination {
    margin-top: 30px;
  }
}

/* footer */
footer {
  width: 100%;
  padding: 40px 0;
  background-color: #212121;
  color: #fff;
}
footer .inner {
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
footer .inner h1 {
  position: relative;
  top: 20px;
}
footer .inner .center {
  width: 590px;
  position: relative;
  top: 20px;
}
footer .inner .center .top {
  display: flex;
  align-items: center;
  gap: 30px;
}
footer .inner .center .top a {
  font-size: 14px;
  position: relative;
}
footer .inner .center .top a::before {
  content: "";
  position: absolute;
  top: 4px;
  right: -15px;
  width: 1px;
  height: 14px;
  background-color: #fff;
}
footer .inner .center .top a:last-child::before {
  display: none;
}
footer .inner .line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  margin: 12px 0;
}
footer .inner .center .bottom {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #9d9d9d;
  flex-direction: row;
  flex-wrap: wrap;
}
footer .inner .center .bottom p {
  font-size: 13px;
}
footer .inner .center .bottom span {
  font-size: 13px;
}
footer .inner .right .contents {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
}
footer .inner .right .contents:last-child {
  margin-bottom: 0;
}
footer .inner .right .contents p {
  font-size: 11px;
}
footer .inner .right .contents p:nth-child(1) {
  width: 110px;
  margin-right: 10px;
}
footer .inner .right .contents p:nth-child(2) {
  width: 70px;
  margin-right: 20px;
}
footer .inner .right .contents p:nth-child(3) {
  width: 150px;
  margin-right: 20px;
}

@media (max-width: 1550px) {
  footer .inner {
    padding: 0 16px;
  }
}
@media (max-width: 1500px) {
  footer .inner {
    flex-direction: row;
    flex-wrap: wrap;
  }
  footer .inner h1 {
    width: 100%;
    top: 0;
    margin: 0 auto 25px;
    text-align: center;
  }
  footer .inner h1 > img {
    display: block;
    margin: 0 auto;
    width: 100px;
  }
}
@media (max-width: 643px) {
  footer .inner h1 > img {
    display: block;
    margin: 0 auto;
    width: 100px;
  }
  footer .inner .center .bottom {
    justify-content: center;
  }
  footer .inner .center .bottom p {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  footer .inner .center .bottom span {
    display: none;
  }
  footer .inner .right .contents {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 10px;
    margin: 25px 0;
    justify-content: center;
  }
  footer .inner .right .contents p {
    font-size: 12px;
    line-height: 14px;
    color: #fff;
    font-weight: 300;
    width: 100%;
    text-align: center;
  }
  footer .inner .right .contents p:first-child {
    margin-bottom: 4px;
  }
}
@media (max-width: 480px) {
  footer .inner h1 > img {
    display: block;
    margin: 0 auto;
    width: 100px;
  }
  footer .inner .bottom .top {
    gap: 12px;
  }
  footer .inner .bottom .top a {
    font-size: 12px;
  }
  footer .inner .bottom .top a::before {
    height: 12px;
    right: -6px;
  }
}

#wrap > .btnBox {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 0%);
  z-index: 99;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
  pointer-events: auto;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  justify-content: center;
  padding: 0 20px;
}

#wrap > .btnBox.hidden {
  display: none;
  opacity: 0;
}

#wrap > .btnBox > button {
  flex: 1;
  height: 60px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

#wrap > .btnBox > button svg {
  width: 20px;
  height: 20px;
  opacity: 0.9;
  flex-shrink: 0;
}

#wrap > .btnBox > button span {
  font-size: 13px;
  letter-spacing: -0.5px;
  line-height: 1;
}

/* 간편 상담 신청 - 오렌지 그라데이션 + 글래스 */
#wrap > .btnBox > .btn-consult-trigger {
  background: linear-gradient(
    135deg,
    rgba(144, 184, 180, 0.9),
    rgba(164, 204, 200, 0.8)
    );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

/* 카카오 상담 - 카카오 옐로우 + 글래스 */
#wrap > .btnBox > .btn-kakao {
  background: linear-gradient(
    135deg,
    rgba(254, 229, 0, 0.9),
    rgba(255, 235, 59, 0.8)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #3c1e1e;
}

/* 네이버 톡톡 - 네이버 그린 + 글래스 */
#wrap > .btnBox > .btn-talk {
  background: linear-gradient(
    135deg,
    rgba(3, 207, 93, 0.9),
    rgba(34, 220, 114, 0.8)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

/* 흉터 진단 하기 - 블랙 + 글래스 */
#wrap > .btnBox > .sub_btn {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.8),
    rgba(51, 51, 51, 0.7)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

#wrap > .btnBox > button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

#wrap > .btnBox > button:active {
  transform: translateY(-1px);
}

@media all and (max-width: 478px) {
  #wrap > .btnBox {
    bottom: 15px;
    padding: 0 12px;
    gap: 8px;
    max-width: 100%;
  }

  #wrap > .btnBox > button {
    height: 46px;
    font-size: 13px;
    border-radius: 14px;
    padding: 0 10px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
  }

  #wrap > .btnBox > button svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  #wrap > .btnBox > button span {
    font-size: 11px;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
  }
}

/* FAQ Section */
.faq {
  background-color: #f2f2f2;
  text-align: center;
  padding: var(--section-padding);
}
.faq .faq-main-title {
  font-size: var(--title-main);
  color: var(--primary-color);
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: -2px;
  line-height: 1;
}
.faq .faq-sub-title {
  font-size: var(--title-sub);
  font-weight: 800;
  color: #111;
  margin-bottom: 20px;
}
.faq .faq-desc {
  font-size: var(--text-body);
  color: #888;
  line-height: 1.6;
  margin-bottom: 60px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.faq-item.active {
  background: #000;
}
.faq-item.active + .faq-a {
  display: block;
} /* fallback for display logic if needed */

.faq-q {
  width: 100%;
  padding: 25px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  color: #111;
  text-align: left;
}
.faq-item.active .faq-q {
  color: #fff;
}
.faq-q .icon {
  position: relative;
  width: 24px;
  height: 24px;
  background: #90B8B4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-q .icon::before,
.faq-q .icon::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 2px;
}
.faq-q .icon::before {
  width: 12px;
  height: 2px;
}
.faq-q .icon::after {
  width: 2px;
  height: 12px;
  transition: 0.3s;
}

.faq-item.active .faq-q .icon {
  background: #90B8B4;
}
.faq-item.active .faq-q .icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  display: none;
  background: #fff;
  text-align: left;
}
.faq-item.active .faq-a {
  display: block;
}
.faq-a .a-inner {
  padding: 30px 40px;
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  word-break: keep-all;
}

/* FAQ Buttons */
.faq-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.faq-btns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 60px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  transition: 0.3s;
}
.faq-btns .btn-consult {
  background: #90B8B4;
  color: #fff;
  box-shadow: 0 10px 20px rgba(244, 125, 49, 0.2);
}
.faq-btns .btn-diagnosis {
  background: #000;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.faq-btns a:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }
  .faq-list {
    padding: 0 20px;
  }
  .faq-q {
    padding: 20px 25px;
    font-size: 16px;
  }
  .faq-a .a-inner {
    padding: 25px 30px;
    font-size: 14px;
  }
  .faq-btns {
    flex-direction: column;
    align-items: center;
  }
  .faq-btns a {
    width: 100%;
    max-width: 320px;
  }
}
