/* ==========================================================================
   AILO Public P10 — 마음온 상담센터
   원형: E 미니멀 타이포형 — 흰 헤더 + 얇은 하단 선(메가메뉴 단일 펼침), 큰 한글 제목(명조 1곳) + 넓은 여백,
         아래 풀폭 상담실 사진 띠 + 1분 호흡 카드, 상담 프로그램 왼쪽 탭, 장식 최소
   타이포: Pretendard + Noto Serif KR(첫 화면 제목·영문 한 줄만)
   컬러: 세이지 #5f7a65 1색 + 무채색(#f4f5f1 면, #1e2420 어두운 면)
   ========================================================================== */

:root {
  --ailo-bg: #ffffff;
  --ailo-fg: #1c201d;
  --ailo-muted: #525853;
  --ailo-line: #e3e6e1;
  --ailo-accent: #5f7a65;
  --ailo-accent-ink: #ffffff;
  --ailo-header-h: 84px;

  --p10-soft: #f4f5f1;
  --p10-tint: #e9eee8;
  --p10-dark: #1e2420;
  --p10-serif: "Noto Serif KR", "Pretendard Variable", Pretendard, serif;
  --p10-sec: clamp(88px, 10vw, 148px);
  --ailo-mega-col: 7.25em;
  --ailo-mega-col-md: 6em;
  --ailo-eyebrow-size: 13px;
}

body { font-size: 17px; line-height: 1.8; }
.sec { padding-block: var(--p10-sec); }
.ailo-eyebrow { letter-spacing: .2em; font-weight: 600; }
.ailo-title { font-weight: 700; }
.head-note { max-width: 26em; font-size: 16.5px; color: var(--ailo-muted); }
.btn-s { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 0; background: var(--ailo-accent); color: #fff; font-size: 16px; font-weight: 700; transition: background-color .2s; }
.btn-s:hover { color: #fff; background: color-mix(in srgb, var(--ailo-accent) 82%, #000); }
.btn-s--text { padding: 0; background: none; color: var(--ailo-fg); border-bottom: 1px solid currentColor; min-height: 0; padding-bottom: 4px; }
.btn-s--text::after { content: " →"; }
.btn-s--text:hover { background: none; color: var(--ailo-accent); }

/* ===== 헤더 ===== */
.hd { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--ailo-line); }
.hd__in { height: var(--ailo-header-h); display: flex; align-items: center; gap: 18px; }
.hd__logo span { display: flex; align-items: baseline; gap: 8px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.hd__logo small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); letter-spacing: 0; }
.hd__nav { flex: 1; display: flex; justify-content: center; }
@media (max-width: 991.98px) { .hd__nav.ailo-mega { display: none; } }
.hd__nav .ailo-mega__link { font-weight: 500; }
.ailo-mega--single .ailo-mega__panel { background: #fff; border: 1px solid var(--ailo-line); box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .15); padding: 12px 8px; }
.hd__cta { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 1px solid var(--ailo-fg); font-size: 15px; font-weight: 700; }
.hd__cta:hover { background: var(--ailo-fg); color: #fff; }
.mnav { background: #fff; }
.mnav__in { padding: calc(var(--ailo-header-h) + 16px) var(--ailo-gutter) 40px; }
.mnav__in nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--ailo-line); font-size: 21px; font-weight: 600; }
.mnav__cta { display: block; margin-top: 24px; padding: 16px; background: var(--ailo-accent); color: #fff; text-align: center; font-size: 17px; font-weight: 700; }
.mnav__info { margin-top: 16px; font-size: 15px; color: var(--ailo-muted); }

/* ===== 히어로 ===== */
.hero__top { padding-top: clamp(64px, 9vw, 140px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero__en { font-family: var(--p10-serif); font-size: 16px; font-style: italic; color: var(--ailo-accent); letter-spacing: .02em; }
.hero__title { margin-top: 18px; font-family: var(--p10-serif); font-size: clamp(38px, 4.6vw + 12px, 96px); font-weight: 500; line-height: 1.24; letter-spacing: -.04em; word-break: keep-all; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px 48px; margin-top: clamp(32px, 4vw, 56px); padding-top: 32px; border-top: 1px solid var(--ailo-line); }
.hero__lead { max-width: 32em; font-size: 18px; color: var(--ailo-muted); }
.hero__btns { display: flex; align-items: center; gap: 28px; }
.hero__band { position: relative; margin: 0; }
.hero__band img { width: 100%; height: clamp(320px, 42vw, 620px); object-fit: cover; }
.breath { position: absolute; right: max(var(--ailo-gutter), calc((100vw - var(--ailo-max)) / 2 + var(--ailo-gutter))); bottom: -48px; display: flex; align-items: center; gap: 20px; padding: 24px 28px; background: #fff; box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .25); max-width: 400px; }
.breath__circle { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--p10-tint); display: grid; place-items: center; }
.breath__circle span { width: 28px; height: 28px; border-radius: 50%; background: var(--ailo-accent); transition: transform 4s ease-in-out; }
.breath[data-phase="in"] .breath__circle span { transform: scale(2); }
.breath[data-phase="hold"] .breath__circle span { transform: scale(2); }
.breath[data-phase="out"] .breath__circle span { transform: scale(1); transition-duration: 6s; }
.breath__label { font-size: 17px; font-weight: 700; }
.breath__btn { margin-top: 6px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--ailo-accent); text-decoration: underline; text-underline-offset: 4px; }

/* ===== 소개 ===== */
.about { padding-top: calc(var(--p10-sec) + 32px); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.promise { border-top: 1px solid var(--ailo-fg); }
.promise li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--ailo-line); }
.promise__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--p10-tint); color: var(--ailo-accent); }
.promise h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.promise p { font-size: 16.5px; color: var(--ailo-muted); }

/* ===== 프로그램 ===== */
.programs { background: var(--p10-soft); }
.pp { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; background: #fff; }
.pp img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.pp__body { padding: clamp(28px, 3.4vw, 52px); }
.pp__no { font-size: 13.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ailo-accent); }
.pp h3 { margin: 10px 0 12px; font-size: clamp(24px, 1vw + 18px, 32px); font-weight: 700; letter-spacing: -.02em; }
.pp h3 small { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; color: var(--ailo-muted); }
.pp__body > p { font-size: 17px; color: #3e443f; }
.pp__meta { margin: 22px 0 18px; border-top: 1px solid var(--ailo-line); }
.pp__meta > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ailo-line); font-size: 15.5px; }
.pp__meta dt { font-weight: 700; color: var(--ailo-accent); }
.pp__meta dd { margin: 0; }
.pp__for { display: grid; gap: 6px; }
.pp__for li { position: relative; padding-left: 18px; font-size: 15.5px; color: var(--ailo-muted); }
.pp__for li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 1px; background: var(--ailo-accent); }

/* ===== 숫자 ===== */
.nums { padding-block: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--ailo-line); }
.nums__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.nums__row > div { display: grid; gap: 2px; padding: 0 24px; border-left: 1px solid var(--ailo-line); }
.nums__row > div:first-child { border-left: 0; padding-left: 0; }
.nums b { font-size: clamp(34px, 2.2vw + 16px, 52px); font-weight: 300; letter-spacing: -.03em; line-height: 1.15; color: var(--ailo-accent); font-variant-numeric: tabular-nums; }
.nums b span { font-weight: 600; }
.nums__row > div > span { font-size: 16px; color: var(--ailo-muted); }

/* ===== 예약 절차 ===== */
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ailo-fg); }
.path li { padding: 28px 22px 28px 0; }
.path li + li { padding-left: 22px; border-left: 1px solid var(--ailo-line); }
.path__dot { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--ailo-accent); }
.path h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 700; }
.path p { font-size: 15.5px; color: var(--ailo-muted); }
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.guide__box { padding: 32px; border: 1px solid var(--ailo-line); }
.guide__box--soft { background: var(--p10-soft); border-color: transparent; }
.guide__box h3 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.guide__box h3 small { font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.fee { width: 100%; border-collapse: collapse; font-size: 16px; }
.fee th, .fee td { padding: 12px 0; border-bottom: 1px solid var(--ailo-line); text-align: left; }
.fee th { font-weight: 600; }
.fee td { color: var(--ailo-muted); }
.fee td:last-child { text-align: right; font-weight: 700; color: var(--ailo-fg); font-variant-numeric: tabular-nums; }
.guide__list { display: grid; gap: 12px; }
.guide__list li { display: flex; gap: 12px; font-size: 16px; color: #3e443f; }
.guide__list i { width: 18px; padding-top: 6px; color: var(--ailo-accent); }

/* ===== 상담 선생님 ===== */
.counselors { padding-top: 0; }
.cs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cs__item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); }
.cs__item h3 { margin-top: 18px; font-size: 20px; font-weight: 700; }
.cs__item h3 small { margin-left: 6px; font-size: 14px; font-weight: 500; color: var(--ailo-muted); }
.cs__field { margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--ailo-accent); }
.cs__cv { margin-top: 6px; font-size: 14.5px; color: var(--ailo-muted); line-height: 1.6; }

/* ===== 소식 ===== */
.news { background: var(--p10-soft); }
.news__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.news__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.news__head h2 { font-size: 24px; font-weight: 700; }
.ailo-postlist { border-top-color: var(--ailo-fg); }
.ailo-postlist__subject { font-size: 16.5px; }
.cards { border-top: 1px solid var(--ailo-fg); }
.cards li { border-bottom: 1px solid var(--ailo-line); }
.cards a { display: flex; align-items: baseline; gap: 14px; min-height: 64px; padding: 16px 4px; }
.cards__tag { flex: none; min-width: 72px; font-size: 13.5px; font-weight: 700; color: var(--ailo-accent); }
.cards b { font-size: 16.5px; font-weight: 500; }
.cards a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* ===== 조직 ===== */
.org { padding-bottom: 0; }
.tree { display: grid; justify-items: center; gap: 28px; }
.tree__top { display: grid; justify-items: center; gap: 2px; padding: 20px 40px; background: var(--ailo-accent); color: #fff; }
.tree__top b { font-size: 19px; }
.tree__top span { font-size: 14.5px; opacity: .85; }
.tree__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; padding-top: 28px; border-top: 1px solid var(--ailo-line); }
.tree__row li { display: grid; gap: 2px; padding: 22px; text-align: center; background: var(--p10-soft); }
.tree__row b { font-size: 17px; }
.tree__row span { font-size: 14.5px; color: var(--ailo-muted); }
.partners { margin-top: 64px; padding: 28px 0; border-block: 1px solid var(--ailo-line); }

/* ===== 오시는 길 ===== */
.map__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.map__title { font-size: clamp(26px, 1.2vw + 18px, 40px); }
.map__info dl { margin: 24px 0 0; border-top: 1px solid var(--ailo-fg); }
.map__info dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--ailo-line); font-size: 16px; }
.map__info dt { font-weight: 700; color: var(--ailo-accent); }
.map__info dd { margin: 0; }
.map__art svg { width: 100%; height: auto; aspect-ratio: 520 / 380; }

/* ===== 예약 ===== */
.reserve { background: var(--p10-dark); color: #fff; }
.reserve__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.reserve .ailo-eyebrow { --ailo-eyebrow-color: #a9c1ad; }
.reserve__title { font-size: clamp(28px, 1.8vw + 16px, 46px); font-weight: 700; line-height: 1.35; letter-spacing: -.03em; }
.reserve .ailo-lead { color: rgba(255, 255, 255, .78); }
.crisis { display: flex; gap: 14px; margin-top: 32px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .22); font-size: 15.5px; color: rgba(255, 255, 255, .85); }
.crisis i { color: #e7b9a8; padding-top: 5px; }
.crisis b { display: block; color: #fff; }
.rf { padding: clamp(24px, 3vw, 40px); background: #fff; color: var(--ailo-fg); }
.rf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rf__f { display: grid; gap: 6px; margin-bottom: 14px; }
.rf__f span { font-size: 15px; font-weight: 700; }
.rf__f small { font-weight: 400; color: var(--ailo-muted); }
.rf input:not([type=checkbox]):not([type=radio]), .rf select, .rf textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c5cbc4; font-size: 16px; background: #fff; }
.rf__days, .rf__radio { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px; padding: 0; border: 0; }
.rf__days legend, .rf__radio legend { float: left; width: 100%; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.rf__days { gap: 6px; }
.rf__days label { position: relative; cursor: pointer; }
.rf__days input { position: absolute; inset: 0; opacity: 0; }
.rf__days span { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #c5cbc4; font-size: 15px; font-weight: 600; }
.rf__days input:checked + span { background: var(--ailo-accent); border-color: var(--ailo-accent); color: #fff; }
.rf__days input:focus-visible + span { outline: 2px solid var(--ailo-accent); outline-offset: 2px; }
.rf__radio label { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; cursor: pointer; }
.rf__radio input, .rf__agree input { width: 18px; height: 18px; accent-color: var(--ailo-accent); }
.rf__agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: 14.5px; color: var(--ailo-muted); }
.rf__agree input { margin-top: 3px; flex: none; }
.rf .btn-s { width: 100%; }

/* ===== 푸터 ===== */
.ft { background: #151916; color: rgba(255, 255, 255, .7); padding: 56px 0 36px; font-size: 15px; }
.ft__top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ft__logo { font-size: 22px; font-weight: 800; color: #fff; }
.ft__en { font-family: var(--p10-serif); font-size: 15px; color: rgba(255, 255, 255, .6); }
.ft__info { padding-top: 22px; }
.ft__info p { line-height: 1.85; }
.ft__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 14px 0 !important; }
.ft__links a { color: rgba(255, 255, 255, .8); }
.ft__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ft__links b { color: #fff; }
.ft__copy { font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ===== 반응형 ===== */
@media (max-width: 1279.98px) { .hd__cta { display: none; } }
@media (max-width: 1199.98px) {
  .path { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .path li:nth-child(4) { border-left: 0; padding-left: 0; }
  .cs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
  :root { --ailo-header-h: 64px; }
  .ailo-sitemap-btn { display: none; }
  .hd__in .ailo-burger { margin-left: auto; }
  .about__grid, .map__grid, .reserve__grid, .guide { grid-template-columns: 1fr; }
  .pp { grid-template-columns: 1fr; }
  .pp img { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
  .nums__row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .nums__row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .news__grid { grid-template-columns: minmax(0, 1fr); }
  .tree__row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .hd__logo small { display: none; }
  .hero__btns { flex-wrap: wrap; gap: 16px 24px; }
  .breath { position: relative; right: auto; bottom: auto; margin: -32px 16px 0; max-width: none; padding: 18px 20px; }
  .about { padding-top: var(--p10-sec); }
  .nums__row > div { padding: 0 14px; }
  .nums__row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .path { grid-template-columns: 1fr; }
  .path li, .path li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--ailo-line); }
  .cs { gap: 16px; }
  .cs__item h3 small { display: block; margin: 0; }
  .guide__box { padding: 22px 18px; }
  .rf__row { grid-template-columns: 1fr; gap: 0; }
  .map__info dl > div { grid-template-columns: 1fr; gap: 2px; }
  .ailo-postlist a { flex-wrap: wrap; gap: 2px 12px; }
  .ailo-postlist__subject { flex-basis: 100%; order: 2; white-space: normal; }
  .ailo-postlist__date { margin-left: auto; }
}
