/* =========================================================
   Cricri Beauty - service.css (REFAC + NAV FIX)
   - 모바일 nav 잘림 해결(오시는 길 포함)
   - lang-switcher 겹침 해결
========================================================= */

:root{
  --bg1:#FBF7F5;
  --bg2:#F5E9ED;
  --card: rgba(255,255,255,.75);
  --border: rgba(0,0,0,.06);
  --text:#111;
  --muted:#666;
  --rose2:#ff6fa3;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius:18px;
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family:'Noto Sans KR',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  background: linear-gradient(180deg,var(--bg1),var(--bg2));
  color:var(--text);
}

/* ================= NAV (Gallery style) ================= */
.nav{
  position: sticky;
  top:0;
  z-index:1100;
  background: rgba(255,255,255,.80);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 44px 16px 12px;  /* 🔥 위 공간 확보 */
}

.nav-inner{
  max-width:980px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.menu{
  list-style:none;
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap: nowrap;          /* 🔥 줄바꿈 금지 */
  overflow-x: auto;           /* 🔥 공간 부족하면 스크롤 */
  scrollbar-width: none;
}

.menu::-webkit-scrollbar{
  display:none;
}

.menu a{
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  color:#222;
  padding:10px 12px;
  border-radius:999px;
  transition:.2s;
  white-space:nowrap; /* ✅ 단어 깨짐 방지 */
}

.menu a:hover{ background: rgba(255,111,163,.08); }

.menu a[aria-current="page"]{
  color:var(--rose2);
  background: rgba(255,111,163,.12);
}

/* lang */
.lang-switcher{
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 2000;

  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(0,0,0,.06);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.lang-switcher a{
  text-decoration:none;
  color:#444;
  margin:0 4px;
}

/* ================= MAIN ================= */
.service-container{
  max-width:980px;
  margin:40px auto 60px;
  padding:0 20px;
  display:flex;
  gap:40px;
  flex-wrap:wrap;
  align-items:flex-start;
}

.price-box{
  flex:1 1 300px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
  text-align:center;
}

.price-img{
  width:100%;
  max-width:320px;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.10);
}

.price-box button{
  margin-top:16px;
  padding:10px 18px;
  background:linear-gradient(135deg,#ff6fa3,#ff4f8a);
  border:none;
  border-radius:999px;
  color:#fff;
  font-weight:800;
  cursor:pointer;
  transition:.2s;
}

.price-box button:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(255,79,138,.35);
}

.price-box button:active{ transform:scale(.96); }

.section{
  flex:2 1 420px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:30px 28px;
  box-shadow:var(--shadow);
}

.section h2{
  text-align:center;
  color:var(--rose2);
  margin-bottom:28px;
  font-size:20px;
}

.service-block{ margin-bottom:36px; }

.service-block h3{
  font-size:16px;
  margin-bottom:8px;
  color:#c0397e;
}

.service-block p{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
  margin-bottom:6px;
}

.service-block ul{
  padding-left:18px;
  margin-top:6px;
}

.service-block li{
  font-size:13px;
  color:#444;
  margin-bottom:4px;
}

/* modal */
#modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  justify-content:center;
  align-items:center;
  z-index:2000;
}

#modal img{
  max-width:90%;
  max-height:90%;
  border-radius:14px;
  background:#fff;
  padding:12px;
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}

/* ================= MOBILE NAV FIX ================= */
@media (max-width:768px){

  /* ✅ lang를 위로 올려서 메뉴 공간 확보(겹침 방지) */
  .nav{
    padding-top:44px; /* lang 들어갈 공간 */
  }

