/*
 * Corpus Spa 공용 디자인 토큰 (spec 2장).
 * 사업주 전단의 촛불빛 분위기: 짙은 갈색 바탕, 구리색 가격, 금색 장식선, 크림색 이름표.
 * 역할 규칙
 *   - 필기체(--font-script)는 로고의 "Spa"와 맺음말("Gracias por elegirte")에만 쓴다.
 *   - 구리색(--copper-*)은 가격과 강조 숫자에만 쓴다.
 *   - 금색(--gold)은 장식선, 어두운 면의 테두리, 초점 표시에 쓴다.
 *   - 짙은 갈색(--espresso-*)은 머리 영역, 주요 버튼, 선택된 상태에 쓴다.
 *   - 이모지 아이콘, 사진, 보라색 계열은 쓰지 않는다.
 */

@font-face {
  font-family: "Playfair Display";
  src: url("./fonts/playfair-display-var.woff2") format("woff2");
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Great Vibes";
  src: url("./fonts/great-vibes-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("./fonts/oswald-var.woff2") format("woff2");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 색 (전단에서 뽑음) */
  --espresso-900: #210f02;
  --espresso-800: #381602;
  --espresso-700: #4a2410;
  --copper-700: #723910;
  --copper-600: #9a4a14;
  --copper-500: #b45e1e;
  --gold: #c68d51;
  --gold-soft: #e0b07a;
  --cream-50: #fdf6ec;
  --cream-100: #fbdeb4;
  --cream-200: #f2cf9f;
  --ink: #2a1405;
  --ink-soft: rgba(42, 20, 5, 0.72);
  --line: rgba(114, 57, 16, 0.22);

  /* 의미 색 (상태 표시 전용) */
  --ok: #2f6b3a;
  --warn: #9a6a00;
  --danger: #a3261b;
  --whatsapp: #128c4a; /* 왓츠앱 동작 버튼에만 */

  /* 글꼴 */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;
  --font-label: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* 글자 크기 (본문 16px 기준) */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1rem;
  --text-lg: 1.1875rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.75rem;

  /* 간격, 모서리, 그림자 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-pill: 999px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 6px 18px rgba(33, 15, 2, 0.12);

  /* 초점 표시 (키보드 이동 때만) */
  --focus-ring: 0 0 0 2px var(--cream-50), 0 0 0 4px var(--gold);

  /* 터치 대상 최소 크기 */
  --touch-min: 44px;
}

/* 최소 공통 바탕 */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream-50);
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
  font: inherit;
}
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
}
.label-caps {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price {
  font-family: var(--font-label);
  font-weight: 600;
  color: var(--copper-600);
  font-variant-numeric: tabular-nums;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
