/* ==========================================================================
   샘물 심리 상담소 — 공통 스타일시트
   ========================================================================== */

:root {
  /* Brand palette — 청록/블루 계열 (맑은 샘물) */
  --color-primary: #0f766e;
  --color-primary-dark: #0b5c56;
  --color-primary-light: #14b8a6;
  --color-secondary: #3b82f6;
  --color-accent: #f0fdfa;
  --color-bg: #ffffff;
  --color-bg-soft: #f7fbfa;
  --color-bg-alt: #eef7f6;
  --color-text: #1f2d2b;
  --color-text-muted: #5b6b69;
  --color-text-soft: #7c8b89;
  --color-border: #e0ebe9;
  --color-white: #ffffff;

  --font-base: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic",
    "맑은 고딕", sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(15, 118, 110, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 118, 110, 0.1);
  --container-width: 1120px;
  --header-height: 76px;
}

/* 전체 요소의 너비 계산 방식 통일 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ---- Reset ---- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---- Section spacing / headings ---- */
.section {
  padding: 88px 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-accent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 34px);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 640px;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head.center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-kakao {
  background: #fee500;
  color: #391b1b;
}

.btn-kakao:hover {
  background: #f4d900;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-accent);
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: var(--header-height);
  flex-wrap: nowrap;
}

/* 로고 */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-primary-dark);

  /* 샘물 심리 상담소 줄바꿈 방지 */
  white-space: nowrap;
  flex-shrink: 0;
}

.logo svg {
  flex-shrink: 0;
}

.logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 가운데 메뉴 */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
  flex-shrink: 1;
}

.main-nav a {
  padding: 9px 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

/* 오른쪽 버튼 */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;

  /* 버튼 아래로 떨어지는 것 방지 */
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.header-actions a,
.header-actions .btn {
  white-space: nowrap;
}

/* 오른쪽 버튼을 PC에서 조금 작게 */
.header-actions .btn {
  padding-left: 18px;
  padding-right: 18px;
  font-size: 14px;
}

/* 모바일 메뉴 버튼 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 108px;
  background:
    radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.13), transparent 34%),
    linear-gradient(180deg, #fbfefd 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: var(--color-accent);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  margin-bottom: 22px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.hero h1 .accent {
  color: var(--color-primary);
}

.hero-desc {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  max-width: 560px;
  line-height: 1.9;
}

.hero-trust {
  font-size: 15px;
  color: var(--color-primary-dark);
  font-weight: 700;
  margin-bottom: 30px;
  padding-left: 14px;
  border-left: 3px solid var(--color-primary-light);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  background:
    linear-gradient(
      145deg,
      #dff7f2 0%,
      #c8efe8 45%,
      #dceeff 100%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(15, 118, 110, 0.14);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.hero-visual svg {
  width: 62%;
  height: 62%;
}

.hero-visual-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.hero-visual-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.hero-visual-card strong {
  display: block;
  font-size: 14px;
  color: var(--color-text);
}

.hero-visual-card span {
  font-size: 13px;
  color: var(--color-text-soft);
}

/* ---- Feature cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 15px;
}

/* ---- Field / audience cards ---- */
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.field-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}

.field-card.field-adult {
  background: linear-gradient(160deg, #f0fdfa 0%, #e6f7f4 100%);
}

.field-card.field-teen {
  background: linear-gradient(160deg, #eff6ff 0%, #e6f0fe 100%);
}

.field-card .field-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.field-card.field-teen .field-tag {
  background: var(--color-secondary);
}

/* ---- Specialized counseling fields ---- */

.field-card.field-grief {
  background: linear-gradient(160deg, #fff8f3 0%, #fdf0e7 100%);
}

.field-card.field-grief .field-tag {
  background: #b7794b;
}

.field-card.field-senior {
  background: linear-gradient(160deg, #fffdf5 0%, #f7f1dc 100%);
}

.field-card.field-senior .field-tag {
  background: #8a7a45;
}
.field-card.field-test {
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 100%);
}

.field-card.field-test .field-tag {
  background: #7c6bb3;
}

.field-card.field-christian {
  background: linear-gradient(160deg, #f7faf7 0%, #e8f2ea 100%);
}

.field-card.field-christian .field-tag {
  background: #52735a;
}

.field-card.field-christian p {
  max-width: 760px;
}

 /* 다문화 상담 */
  
.field-card.field-multicultural {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #eef8f6 0%, #f4f7ff 50%, #fff8f1 100%);
  border-color: #cfe3df;
}

.field-card.field-multicultural .field-tag {
  background: #4f7f78;
}

.field-card.field-multicultural p {
  max-width: 820px;
}

.field-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.field-card p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  font-size: 13px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border);
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--color-text);
}

/* ---- Global online counseling ---- */

.global-counseling {
  background: #ffffff;
}

.global-counseling-box {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    #f0fdfa 0%,
    #f5f9ff 55%,
    #fffaf5 100%
  );
  border: 1px solid var(--color-border);
}

.global-counseling-content .section-title {
  margin-bottom: 18px;
}

.global-counseling-content .section-desc {
  max-width: 700px;
  line-height: 1.9;
}

.global-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.global-points span {
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.global-counseling-note {
  padding: 30px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
}

.global-counseling-note strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--color-primary-dark);
}

.global-counseling-note p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.8;
}


/* ---- Process steps ---- */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

/* ---- Process steps ---- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
}

.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
}

.process-step h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.process-arrow {
  display: none;
}

/* ---- Counselor / about summary ---- */
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ccfbf1 0%, #bfdbfe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.credential-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--color-text);
}

.credential-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}

.placeholder-note {
  display: inline-block;
  margin-top: 22px;
  font-size: 13px;
  color: var(--color-text-soft);
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

/* ---- FAQ / accordion ---- */
.accordion {
  border-top: 1px solid var(--color-border);
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
}

.accordion-trigger .q-mark {
  color: var(--color-primary);
  font-weight: 800;
  margin-right: 10px;
}

.accordion-trigger .chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--color-text-soft);
}

.accordion-item.open .accordion-trigger .chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-panel-inner {
  padding: 0 4px 22px 4px;
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--color-white);
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: 26px;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

/* ---- Cards: fee table ---- */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fee-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--color-white);
}

.fee-card.highlight {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  position: relative;
}

.fee-card .fee-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.fee-card .fee-price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.fee-card .fee-price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-soft);
}

.fee-card .fee-sub {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.fee-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fee-card ul li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
}

.fee-card ul li svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 3px;
}

.notice-box {
  margin-top: 32px;
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
}

.notice-box h4 {
  font-size: 15px;
  margin-bottom: 10px;
}

.notice-box ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.notice-box li {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  background: var(--color-white);
}

.contact-card.kakao {
  background: linear-gradient(160deg, #fffbe6 0%, #fff4b8 100%);
  border-color: #fee500;
}

.contact-card .contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.info-table {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-table-item {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}

.info-table-item h4 {
  font-size: 14px;
  color: var(--color-text-soft);
  margin-bottom: 8px;
  font-weight: 700;
}

.info-table-item p {
  font-size: 16px;
  font-weight: 700;
}

/* ---- Simple content page (privacy) ---- */
.doc-content h2 {
  font-size: 20px;
  margin: 40px 0 14px;
}

.doc-content h2:first-child {
  margin-top: 0;
}

.doc-content p,
.doc-content li {
  color: var(--color-text-muted);
  font-size: 15px;
  margin-bottom: 10px;
}

.doc-content ul {
  padding-left: 20px;
  list-style: disc;
}

.doc-content ul li {
  margin-bottom: 6px;
}

/* ---- Footer ---- */
.site-footer {
  background: #0c2b28;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-grid p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-col h5 {
  color: var(--color-white);
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero-grid,
  .about-split {
    grid-template-columns: 1fr;
      }

   .hero-visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .feature-grid,
  .field-grid,
  .fee-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-table {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field-card.field-multicultural {
  grid-column: auto;
}

.global-counseling-box {
  grid-template-columns: 1fr;
}

}

@media (max-width: 760px) {

  .section {
    padding: 60px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn-lg {
  padding: 17px 22px;
  font-size: 15px;
}

  .global-counseling-box {
    padding: 30px 22px;
  }

  .global-points {
    flex-direction: column;
  }

  /* 모바일 헤더 */
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 16px;
}

.logo {
  flex-shrink: 0;
  white-space: nowrap;
}

/* PC 메뉴는 모바일에서 숨김 */
.main-nav {
  display: none;
}

/* 상담문의 / 카카오 버튼은 상단에서 숨김 */
.header-actions .btn {
  display: none;
}

/* 햄버거 메뉴 버튼 표시 */
.nav-toggle {
 display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block !important;
  width: 24px !important;
  height: 3px !important;
  min-height: 3px;
  margin: 2px 0;
  background-color: #167f78 !important;
  border-radius: 3px;
  opacity: 1 !important;
  transform: none;
}

/* 모바일 메뉴 펼침 */
.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  padding: 12px 20px 18px;
  background: #ffffff;
  border-top: 1px solid #e5eeee;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.main-nav.open a {
  display: block;
  width: 100%;
  padding: 13px 4px;
  border-bottom: 1px solid #edf3f2;
  font-size: 15px;
}

  .global-points span {
    width: fit-content;
  }

  /* 모바일 Hero 안내 항목 */
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-meta-item {
  width: 100%;
  white-space: normal;
}

/* 모바일 WHY 샘물 */
.feature-grid {
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
}

.feature-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.section-head {
  width: 100%;
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.section-head.center {
  margin-left: 0;
  margin-right: 0;
}

.section-title,
.section-desc {
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
}

.section-title,
.section-desc {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* 모바일 상담 진행 절차 */
.process-list {
  grid-template-columns: 1fr;
  gap: 16px;
}

.process-step {
  width: 100%;
  box-sizing: border-box;
}

/* 모바일 상담 분야 카드 */
.field-grid {
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
}

.field-card {
  width: 100%;
  min-width: 0;
  padding: 28px 22px;
  box-sizing: border-box;
}

.field-card h3,
.field-card p {
  max-width: 100%;
  overflow-wrap: break-word;
}

.tag-list {
  max-width: 100%;
  flex-wrap: wrap;
}

/* 모바일 CTA */
.cta-banner {
  flex-direction: column;
  align-items: stretch;
  padding: 36px 22px;
  gap: 24px;
}

.cta-banner .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
}

/* 모바일 Footer */
.site-footer {
  padding: 48px 24px;
}

.footer-grid {
  grid-template-columns: 1fr !important;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-grid > * {
  min-width: 0;
}

.footer-grid p {
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
  box-sizing: border-box;
}

}
/* ========================================
   Counseling CTA
======================================== */

.counseling-cta {
  padding: 90px 0;
  background:
    linear-gradient(
      135deg,
      rgba(239, 247, 244, 0.98),
      rgba(248, 250, 247, 0.98)
    );
}

.counseling-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  padding: 56px 64px;

  background: #ffffff;
  border: 1px solid rgba(44, 89, 76, 0.12);
  border-radius: 28px;

  box-shadow:
    0 20px 50px rgba(40, 70, 60, 0.08);
}

.counseling-cta-text {
  max-width: 700px;
}

.counseling-cta .section-label {
  display: inline-block;

  margin-bottom: 18px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #668678;
}

.counseling-cta h2 {
  margin: 0 0 22px;

  font-size: 38px;
  line-height: 1.35;
  letter-spacing: -0.04em;

  color: #233d35;
}

.counseling-cta p {
  margin: 0;

  max-width: 650px;

  font-size: 17px;
  line-height: 1.85;

  color: #65736e;
}

.counseling-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;

  min-width: 190px;
}

.counseling-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 26px;

  border-radius: 12px;

  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.counseling-cta-actions .btn:hover {
  transform: translateY(-2px);
}

.counseling-cta-actions .btn-primary {
  color: #ffffff;
  background: #315f50;

  box-shadow:
    0 10px 24px rgba(49, 95, 80, 0.18);
}

.counseling-cta-actions .btn-primary:hover {
  background: #284f43;
}

.counseling-cta-actions .btn-light {
  color: #315f50;

  background: #f4f8f6;
  border: 1px solid #dce8e3;
}

.counseling-cta-actions .btn-light:hover {
  background: #eaf2ef;
}


/* ========================================
   Footer
======================================== */

.site-footer {
  padding: 72px 0 26px;

  background: #203b33;
  color: #ffffff;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    minmax(260px, 1.5fr)
    repeat(3, minmax(150px, 1fr));

  gap: 55px;

  padding-bottom: 55px;
}

.footer-logo {
  display: inline-block;

  margin-bottom: 8px;

  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.04em;

  color: #ffffff;
  text-decoration: none;
}

.footer-en {
  margin: 0 0 25px;

  font-size: 12px;
  letter-spacing: 0.04em;

  color: rgba(255, 255, 255, 0.52);
}

.footer-message {
  margin: 0;

  font-size: 15px;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.72);
}

.footer-column h3 {
  margin: 3px 0 20px;

  font-size: 15px;
  font-weight: 700;

  color: #ffffff;
}

.footer-column ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.footer-column li {
  margin-bottom: 11px;
}

.footer-column a {
  font-size: 14px;

  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;

  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin: 0 0 8px;

  font-size: 14px;
  line-height: 1.7;

  color: rgba(255, 255, 255, 0.66);
}

.footer-contact-link {
  display: inline-block;

  margin-top: 15px;

  font-weight: 700;

  color: #d9ebe4 !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;

  font-size: 12px;

  color: rgba(255, 255, 255, 0.42);
}

.footer-policy {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-policy a,
.footer-policy span {
  font-size: 12px;

  color: rgba(255, 255, 255, 0.46);
  text-decoration: none;
}

.footer-policy a:hover {
  color: #ffffff;
}


/* ========================================
   Counseling CTA / Footer Responsive
======================================== */

@media (max-width: 960px) {

  .counseling-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .counseling-cta-actions {
    flex-direction: row;
    width: 100%;
  }

  .counseling-cta-actions .btn {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   Counseling Anchor Scroll
========================================= */

html {
  scroll-behavior: smooth;
}

.field-card {
  scroll-margin-top: 120px;
}

/* =========================================
   Books & Publications
========================================= */

.books-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.book-card {
  background: #ffffff;
  border: 1px solid #dfe8e5;
  border-radius: 18px;
  padding: 28px;
  min-height: 220px;
}

.book-type {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef9f6;
  color: #16786f;
  font-size: 14px;
  font-weight: 700;
}

.book-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.45;
  color: #22312e;
}

.book-card p {
  margin: 0;
  color: #687875;
  line-height: 1.7;
}

.books-note {
  margin-top: 28px;
  text-align: center;
  color: #71807d;
  font-size: 15px;
}

@media (max-width: 960px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   상담 칼럼 카테고리
========================= */

.column-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.column-category {
  padding: 10px 18px;
  border: 1px solid #cfe5e2;
  border-radius: 999px;
  background: #ffffff;
  color: #365c59;
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: 0.2s ease;
}

.column-category:hover {
  background: #f0f9f7;
  border-color: #80c7bf;
}

.column-category.active {
  background: #0f7f78;
  border-color: #0f7f78;
  color: #ffffff;
}

/* =========================
   상담 칼럼 카드
========================= */

.column-list-section {
  padding-top: 0;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.column-card {
  background: #ffffff;
  border: 1px solid #e2eeec;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 70, 65, 0.06);
}

.column-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.column-card-category {
  display: inline-block;
  margin-bottom: 14px;
  color: #0f7f78;
  font-size: 14px;
  font-weight: 700;
}

.column-card-title {
  margin: 0 0 14px;
  color: #203432;
  font-size: 21px;
  line-height: 1.5;
}

.column-card-desc {
  margin: 0 0 22px;
  color: #60706e;
  font-size: 15px;
  line-height: 1.8;
}

.column-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: #8a9694;
  font-size: 13px;
}

.column-card-link {
  margin-top: auto;
  color: #0f7f78;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   상담 칼럼 빈 카테고리 안내
========================= */

.column-empty {
  grid-column: 1 / -1;
  padding: 60px 30px;
  text-align: center;
  background: #f7fbfa;
  border: 1px solid #dcecea;
  border-radius: 18px;
}

.column-empty p {
  margin: 0 0 10px;
  color: #203432;
  font-size: 20px;
  font-weight: 700;
}

.column-empty span {
  color: #71807e;
  font-size: 15px;
}

/* =========================
   상담 칼럼 상세 페이지
========================= */

.article-section {
  padding-top: 0;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px;
  background: #ffffff;
  border: 1px solid #e2eeec;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(20, 70, 65, 0.05);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5efed;
  color: #7b8987;
  font-size: 14px;
}

.article-content > p {
  margin: 0 0 24px;
  color: #4f6260;
  font-size: 17px;
  line-height: 1.9;
}

.article-content h2 {
  margin: 42px 0 18px;
  color: #203432;
  font-size: 24px;
  line-height: 1.5;
}

.article-notice {
  margin-top: 42px;
  padding: 22px 24px;
  background: #f3f9f8;
  border-left: 4px solid #0f7f78;
  border-radius: 10px;
}

.article-notice p {
  margin: 0;
  color: #5d6f6d;
  font-size: 14px;
  line-height: 1.8;
}

.article-back-link {
  display: inline-block;
  margin-top: 32px;
  color: #0f7f78;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

/* ========================================
   Private Counseling Board
======================================== */

.board-notice {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.board-notice p {
  margin: 0 0 24px;
  color: var(--color-text-muted);
  line-height: 1.8;
  word-break: keep-all;
}

@media (max-width: 760px) {
  .board-notice {
    padding: 26px 20px;
  }

  .board-notice .btn {
    width: 100%;
  }
}

/* 상담 문의 작성 폼 */

.board-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.board-form .form-group {
  margin-bottom: 24px;
}

.board-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--color-text);
}

.board-form input,
.board-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
}

.board-form textarea {
  resize: vertical;
  line-height: 1.7;
}

.board-form input:focus,
.board-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.board-form .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 760px) {
  .board-form {
    padding: 26px 20px;
  }

  .board-form .form-actions {
    flex-direction: column;
  }

  .board-form .form-actions .btn {
    width: 100%;
  }
}

/* 개인정보 수집·이용 동의 */

.privacy-consent {
  padding: 18px 20px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.consent-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  font-weight: 500 !important;
  line-height: 1.6;
}

.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: var(--color-primary);
}

.consent-check a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ========================================
   Counseling Board Admin
======================================== */

.board-admin-actions {
  max-width: 1000px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: flex-end;
}

.board-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.board-table th,
.board-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.board-table th {
  background: var(--color-bg-soft);
  font-weight: 700;
  color: var(--color-text);
}

.board-table td {
  color: var(--color-text-muted);
}

.board-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 760px) {
  .board-admin-actions {
    justify-content: stretch;
  }

  .board-admin-actions .btn {
    width: 100%;
  }

  .board-table-wrap {
    border-radius: var(--radius-sm);
  }
}

/* ========================================
   Counseling Board Detail
======================================== */

.board-detail {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.board-detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.board-detail-row strong,
.board-detail-content strong {
  color: var(--color-text);
}

.board-detail-row span {
  color: var(--color-text-muted);
  overflow-wrap: anywhere;
}

.board-detail-content {
  padding: 26px 0;
}

.board-detail-content p {
  margin: 16px 0 0;
  padding: 22px;
  min-height: 160px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  line-height: 1.8;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.board-detail .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 760px) {
  .board-detail {
    padding: 26px 20px;
  }

  .board-detail-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .board-detail .form-actions {
    flex-direction: column;
  }

  .board-detail .form-actions .btn {
    width: 100%;
  }
}

/* 관리자 게시판 문의 상태 */

.board-table tbody tr.is-new {
  font-weight: 600;
}

.board-table tbody tr.is-new td:first-child::before {
  content: "●";
  margin-right: 6px;
  font-size: 9px;
}

.board-table tbody tr.is-done {
  opacity: 0.72;
}

/* ========================================
   Counseling Category Options
======================================== */

.category-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.category-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.category-options label:hover {
  border-color: var(--color-primary);
}

.category-options input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--color-primary);
}

.category-options label:has(input[type="radio"]:checked) {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
}

@media (max-width: 760px) {
  .category-options {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Psychological Test Options
======================================== */

.psych-test-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.psych-test-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-weight: 600;
  cursor: pointer;
}

.psych-test-options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--color-primary);
}

.psych-test-options label:has(input[type="checkbox"]:checked) {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
}

.form-help {
  margin-top: 10px;
  color: var(--color-text-muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .psych-test-options {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Admin Counseling Category Filter
======================================== */

.board-filter {
  max-width: 1000px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.board-filter .btn {
  width: auto;
  padding: 10px 16px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .board-filter {
    gap: 8px;
  }

  .board-filter .btn {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
}

/* ========================================
   Admin Status Filter
======================================== */

.board-filter-status {
  max-width: 1000px;
  margin: -12px auto 24px;
  display: flex;
  justify-content: flex-start;
}

.board-filter-status .btn {
  width: auto;
  padding: 10px 18px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .board-filter-status .btn {
    width: 100%;
  }
}

/* ========================================
   Admin Sort
======================================== */

.board-sort {
  max-width: 1000px;
  margin: -12px auto 24px;
  display: flex;
  gap: 10px;
}

.board-sort .btn {
  width: auto;
  padding: 10px 18px;
  font-size: 14px;
}

@media (max-width: 760px) {
  .board-sort {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .board-sort .btn {
    width: 100%;
    text-align: center;
  }
}

/* 상담사 전용 CTA */

.counselor-partner-cta {
  padding-top: 20px;
  padding-bottom: 70px;
}

.counselor-partner-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 46px 42px;
  border: 1px solid #d7ebe7;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    #f6fffd 0%,
    #f9fcfb 100%
  );
}

.counselor-partner-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.counselor-partner-content .section-title {
  margin-bottom: 20px;
}

.counselor-partner-content .section-desc {
  margin: 0 auto 14px;
  line-height: 1.8;
}

.counselor-partner-note {
  margin: 26px 0 0;
  padding: 15px 18px;
  border-radius: 12px;
  background: #ecf8f5;
  color: #285f59;
  font-weight: 700;
  line-height: 1.7;
}

.counselor-partner-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

@media (max-width: 760px) {

  .counselor-partner-cta {
    padding-top: 10px;
    padding-bottom: 50px;
  }

  .counselor-partner-box {
    padding: 32px 20px;
    border-radius: 18px;
  }

  .counselor-partner-content {
    text-align: left;
  }

  .counselor-partner-content .section-desc {
    margin-bottom: 16px;
  }

  .counselor-partner-note {
    margin-top: 22px;
  }

  .counselor-partner-actions {
    display: block;
  }

  .counselor-partner-actions .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

.hero-counselor-entry {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-counselor-label {
  color: #58716d;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .hero-counselor-entry {
    margin-top: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .hero-counselor-label {
    text-align: center;
  }

  .hero-counselor-entry .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

.header-counselor-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(21px);
}

.header-counselor-stack .btn {
  margin: 0;
}

.btn-counselor-register {
  padding: 8px 16px;
  font-size: 13px;
}

 @media (max-width: 760px) {

  .header-counselor-stack {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    transform: none !important;
    margin-top: 16px;
  }

  .header-counselor-stack .btn {
    display: block !important;
  }

  .btn-counselor-register {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}

/* ========================================
   Mobile Header Final Fix
======================================== */

@media (max-width: 760px) {

  .site-header .container {
    height: 76px;
    padding: 0 16px;
    gap: 10px;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 17px;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  /* 모바일 상단에서는 상담 버튼 숨김 */
  .header-counselor-stack {
    display: none !important;
  }

  .header-actions > .btn {
    display: none !important;
  }

  .header-actions {
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* 햄버거 버튼만 표시 */
  .nav-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    display: block !important;
    width: 24px !important;
    height: 3px !important;
    background: #167f78 !important;
  }

  /* 펼쳐진 모바일 메뉴 */
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    padding: 12px 20px 18px;
    background: #ffffff;
    border-top: 1px solid #e5eeee;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .main-nav.open a {
    display: block;
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid #edf3f2;
  }
}

/* ========================================
   Notice Mobile Table Fix
======================================== */

@media (max-width: 760px) {

  .board-table-wrap {
    overflow-x: visible;
  }

  .board-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .board-table th,
  .board-table td {
    padding: 12px 10px;
    font-size: 13px;
    vertical-align: top;
  }

  .board-table th:first-child,
  .board-table td:first-child {
    width: 52px;
  }

  .board-table th:last-child,
  .board-table td:last-child {
    width: 88px;
  }

  .board-table td a {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.6;
  }
}

/* ========================================
   PC 상단 헤더 한 줄 정렬 보정
======================================== */

@media (min-width: 1000px) {

  /* 헤더 전체 */
  .site-header .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  /* 로고 줄바꿈 방지 */
  .site-logo,
  .logo,
  .brand {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 상단 메뉴 */
  .main-nav,
  .site-nav,
  nav {
    flex-wrap: nowrap;
  }

  /* 메뉴 글자 줄바꿈 방지 */
  .main-nav a,
  .site-nav a,
  nav a {
    white-space: nowrap;
  }

  /* 오른쪽 버튼 영역 */
  .header-actions {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    flex-shrink: 0;
  }

  /* 오른쪽 버튼 줄바꿈 방지 */
  .header-actions a,
  .header-actions .btn {
    white-space: nowrap;
  }
}
