:root {
  --bg: #F5EFE6;
  --bg-soft: #EDE5D6;
  --primary: #2D5F3F;
  --primary-dark: #234C32;
  --accent: #E8A24A;
  --accent-strong: #C77F1F;
  --text: #2A2A2A;
  --text-muted: #4A4A4A;
  --line: #D8CFBC;

  --font-serif: 'Noto Serif KR', serif;
  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1080px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-py: clamp(3rem, 8vw, 6rem);
  --radius: 14px;
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 18px;          /* 50-70대 친화: 16 → 18 */
  line-height: 1.75;
  word-break: keep-all;
  padding-bottom: 88px;     /* sticky-call 모바일 자리 확보 */
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.35;
}
h1 { font-size: clamp(2.2rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

p { margin: 0 0 1.1rem; }

section { padding: var(--section-py) var(--gap); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* 헤더 */
header {
  position: sticky;
  top: 0;
  background: rgba(245, 239, 230, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  z-index: 10;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gap);
}
.brand {
  display: inline-block;
  padding: 1rem 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 95, 63, 0.25);
}
.header-tel:hover { opacity: 1; background: var(--primary-dark); }
.header-tel-icon { font-size: 1rem; }
@media (max-width: 480px) {
  .header-tel-num { display: none; }
  .header-tel { padding: 0.55rem 0.75rem; }
  .header-tel-icon { font-size: 1.1rem; }
}

/* 접근성: 키보드 포커스 */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ─────────────── 히어로 ─────────────── */
.hero {
  padding-top: clamp(2.5rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 10vw, 6rem);
  text-align: center;
}
.hero-inner { max-width: 760px; }
.hero-logo {
  margin: 0 auto 1.75rem;
  width: clamp(160px, 30vw, 220px);
  height: auto;
}
.hero-eyebrow {
  display: inline-block;
  margin: 0 auto 1.5rem;
  padding: 0.55rem 1.25rem;
  background: var(--primary);
  color: #F5EFE6;
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 2.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 95, 63, 0.2);
}
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

/* 큰 전화 CTA (히어로용) */
.cta--phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 2rem;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-height: 72px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.cta--phone:hover { background: var(--primary-dark); opacity: 1; box-shadow: var(--shadow-lg); }
.cta-icon { font-size: 1.75rem; line-height: 1; }
.cta-label { display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem; line-height: 1.2; }
.cta-label-main {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cta-label-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: #DCE6DD;
  letter-spacing: 0.02em;
}

/* ─────────────── 브랜드 이야기 ─────────────── */
.story-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.story-figure { margin: 0; text-align: center; }
.story-figure img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.story-figure figcaption {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.story-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.5rem 1.1rem;
  background: var(--primary);
  color: #F5EFE6;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(45, 95, 63, 0.2);
}
.story-text p { color: var(--text); }
.story-text em {
  font-style: normal;
  color: var(--primary);
  font-weight: 700;
}
.story-text strong { color: var(--primary); font-weight: 700; }
@media (min-width: 768px) {
  .story-inner { grid-template-columns: minmax(320px, 1fr) 1.4fr; }
}

/* ─────────────── 지압 컨셉 ─────────────── */
.reflex {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.reflex-eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.4rem 1rem;
  background: rgba(45, 95, 63, 0.12);
  color: var(--primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  border: 1px solid rgba(45, 95, 63, 0.25);
}
.reflex-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.reflex-figure { margin: 0; text-align: center; }
.reflex-figure img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.reflex-figure figcaption {
  margin-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.reflex-text strong { color: var(--primary); font-weight: 700; }
.reflex-disclaimer {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(45, 95, 63, 0.06);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
}

/* 아코디언 (발 지압 가이드) */
.reflex-details {
  margin: 1.5rem auto 0;
  max-width: 720px;
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.reflex-details summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.reflex-details summary::-webkit-details-marker { display: none; }
.reflex-details summary::after {
  content: '＋';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.reflex-details[open] summary::after { content: '－'; }
.reflex-map {
  margin: 0;
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
}
.reflex-map img { width: 100%; max-width: 540px; margin: 0 auto; }
.reflex-map figcaption { margin-top: 1rem; color: var(--text-muted); font-size: 0.9rem; }

@media (min-width: 768px) {
  .reflex-top { grid-template-columns: 1.2fr minmax(300px, 1fr); }
}

/* ─────────────── 갤러리 ─────────────── */
.gallery-title { text-align: center; }
.gallery-lead {
  text-align: center;
  color: var(--text);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.gallery-lead strong { color: var(--primary); font-weight: 700; }
.gallery-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;       /* 모바일 1열 (어른층 친화) */
  gap: clamp(1.25rem, 3vw, 2rem);
}
.gallery-grid > li { display: block; }
.gallery-card {
  display: block;
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  color: var(--text);
  transition: box-shadow 0.15s ease;
}
.gallery-card:hover { opacity: 1; box-shadow: var(--shadow-lg); }
.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg);
}
.gallery-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
  text-align: center;
}
.gallery-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: clamp(1.2rem, 2.6vw, 1.4rem);
  font-family: var(--font-serif);
}
.gallery-card p { margin: 0; }
.gallery-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  color: var(--primary);
  letter-spacing: 0.01em;
  margin-bottom: 0.85rem !important;
}
.gallery-cta {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  margin: 0;
}
.gallery-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ─────────────── 연락처 (큰 전화 카드) ─────────────── */
.contact { background: #FFFFFF; }
.contact-inner { text-align: center; }
.contact-lead {
  color: var(--text);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.contact-lead strong { color: var(--primary); font-weight: 700; }

.contact-bigtel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  max-width: 480px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(45, 95, 63, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-bigtel:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 20px 44px rgba(45, 95, 63, 0.36); }
.contact-bigtel-icon { font-size: 2.5rem; line-height: 1; margin-bottom: 0.25rem; }
.contact-bigtel-label {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #DCE6DD;
}
.contact-bigtel-num {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 6.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0.25rem 0;
  white-space: nowrap;
}
.contact-bigtel-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #B5C8B8;
}

/* ─────────────── 공유 버튼 ─────────────── */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.25rem auto 0.5rem;
  padding: 1rem 1.75rem;
  min-height: 56px;
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.share-btn:hover {
  background: rgba(45, 95, 63, 0.06);
  transform: translateY(-1px);
}
.share-btn:active { transform: translateY(0); }
.share-btn-icon { font-size: 1.25rem; line-height: 1; }
.share-hint {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* 토스트 알림 */
.toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%) translateY(10px);
  z-index: 100;
  padding: 0.95rem 1.5rem;
  background: var(--text);
  color: #FFFFFF;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 768px) {
  .toast { bottom: 96px; }
}

/* ─────────────── 푸터 ─────────────── */
.footer {
  background: var(--primary);
  color: #FFFFFF;
  padding: 3rem var(--gap);
  text-align: center;
}
.footer-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-slogan {
  color: #DCE6DD;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.footer-copy {
  color: #B5C8B8;
  font-size: 0.9rem;
  margin: 0;
}

/* ─────────────── 모바일 하단 고정 전화 바 ─────────────── */
.sticky-call {
  display: none;
}
@media (max-width: 768px) {
  .sticky-call {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem 1.25rem;
    background: var(--primary);
    color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(45, 95, 63, 0.4);
    font-family: var(--font-sans);
    font-weight: 700;
  }
  .sticky-call:hover { opacity: 1; }
  .sticky-call-icon { font-size: 1.5rem; line-height: 1; }
  .sticky-call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    line-height: 1.2;
  }
  .sticky-call-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #DCE6DD;
    letter-spacing: 0.04em;
  }
  .sticky-call-num {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }
}
