/* ==================== Global Styles ==================== */
:root {
  --color-primary: #2d5a4a;
  --color-secondary: #8b7355;
  --color-accent: #c49b6c;
  --color-dark: #1a1a1a;
  --color-gray: #666;
  --color-light-gray: #f5f5f5;
  --color-white: #ffffff;
  --color-overlay: rgba(0, 0, 0, 0.5);

  --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;

  --container-width: 1200px;
  --section-padding: 100px 0;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  overflow-x: hidden;
  word-break: keep-all;
  word-wrap: break-word;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== Scroll Animations ==================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: 0.1s;
}

.fade-up-delay-2 {
  transition-delay: 0.2s;
}

.fade-up-delay-3 {
  transition-delay: 0.3s;
}

/* ==================== Header Navigation ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.header.scrolled .logo img {
  height: 40.8px;
  /* 68px * 0.6 = 40.8px */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  line-height: 0;
}

.logo {
  position: relative;
}

.logo img {
  height: 48px;
  width: auto;
  transition: all 0.3s ease;
}

/* PC 기본 상태: 흰색 로고 표시 */
.logo-white {
  display: block;
}

.logo-green {
  display: none;
}

/* PC 스크롤 시: 녹색 로고 표시 */
.header.scrolled .logo-white {
  display: none;
}

.header.scrolled .logo-green {
  display: block;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-menu a {
  color: var(--color-white);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.header.scrolled .nav-menu a {
  color: var(--color-dark);
}

.nav-menu a:hover {
  opacity: 0.7;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.header.scrolled .mobile-menu-btn span {
  background-color: var(--color-dark);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==================== Hero Section ==================== */
.hero {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 비율 */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-color: #2c4543;
}

.hero-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.queens-logo {
  margin-bottom: 60px;
}

.queens-logo img {
  max-width: 250px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.queens-title {
  font-size: 80px;
  font-weight: 300;
  letter-spacing: 10px;
  margin-bottom: 20px;
  color: var(--color-white);
}

.queens-subtitle {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 5px;
  color: var(--color-white);
}

/* ==================== Integrated Section ==================== */
.integrated-section {
  position: relative;
  padding: var(--section-padding);
  background-color: var(--color-white);
  overflow: hidden;
  margin-top: 80px;
  margin-bottom: 80px
}

/* Background Image (Right Side) */
.integrated-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.integrated-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.integrated-content {
  position: relative;
  z-index: 1;
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
  min-height: 700px;
}

.integrated-text {
  flex: 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.integrated-content.animate .integrated-text {
  opacity: 1;
  transform: translateY(0);
  max-width: 700px;
}

/* Horizontal Line */
.text-line {
  width: 200px;
  height: 1px;
  background-color: var(--color-dark);
  flex-shrink: 0;
}

/* Text Content */
.text-content {
  flex: 1;
  text-align: left;
  margin-top: -40px;
}

.section-label {
  font-size: 24px;
  color: #AABBB4;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.integrated-text h2 {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #3B5251;
}

.description {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.main-desc {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 4dvi;
  color: #3B5251;
  line-height: 1.4;
}

.sub-desc {
  font-size: 28px;
  color: #3B5251;
  line-height: 1.4;
  margin-bottom: 40px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.feature-check {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.feature-item p {
  font-size: 18px;
  color: #6D6D6D;
  line-height: 1.8;
}

/* ==================== Kids Section ==================== */
.kids-section {
  position: relative;
  padding: var(--section-padding);
  background-color: var(--color-white);
  overflow: hidden;
}

/* Background Image (Left Side) */
.kids-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 0;
}

.kids-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kids-content {
  position: relative;
  z-index: 1;
  max-width: 1520px;
  margin: 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 80px;
  min-height: 700px;
}

.kids-text {
  flex: 1;
  max-width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  padding-left: 60px;
}

.kids-content.animate .kids-text {
  opacity: 1;
  transform: translateY(0);
}

.w800 {
  font-weight: 800
}

.kids-text h2 {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #3B5251;
}

/* ==================== Queens Circle Section ==================== */
.queens-circle-section {
  position: relative;
  width: 100%;
  padding: 80px 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.queens-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.queens-main-image {
  width: 100%;
  height: auto;
  display: block;


}

.tag-btn {
  padding: 12px 24px;
  border: 2px solid var(--color-dark);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-dark);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Position으로 배치되는 버튼 스타일 */
.tag-btn-positioned {
  position: absolute;
  z-index: 10;
}

/* 각 버튼별 위치와 색상 - 중심 기준 배치 */
.cherry-lift {
  top: 27%;
  left: 34%;
  transform: translate(-50%, -50%);
  border-color: #7cb342;
  color: #7cb342;
}

.cherry-lift:hover {
  background-color: #7cb342;
  color: white;
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.4);
}

.total-glide {
  top: 68%;
  left: 35%;
  transform: translate(-50%, -50%);
  border-color: #fdd835;
  color: #f9a825;
}

.total-glide:hover {
  background-color: #fdd835;
  color: white;
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 216, 53, 0.4);
}

.deco-line {
  top: 28%;
  left: 75%;
  transform: translate(-50%, -50%);
  border-color: #ab47bc;
  color: #ab47bc;
}

.deco-line:hover {
  background-color: #ab47bc;
  color: white;
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(171, 71, 188, 0.4);
}

.flat-line {
  top: 48%;
  left: 82%;
  transform: translate(-50%, -50%);
  border-color: #26c6da;
  color: #26c6da;
}

.flat-line:hover {
  background-color: #26c6da;
  color: white;
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(38, 198, 218, 0.4);
}

.beauty-stem {
  top: 65%;
  left: 73%;
  transform: translate(-50%, -50%);
  border-color: #ff7043;
  color: #ff7043;
}

.beauty-stem:hover {
  background-color: #ff7043;
  color: white;
  transform: translate(-50%, -50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 112, 67, 0.4);
}

/* ==================== Queens Protocol Mobile ==================== */
.queens-protocol-mobile {
  display: none;
  /* 기본적으로 숨김, 모바일에서만 표시 */
  background-color: #ffffff;
  color: #3B5251;
  padding: 60px 20px;
  text-align: center;
}

.protocol-header {
  margin-bottom: 40px;
}

.protocol-header h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.protocol-intro {
  font-size: 16px;
  margin-bottom: 10px;
  opacity: 0.95;
}

.protocol-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 90%;
  margin: 0 auto;
}

.protocol-title {
  margin-bottom: 50px;
}

.protocol-title h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.protocol-step {
  margin-bottom: 50px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.protocol-step.animate {
  opacity: 1;
  transform: translateY(0);
}

.step-badge {
  display: inline-block;
  background-color: rgba(59, 82, 81, 0.1);
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: #3B5251;
}

.step-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.step-icons img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  filter: none;
}

.protocol-step h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.protocol-step p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
}

.step-arrow {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  animation: bounce 2s infinite;
}

.step-arrow svg {
  stroke: #3B5251;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.step-photo {
  margin: 20px auto 25px;
  max-width: 200px;
}

.step-photo img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 5px solid rgba(59, 82, 81, 0.2);
}

/* Popup Modal with Slider */
.popup-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.7);
}

.popup-modal.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  position: relative;
  background-color: var(--color-white);
  padding: 40px 40px 50px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 3px solid var(--color-dark);
  transition: border-color 0.3s ease;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-modal.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray);
  transition: color 0.3s ease;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  z-index: 10;
}

.popup-close:hover {
  color: var(--color-dark);
}

/* Popup Slider Navigation */
.popup-slider-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.popup-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(184, 197, 192, 0.2);
  border: 2px solid #B8C5C0;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.popup-nav-btn:hover {
  background-color: #B8C5C0;
  color: var(--color-white);
  transform: scale(1.1);
}

.popup-nav-btn:active {
  transform: scale(0.95);
}

.popup-counter {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  min-width: 50px;
  text-align: center;
}

/* Popup Slides */
.popup-slides-wrapper {
  position: relative;
  overflow-y: auto;
  max-height: calc(80vh - 180px);
}

.popup-slide {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.popup-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.popup-slide h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  transition: color 0.3s ease;
  border-bottom: 2px solid #B8C5C0;
}

/* 각 슬라이드별 제목 색상 */
.popup-slide[data-slide="0"].active h3 {
  color: #7cb342;
}

.popup-slide[data-slide="1"].active h3 {
  color: #f9a825;
}

.popup-slide[data-slide="2"].active h3 {
  color: #ab47bc;
}

.popup-slide[data-slide="3"].active h3 {
  color: #26c6da;
}

.popup-slide[data-slide="4"].active h3 {
  color: #ff7043;
}

.popup-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-dark);
  word-break: keep-all;
  /* Prevent awkward word breaks */
  overflow-wrap: break-word;
  /* Ensure long words don't overflow */
}

.popup-text p {
  margin-bottom: 15px;
}

.popup-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: #3B5251;
  margin: 20px 0 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .popup-content {
    padding: 70px 30px 30px;
    max-height: 85vh;
  }

  .popup-slider-nav {
    gap: 15px;
    margin-bottom: 20px;
  }

  .popup-nav-btn {
    width: 30px;
    height: 30px;
  }

  .popup-slide h3 {
    font-size: 20px;
  }

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

  .popup-slides-wrapper {
    max-height: calc(85vh - 160px);
  }
}

/* ==================== Transformation Slider Section ==================== */
.transformation-slider-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background-color: #B3C3BC;
  padding: 80px 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: auto;
  max-width: 1440px;
  margin: 0 auto;
}

.slider-controls {
  position: absolute;
  top: 40px;
  left: 220px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 15px;
}

.slide-counter {
  font-size: 14px;
  color: var(--color-dark);
  font-weight: 400;
}

.slider-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-arrow {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark);
  transition: all 0.3s ease;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  opacity: 0.7;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 600px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 20px);
  object-fit: contain;
}

/* ==================== Fitness Program Section ==================== */
.fitness-program {
  padding: var(--section-padding);
  background-color: #f8f8f8;
  color: var(--color-dark);
}

.program-header {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.program-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.program-label {
  display: inline-block;
  padding: 8px 24px;
  background-color: #b8c5c0;
  border-radius: 50px;
  font-size: 26px;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: var(--color-white);
  font-weight: 500;
}

.program-header h3 {
  font-size: 42px;
  font-weight: 400;


}

.green {
  color: #3B5251
}

.program-header h2 {
  font-size: 82px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.program-header h2 .highlight {
  font-weight: 700;
  display: block;
  font-size: 52px;
}

.program-subtitle {
  font-size: 20px;
  color: var(--color-gray);
}

.program-cards {
  /* display: grid;  <-- Removed for Swiper */
  /* grid-template-columns: repeat(3, 1fr); <-- Removed for Swiper */
  /* gap: 30px; <-- Removed for Swiper */
  width: 100%;
  height: 100%;
}

/* Hide mobile slider navigation on desktop */
.mobile-slider-nav {
  display: none;
}

.program-card {
  border-radius: 8px;
  overflow: hidden;
  /* opacity: 0;   <-- Removed to fix Swiper loop visibility */
  /* transform: translateY(30px); <-- Removed */
}

/* Animations removed to prevent invisible cloned slides */
/* 
.program-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.program-card:nth-child(1).animate {
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.program-card:nth-child(2).animate {
  transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.program-card:nth-child(3).animate {
  transition: opacity 0.6s ease 0.5s, transform 0.6s ease 0.5s;
} 
*/

.card-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .card-image img {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.card-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 30px 30px;
  z-index: 2;
  color: var(--color-white);
}

.card-text h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-white);
}

.card-desc {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-white);
  line-height: 1.5;
}

.card-detail {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* ==================== Complete Steps Section ==================== */
.complete-steps {
  padding: 120px 0 140px;
  background-color: #3f5b57;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.steps-header {
  text-align: center;
  margin-bottom: 0px;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.steps-protocol-label {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #000;
  opacity: 0.9;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  text-align: center
}

.steps-subtitle-top {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--color-white);
  font-weight: 400;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.steps-main-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-white);
  position: relative;
  z-index: 2;
  line-height: 1.1;
}

.steps-korean-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 26px;
  color: var(--color-white);
  position: relative;
  z-index: 2;
  line-height: 1.3;
}

.steps-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.steps-watermark img {
  max-width: 700px;
  width: 90%;
  height: auto;
  filter: brightness(1.2) grayscale(1);
  object-fit: contain;
}

.steps-description {
  font-size: 20px;
  line-height: 1.9;
  color: var(--color-white);
  font-weight: 300;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.steps-description strong {
  font-weight: 700;
}

.steps-box {
  background-color: var(--color-white);
  border-radius: 28px;
  padding: 70px 60px;
  max-width: 1440px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid #e6eeeb;
}

.circle-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  min-height: 860px;
}

.circle-svg {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 1250px;
  height: 1250px;
  z-index: 1;
  opacity: 0.95;
}

.circle-arc {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  stroke: #b7c5c1;
  stroke-width: 1.25;
  stroke-linecap: round;
}

.complete-steps.animate .circle-arc {
  animation: drawArcLoop 4s ease-in-out infinite;
}

/* Arc 1 - Top */
.complete-steps.animate .circle-arc-1 {
  animation-delay: 0s;
}

/* Arc 2 - Right */
.complete-steps.animate .circle-arc-2 {
  animation-delay: 0.2s;
}

/* Arc 3 - Bottom */
.complete-steps.animate .circle-arc-3 {
  animation-delay: 0.4s;
}

/* Arc 4 - Left */
.complete-steps.animate .circle-arc-4 {
  animation-delay: 0.6s;
}

@keyframes drawArcLoop {

  0%,
  10% {
    stroke-dashoffset: 300;
  }

  20%,
  70% {
    stroke-dashoffset: 0;
  }

  80%,
  100% {
    stroke-dashoffset: 300;
  }
}

.arc-dot {
  fill: #b7c5c1;
}

.complete-steps.animate .arc-dot {
  animation: pulseDot 4s ease-in-out infinite;
}

/* Arc 1 Dots */
.complete-steps.animate .arc-dot-start-1 {
  animation-delay: 0s;
}

.complete-steps.animate .arc-dot-end-1 {
  animation-delay: 0s;
}

/* Arc 2 Dots */
.complete-steps.animate .arc-dot-start-2 {
  animation-delay: 0.2s;
}

.complete-steps.animate .arc-dot-end-2 {
  animation-delay: 0.2s;
}

/* Arc 3 Dots */
.complete-steps.animate .arc-dot-start-3 {
  animation-delay: 0.4s;
}

.complete-steps.animate .arc-dot-end-3 {
  animation-delay: 0.4s;
}

/* Arc 4 Dots */
.complete-steps.animate .arc-dot-start-4 {
  animation-delay: 0.6s;
}

.complete-steps.animate .arc-dot-end-4 {
  animation-delay: 0.6s;
}

@keyframes pulseDot {

  0%,
  10% {
    opacity: 0;
  }

  20%,
  70% {
    opacity: 1;
  }

  80%,
  100% {
    opacity: 0;
  }
}

.circle-label {
  position: absolute;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #304442;
  background-color: #D9E1DD;
  padding: 10px 54px;
  border-radius: 28px;
  text-transform: uppercase;
  z-index: 10;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;

}

.complete-steps.animate .circle-label {
  opacity: 1;
  transform: scale(1);
}

.label-top {
  top: 8%;
  left: 49%;
  transform: translateX(-50%) scale(0.8);
  transition-delay: 1.4s;
  z-index: 15;
}

.complete-steps.animate .label-top {
  transform: translateX(-50%) scale(1);
}

.label-right {
  right: 8%;
  top: 37%;
  transform: translateY(-50%) scale(0.8);
  transition-delay: 1.6s;
}

.complete-steps.animate .label-right {
  transform: translateY(-50%) scale(1);
}

.label-bottom {
  bottom: 32%;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  transition-delay: 1.8s;
}

.complete-steps.animate .label-bottom {
  transform: translateX(-50%) scale(1);
}

.label-left {
  left: 3%;
  top: 37%;
  transform: translateY(-50%) scale(0.8);
  transition-delay: 2.0s;
}

.complete-steps.animate .label-left {
  transform: translateY(-50%) scale(1);
}

.circle-section {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 2;
}

.complete-steps.animate .circle-section {
  opacity: 1;
  transform: translateY(0);
}

.section-top {
  top: 15%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  flex-direction: column;
  text-align: center;
  width: 42%;
  transition-delay: 1.9s;
  z-index: 10;
}

.complete-steps.animate .section-top {
  transform: translateX(-50%) translateY(0);
}

.section-right {
  right: 0%;
  top: 55%;
  transform: translateY(-50%) translateX(20px);
  flex-direction: column;
  width: 30%;
  transition-delay: 2.1s;
  text-align: center;
  align-items: center;
}

.complete-steps.animate .section-right {
  transform: translateY(-50%) translateX(0);
}

.section-bottom {
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  flex-direction: column;
  text-align: center;
  width: 38%;
  transition-delay: 2.3s;
  align-items: center;
}

.complete-steps.animate .section-bottom {
  transform: translateX(-50%) translateY(0);
}

.section-left {
  left: -3%;
  top: 55%;
  transform: translateY(-50%) translateX(-20px);
  flex-direction: column;
  width: 30%;
  transition-delay: 2.5s;
  text-align: center;
  align-items: center;
}

.complete-steps.animate .section-left {
  transform: translateY(-50%) translateX(0);
}

.section-icons {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.section-icons img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

.section-top .section-icons img {
  max-width: 260px;
}

.section-text {
  color: var(--color-dark);
  max-width: 360px;
  text-align: inherit;
}

.section-text h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
  line-height: 1.5;
}

.section-bottom h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
  line-height: 1.5;
}

.section-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #4e5a59;
}

.circle-center {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  opacity: 0;
  transition: opacity 1s ease 1.9s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  text-align: center;
  padding: 12px 15px;
}

.complete-steps.animate .circle-center {
  opacity: 1;
}

.center-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.center-subtitle {
  font-size: 17px;
  font-weight: 700;
  color: #304442;
  line-height: 1.5;
  margin-bottom: 5px;
}

.center-description {
  font-size: 17px;
  color: #4e5a59;
  line-height: 1.5;
}

.center-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.section-left .section-icons {
  align-items: flex-start;
}

.section-right .section-icons {
  align-items: flex-end;
}

.flexible-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.flexible-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 7px solid #e9f0ed;
}

.flexible-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flexible-caption {
  font-size: 17px;
  line-height: 1.6;
  color: #304442;
}

/* ==================== PosturalMuscles Section ==================== */
.postural-muscles-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.postural-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  clip-path: inset(25% 25% 25% 25%);
  transition: clip-path 1.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.postural-muscles-section.animate .postural-bg {
  clip-path: inset(0% 0% 0% 0%);
}

.postural-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.postural-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease 0.6s;
}

.postural-muscles-section.animate .postural-overlay {
  opacity: 1;
}

.postural-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 0 20px;
}

.postural-content h2 {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 3px;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}

.postural-muscles-section.animate .postural-content h2 {
  opacity: 1;
  transform: translateY(0);
}

.postural-content p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-white);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.postural-content p:nth-child(2) {
  transition-delay: 1s;
}

.postural-content p:nth-child(3) {
  transition-delay: 1.2s;
}

.postural-muscles-section.animate .postural-content p {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Contact Section ==================== */
.contact-section {
  position: relative;
  padding: var(--section-padding);
  min-height: 700px;
  margin-top: 80px;
}

.contact-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  text-align: left;
  margin-bottom: 50px;
  letter-spacing: 3px;
}

.contact-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 60px;
}

.contact-column {
  color: var(--color-white);
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
}

.contact-info-column .contact-address {
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 12px;
  font-weight: 300;
  line-height: 1.6;
}

.contact-info-column .contact-phone {
  font-size: 14px;
  color: var(--color-white);
  font-weight: 300;
}

/* 모바일 전용 스타일 (기본 숨김) */
.contact-info-top {
  display: none;
}

.contact-content-wrapper {
  display: none;
}

.contact-form-wrapper {
  display: none;
}

.contact-map-wrapper {
  display: none;
}

.contact-form {
  padding: 0px 35px;
  border-radius: 12px;
  color: var(--color-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-primary);
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: #ebebeb;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background-color: #3B5251;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border: none;
}

.submit-btn:hover {
  background-color: #3B5251;
}

.google-map {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 500px;
}

.google-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 500px;
}

/* Privacy Check Styling */
.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.privacy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: checkbox;
  appearance: checkbox;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  margin: 0;
}

.privacy-check label {
  font-size: 12px;
  color: var(--color-white);
  cursor: pointer;
  user-select: none;
}

.privacy-link-inline {
  color: #7cb342;
  text-decoration: underline;
  margin-left: 5px;
  font-weight: 500;
}

.privacy-link-inline:hover {
  color: #9ccc65;
}

/* Privacy Modal */
.privacy-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  overflow-y: auto;
  padding: 20px;
}

.privacy-modal-content {
  position: relative;
  background-color: #ffffff;
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.privacy-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 36px;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.privacy-modal-close:hover {
  color: #7cb342;
}

.privacy-modal-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #3B5251;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #7cb342;
}

.privacy-modal-body {
  color: #333;
  line-height: 1.8;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.privacy-modal-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #3B5251;
  margin-top: 25px;
  margin-bottom: 12px;
}

.privacy-modal-body p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #555;
}

.privacy-modal-body ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.privacy-modal-body ul li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

/* Scrollbar for modal */
.privacy-modal-body::-webkit-scrollbar {
  width: 8px;
}

.privacy-modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
  background: #7cb342;
  border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
  background: #689f38;
}

/* ==================== Footer ==================== */
.footer {
  background-color: #3B5251;
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-left h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-address {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-right {
  text-align: right;
}

.privacy-link {
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.privacy-link:hover {
  opacity: 1;
}

.copyright {
  text-align: left;
  font-size: 13px;
  opacity: 0.7;
}

/* ==================== Responsive Design ==================== */


/* 노트북/소형 데스크탑 (1340px) */
@media (max-width: 1340px) {
  :root {
    --container-width: 100%;
    --section-padding: 80px 0;
  }

  .container {
    padding: 0 40px;
  }

  .section-right {
    top: 57%;
  }

  /* Typography Scaling */
  .queens-title {
    font-size: 64px;
    letter-spacing: 5px;
  }

  .program-header h2 {
    font-size: 64px;
  }

  .integrated-text h2,
  .kids-text h2 {
    font-size: 50px;
  }

  .main-desc {
    font-size: 28px;
  }

  .sub-desc {
    font-size: 24px;
  }

  /* Layout Adjustments */
  .integrated-content,
  .kids-content {
    gap: 40px;
    min-height: 600px;
    padding: 0 40px;
  }

  /* Prevent text overlapping with 50% width absolute background images */
  .integrated-text {
    flex: 0 0 48%;
    max-width: 48%;
  }

  .kids-text {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Reduce decorative line width */
  .text-line {
    width: 80px;
  }
}

@media (max-width: 1240px) {

  .section-bottom {
    bottom: -4%;
  }

  .integrated-text h2,
  .kids-text h2 {
    font-size: 45px;
  }

  .main-desc {
    font-size: 24px;
  }

  .sub-desc {
    font-size: 20px;
  }

  .feature-item p {
    font-size: 16px;
    color: #6D6D6D;
    line-height: 1.8;
  }

  .description {
    display: flex;
    gap: 40px;
  }

  .text-line {
    width: 40px;
  }
}

@media (max-width: 1220px) {
  .section-right {
    top: 59%;
  }

  .section-left {
    top: 59%;
  }

  .program-header {

    margin-bottom: 40px;
  }

  .center-description {
    font-size: 16px;
  }

  .section-icons img {
    max-width: 120px;
  }

  .section-top {
    top: 13%;
  }

  .section-top .section-icons img {
    max-width: 180px;
  }

  .circle-center {
    top: 35%;
  }

  .section-text h4,
  .section-bottom h4 {
    font-size: 16px;
  }
}

/* 태블릿 (768px ~ 1024px) */
@media (max-width: 1024px) {
  .steps-protocol-label {
    font-size: 20px
  }

  /* Header */
  .logo img {
    height: 40px;
  }

  .features {

    max-width: 100%;
  }

  .text-line {
    display: none;
  }

  .header.scrolled .logo img {
    height: 35px;
  }

  .nav-menu {
    gap: 25px;
  }

  .nav-menu a {
    font-size: 14px;
  }

  /* Hero Section */
  .hero {
    min-height: 550px;
  }

  .queens-logo img {
    max-width: 200px;
  }

  .queens-title {
    font-size: 64px;
    letter-spacing: 8px;
  }

  .queens-subtitle {
    font-size: 18px;
    letter-spacing: 4px;
  }

  /* Queens Circle Section */
  .queens-circle-section {
    padding: 60px 0;
  }

  .tag-btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  /* Transformation Slider */
  .slider-controls {
    left: 120px;
    top: 30px;
  }

  /* Fitness Program */
  .program-header h2 {
    font-size: 54px;
  }

  .program-header h3 {
    font-size: 36px;
  }

  .program-label {
    font-size: 22px;
  }

  /* Mobile Slider Navigation (Now visible on Tablet) */
  .mobile-slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
  }

  .slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(184, 197, 192, 0.2);
    border: 2px solid #B8C5C0;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .slider-nav-btn:hover {
    background-color: #B8C5C0;
    color: var(--color-white);
    transform: scale(1.1);
  }

  .program-cards {
    /* display: flex !important; */
    /* grid-template-columns: none !important; */
    /* overflow-x: scroll; */
    /* ... removed for Swiper */
    width: 100%;
    height: 100%;
  }

  /* .program-cards::-webkit-scrollbar { display: none; } */

  .program-card {
    /* swiper handles width */
    height: auto;
  }

  .program-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
    width: auto;
  }

  /* Complete Steps */
  .complete-steps {
    padding: 100px 40px 120px;
  }

  .steps-main-title {
    font-size: 48px;
  }

  .steps-subtitle-top {
    font-size: 28px;
  }

  .steps-description {
    font-size: 18px;
  }

  .steps-box {
    padding: 50px 40px;
  }

  .circle-svg {
    width: 1000px;
    height: 1000px;
  }

  .circle-label {
    font-size: 12px;
    padding: 8px 40px;
  }

  .section-top .section-icons img {
    max-width: 120px;
  }

  .section-top .section-icons img {
    max-width: 120px;
  }

  .section-icons img {
    max-width: 120px;
  }

  .section-text h4,
  .section-bottom h4 {
    font-size: 16px;
  }

  .section-right {
    top: 60%
  }

  .integrated-content {
    padding-left: 30px;
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0px;
    display: flex;
    align-items: center;
    min-height: 500px;

    justify-content: flex-start;
  }

  .section-label {
    font-size: 19px;
  }

  .kids-text {
    padding-left: 0px
  }

  .section-left {
    top: 60%
  }

  .section-bottom {
    bottom: 0%;
  }

  .flexible-photo {
    width: 120px;
    height: 120px;
  }

  .section-text p,
  .flexible-caption {
    font-size: 13px;
  }

  .center-subtitle,
  .center-description {
    font-size: 13px;
  }

  /* Integrated & Kids Sections */
  .integrated-section,
  .kids-section {
    padding: 80px 0;
  }

  .integrated-bg,
  .kids-bg {
    width: 45%;
  }

  .integrated-text h2,
  .kids-text h2 {
    font-size: 35px;
  }

  .main-desc {
    font-size: 22px;
  }

  .sub-desc {
    font-size: 18px;
    margin-top: 10px;
  }

  .feature-item p {
    font-size: 16px;
  }

  .description {
    gap: 40px;
  }

  /* PosturalMuscles */
  .postural-content h2 {
    font-size: 60px;
  }

  .postural-content p {
    font-size: 18px;
  }

  /* Contact Section */
  .contact-grid {
    flex-wrap: wrap;
  }

  .contact-column {
    flex: 1 1 100%;
  }

  .contact-info-column {
    order: 1;
  }

  .contact-form-column {
    order: 3;
  }

  .contact-map-column {
    order: 2;
  }

  .google-map {
    min-height: 350px;
  }
}

.pc_no {
  display: none
}

.m_no {
  display: block
}

.m_br {
  display: none
}

.pc_br {
  display: block
}

@media (max-width: 840px) {
  .label-top {
    top: 13%;
  }

  .label-right {
    right: 4%
  }

  .label-left {
    left: 0%;
  }

  .label-bottom {
    bottom: 35%;
  }

  .section-top {
    top: 18%;
  }
}

@media (max-width: 600px) {
  .queens-image-wrapper {
    min-height: 700px !important;
  }
}

/* 모바일 (768px 이하) */
@media (max-width: 768px) {
  .m_br {
    display: block
  }

  .features {
    width: 100%;
    max-width: 100%;
  }

  .text-content {
    margin-top: 0px
  }

  .pc_br {
    display: none
  }

  .pc_no {
    display: block
  }

  .m_no {
    display: none
  }

  /* Force visibility ONLY for slider elements we want static on mobile */
  /* Text elements will animate via JS as usual */
  .program-card,
  .transformation-slider-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  :root {
    --section-padding: 60px 0;
    --container-width: 100%;
  }

  .postural-muscles-section {
    height: 60vh
  }

  /* Container */
  .container {
    padding: 0 15px;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: auto;
    max-height: none;
    position: relative;
    margin-top: 60px;
    padding-bottom: 0px;

  }

  .hero-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 비율 */
    height: 0;
  }

  .hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .queens-logo img {
    max-width: 180px;
  }

  .queens-title {
    font-size: 48px;
    letter-spacing: 5px;
  }

  .queens-subtitle {
    font-size: 16px;
    letter-spacing: 3px;
  }

  /* Header Navigation */
  .header {
    padding: 10px 0;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  .header.scrolled {
    padding: 8px 0;
  }

  .logo img {
    height: 40px;
  }

  .header.scrolled .logo img {
    height: 28px;
  }

  /* 모바일에서는 항상 녹색 로고만 표시 */
  .logo-white {
    display: none !important;
  }

  .logo-green {
    display: block !important;
  }

  .mobile-menu-btn {
    display: flex;
    gap: 4px;
  }

  .mobile-menu-btn span {
    background-color: #3B5251;
    width: 20px;
    height: 2px;
  }

  .nav-menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 100px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    gap: 0;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    color: #000000;
    font-size: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .header.scrolled .nav-menu a {
    color: var(--color-dark);
  }

  /* Queens Circle Section - 모바일 */
  .queens-circle-section {
    padding: 40px 0;
  }

  .queens-image-wrapper {
    padding: 0 10px;
  }

  .queens-main-image {
    border-radius: 10px;
  }

  /* 모바일에서도 버튼 위치 유지 */
  .tag-btn {
    font-size: 12px;
    padding: 8px 16px;
  }

  /* Integrated & Kids Sections */
  .integrated-section,
  .kids-section {
    padding: 0px 0;

  }

  .integrated-bg,
  .kids-bg {
    width: 100%;
    height: 450px;
    position: relative;
  }

  .integrated-content,
  .kids-content {
    flex-direction: column;
    gap: 30px;
    min-height: auto;
    padding: 0 20px;
    padding-top: 80px;
    max-width: 100%;
  }

  .integrated-text,
  .kids-text {
    max-width: 100%;
    padding-left: 0;
  }

  .integrated-text h2,
  .kids-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .main-desc {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .sub-desc {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .section-label {
    font-size: 18px;
  }

  .description {
    flex-direction: column;
    gap: 25px;
  }

  .text-line {
    width: 80px;
  }

  .feature-item p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Queens Circle Section - 모바일 반응형 */
  .queens-circle-section {
    height: auto;
    min-height: 600px;
    padding: 0;
    background-image: url('../images/m_modal.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #ffffff;
  }

  .queens-image-wrapper {
    padding: 0;
    position: relative;
    min-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 모바일에서 PC용 Before/After 이미지 숨김 */
  .queens-main-image {
    display: none;
  }

  /* 모바일에서 버튼들 표시 (위치 재조정) */
  .tag-btn-positioned {
    display: block;
    position: absolute;
    font-size: 9px;
    padding: 6px 12px;
    z-index: 10;
    white-space: nowrap;
    height: 34px;
    font-size: 10px !important;
  }

  /* 모바일 버튼 위치 재조정 */
  .cherry-lift {
    top: auto;
    left: 15%;
    right: auto;
    bottom: 50%;
  }

  .total-glide {
    top: auto;
    right: auto;
    left: 20%;
    bottom: 20%;
  }

  .deco-line {
    top: 45%;
    left: auto;
    transform: translateY(-50%);
    bottom: auto;
    right: 5%;
  }

  .deco-line:hover {
    transform: translateY(-50%) translateY(-2px);
  }

  .flat-line {
    bottom: 35%;
    right: 0%;
    top: auto;
    font-size: 8px;
    padding: 5px 10px;
  }

  .beauty-stem {
    bottom: 24%;
    left: auto;
    top: auto;
    right: 0%;
    transform: translateX(-50%);
    font-size: 8px;
    padding: 5px 10px;
  }

  .beauty-stem:hover {
    transform: translateX(-50%) translateY(-2px);
  }

  .queens-buttons-wrapper {
    flex-direction: column;
    padding: 0;
    gap: 15px;
  }

  .left-tags,
  .right-tags {
    width: 100%;
    align-items: stretch;
  }

  .tag-btn {
    width: 22%;
    text-align: center;
  }

  /* Queens Protocol Mobile - 모바일에서만 표시 */
  .queens-protocol-mobile {
    display: block;
  }

  /* Transformation Slider - 모바일 최적화 */
  .transformation-slider-section {
    height: auto;
    min-height: auto;
    padding: 40px 0 0 0;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  .slider-container {
    height: auto;
    transform: none !important;
    animation: none !important;
  }

  .slider-controls {
    top: -20px;
    left: 20px;
  }

  .slides-wrapper {
    height: auto;
    min-height: 350px;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }

  .slide {
    height: auto;
    transform: none !important;
    animation: none !important;
  }

  .slide.active {
    position: relative;
    transform: none !important;
    animation: none !important;
  }

  .slide img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
  }

  /* Fitness Program Section - 모바일 슬라이더 */
  .fitness-program {
    padding: 60px 0;
    overflow: visible;
    position: relative;
  }

  .program-header {
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .program-label {
    font-size: 12px;
    padding: 6px 20px;
    margin-bottom: 20px;
  }

  .program-header h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .program-header h2 {
    font-size: 40px;
    line-height: 1.3;
  }

  .program-header h2 .highlight {
    font-size: 40px;
  }

  .program-subtitle {
    font-size: 16px;
  }

  /* Mobile Slider Navigation */
  .mobile-slider-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .slider-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(184, 197, 192, 0.2);
    border: 2px solid #B8C5C0;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .slider-nav-btn:hover {
    background-color: #B8C5C0;
    color: var(--color-white);
    transform: scale(1.1);
  }

  .slider-nav-btn:active {
    transform: scale(0.95);
  }

  .program-cards {
    /* display: flex !important; */
    /* ... removed for Swiper */
    width: 100%;
    height: 100%;
  }

  /* .program-cards::-webkit-scrollbar { display: none; } */

  .program-card {
    /* swiper handles width */
    height: auto;
  }

}

.card-image {
  height: 470px;
}

/* 슬라이더 인디케이터 힌트 제거 */
.fitness-program::after {
  display: none;
}

/* Complete Steps Section - 모바일 일렬 배치 */
.complete-steps {
  padding: 60px 20px;
}

.steps-subtitle-top {
  font-size: 20px;
  margin-bottom: 8px;
}

.steps-main-title {
  font-size: 30px;
  margin-bottom: 15px;
}

.steps-description {
  font-size: 16px;
  line-height: 1.7;
  max-width: 100%;
}

.steps-watermark img {
  max-width: 280px;
}

/* Hide desktop circle layout on mobile */
.steps-box {
  display: none;
}

.steps-protocol-label {
  font-size: 18px;
  letter-spacing: 1px;
  padding: 0 10px;
}

.circle-container {
  position: relative;
  padding-bottom: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 0;
}

/* Hide SVG circle on mobile */
.circle-svg {
  display: none;
}

/* Hide circle labels on mobile */
.circle-label {
  display: none;
}

/* Vertical layout for sections */
.circle-section {
  position: relative;
  width: 100%;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  padding: 30px 20px;

  border-radius: 15px;
}

.section-top,
.section-right,
.section-bottom,
.section-left {
  position: relative;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100%;
  padding: 0;
  opacity: 0;
  transform: translateY(30px);
}

.complete-steps.animate .section-top {
  animation: fadeInUp 0.6s ease 0.1s both;
}

.complete-steps.animate .section-right {
  animation: fadeInUp 0.6s ease 0.2s both;
}

.complete-steps.animate .section-bottom {
  animation: fadeInUp 0.6s ease 0.3s both;
}

.complete-steps.animate .section-left {
  animation: fadeInUp 0.6s ease 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 화살표 추가 - 애니메이션 */
.circle-section::after {
  content: '↓';
  display: block;
  font-size: 32px;
  color: #B8C5C0;
  margin-top: 20px;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

.circle-section:last-of-type::after {
  display: none;
  /* 마지막 섹션에는 화살표 없음 */
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }
}

.flexible-photo {
  width: 180px;
  height: 180px;
  border-width: 6px;
}

.flexible-caption {
  font-size: 14px;
}

/* 섹션별 라벨 추가 */
.section-top::before {
  content: 'SCULPTING';
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #304442;
  background-color: #e6eeeb;
  padding: 10px 24px;
  border-radius: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-right::before {
  content: 'ENERGY';
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #304442;
  background-color: #e6eeeb;
  padding: 10px 24px;
  border-radius: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-bottom::before {
  content: 'FLEXIBLE LINE & CORE';
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #304442;
  background-color: #e6eeeb;
  padding: 10px 24px;
  border-radius: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-left::before {
  content: 'FOUNDATION';
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #304442;
  background-color: #e6eeeb;
  padding: 10px 24px;
  border-radius: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-icons img {
  max-width: 250px;
}

.section-text h4 {
  font-size: 15px;
}

.section-text p {
  font-size: 13px;
}

/* Center image */
.circle-center {
  position: relative;
  transform: none;
  margin: 20px auto;
}

.center-image {
  width: 150px;
  height: 150px;
}

/* PosturalMuscles Section */
.postural-content h2 {
  font-size: 42px;
}

.postural-content p {
  font-size: 16px;
}

/* Contact Section - 모바일 */
.contact-section {
  padding: 60px 0;
  min-height: auto;
}

.contact-section .container {
  max-width: 600px;
  padding: 0 20px;
}

.contact-title {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: left;
}

/* PC 레이아웃 숨김 */
.contact-grid {
  display: none;
}

/* 모바일 레이아웃 표시 */
.contact-info-top {
  display: block;
  margin-bottom: 30px;
}

.contact-info-top .contact-address {
  font-size: 13px;
  color: var(--color-white);
  margin-bottom: 8px;
  font-weight: 300;
  line-height: 1.5;
}

.contact-info-top .contact-phone {
  font-size: 12px;
  color: var(--color-white);
  font-weight: 300;
}

.contact-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form-wrapper {
  display: block;
  width: 100%;
}

.contact-map-wrapper {
  display: block;
  width: 100%;
}

.contact-form {
  padding: 0;
}

.form-row {
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 12px 14px;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  background-color: #ffffff;
}

.contact-form textarea {
  min-height: 100px;
}

.privacy-check {
  margin-bottom: 15px;
}

.privacy-check label {
  font-size: 11px;
}

.submit-btn {
  padding: 14px;
  font-size: 15px;
  border-radius: 6px;
}

.google-map {
  min-height: 300px;
  border-radius: 8px;
}

.google-map iframe {
  min-height: 300px;
}

/* Footer */
.footer-content {
  flex-direction: column;
  gap: 30px;
}

.footer-right {
  text-align: left;
}

/* Privacy Modal - Mobile */
.privacy-modal-content {
  padding: 30px 20px;
  margin: 20px auto;
}

.privacy-modal-content h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.privacy-modal-body h3 {
  font-size: 16px;
}

.privacy-modal-body p,
.privacy-modal-body ul li {
  font-size: 13px;
}

.privacy-check label {
  font-size: 11px;
}


/* 소형 모바일 (480px 이하) */
@media (max-width: 480px) {
  .queens-image-wrapper {
    max-height: 700;
  }

  /* Header */
  .header {
    background-color: #ffffff;
    padding: 8px 0;
  }

  .logo img {
    height: 30px;
  }

  .hero {
    margin-top: 50px;
  }

  .header.scrolled .logo img {
    height: 24px;
  }

  /* 480px 이하에서도 녹색 로고만 표시 */
  .logo-white {
    display: none !important;
  }

  .logo-green {
    display: block !important;
  }

  .mobile-menu-btn span {
    background-color: #000000;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: auto;
    max-height: none;
  }

  .hero-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 비율 */
    height: 0;
  }

  .hero-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .queens-image-wrapper {
    min-height: 500px !important
  }

  .queens-title {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .queens-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
  }

  .queens-logo img {
    max-width: 140px;
  }

  /* Queens Circle Section */
  .tag-btn {
    font-size: 11px;
    padding: 6px 14px;
  }

  .tag-btn-positioned {
    font-size: 8px;
    padding: 5px 10px;
  }




  /* Transformation Slider */
  .transformation-slider-section {
    height: auto;
    min-height: auto;
    padding: 60px 0 0 0;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  .slider-container {
    height: auto;
    transform: none !important;
    animation: none !important;
  }

  .card-text {
    top: 45%;
  }

  .slider-controls {
    left: 20px;
    top: -20px;
  }

  .slide-counter {
    font-size: 12px;
  }

  .protocol-step p {
    font-size: 14px;
    line-height: 1.6;


  }

  .step-badge {
    padding: 5px 20px;
    font-size: 10px;
  }

  .slides-wrapper {
    height: auto;
    min-height: 300px;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
  }

  .slide {
    height: auto;
    transform: none !important;
    animation: none !important;
  }

  .slide.active {
    position: relative;
    transform: none !important;
    animation: none !important;
  }

  .slide img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
  }

  /* Text Sections */
  .integrated-text h2,
  .kids-text h2 {
    font-size: 28px;
  }

  .section-label {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .main-desc {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .sub-desc {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .feature-item p {
    font-size: 14px;
  }

  .text-line {
    width: 60px;
  }

  /* Fitness Program */
  .program-label {
    font-size: 10px;
    padding: 5px 18px;
  }

  .program-header h3 {
    font-size: 24px;
  }

  .program-header h2 {
    font-size: 28px;
  }

  .steps-header {
    min-height: auto;
    margin-bottom: 30px;
  }

  .program-header h2 .highlight {
    font-size: 32px;
  }

  .program-subtitle {
    font-size: 14px;
  }

  .program-card {
    flex: 0 0 90% !important;
    min-width: 90% !important;
  }

  .card-image {
    height: 420px;
  }

  .card-text {
    padding: 20px 25px;
  }

  .card-text h3 {
    font-size: 22px;
  }

  .card-desc {
    font-size: 14px;
  }

  .card-detail {
    font-size: 13px;
  }

  /* Complete Steps */
  .steps-subtitle-top {
    font-size: 18px;
  }

  .steps-main-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .steps-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .steps-watermark img {
    max-width: 240px;
  }

  .steps-box {
    padding: 25px 12px;
  }

  .steps-protocol-label {
    font-size: 16px;
  }

  .circle-section {
    padding: 25px 15px;
  }

  .section-top::before,
  .section-right::before,
  .section-bottom::before,
  .section-left::before {
    font-size: 10px;
    padding: 8px 20px;
  }

  .section-icons img {
    max-width: 200px;
  }

  .section-text h4,
  .section-bottom h4 {
    font-size: 14px;
  }

  .section-text p,
  .flexible-caption {
    font-size: 13px;
    line-height: 1.6;
  }

  .flexible-photo {
    width: 160px;
    height: 160px;
    border-width: 5px;
  }

  .center-subtitle {
    font-size: 14px;
  }

  .center-description {
    font-size: 13px;
  }

  /* PosturalMuscles */
  .postural-content h2 {
    font-size: 36px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .postural-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* Contact - 480px */
  .contact-section {
    padding: 50px 0;
  }

  .contact-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .contact-info-top .contact-address {
    font-size: 12px;
    line-height: 1.5;
  }

  .contact-info-top .contact-phone {
    font-size: 11px;
  }

  .contact-form {
    padding: 0;
  }

  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form input[type="email"],
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 13px;
  }

  .google-map {
    min-height: 250px;
  }

  .google-map iframe {
    min-height: 250px;
  }

  /* Footer */
  .footer {
    padding: 50px 0 25px;
  }

  .footer-logo {
    height: 35px;
    margin-bottom: 15px;
  }

  .footer-address {
    font-size: 12px;
    line-height: 1.7;
  }

  .privacy-link {
    font-size: 13px;
  }

  .copyright {
    font-size: 12px;
  }

  /* Popup Modal */
  .popup-content {
    padding: 60px 25px 25px;
  }

  .popup-slide h3 {
    font-size: 18px;
  }

  .popup-text {
    font-size: 13px;
  }

  .popup-text h4 {
    font-size: 15px;
  }

  /* Privacy Modal - Small Mobile */
  .privacy-modal-content {
    padding: 25px 15px;
    margin: 10px;
  }

  .privacy-modal-content h2 {
    font-size: 20px;
  }

  .privacy-modal-close {
    font-size: 30px;
    width: 35px;
    height: 35px;
  }

  .privacy-check label {
    font-size: 10px;
  }
}