/* 2026-11 브랜드 개편 — 딥 네이비 · 골드 · 크림
   기존 파스텔 테마(assets/pastel-theme.css) 위에 덧씌워, 레이아웃·일러스트·도구 카드는 그대로 두고 색과 새 섹션만 바꿉니다.
   골드(#C6A15B)는 핵심 CTA·강조에만 쓰고, 글자는 대비 4.5:1 이상인 네이비/차콜/짙은 골드(#7a5c1e)를 씁니다. */
:root {
  --navy: #162C43; --gold-brand: #C6A15B; --cream: #F8F5EE; --charcoal: #27313B;
  --primary: #162C43; --primary-dark: #0d1d2e; --aubergine: #162C43; --aubergine-deep: #0d1d2e; --aubergine-soft: #1e3a57;
  --ink: #162C43; --text: #27313B; --text-soft: #5b6670; --gold: #7a5c1e; --accent: #7a5c1e;
  --bg: #F8F5EE; --parchment: #F8F5EE; --surface: #ffffff; --white: #ffffff;
  --line: #e6dfd0; --line-strong: #cdbf9f; --bg-soft: #f1ece1; --bg-tint: #e9eef4;
  --gradient: linear-gradient(125deg, #162C43, #2a4a6b);
}
body { background: var(--bg); }
header, header.scrolled { background: rgba(248, 245, 238, .96); }
.brand-orbit { color: var(--navy); }

/* 버튼: 1순위 CTA = 골드, 2순위 = 네이비 외곽선 */
.btn-primary, .login-btn { background: var(--navy); color: #fff !important; }
.btn-primary:hover, .login-btn:hover { background: var(--primary-dark); }
.btn-cta { background: var(--gold-brand); color: var(--navy) !important; border: 1.5px solid var(--gold-brand); font-weight: 750; border-radius: 999px; }
.btn-cta:hover { background: #d8b874; border-color: #d8b874; }
.btn-ghost { color: var(--navy); border-color: var(--line-strong); }
.nav-menu .nav-cta { background: var(--gold-brand); color: var(--navy) !important; border-radius: 999px; font-weight: 750; padding-inline: 14px !important; }
.nav-menu .nav-cta:hover { background: #d8b874; }
.pastel-home .nav-menu > li > a { font-size: 13.5px; }

/* Hero */
.pastel-home .hero h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.28; }
.pastel-home .hero h1 em { color: var(--navy); }
.pastel-home .hero h1 em::after { content: ''; display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--gold-brand); margin-top: 14px; }
.pastel-home .hero .lead { font-size: 16px; max-width: 520px; color: var(--text); }
.hero-badge { color: var(--gold) !important; }
.hero-keywords li { background: #f3ead6; color: #5f4710; border-color: #e1cc9f; }
.br-m { display: none; }
.explore-link { background: #eef2f6 !important; }
.explore-link:nth-of-type(3n+2) { background: #f3ead6 !important; }
.explore-link:nth-of-type(3n) { background: #f1ece1 !important; }
.explore-arrow { color: var(--navy); }

/* 방문자별 빠른 길 */
.paths-band { background: var(--surface); border-block: 1px solid var(--line); padding: 28px 0; }
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path-card { border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; background: var(--bg); }
.path-card h2 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.path-card p { font-size: 14px; color: var(--text-soft); margin-bottom: 10px; }
.path-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; counter-reset: st; }
.path-steps li { counter-increment: st; }
.path-steps li + li::before { content: '→'; margin: 0 6px 0 2px; color: var(--gold-brand); font-weight: 700; }
.path-steps a { font-size: 14px; font-weight: 650; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* 고민 카드 */
.problems-band { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.problem-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--gold-brand); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.problem-q { font-size: 16.5px; font-weight: 750; color: var(--navy); line-height: 1.55; }
.problem-a { font-size: 13.5px; color: var(--gold); font-weight: 650; }
.problem-links { margin-top: auto; display: grid; gap: 6px; font-size: 14px; }
.problem-links a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.problem-links a:first-child { font-weight: 700; }

/* 해결 방식 + 프로그램 */
.programs-band { background: var(--surface); border-block: 1px solid var(--line); }
.how-steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: how; }
.how-steps li { counter-increment: how; background: var(--bg); border-radius: 18px; padding: 18px; font-size: 14px; color: var(--text); display: grid; gap: 4px; }
.how-steps li::before { content: counter(how, decimal-leading-zero); font-size: 12px; font-weight: 800; color: var(--gold); }
.how-steps b { color: var(--navy); font-size: 15.5px; }
.sub-title { font-size: 20px; color: var(--navy); margin-bottom: 16px; }
.prog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.prog-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--navy); color: #e8edf3; text-decoration: none; transition: transform .2s; }
.prog-card:hover { transform: translateY(-3px); color: #fff; }
.prog-card b { color: #fff; font-size: 17px; line-height: 1.45; }
.prog-card span:not(.prog-letter) { font-size: 14px; line-height: 1.7; }
.prog-card small { margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12.5px; color: #e3c47f; }
.prog-letter { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--gold-brand); color: var(--navy); font-weight: 800; }
.section-more { margin-top: 22px; font-weight: 700; }
.section-more a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }

/* 교육 이력 */
.trust-band { background: var(--bg); }
.trust-history { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-history a { background: var(--surface) !important; }
.trust-history time { color: var(--gold) !important; }

/* 칼럼 · 유튜브 */
.learn-band { background: var(--surface); border-block: 1px solid var(--line); }
.learn-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.learn-card { background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.learn-card h3 { font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.learn-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.learn-list a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; line-height: 1.6; }
.learn-more { font-weight: 700; color: var(--navy); }
.learn-yt p { font-size: 14.5px; color: var(--text); margin-bottom: 14px; }
.learn-yt .fa-youtube { color: #c4302b; }
.learn-note { font-size: 13.5px !important; margin-top: 14px; color: var(--text-soft) !important; }

/* 교육 철학 */
.philosophy-band { background: var(--bg); }
.philosophy-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.philosophy-figure { margin: 0; text-align: center; }
.philosophy-figure img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; border: 8px solid #f3ead6; margin: 0 auto; }
.philosophy-figure figcaption { font-size: 12.5px; color: var(--text-soft); margin-top: 8px; }
.philosophy-quote { font-size: 17px; font-weight: 650; color: var(--navy); border-left: 4px solid var(--gold-brand); padding: 6px 0 6px 16px; margin: 6px 0 16px; }
.philosophy-band p { line-height: 1.85; }
.philosophy-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-slogan { color: var(--gold); font-weight: 700; margin-top: 6px; }

/* 커뮤니티 · 문의 CTA 색 조화 */
.community-inner { background: #e9eef4 !important; }
.community .btn-light { background: var(--navy) !important; color: #fff !important; }
.community .eyebrow { color: var(--gold) !important; }

@media (max-width: 1100px) {
  .problem-grid, .prog-grid, .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .paths-grid, .problem-grid, .prog-grid, .how-steps, .learn-grid, .trust-history { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 20px; }
  .philosophy-figure img { width: 150px; height: 150px; }
  .br-m { display: inline; }
  .pastel-home .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .hero-buttons .btn { width: 100%; justify-content: center; min-height: 50px; }
  .nav-menu .nav-cta { text-align: center; margin-top: 6px; }
}

/* ===== 교육 문의 페이지 ===== */
.page-hero h1 em { color: var(--navy); font-style: normal; }
.inquiry-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.req { color: #a3352a; font-weight: 700; margin-left: 2px; }
.form-required-note { font-size: 13px; color: var(--text-soft); margin-bottom: 14px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-group input, .form-group textarea, .form-group select { font-size: 16px; } /* iOS 확대 방지 */
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(22, 44, 67, .12); }
.form-group.error input, .form-group.error textarea, .form-group.error select { border-color: #a3352a; background: #fdf3f1; }
.error-message { color: #a3352a; font-size: 13px; margin-top: 6px; display: none; }
.error-message.show { display: block; }
.privacy-box { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 10px; }
.privacy-box summary { cursor: pointer; font-weight: 650; color: var(--navy); }
.privacy-box ul { margin: 8px 0 2px; padding-left: 18px; line-height: 1.7; color: var(--text); }
.consent-label { display: flex !important; align-items: flex-start; gap: 8px; font-size: 14.5px !important; font-weight: 600; cursor: pointer; }
.consent-label input { width: 20px !important; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy); }
.submit-btn { background: var(--gold-brand) !important; color: var(--navy) !important; font-weight: 800; min-height: 52px; }
.submit-btn:hover:not(:disabled) { background: #d8b874 !important; }
.submit-btn:disabled { opacity: .7; cursor: progress; }
.inquiry-result { margin-top: 16px; border-radius: 14px; padding: 14px 16px; font-size: 14.5px; line-height: 1.7; outline: none; }
.inquiry-result.success { background: #e7f2ea; color: #1d4a2c; border: 1px solid #b9d8c2; }
.inquiry-result.error { background: #fdf0ee; color: #7d261c; border: 1px solid #efc6be; }
.inquiry-result a { color: inherit; font-weight: 700; text-decoration: underline; }
a.topic-card { color: inherit; text-decoration: none; display: block; transition: transform .2s, box-shadow .2s; }
a.topic-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(22, 44, 67, .08); }
.contact-list small a { color: var(--navy); }
button.hamburger { border: 0; background: transparent; }

/* ===== 첫 화면: 강사 소개 (2026-11-09) ===== */
.pastel-home .hero h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.3; }
.pastel-home .hero h1 em::after { margin-top: 12px; }
.hero-slogan { font-size: 18px; font-weight: 700; color: var(--gold); margin: 14px 0 10px; }
.hero-profile-facts { display: grid; gap: 8px; margin: 0 0 22px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; max-width: 560px; }
.hero-profile-facts > div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: 14px; line-height: 1.6; }
.hero-profile-facts dt { font-weight: 750; color: var(--navy); }
.hero-profile-facts dd { margin: 0; color: var(--text); }
.hero-profile-facts a { color: var(--navy); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.hero-more { margin-top: -10px; font-size: 14px; }
.hero-more a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pastel-home .hero-profile { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 34px 28px 26px; text-align: center; box-shadow: 0 18px 44px rgba(22, 44, 67, .08); max-width: 440px; justify-self: center; align-self: center; }
.hero-profile img { width: min(260px, 70%); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid #f3ead6; margin: 0 auto 16px; display: block; }
.hero-profile-name { font-size: 20px; font-weight: 800; color: var(--navy); margin: 0; }
.hero-profile-name span { display: block; font-size: 13px; font-weight: 500; color: var(--text-soft); margin-top: 2px; }
.hero-profile-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 14px 0 10px; }
.hero-profile-tags li { font-size: 12.5px; font-weight: 650; padding: 4px 11px; border-radius: 999px; background: #f3ead6; color: #5f4710; border: 1px solid #e1cc9f; }
.hero-profile-note { font-size: 12.5px; color: var(--text-soft); margin: 0; }
.philosophy-illust img { width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 22px; border: 6px solid #fff; box-shadow: 0 10px 28px rgba(22, 44, 67, .08); }
.philosophy-band .philosophy-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 760px) {
  .pastel-home .hero-profile { padding: 22px 18px 18px; border-radius: 24px; }
  .hero-profile img { width: 150px; }
  .hero-profile-facts > div { grid-template-columns: 1fr; gap: 0; }
  .pastel-home .hero h1 { font-size: clamp(26px, 7.4vw, 34px); }
  .philosophy-band .philosophy-grid { grid-template-columns: 1fr; }
}
.pastel-home .hero { padding-top: 120px; }
.pastel-home .hero h1 em { display: block; }
@media (max-width: 760px) { .pastel-home .hero { padding-top: 104px; } }

/* 메인: 정적 후기 근거 (assets/site.css 의 같은 이름 스타일과 맞춤) */
.home-reviews { margin-top: 34px; }
.home-reviews .trust-reviews-head h3 { font-size: 19px; color: var(--navy); }
.review-stats { list-style: none; padding: 0; margin: 0 0 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.review-stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.review-stats b { display: block; font-size: 24px; color: var(--navy); }
.review-stats span { font-size: 13px; color: var(--text-soft); }
.stat-note { font-size: 12.5px; color: var(--text-soft); }
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; }
.quote-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold-brand); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0; font-size: 15px; line-height: 1.75; color: var(--navy); font-weight: 600; }
.quote-card figcaption { font-size: 13px; color: var(--text-soft); margin-top: auto; }
.quote-card figcaption a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .review-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quote-grid { grid-template-columns: 1fr; } }

/* ===== 수업 후기 섹션 (강사 소개 바로 다음) ===== */
.pastel-home .reviews-band, .reviews-band { background: var(--cream, #F8F5EE); border-top: 1px solid rgba(22,44,67,.08); }
.reviews-band .home-reviews { margin-top: 30px; }
.theme-grid { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.theme-card { background: #fff; border: 1px solid rgba(22,44,67,.12); border-top: 4px solid var(--gold-brand, #C6A15B); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.theme-card .theme-count { font-size: 28px; line-height: 1; color: var(--navy, #162C43); }
.theme-card h3 { margin: 0; font-size: 18px; color: var(--navy, #162C43); }
.theme-card blockquote { margin: 4px 0 0; padding: 0; font-size: 15px; line-height: 1.6; color: #3d4a57; }
.theme-card blockquote p { margin: 0; }
.theme-card footer { margin-top: 6px; font-size: 13px; }
.theme-card footer a { color: var(--navy, #162C43); }
.reviews-band .stat-note { font-size: 13px; }
@media (max-width: 860px) { .theme-grid { grid-template-columns: 1fr; } }
.review-stats:has(li:nth-child(5)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 860px) { .review-stats:has(li:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.theme-card blockquote { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; }
.theme-card blockquote footer { background: none !important; padding: 0 !important; }
.reviews-band .home-reviews .review-stats { margin-top: 18px; }
/* 상단 메뉴 8개(강사 소개·수업 후기 …) — 좁은 가로 폭에서 로그인 버튼이 넘치지 않게 */
@media (min-width: 901px) and (max-width: 1100px) {
  .pastel-home .nav-menu > li > a { font-size: 12px; padding-inline: 5px; }
  .pastel-home .nav-menu .nav-cta { padding-inline: 10px !important; }
  .pastel-home .nav-menu .nav-youtube { font-size: 0 !important; }
  .pastel-home .nav-menu .nav-youtube i { font-size: 15px; }
}
@media (max-width: 900px) {
  .pastel-home .nav-menu { visibility: hidden; pointer-events: none; background: var(--bg); }
  .pastel-home .nav-menu.active { visibility: visible; pointer-events: auto; }
  .pastel-home .nav-menu > li > a { font-size: 14px; padding: 12px 16px; }
  .pastel-home .nav-menu .nav-youtube { font-size: 14px !important; }
}

/* ===== 메인 자주 묻는 질문 ===== */
.faq-band { background: #fffefa; border-top: 1px solid rgba(22,44,67,.08); }
.home-faq { display: grid; gap: 10px; max-width: 880px; }
.home-faq details { background: #fff; border: 1px solid rgba(22,44,67,.12); border-radius: 14px; padding: 0; }
.home-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy, #162C43); list-style: none; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: '+'; float: right; color: var(--gold-brand, #C6A15B); font-size: 20px; line-height: 1; }
.home-faq details[open] summary::after { content: '−'; }
.home-faq details p { margin: 0; padding: 0 20px 18px; line-height: 1.75; color: #3d4a57; }

/* ===== 대학 교수님 대상 강의 강조 ===== */
.prof-highlight { background: #162C43; color: #F8F5EE; border-radius: 22px; padding: 24px 26px; margin: 0 0 26px; border: 2px solid #C6A15B; }
.prof-highlight .prof-eyebrow { margin: 0 0 6px; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; color: #C6A15B; }
.prof-highlight .prof-title { margin: 0 0 6px; font-size: 22px; line-height: 1.35; color: #fff; }
.prof-highlight .prof-title b { color: #E9C77F; }
.prof-highlight .prof-title span { font-size: .8em; font-weight: 600; color: #d9dee4; }
.prof-highlight .prof-sub { margin: 0 0 14px; font-size: 14.5px; color: #d9dee4; }
.prof-highlight .prof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prof-highlight .prof-list li { background: rgba(255,255,255,.07); border: 1px solid rgba(198,161,91,.45); border-radius: 14px; padding: 12px 14px; }
.prof-highlight .prof-list time { display: block; font-size: 13px; font-weight: 800; color: #E9C77F; }
.prof-highlight .prof-list a { color: #fff; text-decoration: none; display: grid; gap: 2px; }
.prof-highlight .prof-list a:hover b { text-decoration: underline; }
.prof-highlight .prof-list b { font-size: 15.5px; }
.prof-highlight .prof-list span { font-size: 12.5px; color: #cfd6de; line-height: 1.5; }
@media (max-width: 760px) { .prof-highlight { padding: 20px 18px; } .prof-highlight .prof-list { grid-template-columns: 1fr; } .prof-highlight .prof-title { font-size: 19px; } }
.history-item.is-prof { border: 2px solid #C6A15B; background: #fffaf0; }
.kind-prof { background: #162C43 !important; color: #E9C77F !important; }
.prof-line { margin: 10px 0 0; font-size: 15px; }
.prof-line a { color: #162C43; text-decoration: none; border-bottom: 2px solid #C6A15B; }
.hero-profile-facts .fact-prof { background: #162C43; border-radius: 12px; padding: 8px 10px; margin: 2px -10px; }
.hero-profile-facts .fact-prof dt { color: #E9C77F !important; }
.hero-profile-facts .fact-prof dd, .hero-profile-facts .fact-prof dd b { color: #fff !important; }
.hero-profile-facts .fact-prof a { color: #E9C77F !important; }
.trust-history li.is-prof { grid-column: 1 / -1; }
.trust-history li.is-prof a { border: 2px solid #C6A15B; background: #fffaf0; }
