:root {
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #121a2d;
  --muted: #667085;
  --line: #dfe7f3;
  --primary: #1d35a8;
  --primary-2: #243cd3;
  --primary-soft: rgba(29, 53, 168, 0.09);
  --accent: #19b6c8;
  --accent-2: #5d7cff;
  --dark: #0c1530;
  --dark-2: #101f48;
  --success: #0c8a4b;
  --warning: #ad7a00;
  --danger: #b4342b;
  --shadow: 0 24px 70px rgba(18, 38, 84, 0.12);
  --shadow-soft: 0 14px 40px rgba(18, 38, 84, 0.08);
  --radius: 26px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(93, 124, 255, 0.13), transparent 35rem),
    radial-gradient(circle at 90% 0%, rgba(25, 182, 200, 0.12), transparent 34rem),
    var(--bg);
  line-height: 1.72;
  word-break: keep-all;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 2rem)); }
.section { padding: 7rem 0; position: relative; }
.muted { background: linear-gradient(180deg, rgba(255,255,255,0.55), #eef4ff 100%); }
.dark { background: radial-gradient(circle at 0% 0%, rgba(25,182,200,0.22), transparent 28rem), linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: #f7f9ff; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(246, 248, 253, 0.86);
  border-bottom: 1px solid rgba(223, 231, 243, 0.8);
}

.site-header.compact { position: relative; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; min-width: max-content; }
.brand-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.brand-mark img, .brand img { width:55px; height: 55px; object-fit: contain; }
.brand strong { display: block; font-size: 2.5rem; letter-spacing: 0.0em; color: #1f2aa5;}
.brand span span, .brand-text > span, .brand > div span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.15; }

/* 상단 헤더 로고: 회사명 2줄 높이에 맞춰 PC에서 조금 크게 표시 */
.site-header .brand {
  gap: 0.55rem;
}

.site-header .brand-mark {
  width: 66px;
  height: 66px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  flex: 0 0 66px;
}

.site-header .brand-mark img {
  width: 60px;
  height: 60px;
}

.site-header .brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-header .brand strong {
  line-height: 1.05;
}

.site-header .brand-text > span {
  line-height: 1.25;
  margin-top: 0.28rem;
}
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav a { color: var(--muted); font-weight: 750; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 0.45rem 0.7rem; }

.stagger-title span { display: block; }
.stagger-title span:nth-child(1) { margin-left: 0; }
.stagger-title span:nth-child(2) { margin-left: 1.7em; }
.stagger-title span:nth-child(3) { margin-left: 3.4em; }

.stagger-title span span {
  display: inline;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border-radius: 999px; padding: 0.88rem 1.35rem; border: 1px solid transparent;
  font-weight: 800; transition: 0.2s ease; cursor: pointer;
}
.button.small { padding: 0.68rem 1rem; font-size: 0.9rem; }
.button.large { min-height: 54px; }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 54%, var(--accent-2) 100%); box-shadow: 0 18px 40px rgba(29, 53, 168, 0.28); }
.button.primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(29, 53, 168, 0.34); }
.button.ghost { border-color: rgba(29, 53, 168, 0.14); background: rgba(255,255,255,0.72); color: var(--text); }
.button.ghost:hover { border-color: rgba(29, 53, 168, 0.3); transform: translateY(-1px); }
.button.invert { background: #fff; color: var(--primary); box-shadow: 0 16px 36px rgba(0,0,0,0.18); }
.button.ghost.invert { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.24); box-shadow: none; }

.button:disabled,
.button.primary:disabled,
.button.large:disabled {
  background: #cbd5e1 !important;
  color: #64748b !important;
  box-shadow: none !important;
  cursor: not-allowed;
  transform: none !important;
  opacity: 1;
}

.button:disabled:hover,
.button.primary:disabled:hover,
.button.large:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.hero { padding: 5.8rem 0 6.6rem; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.94) 0%, rgba(247,250,255,0.78) 44%, rgba(235,241,255,0.9) 100%),
    radial-gradient(circle at 88% 25%, rgba(29, 53, 168, 0.18), transparent 24rem);
  z-index: -1;
}
.hero-grid, .two-col { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr); gap: 2.4rem; align-items: center; }
.hero-copy h1, .hero-subpage h1 { font-size: clamp(2.25rem, 5vw, 4.7rem); line-height: 1.08; margin: 0.75rem 0 1.15rem; letter-spacing: -0.055em; }
.hero-subpage h1 { font-size: clamp(2rem, 4vw, 3.35rem); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 740px; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.72rem; margin-top: 1.6rem; }
.hero-trust span, .pill-grid span {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.62rem 0.92rem; border-radius: 999px;
  background: var(--primary-soft); border: 1px solid rgba(29, 53, 168, 0.12); font-weight: 800; color: #243c97; font-size: 0.92rem;
}
.hero-card {
  position: relative; padding: 2.2rem; border-radius: 34px; background: rgba(255,255,255,0.78);
  border: 1px solid rgba(29, 53, 168, 0.12); box-shadow: var(--shadow); overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; inset: -45% -35% auto auto; width: 360px; height: 360px; border-radius: 999px; background: rgba(29,53,168,0.08); }
.hero-logo-wrap { position: relative; width: min(320px, 78%); aspect-ratio: 1; margin: 0 auto 1.4rem; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, #fff 0%, #f1f5ff 70%); }
.hero-logo-wrap img { width: 78%; height: 78%; object-fit: contain; }
.hero-card strong { display: block; font-size: 1.55rem; line-height: 1.35; letter-spacing: -0.03em; }
.hero-card p { color: var(--muted); margin-bottom: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.5rem; }
.eyebrow.light { color: #a7f3ff; }
.section-heading { text-align: center; max-width: 840px; margin: 0 auto 2.25rem; }
.section-heading.left, .section-heading.left.slim { text-align: left; margin-left: 0; }
.section-heading h2, .intro-grid h2, .strength-grid h2 { font-size: clamp(1.85rem, 3vw, 2.9rem); margin: 0.7rem 0 0.8rem; line-height: 1.18; letter-spacing: -0.04em; }
.section-heading p, .intro-grid p { color: var(--muted); margin: 0; }

.card { background: rgba(255,255,255,0.88); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.55rem; box-shadow: var(--shadow-soft); }
.card.soft { padding: 1.2rem; background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(236,242,255,0.96)); }
.card.emphasis, .emphasis { background: linear-gradient(180deg, #1f48d9 0%, #112b81 100%); color: #fff; border: 0; }
.card.emphasis p, .card.emphasis li, .emphasis p, .emphasis li { color: rgba(255,255,255,0.9); }
.grid.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.intro-section { background: #fff; }

.hero p,
.intro-section p, 
.muted p,
.solution p,
.solution-card p,
.dark p,
.process p { 
  text-align: justify;
  word-break: keep-all;
  line-height: 1.8;
}

.intro-grid { grid-template-columns: 0.95fr 1.05fr; }
.mini-cards { display: grid; gap: 1rem; }
.mini-card { padding: 1.35rem; }
.mini-card b { color: var(--primary); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.mini-card h3 { margin: 0.45rem 0 0.3rem; }
.mini-card p { margin: 0; color: var(--muted); }

.service-grid, .stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.service-grid.refined { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -35px; top: -45px; width: 125px; height: 125px; border-radius: 50%; background: rgba(29,53,168,0.06); }
.service-card h3, .stat-card strong, .timeline-item h3 { margin: 0 0 0.5rem; }
.service-card p { color: var(--muted); margin: 0 0 1rem; }
.service-card ul { margin: 0; padding-left: 1.1rem; color: #43506a; }
.service-card li { margin: 0.25rem 0; }
.service-no { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-weight: 900; margin-bottom: 1rem; }
.highlight-card { background: linear-gradient(180deg, #162b70 0%, #102155 100%); color: #fff; }
.highlight-card p, .highlight-card li { color: rgba(255,255,255,0.83); }
.highlight-card .service-no { background: rgba(255,255,255,0.13); color: #fff; }

.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.solution-card { min-height: 160px; padding: 1.25rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: 0.2s ease; }
.solution-card:hover { transform: translateY(-3px); border-color: rgba(29, 53, 168, 0.2); }
.solution-card h3 { margin: 0 0 0.5rem; font-size: 1.08rem; }
/* 솔루션 제공 분야 카드 설명문 정렬 */
.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: justify;
  text-justify: inter-word;
  word-break: keep-all;
  line-height: 1.8;
}

.pill-grid { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin: 0.9rem 0; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.light-list li { color: rgba(255,255,255,0.86); }
.strength-grid p { color: rgba(255,255,255,0.82); }
.strength-panel { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 30px; padding: 1.7rem; backdrop-filter: blur(8px); }
.strength-panel h3 { margin-top: 0; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.timeline-item { position: relative; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 1.5rem; }
.refined-timeline .timeline-item { background: #fff; border-color: var(--line); box-shadow: var(--shadow-soft); }
.timeline-item span { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.14); font-weight: 900; margin-bottom: 1rem; }
.refined-timeline .timeline-item span { background: var(--primary-soft); color: var(--primary); }
.timeline-item p { color: rgba(255,255,255,0.8); margin: 0; }
.refined-timeline .timeline-item p { color: var(--muted); }
.stat-card { min-height: 132px; }
.stat-card strong { display: block; font-size: 1.05rem; }
.stat-card span { color: var(--muted); }
.cta-banner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.15rem; border-radius: calc(var(--radius) + 6px); background: linear-gradient(135deg, #13265d 0%, #1d35a8 55%, #19a9c8 100%); color: #fff; box-shadow: 0 24px 70px rgba(21,40,99,0.3); }
.cta-banner h2 { margin: 0.5rem 0; line-height: 1.25; letter-spacing: -0.035em; }
.cta-banner p { color: rgba(255,255,255,0.88); }

.site-footer { background: #0b1328; color: #d6ddef; padding: 2.7rem 0 1rem; }
.site-footer.simple { padding-top: 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr; gap: 2rem; }
.footer-grid strong { display: inline-block; margin-bottom: 0.8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.5rem 0; color: #b6c3df; }
.footer-copy, .footer-bottom small { color: #a3b1cd; }
.footer-brand .brand-mark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.footer-brand span span, .footer-brand .brand-text > span { color: #b6c3df; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom.single-line { margin-top: 0; padding-top: 0; border-top: 0; }

.board-section {
  padding-top: 8rem;
}

.hero-subpage { padding-top: 6.5rem; padding-bottom: 3rem; }
.board-layout, .inquiry-layout { align-items: start; }
.filter-bar { display: flex; gap: 0.8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.filter-bar label, .inquiry-form label { display: block; }
.filter-bar .grow { flex: 1; min-width: 220px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 16px; padding: 0.9rem 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: rgba(29,53,168,0.45); box-shadow: 0 0 0 4px rgba(29,53,168,0.09); }
label > span { display: inline-block; font-weight: 800; margin-bottom: 0.5rem; }
.field-grid { display: grid; gap: 1rem; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inquiry-form { display: grid; gap: 1rem; }
.checkbox-group { display: grid; gap: 0.8rem; }
.checkbox { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 4px; }
.turnstile-wrap { display: grid; gap: 0.35rem; }
.field-help { color: var(--muted); margin: 0; font-size: 0.92rem; }
.inline-message { padding: 0.9rem 1rem; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 1rem; }
.inline-message.info { background: rgba(29,53,168,0.06); color: #2949a7; }
.inline-message.success { background: rgba(12,138,75,0.08); color: var(--success); border-color: rgba(12,138,75,0.18); }
.inline-message.error { background: rgba(180,52,43,0.08); color: var(--danger); border-color: rgba(180,52,43,0.2); }
.hidden { display: none !important; }
.post-list { display: grid; gap: 1rem; }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, border-color 0.2s ease; }
.post-card:hover { transform: translateY(-2px); border-color: rgba(29,53,168,0.2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.6rem; }
.badge { display: inline-flex; align-items: center; padding: 0.35rem 0.65rem; border-radius: 999px; font-size: 0.82rem; font-weight: 800; border: 1px solid transparent; }
.badge.category { background: rgba(29,53,168,0.08); color: var(--primary); }
.badge.status { background: rgba(0,163,163,0.08); color: #0b7c7c; }
.post-card h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.post-card p { margin: 0; color: var(--muted); }
.post-card footer { margin-top: 0.95rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.93rem; }
.info-panel, .sticky-card { position: sticky; top: 1.2rem; }
.post-article h2 { margin-top: 0; }
.post-article .post-top { display: grid; gap: 0.5rem; margin-bottom: 1.2rem; }
.post-article .post-body { white-space: pre-wrap; color: var(--text); }
.post-article .attachment-list { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.post-article .attachment-list a { display: inline-flex; padding: 0.8rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(29,53,168,0.04); color: var(--primary); font-weight: 800; }
.legal-copy h2 { margin-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

#contact {
  scroll-margin-top: 120px;
}

.contact-section {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

@media (max-width: 768px) {
  #contact {
    scroll-margin-top: 96px;
  }

  .contact-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 1100px) {
  .service-grid.refined, .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hero-grid, .two-col, .footer-grid, .timeline, .grid.cols-3, .service-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .two-col, .board-layout, .inquiry-layout, .intro-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .section { padding: 3.8rem 0; }
  .hero { padding-top: 4.2rem; }
  .nav-toggle { display: block; }

  /* 모바일 상단 로고: 로고와 2줄 문구를 함께 보이게 중앙 정렬 */
  .site-header .brand {
    gap: 0.45rem;
    min-width: 0;
  }

  .site-header .brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    flex: 0 0 56px;
  }

  .site-header .brand-mark img {
    width: 50px;
    height: 50px;
  }

  .site-header .brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .site-header .brand strong {
    font-size: 1.65rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .site-header .brand-text > span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 0.22rem;
    white-space: nowrap;
  }

  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + 0.5rem); display: none; flex-direction: column; align-items: stretch; gap: 0.2rem; padding: 0.9rem; background: rgba(255,255,255,0.98); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav.no-mobile-collapse { position: static; display: flex; flex-direction: row; padding: 0; background: transparent; border: 0; box-shadow: none; gap: 0.8rem; }
  .grid.cols-3, .service-grid, .service-grid.refined, .solution-grid, .timeline, .stat-grid, .field-grid.two, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy h1, .hero-subpage h1 { font-size: 2.25rem; }
  .hero-card { padding: 1.45rem; }
  .hero-logo-wrap { width: 230px; }
  .hero-trust, .cta-actions, .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-bottom { flex-direction: column; }
  .post-card footer { flex-direction: column; }
}

#inquiry-form {
  scroll-margin-top: 120px;
}
/* 상담예약 관리자 화면 */
.admin-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.admin-sidebar {
  position: sticky;
  top: 1.2rem;
}
.admin-login-form,
.admin-filter-form,
.admin-update-form {
  display: grid;
  gap: 1rem;
}
.soft-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.3rem 0;
}
.admin-main {
  display: grid;
  gap: 1rem;
}
.admin-list {
  display: grid;
  gap: 0.85rem;
}
.admin-item {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 22px;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  color: var(--text);
}
.admin-item:hover {
  border-color: rgba(29, 53, 168, 0.25);
  transform: translateY(-1px);
}
.admin-item strong,
.admin-item span,
.admin-item small {
  display: block;
}
.admin-item strong {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}
.admin-item span,
.admin-item small {
  color: var(--muted);
}
.badge.success-badge {
  background: rgba(12, 138, 75, 0.1);
  color: var(--success);
}
.badge.muted-badge {
  background: rgba(102, 112, 133, 0.1);
  color: var(--muted);
}
.admin-detail {
  display: grid;
  gap: 1.1rem;
}
.admin-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.admin-detail-head h2 {
  margin: 0.4rem 0 0;
}
.readonly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.readonly-grid > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: rgba(29, 53, 168, 0.035);
}
.readonly-grid strong,
.readonly-grid span {
  display: block;
}
.readonly-grid strong {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.admin-original {
  border: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.9);
  border-radius: 22px;
  padding: 1.1rem;
}
.admin-original h3,
.admin-original h4 {
  margin-top: 0;
}
.admin-original pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  line-height: 1.7;
  margin: 0;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.button.danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.button.danger:hover {
  filter: brightness(0.96);
}

@media (max-width: 980px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
  }
  .readonly-grid {
    grid-template-columns: 1fr;
  }
}

.sms-result { line-height: 1.65; }
.sms-instruction-card {
  display: grid;
  gap: 0.6rem;
  margin: 0.8rem 0;
  padding: 0.9rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(12, 138, 75, 0.18);
}
.sms-instruction-card div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sms-instruction-card span { color: var(--muted); font-weight: 800; }
.sms-instruction-card strong { color: var(--text); font-size: 1.05rem; }
.badge.danger-badge {
  background: rgba(180, 52, 43, 0.1);
  color: var(--danger);
}
.sms-check-box {
  background: rgba(12, 138, 75, 0.055);
  border-color: rgba(12, 138, 75, 0.16);
}
.compact-actions { margin-top: -0.3rem; }

.agree-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 0.9em;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

.agree-link:hover {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.45);
  color: #1e40af;
}

.nav-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  font-family: inherit;
}

.nav-back-btn:hover {
  background: rgba(37, 99, 235, 0.15);
  color: #1e40af;
}
.inline-message.warning {
  background: rgba(180, 118, 43, 0.09);
  color: #875a13;
  border-color: rgba(180, 118, 43, 0.22);
}
.consultation-closed-box {
  line-height: 1.7;
}
.admin-setting-box {
  display: grid;
  gap: 0.9rem;
}
.admin-setting-form {
  display: grid;
  gap: 0.9rem;
}
.consultation-status-card {
  display: grid;
  gap: 0.25rem;
  border-radius: 18px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  background: rgba(102, 112, 133, 0.08);
}
.consultation-status-card strong,
.consultation-status-card span {
  display: block;
}
.consultation-status-card.success {
  background: rgba(12, 138, 75, 0.08);
  border-color: rgba(12, 138, 75, 0.18);
  color: var(--success);
}
.consultation-status-card.paused {
  background: rgba(180, 52, 43, 0.08);
  border-color: rgba(180, 52, 43, 0.2);
  color: var(--danger);
}
.consultation-status-card span {
  color: inherit;
  opacity: 0.9;
  line-height: 1.55;
}
.compact-actions {
  gap: 0.55rem;
}

.consultation-status-banner {
  margin: 0 0 1.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
  border: 1px solid rgba(79, 70, 229, 0.18);
  box-shadow: 0 18px 45px rgba(30, 41, 59, 0.08);
}

.consultation-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: #3730a3;
  font-size: 0.9rem;
  font-weight: 800;
}

.consultation-status-title {
  margin: 0 0 0.55rem;
  color: #1e1b4b;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.45;
}

.consultation-status-message {
  margin: 0;
  color: #475569;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
  white-space: pre-line;
}

/* 관리자 화면은 작업 화면이므로 상단 여백을 줄인다 */
.admin-hero {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.admin-hero .container {
  max-width: 1080px;
}

.admin-hero h1 {
  margin-bottom: 1rem;
}

.admin-hero .lead {
  max-width: 820px;
}

/* 관리자 본문이 상단 설명 영역과 너무 멀어지지 않도록 조정 */
.admin-section {
  padding-top: 2rem;
}

/* 관리자 화면에서는 카드 시작 위치가 너무 아래로 밀리지 않게 조정 */
.admin-layout {
  align-items: flex-start;
}

/* 고정 상단바 때문에 메뉴 이동 시 소제목이 가려지지 않도록 보정 */
#about,
#consulting,
#solutions,
#strength,
#process,
#contact,
#inquiry-form,
#public-board {
  scroll-margin-top: 110px;
}

@media (max-width: 760px) {
  #about,
  #consulting,
  #solutions,
  #strength,
  #process,
  #contact,
  #inquiry-form,
  #public-board {
    scroll-margin-top: 92px;
  }
}
