/* 포낙보청기 원주무실센터 — Figma v2 시안 구현 */
:root {
  --cream: #F9F6F1;
  --beige: #EFEAE2;
  --green: #2E6B34;
  --green-dark: #1C291F;
  --lime: #6BC24A;
  --mint: #F1F6F0;
  --ink: #1F2421;
  --gray: #5E635E;
  --line: #E4DED4;
  --todo: #D9542F;
  --radius: 20px;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.todo { color: var(--todo); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 8px; font-weight: 700; font-size: 16px;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: #24572A; }
.btn--lime { background: var(--lime); color: #fff; box-shadow: 0 8px 24px rgba(107,194,74,.35); }
.btn--lime:hover { background: #5DB13E; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.85); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--line { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; max-width: 1340px; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__img { width: 96px; height: auto; }
.logo__text { padding-left: 14px; border-left: 1px solid var(--line); }
.logo__text { display: flex; flex-direction: column; line-height: 1.35; }
.logo__text strong { font-size: 19px; }
.logo__text small { font-size: 12px; color: var(--green); font-weight: 500; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header__tel { padding: 12px 20px; font-size: 16px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .2s; }

/* Hero */
.hero { position: relative; min-height: 760px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,18,.82) 0%, rgba(15,23,18,.45) 55%, rgba(15,23,18,.05) 100%); }
.hero__content { position: relative; padding-top: 80px; padding-bottom: 80px; }
.pill { display: inline-block; background: var(--lime); color: #fff; font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.32; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 28px; }
.hero__lead { font-size: 19px; line-height: 1.7; color: #E6EAE6; max-width: 640px; margin-bottom: 36px; }

/* Strengths */
.strengths { background: var(--green); color: #fff; }
.strengths__list { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 44px; padding-bottom: 44px; }
.strengths__list li { display: flex; align-items: center; gap: 16px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.2); }
.strengths__list li:first-child { border-left: 0; padding-left: 0; }
.strengths svg { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: #B5E39C; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.strengths strong { display: block; font-size: 18px; }
.strengths span { font-size: 14px; color: #C7DBC9; }

/* Sections */
.section { padding: 130px 0; }
.section--cream { background: var(--cream); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--green); letter-spacing: .16em; margin-bottom: 16px; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.38; letter-spacing: -0.02em; font-weight: 700; }
.lead { font-size: 18px; color: var(--gray); line-height: 1.75; margin-top: 16px; }
.section-head { max-width: 640px; }
.section-head--center { text-align: center; margin: 0 auto 100px; }

/* Director */
.director__inner { display: grid; grid-template-columns: 520px 1fr; gap: 90px; align-items: center; }
.director__photo { position: relative; width: 520px; height: 620px; }
.director__bg { position: absolute; left: 80px; top: 60px; width: 440px; height: 560px; border-radius: 24px; background: var(--beige); }
.director__photo img { position: absolute; left: 0; top: 0; width: 440px; height: 560px; object-fit: cover; object-position: center top; border-radius: 24px; background: #E8E2D8; }
.name-tag { position: absolute; left: 260px; top: 520px; background: #fff; padding: 18px 28px 18px 24px; border-radius: 14px; box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.name-tag strong { display: block; font-size: 20px; }
.name-tag span { font-size: 13px; color: var(--green); font-weight: 500; }
.director__text h2 { margin-bottom: 4px; }
.checks { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 500; }
.checks li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.lead strong { color: var(--ink); font-weight: 700; }
.career { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.career h3 { font-size: 15px; font-weight: 700; color: var(--green); margin-bottom: 14px; }
.career .checks { margin: 0; padding: 0; border: 0; gap: 10px; }
.career .checks li { font-size: 16px; align-items: flex-start; }
.career .checks li::before { width: 20px; height: 20px; margin-top: 3px; background-size: 14px; }
.dots { display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 16px; font-size: 15px; color: var(--gray); line-height: 1.6; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.signature { margin-top: 32px; font-size: 20px; font-weight: 700; color: var(--green); }
.signature span { display: block; font-size: 13px; font-weight: 500; color: var(--gray); margin-top: 4px; letter-spacing: .02em; }

/* Steps */
.steps { display: grid; gap: 100px; }
.step { display: grid; grid-template-columns: 600px 1fr; gap: 90px; align-items: center; }
.step img { width: 600px; height: 440px; object-fit: cover; border-radius: var(--radius); }
.step--rev { grid-template-columns: 1fr 600px; }
.step--rev img { order: 2; }
.step__num { display: block; font-size: 56px; font-weight: 900; color: var(--lime); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.step h3 { font-size: 32px; line-height: 1.4; letter-spacing: -0.015em; margin-bottom: 20px; }
.step p { font-size: 18px; color: var(--gray); line-height: 1.78; max-width: 520px; }

/* Gallery */
.space-head, #space .section-head { margin-bottom: 56px; }
.gallery { display: grid; grid-template-columns: 500px 1fr 1fr; grid-template-rows: 310px 310px; gap: 20px; }
.gallery figure { border-radius: 16px; overflow: hidden; background: var(--beige); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery__main { grid-row: span 2; }

/* Support */
.support { display: grid; grid-template-columns: 1fr 560px; gap: 80px; align-items: center; }
.support .btn { margin-top: 28px; }
.support__card { background: var(--mint); border: 1px solid #CCE6C7; border-radius: 24px; padding: 44px 48px; }
.support__label { color: var(--green); font-weight: 500; margin-bottom: 8px; }
.support__amount { display: flex; align-items: baseline; gap: 8px; font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.support__amount strong { font-size: 64px; font-weight: 900; color: var(--green); letter-spacing: -0.03em; line-height: 1.1; }
.support__card ol { display: grid; gap: 14px; counter-reset: s; }
.support__card li { counter-increment: s; display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 500; }
.support__card li::before { content: counter(s); background: var(--green); color: #fff; font-size: 14px; font-weight: 700; min-width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; }
.note { font-size: 13px; color: var(--gray); margin-top: 24px; }

/* FAQ */
.faq { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 14px; padding: 0 32px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 26px 0; font-size: 19px; font-weight: 700; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; font-size: 26px; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq .q { color: var(--lime); font-weight: 900; }
.faq details p { font-size: 17px; color: var(--gray); line-height: 1.78; padding: 0 0 26px 28px; margin-top: -6px; }

/* Location */
.location { display: grid; grid-template-columns: 1fr 700px; gap: 70px; align-items: stretch; }
.location .section-head { margin-bottom: 36px; }
.nap { display: grid; gap: 22px; margin-bottom: 36px; }
.nap div { display: grid; grid-template-columns: 80px 1fr; gap: 24px; }
.nap dt { color: var(--green); font-weight: 700; }
.nap dd { font-size: 18px; font-weight: 500; }
.nap dd small { font-size: 15px; color: var(--gray); font-weight: 400; }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 540px; background: var(--beige); }
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.map-card:hover img { transform: scale(1.03); }
.map-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.45)); }
.map-card__btn { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 1; background: #fff; color: var(--green); font-weight: 700; padding: 14px 24px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.2); white-space: nowrap; }

/* Closing CTA */
.closing { background: var(--mint); padding: 110px 0; text-align: center; }
.closing__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.closing__line { width: min(640px, 100%); height: 4px; background: var(--lime); }
.closing h2 { font-size: 30px; color: var(--green); }
.closing__divider { width: 240px; height: 1px; background: #CCD6CC; }
.closing__main { font-size: 26px; font-weight: 700; }
.closing__sub { font-size: 18px; color: var(--gray); }
.call-btn { display: flex; flex-direction: column; align-items: center; background: var(--green); color: #fff; padding: 22px 72px; border-radius: 10px; transition: background .15s, transform .15s; }
.call-btn:hover { background: #24572A; transform: translateY(-2px); }
.call-btn strong { font-size: 40px; line-height: 1.3; }
.call-btn span { font-size: 17px; color: #D9EBD9; font-weight: 500; }
.closing__book { color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.closing__foot { font-size: 15px; color: var(--gray); }

/* Footer */
.footer { background: var(--green-dark); color: #94A396; padding: 56px 0; }
.footer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 20px; flex-wrap: wrap; }
.footer__top strong { color: #fff; font-size: 20px; }
.footer__top nav { display: flex; gap: 28px; font-size: 14px; color: #B3BFB5; }
.footer__info { font-size: 13px; line-height: 1.85; }
.footer .todo { color: #F08C6C; }

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .director__inner { grid-template-columns: 440px 1fr; gap: 60px; }
  .director__photo { width: 440px; height: 600px; }
  .director__bg { left: 40px; width: 400px; }
  .director__photo img { width: 400px; }
  .name-tag { left: 180px; }
  .step, .step--rev { grid-template-columns: 1fr 1fr; gap: 60px; }
  .step img { width: 100%; }
  .support { grid-template-columns: 1fr 1fr; gap: 50px; }
  .location { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 300px 1fr; gap: 50px; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header__tel { display: none; }
  .nav { position: fixed; top: 84px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .strengths__list { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .strengths__list li:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .section { padding: 84px 0; }
  .section-head--center { margin-bottom: 56px; }
  .hero { min-height: 640px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(15,23,18,.45) 0%, rgba(15,23,18,.82) 70%); }
  .hero__content { padding-top: 160px; padding-bottom: 56px; align-self: flex-end; }
  .hero__lead { font-size: 17px; }
  .director__inner, .support, .faq, .location { grid-template-columns: 1fr; gap: 48px; }
  .career { grid-template-columns: 1fr; gap: 28px; }
  .director__photo { width: 100%; max-width: 400px; height: auto; aspect-ratio: 400 / 520; margin: 0 auto; }
  .director__bg { display: none; }
  .director__photo img { position: static; width: 100%; height: 100%; }
  .name-tag { left: auto; right: -8px; top: auto; bottom: -20px; }
  .steps { gap: 64px; }
  .step, .step--rev { grid-template-columns: 1fr; gap: 24px; }
  .step--rev img { order: 0; }
  .step img { height: 300px; }
  .step__num { font-size: 40px; margin-bottom: 8px; }
  .step h3 { font-size: 24px; margin-bottom: 12px; }
  .step p { font-size: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 200px 200px; gap: 12px; }
  .gallery__main { grid-row: auto; grid-column: span 2; }
  .support__card { padding: 32px 28px; }
  .support__amount strong { font-size: 48px; }
  .faq details { padding: 0 20px; }
  .faq summary { font-size: 17px; padding: 20px 32px 20px 0; }
  .faq details p { padding-left: 0; font-size: 16px; }
  .map-card { min-height: 360px; }
  .call-btn { padding: 20px 40px; }
  .call-btn strong { font-size: 32px; }
  .closing__main { font-size: 22px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.1); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; height: 64px; font-size: 17px; font-weight: 700; }
  .mobile-bar a:first-child { background: #fff; color: var(--green); }
  .mobile-bar a:last-child { background: var(--green); color: #fff; }
}

@media (max-width: 520px) {
  .header__inner { height: 72px; }
  .nav { top: 72px; }
  .logo__img { width: 72px; }
  .logo__text { padding-left: 10px; }
  .logo__text strong { font-size: 17px; }
  .strengths__list { grid-template-columns: 1fr; }
  .strengths__list li, .strengths__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .btn-row .btn { flex: 1 1 100%; }
  .nap div { grid-template-columns: 64px 1fr; gap: 12px; }
}

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