* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: #fbf5f2;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fbf5f2;
}

.hero-frame {
  position: relative;
  width: min(100vw, calc(100svh * 1.4132701422));
  aspect-ratio: 1491 / 1055;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.hero-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-hotspot {
  position: absolute;
  display: block;
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
}

.hero-hotspot:focus-visible {
  outline: 3px solid rgba(201, 131, 130, 0.65);
  outline-offset: 3px;
  opacity: 1;
}

/* 상단 메뉴 */
.menu-home {
  left: 29.4%;
  top: 3.3%;
  width: 3.4%;
  height: 5.0%;
}

.menu-nail {
  left: 34.4%;
  top: 3.3%;
  width: 3.8%;
  height: 5.0%;
}

.menu-pedi {
  left: 39.3%;
  top: 3.3%;
  width: 3.8%;
  height: 5.0%;
}

.menu-monthly {
  left: 44.1%;
  top: 3.3%;
  width: 7.2%;
  height: 5.0%;
}

.menu-care {
  left: 53.1%;
  top: 3.3%;
  width: 3.8%;
  height: 5.0%;
}

.menu-review {
  left: 58.0%;
  top: 3.3%;
  width: 3.8%;
  height: 5.0%;
}

.menu-shop {
  left: 63.0%;
  top: 3.3%;
  width: 6.5%;
  height: 5.0%;
}

/* 우측 상단 네이버 예약 */
.naver-top {
  left: 82.2%;
  top: 3.0%;
  width: 12.3%;
  height: 5.7%;
  border-radius: 999px;
}

/* 메인 버튼 */
.naver-main {
  left: 4.6%;
  top: 59.3%;
  width: 14.2%;
  height: 7.8%;
  border-radius: 14px;
}

.kakao {
  left: 19.9%;
  top: 59.3%;
  width: 15.7%;
  height: 7.8%;
  border-radius: 14px;
}

.blog {
  left: 36.5%;
  top: 59.3%;
  width: 13.5%;
  height: 7.8%;
  border-radius: 14px;
}

/* 하단 서비스 버튼 */
.card-nail {
  left: 5.9%;
  top: 78.3%;
  width: 8.4%;
  height: 5.6%;
  border-radius: 999px;
}

.card-monthly {
  left: 15.1%;
  top: 78.3%;
  width: 11.6%;
  height: 5.6%;
  border-radius: 999px;
}

.card-pedi {
  left: 27.4%;
  top: 78.3%;
  width: 8.1%;
  height: 5.6%;
  border-radius: 999px;
}

.card-care {
  left: 36.1%;
  top: 78.3%;
  width: 14.6%;
  height: 5.6%;
  border-radius: 999px;
}

/* 위치가 맞는지 확인할 때만 아래 주석을 해제하면 클릭 영역이 보입니다. */
/*
.hero-hotspot {
  background: rgba(255, 0, 0, 0.22);
  opacity: 1;
}
*/

@media (max-width: 760px) {
  .hero {
    align-items: start;
  }

  .hero-frame {
    width: 100vw;
    max-height: 100svh;
  }
}
.mobile-home {
  display: none;
}

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
    color: #4f3430;
    font-family: Arial, "Noto Sans KR", sans-serif;
  }

  .hero {
    display: none;
  }

  .mobile-home {
    display: block;
    width: 100%;
    min-height: 100svh;
    padding: 18px 20px 28px;
    background:
      linear-gradient(180deg, rgba(255, 247, 244, 0.95) 0%, #fbf5f2 42%, #f8ede9 100%);
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
  }

  .mobile-brand,
  .mobile-reserve,
  .mobile-action,
  .mobile-service-menu a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .mobile-brand {
    color: #5d3934;
    font-family: "Nanum Myeongjo", "Noto Serif KR", "Batang", "Malgun Gothic", serif;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.045em;
    -webkit-text-stroke: 0.14px #2f2624;
    text-shadow: 0 0 0.2px #2f2624;
  }

  .mobile-reserve {
    flex: 0 0 auto;
    padding: 0 16px;
    border: 1px solid #e2b7b0;
    border-radius: 999px;
    background: #fffaf7;
    color: #8f5953;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-intro {
    display: grid;
    gap: 12px;
  }

  .mobile-label {
    margin: 0;
    color: #bd7e78;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .mobile-intro h1 {
    margin: 0;
    color: #4d302c;
    font-size: clamp(32px, 9vw, 42px);
    line-height: 1.1;
    letter-spacing: 0;
  }

  .mobile-copy {
    margin: 0 0 6px;
    color: #76504b;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
  }

  .mobile-main-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid rgba(218, 174, 166, 0.55);
    box-shadow: 0 18px 36px rgba(121, 75, 68, 0.14);
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .mobile-action {
    width: 100%;
    padding: 0 18px;
    border: 1px solid #e7c6bf;
    border-radius: 14px;
    background: #fffaf5;
    color: #70443f;
    font-size: 16px;
    font-weight: 700;
  }

  .mobile-action.primary {
    border-color: #d99f98;
    background: #d58b86;
    color: #fffdfb;
  }

  .mobile-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
  }

  .mobile-features span {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border: 1px solid rgba(223, 187, 180, 0.8);
    border-radius: 14px;
    background: rgba(255, 250, 246, 0.82);
    color: #6a4742;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
  }

  .mobile-service-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
  }

  .mobile-service-menu a {
    padding: 0 12px;
    border-radius: 14px;
    background: #f1d7d1;
    color: #5d3834;
    font-size: 15px;
    font-weight: 800;
  }
}

@media (max-width: 370px) {
  .mobile-home {
    padding-right: 18px;
    padding-left: 18px;
  }

  .mobile-intro h1 {
    font-size: 31px;
  }

  .mobile-copy {
    font-size: 17px;
  }

  .mobile-features span,
  .mobile-service-menu a {
    font-size: 13px;
  }
}
