/* 다시, 살림 — Green + White, 여백 많은 감성형 */
:root {
  --green: #00704A;        /* 스타벅스 그린 */
  --green-deep: #1E3932;   /* 하우스 그린 */
  --green-mid: #006241;
  --green-light: #D4E9E2;
  --green-tint: #F4F8F6;
  --white: #FFFFFF;
  --ink: #1E2B27;
  --ink-soft: #5E6B66;
  --line: #E3ECE8;
  --radius: 14px;
  --brand: #3F5B45;        /* 로고 배경색 */
  --cream: #F3EBCB;        /* 로고 글자색 */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.35; margin: 0; letter-spacing: -0.02em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  font-size: 15px; font-family: inherit; transition: background .2s, color .2s, border-color .2s;
}
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-mid); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--green-deep); }
.btn-white:hover { background: var(--green-light); }
.btn-line-white { border-color: rgba(255,255,255,.5); color: var(--white); margin-bottom: 32px; }
.btn-line-white:hover { background: rgba(255,255,255,.1); }

/* Header — 로고 컬러로 */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brand); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; color: var(--cream); margin: 0; }
.logo-ko { font-family: "Jua", "Pretendard Variable", sans-serif; font-size: 24px; letter-spacing: -0.01em; }
.logo-en { font-family: "Libre Baskerville", Georgia, serif; font-size: 10.5px; letter-spacing: .06em; margin-top: 4px; opacity: .9; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--cream); letter-spacing: .02em; opacity: .9; }
.nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav .nav-cta { background: var(--cream); color: var(--brand); opacity: 1; }
.nav .nav-cta:hover { background: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 5px 0; }

/* Labels / titles */
.label { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: .12em; margin: 0 0 14px; }
.label-sm { font-size: 12px; }
.label-light { color: var(--green-light); }
.section { padding: 120px 0; }
.section-tint { background: var(--green-tint); }
.section-green { background: var(--green-deep); color: var(--white); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-bottom: 14px; }
.section-desc { color: var(--ink-soft); font-size: 16px; margin: 0 0 48px; }
.center-desc { margin-left: auto; margin-right: auto; }

/* Photo placeholders — 실제 사진으로 교체 */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(160deg, #E6F1EC 0%, #D4E9E2 100%);
  color: var(--green-mid); font-size: 13px; font-weight: 500; border-radius: var(--radius);
  padding: 12px; opacity: .95;
}
.ph-wide { aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
.ph-sq { aspect-ratio: 1; }
.ph-clip { aspect-ratio: 9 / 16; }

/* Hero */
.hero { position: relative; }
.hero-photo {
  position: relative; height: min(68vh, 620px); min-height: 380px; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(160deg, #EEF5F1 0%, #CFE5DB 100%);
  background-size: cover; background-position: center;
}
.hero-leaf { position: absolute; right: 6%; bottom: -30px; height: 115%; color: var(--green); opacity: .5; }
.hero-photo-label { position: absolute; left: 20px; bottom: 16px; font-size: 12px; color: var(--green-mid); opacity: .7; }
.hero-copy { text-align: center; padding-top: 72px; padding-bottom: 40px; }
.hero-brand { font-size: 12px; letter-spacing: .3em; color: var(--ink-soft); margin: 0 0 22px; font-weight: 600; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 700; color: var(--green-deep); margin-bottom: 18px; }
.hl { color: var(--green); }
.lead { font-size: 16px; color: var(--ink-soft); margin: 0 0 36px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Stats */
.stats { padding: 40px 0 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; padding: 34px 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--green); line-height: 1.2; letter-spacing: -0.03em; }
.stat small { font-size: .5em; font-weight: 700; margin-left: 2px; }
.stat span { font-size: 14px; color: var(--ink-soft); }

/* About */
.prose { font-size: 17px; color: var(--ink-soft); margin: 0 0 18px; }
.prose strong { color: var(--green-deep); }
.divider { display: block; width: 1px; height: 56px; background: var(--green); margin: 44px auto; opacity: .5; }
.quote { font-size: 19px; color: var(--ink); margin: 0; }
.quote strong { color: var(--green); }
.sign { margin-top: 28px; font-size: 14px; font-weight: 600; color: var(--green-deep); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--white); border-radius: var(--radius); display: flex; flex-direction: column; }
.service-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-no { font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .1em; }
.service h3 { font-size: 21px; margin: 6px 0 12px; }
.service p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }
.service p strong { color: var(--ink); }
.chips { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12px; font-weight: 600; color: var(--green-deep); background: var(--green-tint); padding: 5px 11px; border-radius: 999px; }
.more-link { margin-top: auto; color: var(--green); font-weight: 700; font-size: 14px; text-decoration: none; }
.more-link:hover { text-decoration: underline; }

/* Programs */
.feature { margin: 24px 0 96px; }
.feature-title { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--green-deep); margin-bottom: 14px; }
.feature-desc { color: var(--ink-soft); font-size: 16px; margin: 0 0 36px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.program-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.program h3 { font-size: 17px; margin: 16px 0 6px; }
.program p { margin: 0 0 8px; font-size: 14px; color: var(--ink-soft); }
.for { font-size: 12px; font-weight: 600; color: var(--green); }
.note { margin: 48px 0 0; font-size: 14px; color: var(--ink-soft); }

/* Clips */
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.clip { text-decoration: none; }
.clip .ph { position: relative; font-size: 0; }
.clip .ph::after {
  content: ""; position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%2300704A'/%3E%3C/svg%3E") center/22px no-repeat;
}
.clip p { margin: 12px 0 0; font-size: 15px; font-weight: 600; }
.clip:hover p { color: var(--green); }
.more { margin-top: 32px; }

/* Targets */
.targets { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.target { padding: 30px 24px; border-bottom: 1px solid var(--line); }
.target:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.target h3 { font-size: 18px; margin-bottom: 4px; }
.target p { margin: 0; color: var(--green); font-size: 14px; font-weight: 600; }

/* History */
.history { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.history-group { background: var(--white); border-radius: var(--radius); padding: 28px; }
.history-group h3 { font-size: 15px; color: var(--green); margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.history-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.history-group li { display: flex; gap: 16px; }
.h-date { font-size: 13px; color: var(--ink-soft); font-weight: 600; min-width: 62px; padding-top: 2px; }
.history-group strong { font-size: 16px; }
.history-group li p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.history-group li.empty { opacity: .45; }
.review { margin: 56px auto 0; text-align: center; max-width: 640px; }
.review p { font-size: 20px; color: var(--green-deep); margin: 0 0 10px; font-weight: 600; }
.review cite { font-style: normal; font-size: 13px; color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 2px solid var(--green); }
.steps li { padding: 26px 20px 0 0; }
.step-no { display: block; font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .1em; margin-bottom: 8px; }
.steps strong { font-size: 18px; }
.steps p { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 20px 36px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--green); font-weight: 300; }
.faq[open] summary::after { content: "−"; }
.faq p { margin: 0 0 22px; color: var(--ink-soft); }
.faq a { color: var(--green); }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.contact-info p { color: rgba(255,255,255,.8); }
.ask-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 8px; }
.ask-list li { padding-left: 22px; position: relative; font-weight: 500; }
.ask-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-light); font-weight: 800; }
.contact-phone { display: block; font-size: 30px; font-weight: 800; color: var(--white); text-decoration: none; margin: 0 0 18px; letter-spacing: -0.01em; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: rgba(255,255,255,.85); }
.contact-list span { display: inline-block; width: 52px; color: var(--green-light); font-weight: 700; }
.contact-list a { color: var(--white); }

.contact-form { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 32px; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--green-light); }
.contact-form b { color: #9FE0C3; }
.contact-form input:not([type=radio]):not([type=checkbox]), .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid transparent;
  background: var(--white); color: var(--ink); font: inherit; font-size: 15px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(212,233,226,.6); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.type-group legend { font-size: 14px; font-weight: 600; color: var(--green-light); margin-bottom: 8px; padding: 0; }
.type-group label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: var(--white); cursor: pointer; }
.type-group label:has(input:checked) { background: var(--white); color: var(--green-deep); border-color: var(--white); }
.type-group input { accent-color: var(--green); }
.contact-form .agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.8); }
.contact-form .agree input { margin-top: 3px; accent-color: var(--green); }
.form-status { margin: 0; font-size: 14px; color: #9FE0C3; min-height: 1em; }
.form-status.error { color: #FFC9B8; }

/* Footer */
.site-footer { background: #142621; color: rgba(255,255,255,.7); padding: 40px 0 24px; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer p { margin: 4px 0; }
.logo-footer { color: var(--cream); align-items: flex-start; margin-bottom: 12px; }
.site-footer .muted { color: rgba(255,255,255,.45); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.copy { text-align: center; margin: 28px 0 0; color: rgba(255,255,255,.4); font-size: 13px; }

.fab { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr; }
  .program-list { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .services .service { flex-direction: row; }
  .services .ph-wide { width: 42%; aspect-ratio: auto; border-radius: var(--radius) 0 0 var(--radius); }
}
@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--brand); border-top: 1px solid rgba(243,235,203,.15); padding: 8px 20px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(243,235,203,.15); font-size: 15px; }
  .nav .nav-cta { margin-top: 12px; border: 0; }
  .br-pc { display: none; }
  .hero-photo { height: 44vh; min-height: 280px; }
  .hero-copy { padding-top: 48px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services .service { flex-direction: column; }
  .services .ph-wide { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius) var(--radius) 0 0; }
  .feature { margin-bottom: 72px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .program-list { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .clips { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 8px; }
  .clip { flex: 0 0 62%; scroll-snap-align: start; }
  .history { grid-template-columns: 1fr; }
  .targets { grid-template-columns: 1fr 1fr; }
  .target { padding: 22px 14px; }
  .target:not(:nth-child(3n)) { border-right: 0; }
  .target:nth-child(odd) { border-right: 1px solid var(--line); }
  .target h3 { font-size: 16px; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--green); row-gap: 0; }
  .steps li { padding: 0 0 26px 20px; }
  .contact-form { padding: 20px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .fab {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    justify-content: center; padding: 15px; border-radius: 999px; font-weight: 700;
    background: var(--green); color: var(--white); text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.2);
    transition: opacity .2s, transform .2s;
  }
  .fab.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .site-footer { padding-bottom: 96px; }
}

.contact-form .agree a { color: var(--white); }

/* 개인정보 처리방침 */
.policy { padding: 64px 0 96px; }
.policy h1 { font-size: clamp(26px, 3.4vw, 34px); color: var(--green-deep); margin-bottom: 12px; }
.policy .intro { color: var(--ink-soft); margin: 0 0 40px; }
.policy h2 { font-size: 18px; color: var(--green-deep); margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy p, .policy li { color: var(--ink-soft); font-size: 15px; }
.policy ul { padding-left: 20px; }
.policy table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
.policy th, .policy td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.policy th { background: var(--green-tint); color: var(--green-deep); width: 28%; font-weight: 600; }
.policy .back { display: inline-block; margin-top: 48px; color: var(--green); font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .policy th { width: 36%; } }

/* 서브 페이지 헤더 (메뉴 없이 문의 버튼만) */
.nav-simple .nav-cta { background: var(--cream); color: var(--brand); }
.nav-simple .nav-cta:hover { background: var(--white); }
