/* 그라티아 팔레트: 네이비(주색) + 골드(포인트).
   골드 #C8A24B는 제목 밑줄·배지·장식에만 쓰고, 작은 글씨와 링크는 진한 골드 #8A6A1F를 씁니다(글자색으로 #C8A24B 금지). */
:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);

  --point: #16264A;
  --point-ink: #FFFFFF;
  --point-hover: #0F1B38;
  --gold: #C8A24B;
  --gold-ink: #8A6A1F;
  --gold-soft: #F9F4E4;
  --ink: #16264A;
  --body: #4A5568;
  --muted: #4A5568;
  --line: #E6E0D2;
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --blue-soft: #F3EFE4;
  --success: #14B8A6;
  --danger: #EF4444;
  --danger-ink: #D92D20;
  --feat-bg: #16264A;
  --feat-ink: #FFFFFF;
  --feat-muted: #B9C3D6;
  --feat-line: #2C3B63;
  --feat-point: #D9B65D;
  --hero-wash: linear-gradient(180deg, #F9F4E4 0%, #FAF8F3 100%);
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --point: #D9B65D;
    --point-ink: #0E1730;
    --point-hover: #E6C97A;
    --gold: #D9B65D;
    --gold-ink: #D9B65D;
    --gold-soft: #262B45;
    --ink: #F1EFE8;
    --body: #F1EFE8;
    --muted: #B4B9C8;
    --line: #2C3858;
    --bg: #0E1730;
    --surface: #16213F;
    --blue-soft: #1B2848;
    --danger-ink: #FF8A7A;
    --feat-bg: #1F2E5A;
    --feat-line: #34457A;
    --hero-wash: linear-gradient(180deg, #1A2447 0%, #0E1730 100%);
  }
}
:root[data-theme="dark"] {
  --point: #D9B65D;
  --point-ink: #0E1730;
  --point-hover: #E6C97A;
  --gold: #D9B65D;
  --gold-ink: #D9B65D;
  --gold-soft: #262B45;
  --ink: #F1EFE8;
  --body: #F1EFE8;
  --muted: #B4B9C8;
  --line: #2C3858;
  --bg: #0E1730;
  --surface: #16213F;
  --blue-soft: #1B2848;
  --danger-ink: #FF8A7A;
  --feat-bg: #1F2E5A;
  --feat-line: #34457A;
  --hero-wash: linear-gradient(180deg, #1A2447 0%, #0E1730 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--point); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

/* 스크롤로 들어오면 아래에서 위로 나타난다. JS가 .reveal에 .in을 붙인다.
   이 블록은 각 요소의 :hover 규칙보다 앞에 있어야 한다(같은 우선순위에서 나중 규칙이 이김). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 22px; }
section { padding: 72px 0; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.75rem, 4.6vw, 2.375rem); line-height: 1.3; }
h2::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 16px; border-radius: 2px; background: var(--gold); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.4; margin: 0; color: var(--ink); }
p { margin: 0; }
.sub { color: var(--muted); margin-top: 14px; max-width: 34em; }

/* buttons: hover에서 배경과 글자색이 서로 뒤바뀐다(색 반전) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 10px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  background: var(--point); color: var(--point-ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:not(:disabled):hover {
  background: var(--surface); color: var(--point); border-color: var(--point);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--point) 55%, transparent);
}
.btn:not(:disabled):active { transform: translateY(0); box-shadow: none; }
.btn .arrow { font-weight: 400; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn.ghost:not(:disabled):hover {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--ink) 45%, transparent);
}
.btn:disabled { opacity: .6; cursor: wait; }

/* hero */
.hero { position: relative; padding: 0 0 56px; background: var(--hero-wash); overflow: hidden; }
.hero-img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: 86% 50%; }
.hero .wrap { padding-top: 36px; }
.hero-text { max-width: 580px; }
.brand { color: var(--gold-ink); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; margin-bottom: 18px; }
.hero .lead { margin-top: 22px; color: var(--muted); font-size: 1.125rem; max-width: 30em; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* 첫 화면: 요소가 차례로 떠오르며 나타난다 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-text .brand, .hero-text .brand-row { animation: fadeUp .6s ease both; }
.hero-text h1 { animation: fadeUp .6s ease .08s both; }
.hero-text .lead { animation: fadeUp .6s ease .16s both; }
.hero-text .actions { animation: fadeUp .6s ease .24s both; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-img { animation: heroZoom 16s ease-in-out infinite alternate; }

@media (min-width: 860px) {
  .hero { display: flex; align-items: center; min-height: 580px; padding: 0; background: var(--bg); }
  .hero-img { position: absolute; inset: 0; height: 100%; object-position: 88% 50%; }
  /* 왼쪽 글자 영역은 배경색으로 덮어 읽기 쉽게, 오른쪽으로 갈수록 사진이 드러나게 */
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 36%, color-mix(in srgb, var(--bg) 75%, transparent) 54%, transparent 76%);
  }
  .hero .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
}

/* worries */
.worries { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; max-width: 660px; }
.worries li {
  display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.worries .tick { width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--gold-soft); position: relative; }
.worries .tick::after {
  content: ""; position: absolute; left: 9px; top: 5px; width: 5px; height: 10px;
  border: solid var(--gold-ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.worries-note { margin-top: 20px; font-weight: 700; }

/* why */
.why-grid { display: grid; gap: 16px; margin-top: 36px; }
.why-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px 26px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.why-item:hover { transform: translateY(-6px); box-shadow: 0 18px 32px -20px rgba(22, 38, 74, .28); }
.why-item .media { display: block; width: calc(100% + 48px); max-width: none; height: auto; margin: 0 -24px; aspect-ratio: 16 / 9; object-fit: cover; }
.why-item .icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border: 4px solid var(--surface); border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.why-item .icon svg { width: 22px; height: 22px; }
.why-item h3 { margin-top: 18px; padding-left: 12px; border-left: 3px solid var(--gold); font-size: 1.2rem; }
.why-item p { color: var(--muted); margin-top: 10px; font-size: 1rem; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.stats span { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.stats small { font-size: 0.85rem; color: var(--muted); margin-left: 4px; }
.why-item .stats-date { margin-top: 2px; font-size: 0.8rem; }
@media (min-width: 820px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* products */
.cards { display: grid; gap: 18px; margin-top: 40px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 26px 28px; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 36px -20px rgba(22, 38, 74, .3); }
.card .media { display: block; width: calc(100% + 52px); max-width: none; height: auto; margin: 0 -26px 22px; aspect-ratio: 16 / 9; object-fit: cover; }
.card.feat { background: var(--feat-bg); color: var(--feat-ink); border-color: var(--feat-bg); }
.card.feat h3 { color: var(--feat-ink); }
.card.feat .btn:not(:hover) { background: var(--gold); color: #0E1730; border-color: var(--gold); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.steps { display: inline-flex; gap: 4px; align-items: flex-end; }
.steps i { display: block; width: 7px; border-radius: 3px; background: var(--line); }
.steps i:nth-child(1) { height: 10px; } .steps i:nth-child(2) { height: 16px; } .steps i:nth-child(3) { height: 22px; }
.steps i.on { background: var(--ink); }
.feat .steps i { background: var(--feat-line); }
.feat .steps i.on { background: var(--feat-point); }
.badge { font-size: 0.8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); }
.feat .badge { background: var(--gold); color: #0E1730; }
.card h3 { margin-top: 18px; font-size: clamp(1.5rem, 2.6vw, 1.75rem); letter-spacing: -0.01em; }
.card .for { margin-top: 6px; color: var(--muted); font-size: 1rem; }
.feat .for { color: var(--feat-muted); }
.card .intro { margin-top: 10px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.feat .intro { color: var(--feat-muted); }
.card dl { margin: 22px 0 0; display: grid; gap: 14px; }
.card dt { font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.feat dt { color: var(--feat-muted); }
.card dd { margin: 2px 0 0; font-size: 1rem; }
.price { margin-top: auto; padding-top: 26px; }
.price .was { display: block; font-size: 0.95rem; color: var(--muted); text-decoration: line-through; }
.feat .price .was { color: var(--feat-muted); }
.price strong { display: block; font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--point); }
.feat .price strong { color: var(--feat-point); }
.price small { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.feat .price small { color: var(--feat-muted); }
.card .btn { margin-top: 20px; width: 100%; }
.card:not(.feat) .btn { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.card:not(.feat) .btn:not(:disabled):hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
/* 방문형 / 참가형 소제목 */
.group-label { display: flex; align-items: center; gap: 12px; margin: 40px 0 0; font-size: 0.9rem; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.group-label + .cards { margin-top: 20px; }
.cards + .group-label { margin-top: 48px; }

/* 참가형: 가로로 넓은 카드. 여러 장이면 세로로 쌓인다 */
.onedays { display: grid; gap: 20px; margin-top: 20px; }
.card.wide { padding: 0; }
.card.wide .media { width: 100%; margin: 0; }
.wide-body { display: flex; flex-direction: column; padding: 24px 26px 28px; }
.card.wide .card-top h3 { margin-top: 0; }
.badge.join { background: var(--line); color: var(--ink); }
.card.wide .btn { background: var(--point); color: var(--point-ink); border-color: transparent; }
.card.wide .btn:not(:disabled):hover { background: var(--surface); color: var(--point); border-color: var(--point); }
.card.wide .btn.done, .card.wide .btn.done:not(:disabled):hover { background: var(--line); color: var(--muted); border-color: transparent; cursor: default; transform: none; box-shadow: none; }

/* 원데이 일정 (투어 목록) */
.sessions { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.sessions-title { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.sessions ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.sessions li {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "when state" "where where";
  gap: 2px 12px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--bg); font-size: 0.95rem;
}
.s-when { grid-area: when; }
.s-where { grid-area: where; color: var(--muted); font-size: 0.9rem; }
.s-state { grid-area: state; font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
a.s-state:hover { background: var(--point); color: var(--point-ink); }
.s-state.closed { background: var(--line); color: var(--muted); }
.is-closed .s-when, .is-closed .s-where { color: var(--muted); text-decoration: line-through; }
.s-empty { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
@media (min-width: 620px) {
  .sessions li { grid-template-columns: auto 1fr auto; grid-template-areas: "when where state"; gap: 14px; }
  .s-where { font-size: 0.95rem; }
}
@media (min-width: 820px) {
  .card.wide { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .card.wide.no-media { grid-template-columns: minmax(0, 1fr); }
  /* 원데이 박스가 2개 이상이면 나란히 세로 카드로 */
  .onedays.multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onedays.multi .card.wide { display: flex; flex-direction: column; }
  .onedays.multi .card.wide .media { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .onedays.multi .wide-body { flex: 1; padding: 26px 28px 30px; }
  .onedays.multi .wide-foot { display: block; }
  .onedays.multi .wide-foot .btn { width: 100%; margin-top: 20px; }
  .card.wide .media { height: 100%; min-height: 300px; aspect-ratio: auto; }
  .wide-body { padding: 32px 34px; }
  .wide-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: auto; }
  .wide-foot .btn { width: auto; flex: none; margin-top: 0; }
}

@media (min-width: 900px) {
  .group-label + .cards { margin-top: 36px; }
  .cards + .group-label { margin-top: 64px; }
  .cards { grid-template-columns: 1fr 1.14fr 1fr; align-items: stretch; }
  .card.feat { margin: -16px 0; padding-bottom: 42px; }
  .card.feat .media { aspect-ratio: 16 / 10; }
}

/* process */
.steps-list { list-style: none; margin: 36px 0 0; padding: 0; max-width: 680px; position: relative; }
.steps-list li { position: relative; padding: 0 0 28px 56px; }
.steps-list li::before {
  content: attr(data-n); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--bg);
  font: 700 0.95rem/38px var(--sans); text-align: center;
}
.steps-list li::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.steps-list li:last-child { padding-bottom: 0; }
.steps-list li:last-child::after { display: none; }
.steps-list b { display: block; font-size: 1.1rem; }
.steps-list span { color: var(--muted); font-size: 1rem; }

/* launch */
.launch { background: var(--gold-soft); }
.launch .box { max-width: 620px; }
.launch-grid { display: grid; gap: 28px; align-items: center; }
.launch-img { display: block; width: 100%; height: auto; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
@media (min-width: 820px) { .launch-grid { grid-template-columns: 360px 1fr; gap: 52px; } }
.launch p { margin-top: 14px; color: var(--ink); }
.launch p + p { color: var(--muted); }
.launch p strong { color: var(--point); }

/* faq */
.faq { margin-top: 30px; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--point); }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; gap: 24px; margin-top: 32px; }
.contact-main { min-width: 0; }
.contact-aside { align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.contact-aside img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.contact-aside dl { margin: 0; padding: 22px 24px 24px; display: grid; gap: 14px; }
.contact-aside dt { font-weight: 700; font-size: 0.85rem; color: var(--gold-ink); }
.contact-aside dd { margin: 2px 0 0; font-size: 0.95rem; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .contact-aside { position: sticky; top: 24px; }
}
#contact .form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold-soft); outline-offset: 0; border-color: var(--point); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger-ink); font-size: 0.87rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.two { display: grid; gap: 18px; }
@media (min-width: 620px) { .two { grid-template-columns: 1fr 1fr; } #contact .form-card { padding: 34px 32px; } }
.consent { background: var(--blue-soft); border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; }
.consent .terms { color: var(--muted); font-size: 0.85rem; line-height: 1.65; margin-bottom: 10px; }
.consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; }
.consent input[type="checkbox"] { width: 20px; min-height: 0; height: 20px; margin: 3px 0 0; padding: 0; flex: none; accent-color: var(--point); }
.field.consent.invalid { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[type="submit"] { width: 100%; }
.result { margin-top: 24px; padding: 24px; border-radius: 16px; border: 1.5px solid var(--success); background: var(--surface); }
.result.failed { border-color: var(--danger); }
.result textarea { width: 100%; min-height: 190px; margin-top: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 400 0.95rem/1.6 var(--sans); }
.result .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

footer { padding: 44px 0 60px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
footer strong { color: var(--ink); font-family: var(--serif); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .why-item:hover, .card:hover, .review:hover, .btn:not(:disabled):hover { transform: none; }
}

/* 모집 현황, 워크숍 일정 */
.seats { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 6px 14px; border-radius: 999px; background: var(--surface); color: var(--gold-ink); font-weight: 700; font-size: 0.95rem; }
.seats::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@keyframes seatPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .55; } }
.seats:not(.closed)::before { animation: seatPulse 1.7s ease-in-out infinite; }
.seats.closed { color: var(--muted); }
.seats.closed::before { background: var(--muted); }
.dates { display: block; margin-top: 8px; font-size: 0.875rem; font-weight: 600; color: var(--gold-ink); }
.feat .dates { color: var(--feat-point); }

/* reviews */
.reviews { display: grid; gap: 18px; margin-top: 36px; }
.review { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.review:hover { transform: translateY(-6px); box-shadow: 0 18px 32px -20px rgba(22, 38, 74, .28); }
.review img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.review .inner { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 24px; }
.review .tag { align-self: flex-start; font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); }
.review blockquote { margin: 0; flex: 1; font-size: 1rem; line-height: 1.75; }
.review blockquote::before { content: "“"; display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--gold-ink); }
.review .who { font-size: 0.9rem; color: var(--muted); }
.review .who strong { color: var(--ink); }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

footer .biz { margin-top: 10px; font-size: 0.8rem; line-height: 1.6; white-space: pre-line; }

/* 코치 소개 */
.coach { display: grid; gap: 24px; align-items: center; margin-top: 32px; max-width: 820px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; }
.coach-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.coach-photo.empty { display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.coach-photo.empty svg { width: 56px; height: 56px; }
.coach-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em; }
.coach-bio { margin-top: 8px; color: var(--muted); }
.coach-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.coach-links .btn { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
@media (min-width: 640px) { .coach { grid-template-columns: 140px 1fr; gap: 32px; padding: 32px 34px; } }

footer .owner { font-weight: 700; color: var(--ink); }
footer .links { margin-top: 10px; }
footer .links a { color: var(--gold-ink); text-decoration: none; font-weight: 600; }
footer .links a:hover { text-decoration: underline; }

/* 무료 보컬체크 도구 링크 (tool.worshipclinic.com) */
.tool-link { margin-top: 18px; font-size: 0.95rem; animation: fadeUp .6s ease .3s both; }
.tool-link a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.tool-link a:hover { color: var(--point); border-color: var(--point); }
.tool-card {
  display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
}
.tool-card > div { flex: 1 1 320px; }
.tool-card .tag { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); border-radius: 99px; padding: 3px 10px; }
.tool-card h2 { margin-top: 10px; }
.tool-card p { margin-top: 8px; color: var(--muted); }
.coach-photo { border: 1px solid var(--line); background: var(--surface); }
.coach-photo.empty { border: 0; background: var(--gold-soft); }
/* 다른 페이지에서 #online-diagnosis 등으로 들어올 때 카드 위쪽이 잘리지 않게 */
.card[id] { scroll-margin-top: 24px; }

/* /ai 페이지: 업무 카드는 사진 없이 글만 있어서 세 칸으로 나란히, 호버 확대는 약하게 */
.ai-tasks { margin-top: 32px; gap: 14px; }
.ai-tasks .card { padding: 24px 24px 26px; }
.ai-tasks .card h3 { margin-top: 0; font-size: 1.2rem; }
.ai-tasks .card .for { margin-top: 10px; }
@media (min-width: 900px) { .ai-tasks { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 900px) { .ai-tasks.two { grid-template-columns: repeat(2, 1fr); } }

/* 강사 소개 한 줄 소개(메인과 /ai 공통) */
.coach-headline { margin-top: 4px; font-weight: 600; color: var(--gold-ink); }
/* 메인 코치 소개의 이력 목록 */
.coach-career { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 0.95rem; }
.coach-career li { position: relative; padding-left: 16px; }
.coach-career li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* 메인: 두 개의 문(예배팀 클리닉 / 교회 AI 실무 워크숍) */
.doors { display: grid; gap: 14px; }
.door {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.door:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 32px -20px rgba(22, 38, 74, .3); }
.door-ico { font-size: 1.6rem; line-height: 1; margin-bottom: 6px; }
.door strong { font-size: 1.25rem; }
.door span:not(.door-ico) { color: var(--muted); }
@media (min-width: 720px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .door:hover { transform: none; } }

/* 상단 로고(밝은/어두운 두 장을 테마에 맞게 바꿔 보여 준다) + 이름 뒤 문구 */
.brand-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 22px; }
.brand-logo { display: block; height: 56px; width: auto; }
.brand-logo.dark { display: none; }
.brand-sub { color: var(--gold-ink); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; line-height: 1.35; padding-left: 14px; border-left: 1px solid var(--line); }
.brand-sub small { display: block; color: var(--muted); font-weight: 500; font-size: 0.85rem; }
@media (max-width: 520px) {
  .brand-logo { height: 48px; }
  .brand-sub { border-left: 0; padding-left: 0; width: 100%; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo.light { display: none; }
  :root:not([data-theme="light"]) .brand-logo.dark { display: block; }
}
:root[data-theme="dark"] .brand-logo.light { display: none; }
:root[data-theme="dark"] .brand-logo.dark { display: block; }

/* 페이지 분리(허브·보컬 레슨): 로고 링크, 허브 카드 목록, 다른 페이지 안내 한 줄 */
.brand-home { display: block; line-height: 0; }
.path-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; color: var(--body); font-size: 0.95rem; }
.path-list li { position: relative; padding-left: 16px; line-height: 1.55; }
.path-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cross-link { margin: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--body); font-size: 0.95rem; line-height: 1.6; }
.cross-link a { color: var(--gold-ink); font-weight: 600; }
@media (min-width: 820px) { .hub .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
