/* ==========================================================================
   AI기업성장 Master - CSS Design Tokens & Styles
   (바탕화면 reversebusiness 검정 x 골드 럭셔리 다크 테마 적용)
   구조 변경 없이 순수 색감 및 무드만 세련되게 전환
   ========================================================================== */

:root {
  /* Dark & Gold Palette from Desktop index.html */
  --bg-primary: #07080A;
  --bg-secondary: #0D0F12;
  --bg-card: #14171C;
  --bg-card-hover: #1A1F26;
  
  --text-primary: #EBE2D2;      /* Ivory */
  --text-secondary: #B9B1A3;    /* Ivory Dim */
  --text-muted: #8A8478;        /* Mute */
  --text-on-dark: #07080A;      /* Dark text on Gold elements */

  --brand-navy: #EBE2D2;        /* Header & Titles in Ivory */
  --brand-navy-dark: #07080A;
  
  --brand-gold: #D6892A;        /* Primary Gold */
  --brand-gold-hi: #F2B45A;     /* Bright Accent Gold */
  --brand-gold-fill: rgba(214, 137, 42, 0.10);
  --brand-gold-fill-strong: rgba(214, 137, 42, 0.18);

  --brand-blue: #D6892A;        /* Primary CTA mapped to Gold */
  --brand-blue-hover: #F2B45A;  /* Hover CTA mapped to Bright Gold */
  --brand-accent-gold: #F2B45A;
  --brand-accent-gold-dark: #D6892A;
  --brand-accent-red: #EF4444;

  --border-light: rgba(214, 137, 42, 0.22);
  --border-soft: rgba(235, 226, 210, 0.09);
  --border-focus: #F2B45A;

  --status-error: #EF4444;
  --status-error-bg: rgba(239, 68, 68, 0.12);
  --status-success: #10B981;
  --status-success-bg: rgba(16, 185, 129, 0.12);
  --status-badge-bg: rgba(214, 137, 42, 0.15);
  --status-badge-text: #F2B45A;

  --font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-modal: 0 20px 50px rgba(0, 0, 0, 0.85);

  --container-max: 1200px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--brand-gold);
  color: var(--text-on-dark);
  padding: 8px 16px;
  z-index: 1000;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 10px;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.3;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--brand-gold-hi);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  touch-action: manipulation;
  letter-spacing: -0.2px;
}

.btn-primary {
  background-color: var(--brand-gold);
  color: var(--text-on-dark);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--brand-gold-hi);
  color: var(--text-on-dark);
  text-decoration: none;
  box-shadow: 0 0 15px rgba(242, 180, 90, 0.3);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-secondary:hover {
  background-color: var(--brand-gold-fill);
  border-color: var(--brand-gold);
  color: var(--brand-gold-hi);
  text-decoration: none;
}

.btn-accent {
  background-color: var(--brand-gold-hi);
  color: var(--text-on-dark);
  font-weight: 800;
}
.btn-accent:hover {
  background-color: #FCD34D;
  text-decoration: none;
}

.btn-sm {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 0.9rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background-color: var(--status-badge-bg);
  color: var(--status-badge-text);
  border: 1px solid rgba(214, 137, 42, 0.3);
}
.badge-gold {
  background-color: var(--brand-gold-fill);
  color: var(--brand-gold-hi);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(7, 8, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 80px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-wrapper:hover {
  text-decoration: none;
}

.header-logo {
  width: 160px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.nav-link:hover {
  color: var(--brand-gold-hi);
  text-decoration: none;
}
.nav-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: radial-gradient(circle at 50% 20%, rgba(214, 137, 42, 0.08) 0%, rgba(7, 8, 10, 0) 70%), linear-gradient(180deg, #07080A 0%, #0D0F12 100%);
  padding: 68px 0 60px;
  border-bottom: 1px solid var(--border-light);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--brand-gold-fill);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-gold-hi);
  margin-bottom: 22px;
}

.hero-title {
  font-size: 2.6rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  color: #FFFFFF;
  word-break: keep-all;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 34px;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Concerns Filter Section
   ========================================================================== */
.concerns-section {
  padding: 50px 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}
.section-title {
  font-size: 1.9rem;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.concerns-chips {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-btn {
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}
.chip-btn:hover {
  background-color: var(--brand-gold-fill);
  color: var(--brand-gold-hi);
  border-color: var(--brand-gold);
}
.chip-btn.active {
  background-color: var(--brand-gold);
  color: var(--text-on-dark);
  border-color: var(--brand-gold);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(214, 137, 42, 0.35);
}

/* ==========================================================================
   Services Grid Section
   ========================================================================== */
.services-section {
  padding: 68px 0;
  background-color: var(--bg-secondary);
}

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

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
  background-color: var(--bg-card-hover);
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.service-id {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-gold-hi);
  background-color: var(--brand-gold-fill);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.service-target {
  font-size: 0.92rem;
  color: var(--text-secondary);
  background-color: rgba(7, 8, 10, 0.6);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border-left: 3px solid var(--brand-gold);
}

.service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.service-prop-group {
  font-size: 0.95rem;
}
.service-prop-label {
  font-weight: 700;
  color: var(--brand-gold-hi);
  display: block;
  margin-bottom: 3px;
  font-size: 0.88rem;
}
.service-prop-val {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.service-price-box {
  background-color: rgba(7, 8, 10, 0.7);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: auto;
  margin-bottom: 18px;
}
.service-price-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-price-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-gold-hi);
  display: block;
  margin-top: 2px;
}
.service-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.service-card-actions {
  display: flex;
  gap: 10px;
}
.service-card-actions .btn {
  flex: 1;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 76px 0;
  background-color: var(--bg-primary);
}

.faq-search-box {
  max-width: 720px;
  margin: 0 auto 32px;
}

.search-input-wrapper {
  display: flex;
  gap: 8px;
  background-color: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 6px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-wrapper:focus-within {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(214, 137, 42, 0.25);
}

.faq-input {
  flex: 1;
  border: none;
  font-size: 1.05rem;
  padding: 10px 16px;
  outline: none;
  font-family: inherit;
  color: var(--text-primary);
  background: transparent;
  min-width: 0;
}
.faq-input::placeholder {
  color: var(--text-muted);
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.faq-cat-btn {
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  min-height: 38px;
}
.faq-cat-btn:hover {
  background-color: var(--brand-gold-fill);
  color: var(--brand-gold-hi);
  border-color: var(--brand-gold);
}
.faq-cat-btn.active {
  background-color: var(--brand-gold);
  color: var(--text-on-dark);
  border-color: var(--brand-gold);
  font-weight: 700;
}

/* FAQ Dynamic Match Result Banner */
.faq-result-container {
  max-width: 800px;
  margin: 0 auto 40px;
}

.faq-match-card {
  background-color: var(--bg-card);
  border: 2px solid var(--brand-gold);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 0 25px rgba(214, 137, 42, 0.15);
  margin-bottom: 24px;
}

.faq-match-badge {
  display: inline-block;
  background-color: var(--brand-gold-fill);
  color: var(--brand-gold-hi);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 10px;
}

.faq-match-question {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.faq-match-answer {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 22px;
  white-space: pre-line;
}

.faq-feedback-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  gap: 12px;
}
.faq-feedback-text {
  font-size: 0.92rem;
  color: var(--brand-gold-hi);
  font-weight: 600;
}
.faq-feedback-btns {
  display: flex;
  gap: 8px;
}

/* FAQ Candidates List */
.faq-candidates-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.faq-candidates-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-gold-hi);
  margin-bottom: 14px;
}
.faq-candidate-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s;
}
.faq-candidate-item:hover {
  background-color: var(--brand-gold-fill);
  border-color: var(--brand-gold);
  color: var(--brand-gold-hi);
}

/* FAQ Unmatched Banner */
.faq-unmatched-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
  margin-bottom: 24px;
}
.faq-unmatched-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.faq-unmatched-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* FAQ Grouping Header & Grid Layout (한눈에 여러 질문이 들어오는 2열 카드 그리드) */
.faq-group-header {
  max-width: 1100px;
  margin: 36px auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.faq-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-group-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-gold-hi);
}
.faq-group-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-on-dark);
  background-color: var(--brand-gold);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}
.faq-group-tip {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-grid-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.faq-grid-card:hover {
  border-color: var(--brand-gold);
  background-color: var(--bg-card-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.faq-grid-card.open {
  border-color: var(--brand-gold);
  background-color: var(--bg-card-hover);
  box-shadow: 0 0 15px rgba(214, 137, 42, 0.15);
}

.faq-grid-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.faq-q-indicator {
  color: var(--brand-gold);
  font-weight: 800;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  flex-shrink: 0;
  line-height: 1.35;
}
.faq-grid-question {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  flex: 1;
  margin: 0;
}
.faq-grid-card:hover .faq-grid-question {
  color: var(--brand-gold-hi);
}
.faq-grid-icon {
  font-size: 0.9rem;
  color: var(--brand-gold);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: 4px;
}
.faq-grid-card.open .faq-grid-icon {
  transform: rotate(180deg);
}

.faq-grid-card-body {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}
.faq-grid-card.open .faq-grid-card-body {
  display: block;
}

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

/* Fallback for existing .faq-list */
.faq-list {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-bottom-cta {
  text-align: center;
  margin-top: 48px;
  padding: 34px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Modals & Dialogs (Inquiry & Service Details & Privacy)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px);
  transition: transform 0.2s;
  position: relative;
  overflow: hidden;
}
.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-secondary);
}
.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-gold-hi);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.modal-close-btn:hover {
  color: var(--brand-gold-hi);
  background-color: var(--brand-gold-fill);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-banner {
  background-color: var(--brand-gold-fill);
  border-left: 4px solid var(--brand-gold);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background-color: var(--bg-secondary);
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-label .req {
  color: var(--brand-gold-hi);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.98rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(214, 137, 42, 0.25);
}
.form-input.is-invalid, .form-textarea.is-invalid {
  border-color: var(--status-error);
}

.field-error {
  display: none;
  color: var(--status-error);
  font-size: 0.82rem;
  margin-top: 4px;
  font-weight: 500;
}
.field-error.visible {
  display: block;
}

.consent-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 6px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}
.consent-checkbox {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand-gold);
  cursor: pointer;
}

/* Turnstile Box */
.turnstile-wrapper {
  margin: 18px 0;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-secondary);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
}
.demo-badge {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 6px 12px;
}

/* Result States in Modal */
.inquiry-state-view {
  text-align: center;
  padding: 20px 0;
}
.state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.state-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.receipt-id-box {
  display: inline-block;
  background-color: var(--bg-secondary);
  border: 1px solid var(--brand-gold);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-gold-hi);
  margin: 14px 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #040506;
  color: var(--text-muted);
  padding: 56px 0 32px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-title {
  color: var(--brand-gold-hi);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-text {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.footer-links-title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-link:hover {
  color: var(--brand-gold-hi);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   PRD 5.4: 1200px (3 cols), 768~1199px (2 cols), <=767px (1 col, 320px support)
   ========================================================================== */
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
  }
  
  .header-logo {
    width: 110px;
    max-height: 52px;
  }
  
  .brand-name {
    font-size: 1.15rem;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 8px;
  }
  .nav-link {
    padding: 6px 8px;
    font-size: 0.92rem;
  }

  .hero-section {
    padding: 40px 0;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-desc {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }

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

  .search-input-wrapper {
    flex-direction: column;
    padding: 10px;
  }
  .search-input-wrapper .btn {
    width: 100%;
  }

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

  .modal-dialog {
    margin: 10px;
    max-height: 95vh;
  }
  .modal-footer {
    flex-direction: column;
  }
  .modal-footer .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Sitemap Modal & Overview Layout
   ========================================================================== */
.modal-dialog-lg {
  max-width: 860px;
}

.sitemap-modal-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sitemap-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background-color: var(--brand-gold-fill);
  color: var(--brand-gold-hi);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.sitemap-intro {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 22px;
  line-height: 1.6;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sitemap-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.sitemap-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
}

.sitemap-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.sitemap-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.sitemap-card-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-gold-hi);
  margin: 0;
}

.sitemap-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.sitemap-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s, transform 0.15s;
  cursor: pointer;
}

.sitemap-link::before {
  content: '▸';
  color: var(--brand-gold);
  margin-right: 8px;
  font-size: 0.85rem;
  transition: transform 0.15s;
}

.sitemap-link:hover {
  color: var(--brand-gold-hi);
  text-decoration: none;
  transform: translateX(4px);
}

.sitemap-link:hover::before {
  transform: translateX(2px);
}

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