/* ==========================================================================
   Jinhee Wellness — style.css
   디자인 토큰은 :root 에 모여 있습니다. 색을 바꾸려면 여기만 수정하세요.
   ========================================================================== */

:root {
  --brand: #334BD7;        /* 헤드라인, 주요 버튼 */
  --brand-dark: #2539B0;   /* 버튼 hover */
  --link: #0072CE;         /* 텍스트 링크 */
  --ink: #212529;          /* 본문 */
  --muted: #626975;        /* 보조 텍스트 (회색 배경 위에서도 WCAG AA 대비 4.5:1 이상) */
  --surface: #F5F6F8;      /* 섹션 배경, 카드 */
  --soft: #EEF1FB;         /* 연한 블루 배경 */
  --line: #E3E6EB;         /* 얇은 보더 */
  --topbar: #000000;
  --white: #FFFFFF;

  --radius-pill: 999px;
  --radius-card: 16px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;

  --header-h: 64px;
  --section-y: 64px;
  --gutter: 16px;
  --max: 1200px;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; --section-y: 96px; --header-h: 72px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--lg { width: 28px; height: 28px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brand); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-pill); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted); margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.85); }

.hero__title, .h2, .contact__title {
  color: var(--brand);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.hero__title { font-size: clamp(32px, 4.2vw + 14px, 56px); line-height: 1.25; }
.h2 { font-size: clamp(26px, 1.6vw + 20px, 36px); font-weight: 350; }
.h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.45; color: var(--ink); }

.body, .section-lead { max-width: 680px; }
.section-lead { color: var(--muted); margin-top: 12px; }
.fineprint { margin-top: 24px; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1.3;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--secondary { background: var(--white); color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--soft); }
.btn--light { background: var(--white); color: var(--brand); }
.btn--light:hover { background: var(--soft); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.8); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--brand);
  border: 1.5px solid var(--line); cursor: pointer;
  transition: border-color .2s, opacity .2s;
}
.icon-btn:hover:not(:disabled) { border-color: var(--brand); }
.icon-btn:disabled { opacity: .35; cursor: default; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; font-weight: 500; color: var(--link);
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* ---------- 0. Topbar ---------- */
.topbar { background: var(--topbar); color: var(--white); font-size: 14px; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; position: relative; }
.topbar__link {
  color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 36px;
  text-align: center;
}
.topbar__link:hover { text-decoration: underline; }
.topbar__close {
  position: absolute; right: calc(var(--gutter) - 10px); top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; color: var(--white); cursor: pointer;
}
.topbar__close .icon { width: 16px; height: 16px; }
.topbar :focus-visible { outline-color: var(--white); }

/* ---------- 1. Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .25s, border-color .25s;
}
.header.is-scrolled { background: var(--white); border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; min-height: 44px;
}
.wordmark__mark {
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: var(--white);
  font-size: 16px; font-weight: 500;
}
.wordmark__text { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); text-decoration: none; font-size: 15px; white-space: nowrap;
}
.nav__list a:hover { color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.menu-toggle, .menu-close {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer; color: var(--ink); border-radius: 50%;
}
.menu-toggle .icon, .menu-close .icon { width: 24px; height: 24px; }

@media (min-width: 560px) { .header__cta { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--white);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mobile-menu__nav { display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 24px; }
.mobile-menu__nav a {
  display: flex; align-items: center; min-height: 60px;
  font-size: 24px; font-weight: 300; color: var(--brand); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__foot { margin-top: auto; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
body.menu-open { overflow: hidden; }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  min-height: min(88svh, 720px);
  display: flex; align-items: center;
  background: #E9EEF6;
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media.has-photo::after {
  /* 사진 위에 좌측만 살짝 밝게 해 글씨를 읽기 쉽게 */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.6) 45%, rgba(255,255,255,0) 75%);
}
.hero__deco {
  position: absolute; right: -45%; bottom: -18%;
  width: 110%; max-width: 720px; height: auto;
  fill: none; stroke: var(--brand); stroke-width: 1; opacity: .16;
}
.hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: 64px; }
.hero__content { max-width: 620px; }
.hero__lead { margin-top: 20px; max-width: 520px; font-size: 17px; color: #3A4049; }
.hero .btn-row { margin-top: 32px; }

@media (min-width: 768px) {
  .hero { min-height: min(86vh, 760px); }
  .hero__deco { right: -12%; bottom: auto; top: 50%; transform: translateY(-50%); width: 62%; opacity: .2; }
  .hero__lead { font-size: 18px; }
}
@media (max-width: 767px) {
  .hero__media.has-photo::after { background: rgba(255, 255, 255, .72); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--soft { background: var(--soft); }
.section-head { margin-bottom: 40px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
@media (min-width: 768px) { .section-head { margin-bottom: 48px; } }

/* ---------- 3. Promotions slider ---------- */
.slider { position: relative; }
.slider-nav { display: flex; gap: 8px; flex: none; }
.slider__track {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  /* 모바일: 컨테이너 여백 밖까지 스와이프 영역 확장 */
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-block: 4px;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline-offset: -2px; border-radius: var(--radius-card); }
.slider__item { position: relative; flex: 0 0 88%; scroll-snap-align: start; }
@media (min-width: 768px) {
  .slider__track { gap: 20px; }
  .slider__item { flex-basis: calc((100% - 20px) / 2); }
}
@media (min-width: 1024px) {
  .slider__track { gap: 24px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .slider__item { flex-basis: calc((100% - 48px) / 3); }
}

.promo {
  --promo-bg: var(--brand); --promo-fg: var(--white); --promo-sub: rgba(255, 255, 255, .85); --badge-bg: rgba(255, 255, 255, .16);
  display: flex; flex-direction: column;
  height: 100%; min-height: 280px;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--promo-bg); color: var(--promo-fg);
  text-decoration: none;
  transition: transform .25s;
}
.promo:hover { transform: translateY(-2px); }
.promo:focus-visible { outline-offset: 3px; }
.promo--navy { --promo-bg: #1B2A6B; }
.promo--mint { --promo-bg: #DDF3EE; --promo-fg: #0F3D33; --promo-sub: #2E5A50; --badge-bg: rgba(15, 61, 51, .08); }
.promo--sand { --promo-bg: #F3EDE4; --promo-fg: #3D2F1C; --promo-sub: #5E4E38; --badge-bg: rgba(61, 47, 28, .08); }
.promo--mint:focus-visible, .promo--sand:focus-visible { outline-color: var(--brand); }

.promo__badge {
  align-self: flex-start;
  font-size: 13px; font-weight: 500;
  padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--badge-bg);
}
.promo__title { margin-top: 20px; font-size: 26px; font-weight: 400; line-height: 1.35; letter-spacing: -0.02em; }
.promo__subtitle { margin-top: 8px; font-size: 15px; color: var(--promo-sub); }
.promo__foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.promo__period { font-size: 14px; color: var(--promo-sub); font-variant-numeric: tabular-nums; }
.promo__more { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.promo__more .icon { width: 18px; height: 18px; }

.slider__dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.slider__dot {
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.slider__dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #C3C8D2; transition: width .25s, background-color .25s;
}
.slider__dot[aria-current="true"]::before { width: 24px; border-radius: 4px; background: var(--brand); }

.promo-empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: 36px 28px; border-radius: var(--radius-card); background: var(--surface);
}
@media (min-width: 768px) {
  .promo-empty { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px; }
}

/* ---------- 4. Category tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 1024px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.tiles li { display: flex; }
.tile {
  position: relative; flex: 1;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 168px; padding: 24px 20px;
  border-radius: var(--radius-card);
  background: var(--white); color: var(--ink);
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color .2s;
}
.tile:hover { border-color: var(--brand); }
.tile > .icon--lg { color: var(--brand); margin-bottom: auto; }
.tile__name { margin-top: 24px; font-size: 18px; font-weight: 500; }
.tile__desc { font-size: 14px; color: var(--muted); }
.tile__arrow { position: absolute; right: 20px; top: 24px; color: var(--brand); transition: transform .2s; }
.tile:hover .tile__arrow { transform: translateX(3px); }
@media (min-width: 768px) { .tile { min-height: 200px; padding: 28px; } .tile__arrow { right: 28px; top: 28px; } }

/* ---------- Placeholder (이미지가 없을 때) ---------- */
.placeholder {
  display: grid; place-items: center;
  aspect-ratio: 1 / 1; width: 100%;
  background: #ECEEF2; color: var(--muted);
  border-radius: var(--radius-card);
  font-size: 15px; font-weight: 500; text-align: center; padding: 16px;
}
.placeholder--tall { aspect-ratio: 4 / 3.4; font-size: 20px; font-weight: 300; }

/* ---------- 5. Spotlight ---------- */
.spotlight { display: grid; gap: 40px; align-items: center; }
.spotlight__media img { width: 100%; border-radius: var(--radius-card); aspect-ratio: 4 / 3.4; object-fit: cover; background: var(--surface); }
.spotlight__body .body { margin-top: 20px; }
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.badges li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; border-radius: 12px; background: var(--surface);
  font-size: 14px; line-height: 1.45;
}
.badges .icon { color: var(--brand); }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- 6. Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--white); border-radius: var(--radius-card); overflow: hidden;
}
.card__media img, .card__media .placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; border-radius: 0; }
.card__media img { background: var(--white); padding: 12px; }
.card__media .placeholder { background: #ECEEF2; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 20px; }
.card__name { font-size: 17px; font-weight: 500; line-height: 1.4; }
.card__desc { margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.card__link { margin-top: auto; padding-top: 12px; font-size: 14px; }
@media (min-width: 768px) {
  .card__body { padding: 20px 24px 24px; }
  .card__name { font-size: 18px; }
  .card__desc { font-size: 15px; }
  .card__link { font-size: 15px; }
}

/* ---------- 7. Science ---------- */
.science { display: grid; gap: 16px; }
@media (min-width: 768px) { .science { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.science__card { padding: 32px 28px; border-radius: var(--radius-card); background: var(--surface); }
.science__card .icon--lg { color: var(--brand); margin-bottom: 24px; }
.science__card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line);
  text-align: center;
}
.stats > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dd { font-size: clamp(30px, 4vw + 10px, 52px); font-weight: 300; color: var(--brand); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats dt { font-size: 14px; color: var(--muted); }

/* ---------- 8. Concerns ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 15px; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--white); }
.concern-panel {
  margin-top: 24px; padding: 28px;
  border-radius: var(--radius-card); background: var(--white);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.concern-panel__title { font-size: 20px; font-weight: 500; color: var(--brand); }
.concern-panel__text { max-width: 680px; color: #3A4049; }
.concern-panel .btn { margin-top: 8px; }
@media (min-width: 768px) { .concern-panel { padding: 36px 40px; } }

/* ---------- 9. Steps ---------- */
.steps { display: grid; gap: 28px; margin-bottom: 40px; counter-reset: step; }
.step { position: relative; padding-left: 60px; }
.step__num {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--brand); color: var(--brand); font-weight: 500;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 20px; top: 48px; bottom: -24px; width: 1px; background: var(--line);
}
.step p { margin-top: 6px; color: var(--muted); font-size: 15px; max-width: 420px; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { padding-left: 0; padding-top: 64px; }
  .step:not(:last-child)::after { left: 56px; right: -24px; top: 20px; bottom: auto; width: auto; height: 1px; }
}

/* ---------- 10. About ---------- */
.about { display: grid; gap: 32px; align-items: center; }
.about__photo {
  width: 200px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--soft);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__initial { font-size: 56px; font-weight: 300; color: var(--brand); letter-spacing: 0.02em; }
.about__role { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.about__body .body { margin-top: 20px; }
.highlights { display: grid; gap: 12px; margin-top: 28px; }
.highlights li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.highlights .icon--lg { color: var(--brand); }
@media (min-width: 768px) {
  .about { grid-template-columns: 280px 1fr; gap: 64px; }
  .about__photo { width: 280px; }
  .highlights { grid-template-columns: repeat(3, auto); gap: 24px; justify-content: start; }
  .highlights li { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- 11. Opportunity ---------- */
.opportunity { display: flex; flex-direction: column; gap: 20px; }
.opportunity .body { margin-top: 12px; color: #3A4049; }
@media (min-width: 900px) { .opportunity { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* ---------- 12. Contact ---------- */
.contact { background: var(--brand); color: var(--white); padding-block: calc(var(--section-y) + 8px); }
.contact__title { color: var(--white); font-size: clamp(28px, 2.4vw + 18px, 44px); }
.contact__phone-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.contact__phone {
  color: var(--white); text-decoration: none;
  font-size: clamp(36px, 5vw + 14px, 64px); font-weight: 300; letter-spacing: -0.01em; line-height: 1.15;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.contact__phone:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.copy-btn {
  display: none; align-items: center; gap: 6px;
  min-height: 44px; padding: 8px 16px;
  border-radius: var(--radius-pill); border: 1.5px solid rgba(255, 255, 255, .6);
  background: transparent; color: var(--white); font-size: 14px; cursor: pointer;
}
.copy-btn:hover { background: rgba(255, 255, 255, .12); }
.copy-btn .icon { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) and (min-width: 768px) { .copy-btn { display: inline-flex; } }
.contact .btn-row { margin-top: 32px; }
.contact__note {
  margin-top: 16px; display: inline-block;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .14); font-size: 14px;
}
.contact__hours { margin-top: 24px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.contact :focus-visible { outline-color: var(--white); }

/* ---------- 13. Footer ---------- */
.footer { background: var(--surface); padding-block: 56px; font-size: 14px; color: var(--muted); }
.footer__top { display: flex; flex-direction: column; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer__brand { font-size: 18px; font-weight: 500; color: var(--ink); }
.footer__sub { margin-top: 4px; }
.footer__contact { margin-top: 8px; }
.footer__contact a { color: var(--ink); font-weight: 500; text-decoration: none; display: inline-block; padding-block: 10px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.footer__notice { margin-top: 24px; display: grid; gap: 6px; line-height: 1.6; }
.footer__notice li { position: relative; padding-left: 12px; }
.footer__notice li::before { content: "·"; position: absolute; left: 0; }
.footer__copy { margin-top: 24px; }
@media (min-width: 768px) { .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }

/* ---------- 14. Mobile bottom bar ---------- */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .3s;
}
.bottombar.is-visible { transform: none; }
.bottombar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.bottombar a:first-child { background: var(--brand); color: var(--white); }
.bottombar a + a { border-left: 1px solid var(--line); }
.bottombar .icon { width: 22px; height: 22px; }
@media (max-width: 1023px) { body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); } }
@media (min-width: 1024px) { .bottombar { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius-pill); font-size: 14px;
  transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Motion: fade-up (JS가 켜졌을 때만) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .promo:hover { transform: none; }
}

/* 태블릿·모바일에서는 스포트라이트 이미지 영역을 낮게 */
@media (max-width: 899px) {
  .placeholder--tall, .spotlight__media img { aspect-ratio: 16 / 10; }
}

/* 히어로·스포트라이트 사진 위치 */
.hero__media img { object-position: 75% center; }
.hero__media.has-photo::after {
  background: linear-gradient(90deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.35) 40%, rgba(255,255,255,0) 60%);
}
.spotlight__media img { object-position: center 78%; }
@media (max-width: 767px) {
  .hero__media img { object-position: 72% center; }
  .hero__media.has-photo::after { background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.82) 45%, rgba(255,255,255,.88) 100%); }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .hero__media img { object-position: 88% center; }
  .hero__media.has-photo::after {
    background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,.2) 70%, rgba(255,255,255,0) 85%);
  }
}

/* 헤더: 사진 위에서도 메뉴가 잘 보이도록 항상 흰 배경 */
.header { background: rgba(255, 255, 255, .94); }

/* 모바일: 사진을 위에, 문구를 아래에 분리 */
@media (max-width: 767px) {
  .hero--photo { display: block; min-height: 0; margin-top: 0; background: var(--white); }
  .hero--photo .hero__media { position: relative; inset: auto; z-index: auto; aspect-ratio: 4 / 3; }
  .hero--photo .hero__media img { object-position: 78% center; }
  .hero--photo .hero__media.has-photo::after { display: none; }
  .hero--photo .hero__inner { padding-top: 32px; padding-bottom: 56px; }
}

/* 공식 제품 사진: 배경색까지 꽉 차게 */
.card__media img { aspect-ratio: 1 / 1; object-fit: cover; padding: 0; background: var(--surface); }
