/* ===== 디자인 토큰 ===== */
:root {
  --green-900: #0f2a1d;
  --green-800: #16382a;
  --green-700: #1d4a36;
  --green-600: #25624a;
  --lime: #b9f24d;
  --lime-soft: #d6fa8c;
  --charcoal: #15211b;
  --ink: #0e1713;
  --paper: #f6f8f4;
  --paper-2: #eef2e8;
  --white: #ffffff;
  --text: #1c2a22;
  --text-soft: #51625a;
  --text-invert: #eaf3ea;
  --line: #e1e8db;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px -22px rgba(15, 42, 29, 0.45);
  --maxw: 1140px;
}

/* ===== 기본 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--lime); }
.section-alt { background: var(--paper-2); }

/* ===== 버튼 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-soft); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text-invert); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-kakao { background: #fee500; color: #3c1e1e; }
.btn-kakao:hover { background: #ffe924; }
.kakao-ico { font-size: 17px; }

/* ===== 헤더 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 42, 29, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { font-weight: 900; font-size: 22px; color: var(--white); letter-spacing: -.5px; }
.logo span { color: var(--lime); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text-invert); font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; color: var(--lime); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .25s; }

/* ===== 히어로 ===== */
.hero {
  position: relative;
  background:
    linear-gradient(95deg, var(--green-900) 36%, rgba(15,42,29,.78) 56%, rgba(15,42,29,.35) 100%),
    radial-gradient(120% 80% at 82% -10%, rgba(185,242,77,.14), transparent 55%),
    url("images/hero.jpg") right -40px center / auto 115% no-repeat,
    linear-gradient(160deg, var(--green-900), var(--charcoal) 70%);
  background-blend-mode: normal, normal, luminosity, normal;
  color: var(--text-invert);
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(185,242,77,.22), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-eyebrow { letter-spacing: 3px; font-size: 13px; font-weight: 700; color: var(--lime); margin-bottom: 18px; }
.hero-title { font-size: clamp(34px, 6vw, 58px); font-weight: 900; line-height: 1.15; letter-spacing: -1px; }
.hero-desc { margin: 22px 0 32px; font-size: 17px; color: rgba(234,243,234,.82); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 30px; font-weight: 900; color: var(--lime); }
.stat span { font-size: 14px; color: rgba(234,243,234,.7); }

/* ===== 신뢰 배지 ===== */
.trust { background: var(--ink); }
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
  padding: 18px 24px; color: var(--lime-soft); font-weight: 500; font-size: 15px;
}

/* ===== 섹션 공통 ===== */
.section { padding: 86px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-eyebrow { letter-spacing: 2.5px; font-size: 13px; font-weight: 700; color: var(--green-600); margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.8px; line-height: 1.25; }
.section-sub { margin-top: 14px; color: var(--text-soft); }
.lead { font-size: 17px; color: var(--text-soft); margin: 18px 0 26px; }

/* ===== 공통: 강조 인용구 ===== */
.accent-ink { color: var(--green-600); }
.big-quote {
  text-align: center; margin-top: 40px; font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 800; line-height: 1.5; color: var(--ink); letter-spacing: -.5px;
}
.big-quote b { font-weight: 900; }

/* ===== 고민 (Pain points) ===== */
.worry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.worry-item {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 22px 20px 52px; font-size: 16px; color: var(--text);
  box-shadow: var(--shadow);
}
.worry-item::before {
  content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink);
  font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.worry-item b { font-weight: 800; color: var(--green-700); }

/* ===== 3 STEP 시스템 ===== */
.step-grid { display: flex; align-items: stretch; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step-card {
  flex: 1; min-width: 220px; max-width: 300px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow); text-align: center;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 16px;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  color: var(--lime); font-weight: 900; font-size: 19px;
}
.step-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.step-card p { color: var(--text-soft); font-size: 15px; }
.step-arrow { display: flex; align-items: center; color: var(--green-600); font-size: 28px; font-weight: 900; }

/* ===== 프로그램 안내 (3종 PT) ===== */
.pt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pt-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; box-shadow: var(--shadow); text-align: center;
  transition: transform .18s ease, border-color .2s;
}
.pt-card:hover { transform: translateY(-5px); border-color: var(--green-600); }
.pt-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
  background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.pt-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.pt-desc { color: var(--text-soft); font-size: 15px; margin-bottom: 20px; min-height: 44px; }
.pt-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pt-tags li { background: var(--green-800); color: var(--lime); font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 4px 22px; box-shadow: var(--shadow);
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative;
  font-weight: 700; font-size: 16px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--green-600); transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 20px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }
.faq-foot { text-align: center; margin-top: 30px; color: var(--text-soft); font-weight: 600; }
.faq-foot a { color: var(--green-700); font-weight: 800; text-decoration: underline; }

/* ===== 7가지 원칙 (다크 섹션) ===== */
.principles { background: linear-gradient(165deg, var(--ink), var(--green-900)); color: var(--text-invert); }
.principles .section-title { color: var(--white); }
.principles .section-eyebrow { color: var(--lime); }
.principles .section-sub { color: rgba(234,243,234,.75); }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.principle {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 22px 20px;
}
.p-num {
  flex-shrink: 0; font-weight: 900; font-size: 18px; color: var(--ink);
  width: 38px; height: 38px; border-radius: 10px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
}
.principle h3 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 6px; }
.principle p { font-size: 13.5px; color: rgba(234,243,234,.72); line-height: 1.6; }
.principle-cta {
  flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px;
  background: linear-gradient(150deg, var(--green-600), var(--green-800)); border-color: transparent;
}
.principle-cta p { font-size: 20px; font-weight: 900; color: var(--white); line-height: 1.4; }

/* ===== 실제 변화 사례 ===== */
.ba-wrap { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.ba-photo { position: relative; width: 260px; max-width: 42vw; aspect-ratio: 3 / 4; }
.ba-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow); background: var(--paper-2);
}
.ba-photo figcaption {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--white); font-weight: 800; font-size: 13px;
  letter-spacing: 1px; padding: 6px 18px; border-radius: 999px;
}
.ba-photo:last-of-type figcaption { background: var(--green-700); color: var(--lime); }
.ba-arrow { font-size: 34px; font-weight: 900; color: var(--green-600); }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 860px; margin: 0 auto; }
.result-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 20px; box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.result-card.highlight { background: linear-gradient(160deg, var(--green-700), var(--green-900)); border-color: transparent; }
.result-num { font-size: 38px; font-weight: 900; color: var(--lime); line-height: 1; letter-spacing: -1px; }
.result-num small { font-size: 18px; font-weight: 800; }
.result-ico { font-size: 38px; }
.result-label { font-size: 15px; font-weight: 700; color: var(--text); }
.result-card.highlight .result-label { color: rgba(234,243,234,.9); }
.result-note { text-align: center; margin-top: 18px; font-size: 13px; color: var(--text-soft); }

/* ===== 트레이너 소개 ===== */
.btn-sm { padding: 9px 18px; font-size: 14px; }
.photo-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-weight: 700; letter-spacing: 1px;
}
.trainer-list { display: grid; gap: 28px; }
.trainer-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.trainer-card.is-head { border-color: var(--green-600); }
.trainer-photo {
  position: relative; min-height: 320px;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
}
.trainer-card.is-head .trainer-photo { background: linear-gradient(160deg, var(--green-600), var(--green-900)); }
.trainer-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; position: absolute; inset: 0; }
.trainer-tag {
  position: absolute; top: 16px; left: 16px; background: var(--lime); color: var(--ink);
  font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px;
}
.trainer-body { padding: 30px 32px; }
.trainer-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.trainer-name-row h3 { font-size: 26px; font-weight: 900; letter-spacing: -.5px; }
.trainer-tagline { font-size: 15px; color: var(--text-soft); line-height: 1.6; margin: -8px 0 22px; }
.role-badge { background: var(--paper-2); color: var(--green-700); font-weight: 700; font-size: 13px; padding: 5px 13px; border-radius: 999px; }
.role-badge.role-head { background: var(--green-800); color: var(--lime); }
.trainer-section { margin-bottom: 22px; }
.trainer-section h4 {
  font-size: 15px; font-weight: 800; color: var(--green-700);
  padding-bottom: 8px; margin-bottom: 12px; border-bottom: 2px solid var(--paper-2);
  display: flex; align-items: center; gap: 8px;
}
.trainer-section h4 small { color: var(--text-soft); font-weight: 600; font-size: 13px; }
.career-list { list-style: none; display: grid; gap: 8px; }
.career-list li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text); }
.career-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--green-600); }
.cert-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px;
  font-size: 14px; color: var(--text-soft); overflow: hidden;
}
.cert-list li { position: relative; padding-left: 18px; line-height: 1.5; }
.cert-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 900; font-size: 12px; }
.cert-list.is-collapsed { max-height: 132px; }
.cert-toggle {
  margin-top: 12px; background: var(--paper); border: 1px solid var(--line); cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13px; color: var(--green-700);
  padding: 9px 16px; border-radius: 999px; transition: background .2s;
}
.cert-toggle:hover { background: var(--paper-2); }

/* ===== 가격 ===== */
.price-tabs {
  display: flex; gap: 8px; justify-content: center; margin-bottom: 34px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px; width: fit-content; margin-left: auto; margin-right: auto; box-shadow: var(--shadow);
}
.price-tab {
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
  font-weight: 700; font-size: 15px; color: var(--text-soft);
  padding: 11px 28px; border-radius: 999px; transition: background .2s, color .2s;
}
.price-tab:hover { color: var(--green-700); }
.price-tab.is-active { background: var(--green-800); color: var(--white); }

.price-content { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.price-block {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow);
}
.price-block-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.price-block-head h3 { font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.tag-1on1, .tag-2on1 { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.tag-1on1 { background: var(--green-800); color: var(--lime); }
.tag-2on1 { background: var(--paper-2); color: var(--green-700); }
.price-unit { font-size: 14px; color: var(--text-soft); }
.price-unit strong { color: var(--green-700); font-weight: 900; font-size: 16px; }
.price-unit small { color: var(--text-soft); }

.price-subhead { margin: 26px 0 12px; font-size: 16px; font-weight: 800; color: var(--green-700); }
.price-note { font-size: 14px; color: var(--text-soft); background: var(--paper); border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; }
.price-note strong { color: var(--green-700); }
.price-vat { text-align: right; font-size: 12px; font-weight: 700; color: var(--text-soft); margin-top: 8px; }

.price-table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 360px; }
.price-table thead th {
  background: var(--green-800); color: var(--white); font-weight: 700;
  padding: 11px 8px; text-align: center; white-space: nowrap;
}
.price-table tbody th, .price-table tbody td { padding: 11px 8px; text-align: center; border-top: 1px solid var(--line); }
.price-table tbody th { background: var(--paper-2); color: var(--ink); font-weight: 800; }
.price-table tbody tr:nth-child(even) td { background: #fafcf7; }
.price-table .col-discount { color: var(--green-600); font-weight: 700; }
.price-table .col-total { background: var(--lime-soft) !important; font-weight: 900; color: var(--ink); }
.price-table tbody tr:hover td { background: #f1f7e6; }

.price-foot { text-align: center; margin-top: 32px; color: var(--text-soft); }
.price-foot a { color: var(--green-700); font-weight: 700; text-decoration: underline; }

/* ===== 온라인 코칭 ===== */
.online-grid { display: grid; place-items: center; }
.online-text { max-width: 820px; text-align: center; }
.online-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 30px 0; }
.online-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: left; box-shadow: var(--shadow); }
.online-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; color: var(--green-700); }
.online-card p { font-size: 14px; color: var(--text-soft); }
.online-price { font-size: 18px; margin-bottom: 22px; }
.online-price strong { color: var(--green-700); font-weight: 900; }
.online-price small { color: var(--text-soft); font-weight: 500; }

/* ===== 후기 (네이버 플레이스 스타일) ===== */
.review-grid { columns: 3; column-gap: 24px; }
.review-card {
  break-inside: avoid; margin-bottom: 24px; display: inline-block; width: 100%;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 24px; box-shadow: var(--shadow);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(150deg, var(--green-600), var(--green-800));
  color: var(--white); font-weight: 800; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.review-id { display: flex; flex-direction: column; line-height: 1.4; flex: 1; min-width: 0; }
.review-user { font-weight: 800; font-size: 15px; color: var(--ink); }
.review-meta { font-size: 12.5px; color: var(--text-soft); }
.review-source {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: #03c75a; color: #fff; font-weight: 900; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.review-card blockquote { font-size: 15px; color: var(--text); line-height: 1.75; }
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.review-tag { background: var(--paper-2); color: var(--green-700); font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; }

/* ===== 건강 정보 ===== */
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tip-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.tip-card:hover { transform: translateY(-4px); border-color: var(--green-600); }
.tip-tag { align-self: flex-start; background: var(--paper-2); color: var(--green-700); font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.tip-card h3 { font-size: 18px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; }
.tip-card p { color: var(--text-soft); font-size: 15px; margin-bottom: 18px; }
.tip-more { margin-top: auto; color: var(--green-600); font-weight: 700; font-size: 14px; }
/* 채널별 색상 */
.channel-blog:hover { border-color: #03c75a; }
.channel-blog .tip-tag { background: #e7f9ee; color: #03a44b; }
.channel-blog .tip-more { color: #03a44b; }
.channel-insta:hover { border-color: #d6336c; }
.channel-insta .tip-tag { background: #fdecf3; color: #c92a6b; }
.channel-insta .tip-more { color: #c92a6b; }
.channel-youtube:hover { border-color: #ff0000; }
.channel-youtube .tip-tag { background: #ffeaea; color: #d40000; }
.channel-youtube .tip-more { color: #d40000; }

/* ===== 시설 안내 (갤러리) ===== */
.facility { background: linear-gradient(165deg, var(--charcoal), var(--green-900)); color: var(--text-invert); }
.facility .section-title { color: var(--white); }
.facility .section-eyebrow { color: var(--lime); }
.facility .section-sub { color: rgba(234,243,234,.75); }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
}
.gallery-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-weight: 700; font-size: 14px; letter-spacing: 1px;
}

/* ===== 상담 / 오시는 길 ===== */
.section-contact { background: linear-gradient(165deg, var(--green-900), var(--charcoal)); color: var(--text-invert); }
.section-contact .section-eyebrow { color: var(--lime); }
.section-contact .lead { color: rgba(234,243,234,.78); }
.contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 14px; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; font-size: 15px; color: rgba(234,243,234,.9); }
.contact-list strong { min-width: 76px; color: var(--lime); font-weight: 700; }
.contact-list a:hover { color: var(--lime); }
.map-card {
  display: flex; align-items: center; gap: 14px;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18);
  padding: 18px 20px; background: rgba(255,255,255,.06);
  transition: background .2s, border-color .2s, transform .15s;
}
.map-card:hover { background: rgba(255,255,255,.1); border-color: var(--lime); transform: translateY(-2px); }
.map-pin { font-size: 24px; }
.map-text { display: flex; flex-direction: column; line-height: 1.4; flex: 1; }
.map-text strong { color: var(--white); font-size: 15px; font-weight: 700; }
.map-text small { color: rgba(234,243,234,.7); font-size: 13px; }
.map-go { color: var(--lime); font-weight: 700; font-size: 14px; white-space: nowrap; }
.contact-form { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 900; margin-bottom: 18px; }
.form-or { text-align: center; color: var(--text-soft); font-size: 13px; margin: 16px 0; position: relative; }
.form-or::before, .form-or::after { content: ""; position: absolute; top: 50%; width: 28%; height: 1px; background: var(--line); }
.form-or::before { left: 0; }
.form-or::after { right: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; background: var(--paper); color: var(--text); resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,98,74,.15);
}
.form-note { margin-top: 16px; text-align: center; color: var(--green-700); font-weight: 700; }
.hp-field { display: none; }

/* ===== 푸터 ===== */
.site-footer { background: var(--ink); color: var(--text-invert); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-weight: 900; font-size: 20px; }
.footer-brand span { color: var(--lime); }
.footer-copy { color: rgba(234,243,234,.6); font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(234,243,234,.8); font-size: 14px; }
.footer-links a:hover { color: var(--lime); }

/* ===== 플로팅 CTA (모바일) ===== */
.float-cta {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--lime); color: var(--ink); font-weight: 800; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow); display: none;
}

/* ===== 스크롤 등장 애니메이션 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .price-content, .tips-grid, .pt-grid { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); }
  .review-grid { columns: 2; }
  .online-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .trainer-card { grid-template-columns: 1fr; }
  .trainer-photo { min-height: 240px; }
  .cert-list { grid-template-columns: 1fr; }
  .cert-list.is-collapsed { max-height: 156px; }
}
@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--green-900); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.open a { padding: 14px 24px; opacity: 1; }
  .float-cta { display: inline-flex; }
  .review-grid { columns: 1; }
  .worry-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 24px; }
  .hero {
    background:
      linear-gradient(180deg, var(--green-900) 30%, rgba(15,42,29,.82) 70%),
      url("images/hero.jpg") right top / cover no-repeat,
      var(--green-900);
  }
}

/* ===================================================== */
/* ===== 전문가 폴리시 (마이크로 인터랙션 & 디테일) ===== */
/* ===================================================== */

/* 텍스트 선택 색상 — 브랜드 컬러로 */
::selection { background: var(--lime); color: var(--ink); }

/* 키보드 포커스 링 — 접근성 + 깔끔함 */
:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 스크롤 진행 바 */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green-600), var(--lime));
  z-index: 100; transition: width .08s linear;
}

/* 헤더 — 스크롤 시 그림자/축소 */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled {
  background: rgba(14, 23, 19, .96);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .55);
}
.nav-wrap { transition: height .25s ease; }
.site-header.scrolled .nav-wrap { height: 60px; }

/* 내비게이션 — 현재 섹션 표시 */
.nav a { position: relative; padding-bottom: 4px; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { opacity: 1; color: var(--lime); }

/* 히어로 강조 텍스트 — 은은한 그라데이션 */
.hero-title .accent {
  background: linear-gradient(92deg, var(--lime) 20%, var(--lime-soft) 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 카드 등장 — 컨테이너 reveal 시 자식 순차 등장 */
.worry-grid.in .worry-item,
.step-grid.in .step-card,
.pt-grid.in .pt-card,
.result-grid.in .result-card,
.principle-grid.in .principle {
  animation: riseIn .55s cubic-bezier(.22, .8, .36, 1) both;
}
.worry-grid.in > *:nth-child(2), .step-grid.in > *:nth-child(3),
.pt-grid.in > *:nth-child(2), .result-grid.in > *:nth-child(2),
.principle-grid.in > *:nth-child(2) { animation-delay: .09s; }
.worry-grid.in > *:nth-child(3), .step-grid.in > *:nth-child(5),
.pt-grid.in > *:nth-child(3), .result-grid.in > *:nth-child(3),
.principle-grid.in > *:nth-child(3) { animation-delay: .18s; }
.worry-grid.in > *:nth-child(4), .result-grid.in > *:nth-child(4),
.principle-grid.in > *:nth-child(4) { animation-delay: .27s; }
.principle-grid.in > *:nth-child(5) { animation-delay: .36s; }
.principle-grid.in > *:nth-child(6) { animation-delay: .45s; }
.principle-grid.in > *:nth-child(7) { animation-delay: .54s; }
.principle-grid.in > *:nth-child(8) { animation-delay: .63s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* 버튼 — 눌리는 느낌 */
.btn:active { transform: translateY(0) scale(.98); }

/* 후기 카드 — 살짝 떠오르는 호버 */
.review-card { transition: transform .2s ease, border-color .2s ease; }
.review-card:hover { transform: translateY(-3px); border-color: var(--green-600); }

/* 갤러리 — 호버 시 어두운 오버레이 살짝 걷힘 */
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(15, 42, 29, .18); transition: background .3s ease;
  pointer-events: none;
}
.gallery-item:hover::after { background: rgba(15, 42, 29, 0); }

/* 모션 민감 사용자 배려 — 애니메이션 최소화 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .worry-grid.in > *, .step-grid.in > *, .pt-grid.in > *,
  .result-grid.in > *, .principle-grid.in > * { animation: none; }
  .scroll-progress { transition: none; }
}
