a, p, div, main, img, html, body, h1, h2, h3, span {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

li {
    list-style: none;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 가로 스크롤 방지 */
}

  /* -------------- 1 ----------- */

/* 메인 히어로 */
.diet-main-hero {
  width: 100%;
  height: 792px;
  background: url('./pc/1.jpg') no-repeat center / cover;
  position: relative;
  overflow: hidden;
}

/* 텍스트 영역 */
.hero-text {
  max-width: 420px;
  color: #fff;
  position: absolute;
  top: 45%;
  right: 25%;
}

/* 타이틀 */
.hero-title {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-title span {
  font-weight: 300;
}

/* 설명 */
.hero-desc {
  font-size: 22px;
  background: linear-gradient(90deg, #48c1fa 0%, #89ffd4 50%, #fff163 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}

/* 버튼 영역 */
.hero-btns {
  position: absolute;
  transform: translate(-50%);
  left: 50%;
  bottom: 20%;
  display: flex;
  gap: 2px;
}

.hero-btns .btn {
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  width: 300px;
}

/* 카카오 */
.hero-btns .kakao {
  background: #f6e500;
  color: #000;
}

/* 예약 */
.hero-btns .reserve {
  background: #fff;
  color: #000;
}






  /* -------------- 2 ----------- */

.diet-sec-intro {
  width: 100%;
  height: 740px;
  background: url('./pc/2.jpg') no-repeat center / cover;
}

.intro-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* 타이틀 */
.intro-title {
  font-size: 40px;
  line-height: 1.4;
  font-weight: 700;
  color: #222;
  padding-top: 200px;
  margin-bottom: 50px;
}

.intro-title .intro-lead {
  font-size: 54px;
}

/* 네모 강조 */
.intro-title .badge {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid #111;
}

/* 그라데이션 텍스트 */
.intro-title .gradient {
  color: #3ea8da;
  font-weight: 300;
}

/* 설명 */
.intro-desc {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: #444;
}




  /* -------------- 3 ----------- */



/* 섹션 배경 */
.diet-plan-sec {
  background: url('./pc/3.jpg') no-repeat center / cover;
  height: 740px;
}

/* 화이트 박스 */
.diet-plan-text {
  width: fit-content;
  margin: 0 auto;
  padding-top: 100px;
  text-align: center;
}

/* 상단 영문 */
.plan-eyebrow {
  font-size: 30px;
  font-weight: 200;
  letter-spacing: 10px;
  color: #646464;
  margin-bottom: 10px;
}

/* 타이틀 */
.plan-title {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 0px;
  color: #000;
}

/* 리스트 */
.plan-list {
  margin-top: 52px;
}

.plan-list p {
  width: fit-content;
  margin: 0 auto 58px;
  font-size: 30px;
  color: #333;
}





/* 섹션 전체 */
.diet-beforeafter-sec {
  position: relative;
  background: url('./pc/4.jpg') no-repeat center / cover;
  height: 1780px;
  color: #fff;
}

/* 안쪽 기준점 */
.ba-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* 타이틀 */
.ba-title {
  text-align: center;
  font-size: 50px;
  font-weight: 700;
  padding-top: 170px;
}

/* 전후 텍스트 공통 */
.ba-text {
  position: absolute;
  left: 28%;
  color: #fff;
}

.ba-text .date {
  font-size: 25px;
}

.ba-text .desc {
  font-size: 44px;
  font-weight: 600;
}

/* 개별 위치 (이미지 보고 미세조정) */
.ba-text-01 {
  bottom: -652px;
}

.ba-text-02 {
  bottom: -1304px;
}

/* 하단 안내 문구 */
.ba-notice {
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  margin-top: 1400px;
  font-weight: 300;
}



/* 섹션 */
.diet-planning-sec{
  background: url('./pc/5.jpg') no-repeat center / cover;
  height: 690px;
}

/* 우측 콘텐츠 박스(전체 정렬) */
.planning-inner{
  margin: 0 auto;
  padding-top: 100px;
  padding-left: 100px;   /* 왼쪽 인물 영역 피해가게 */
  text-align: center;
}

/* 타이틀/서브 */
.planning-title{
  font-size: 50px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.planning-sub{
  font-size: 30px;
  margin-bottom: 34px;
}

/* 아이콘 4개 */
.planning-icons{
  list-style: none;
  margin-top: 70px;
  display: flex;
  justify-content: center;
  gap: 44px;
}

.planning-icons .icon img{
  width: 190px;
  height: 190px;
  object-fit: contain;
  display: block;
}

.planning-icons .label{
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
}







/* 섹션 */
.diet-injection-sec {
  background: url('./pc/6.jpg') no-repeat center / cover;
  max-width: 1920px;
  height: 654px;
  color: #fff;
}

/* 기준 박스 */
.inj-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* 타이틀 */
.inj-title {
  text-align: center;
  font-weight: 700;
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
}

/* 라벨 공통 */
.inj-labels .label {
  position: absolute;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  opacity: 0.9;
}

/* 위치 조정 (이미지 기준 미세조정) */
.l1 { top: 320px; left: 490px; } /* 팔 */
.l2 { top: 320px; left: 700px; } /* 복부 */
.l3 { top: 385px; left: 588px; } /* 허리 */
.l4 { top: 450px; left: 466px; } /* 엉덩이 */
.l5 { top: 450px; left: 688px; } /* 종아리 */
.l6 { top: 385px; left: 800px; } /* 허벅지 */







@media (max-width: 430px) {
  /* 모든 섹션의 고정 너비 해제 및 가로 넘침 방지 */
  section {
    width: 360px;
    box-sizing: border-box;
  }

  .diet-main-hero {
    width: 360px;
    height: 400px;
  }


  /* -------------- 1 ----------- */
  
    /* 텍스트 영역 */
  .hero-text {
    right: 6%;
  }

  /* 타이틀 */
  .hero-title {
    font-size: 26px;
    margin-bottom: 10px;
  }

  /* 설명 */
  .hero-desc {
    font-size: 10px;
    background: linear-gradient(90deg, #48c1fa 0%, #89ffd4 50%, #fff163 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
  }

  /* 버튼 영역 */
  .hero-btns {
    bottom: 16%;
    display: flex;
    width: 60%;
  }

  .hero-btns .btn {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    width: 48%; /* 고정px 대신 퍼센트 사용 */
    max-width: 160px;
  }



  /* ------ 2 ------ */

    .diet-sec-intro {
    width: 360px;
    height: 430px;
  }

  /* 타이틀 */
  .intro-title {
    font-size: 20px;
    padding-top: 100px;
    margin-bottom: 40px;
  }

  .intro-title .intro-lead {
    font-size: 30px;
  }

  /* 설명 */
  .intro-desc {
    width: 100%;
    font-size: 12px;
    letter-spacing: -0.4px;
  }


    /* ------ 3 ------ */


  .diet-plan-sec {
    background-image: url(./mo/2.jpg);
    width: 360px;
    height: 552px;
  }

  .diet-plan-text {
    padding-top: 80px;
  }

  /* 상단 영문 */
  .plan-eyebrow {
    font-size: 14px;
    letter-spacing: 5px;
    margin-bottom: 10px;
  }

  /* 타이틀 */
  .plan-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
  }

  /* 리스트 */
  .plan-list {
    margin-top: 60px;
  }

  .plan-list p {
    text-align: center;
  margin: 0 auto 55px;
    font-size: 15px;
    color: #333;
  }



  /* -------- 4 ---------- */
  .diet-beforeafter-sec {
    width: 360px;
    height: 790px;
  }

  .ba-title {
    font-size: 30px;
    padding-top: 77px;
  }
  .ba-text {
  left: 0;
}

  .ba-text-01 {
    bottom: -280px;
    padding-left: 25px;
  }
  .ba-text-02 {
    bottom: -568px;
    padding-left: 25px;
  }

  .ba-text .date {
    font-size: 12px;
  }
  .ba-text .desc {
    font-size: 20px;
  }

  .ba-notice {
    font-size: 12px;
    margin-top: 608px;
  }
  .ba-notice span {
    display: block;
  }

   /* -------- 5 ---------- */

  .diet-planning-sec {
    background-image: url('./mo/5.jpg');
    width: 360px;
    height: 466px;
  }

  .planning-inner {
    padding-left: 0px;
    padding-top: 40px;
  }

  .planning-title {
    font-size: 30px;
  }

  .planning-sub {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .planning-sub span {
    display: block;
  }

  .planning-icons {
    width: 75%;
    margin: 0 auto;
    padding: 0 10px;
    flex-wrap: wrap;          /* 핵심 */
    gap: 24px;
  }

  .planning-icons .icon{
    width: calc(50% - 12px);   /* 2개씩 한 줄 */
    text-align: center;
  }

  .planning-icons .icon img {
    width: 100px; height: 100px;
  }

  .planning-icons .label {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 400;
  }



   /* -------- 6 ---------- */

  /* -------- 6. 부모 요소에 맞춰 반응형으로 수정 ---------- */

  .diet-injection-sec {
    
    background-image: url('./mo/6.jpg');
    width: 360px;
    height: 302px;
    /* aspect-ratio: 360 / 302;
        background-image: url('./mo/6.jpg') !important;
    overflow: hidden; 
  padding: 0; */
  }

  .inj-inner {
    /* top 음수 마진 대신 transform이나 적절한 padding 추천하지만, 
       기존 레이아웃 유지를 위해 위치만 고정 */
    position: relative;
    width: 100%;
  }

  .inj-title {
    position:absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  
  .inj-title img {
    height: 20px;
    width: auto;
  }

  /* 라벨 공통: 너비가 줄어들어도 중앙을 기준으로 배치되도록 변경 */
  .inj-labels {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .inj-labels .label {
    position: absolute;
    font-size: 13px; /* 360px 환경 고려 소폭 축소 */
    font-weight: 500;
    color: #fff;
    opacity: 0.9;
    white-space: nowrap;
    /* 텍스트 중앙 정렬을 위해 추가 */
    transform: translateX(-50%); 
  }

  /* 위치 조정: 너비가 줄어들 때 인물 실루엣에 맞게 %로 분산 배치 */
  .l1 { top: 147px; left: 43.5%; } /* 팔 */
  .l2 { top: 147px; left: 72%; } /* 복부 */
  .l3 { top: 178px; left: 58%; } /* 허리 */
  .l4 { top: 209px; left: 43.5%; } /* 엉덩이 */
  .l5 { top: 209px; left: 72%; } /* 종아리 */
  .l6 { top: 178px; left: 86.5%; } /* 허벅지 */
}