/* ===========================
   카드깡 - 공통 스타일시트
   Color Theme: Black / Gold
=========================== */

:root {
  --color-bg: #0a0a0a;
  --color-bg-secondary: #111111;
  --color-bg-card: #1a1a1a;
  --color-gold: #c9a84c;
  --color-gold-light: #e8c97a;
  --color-gold-dark: #a07830;
  --color-white: #ffffff;
  --color-gray: #888888;
  --color-gray-light: #cccccc;
  --color-border: #2a2a2a;
  --color-red: #e53e3e;
  --font-main: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --shadow-gold: 0 0 20px rgba(201, 168, 76, 0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
  --radius: 10px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-main);
  line-height: 1.7;
  min-height: 100vh;
}
a { color: var(--color-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-main); }

/* ===========================
   HEADER & NAV
=========================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-gold);
  letter-spacing: -0.5px;
  line-height: 1.2;
  white-space: nowrap;
}
.site-logo span { color: var(--color-white); font-size: 0.75rem; display: block; font-weight: 400; opacity: 0.8; }

/* Main Nav */
#main-nav ul {
  display: flex;
  gap: 8px;
  align-items: center;
}
#main-nav ul li a {
  color: var(--color-gray-light);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
#main-nav ul li a:hover,
#main-nav ul li a.active {
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.1);
}
.nav-tel {
  background: var(--color-gold) !important;
  color: var(--color-bg) !important;
  font-weight: 700 !important;
  border-radius: 6px;
}
.nav-tel:hover { background: var(--color-gold-light) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   FLOATING BUTTONS
=========================== */
#floating-btns {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 1.4rem;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn-call {
  background: var(--color-gold);
  color: var(--color-bg);
  box-shadow: 0 4px 20px rgba(201,168,76,0.5);
}
.float-btn-sms {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(201,168,76,0.2);
}
.float-btn-sms:hover { background: rgba(201,168,76,0.1); }
.float-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-gray);
  line-height: 1.3;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 20px 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1200 50%, #0a0a0a 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.15) 0%, transparent 70%);
}
.hero-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--color-gold);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--color-white);
  word-break: keep-all;
}
.hero h1 .highlight {
  color: var(--color-gold);
  position: relative;
}
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--color-gray-light);
  margin-bottom: 36px;
  word-break: keep-all;
  line-height: 1.8;
}
.hero-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 28px;
  letter-spacing: 1px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
  color: var(--color-bg);
}
.btn-outline {
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  transform: translateY(-2px);
  color: var(--color-gold-light);
}
.btn-lg { padding: 18px 44px; font-size: 1.1rem; border-radius: 10px; }
.btn-sm { padding: 8px 20px; font-size: 0.88rem; border-radius: 6px; }

/* ===========================
   SECTIONS
=========================== */
.section {
  padding: 80px 20px;
}
.section-alt {
  background: var(--color-bg-secondary);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: inline-block;
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.3;
  word-break: keep-all;
  margin-bottom: 16px;
}
.section-title .gold { color: var(--color-gold); }
.section-desc {
  color: var(--color-gray);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  word-break: keep-all;
}
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===========================
   CARDS
=========================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px; height: 60px;
  background: rgba(201,168,76,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(201,168,76,0.2);
}
.service-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--color-gray);
  font-size: 0.93rem;
  line-height: 1.7;
  word-break: keep-all;
}

/* ===========================
   BLOG / NEWS CARDS (Schema Image)
=========================== */
.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1a1200 0%, #111 50%, #0a0a0a 100%);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  color: var(--color-gold);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.blog-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
  line-height: 1.5;
  word-break: keep-all;
  flex: 1;
}
.blog-card-body p {
  color: var(--color-gray);
  font-size: 0.87rem;
  line-height: 1.6;
  margin-bottom: 16px;
  word-break: keep-all;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-gray);
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-top: auto;
}
.blog-card-meta a {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.83rem;
}

/* ===========================
   STATS
=========================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--color-bg-card);
  padding: 36px 24px;
  text-align: center;
}
.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--color-gray);
  word-break: keep-all;
}

/* ===========================
   PROCESS STEPS
=========================== */
.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.step-item {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.step-item::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-gold);
  font-size: 1.4rem;
}
.step-item:last-child::after { display: none; }
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.step-item p {
  font-size: 0.83rem;
  color: var(--color-gray);
  word-break: keep-all;
}

/* ===========================
   FAQ
=========================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: background var(--transition);
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.97rem;
  gap: 12px;
}
.faq-question:hover { background: rgba(201,168,76,0.06); }
.faq-question.active { color: var(--color-gold); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-gold);
  transition: transform var(--transition);
}
.faq-question.active .faq-icon { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  color: var(--color-gray);
  font-size: 0.93rem;
  line-height: 1.8;
  word-break: keep-all;
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background: linear-gradient(135deg, #1a1200 0%, #0a0a0a 50%, #1a0f00 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  text-align: center;
  padding: 80px 20px;
}
.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
  word-break: keep-all;
}
.cta-section p {
  color: var(--color-gray-light);
  font-size: 1rem;
  margin-bottom: 36px;
  word-break: keep-all;
}
.cta-tel {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 28px;
  display: block;
  letter-spacing: 1px;
}

/* ===========================
   NOTICE / HIGHLIGHT BOX
=========================== */
.notice-box {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 4px solid var(--color-gold);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}
.notice-box p { color: var(--color-gray-light); font-size: 0.93rem; }

/* ===========================
   TABLE
=========================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.data-table th {
  background: rgba(201,168,76,0.12);
  color: var(--color-gold);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--color-gold);
}
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-gray-light);
}
.data-table tr:hover td { background: rgba(255,255,255,0.03); }
.data-table .td-center { text-align: center; }

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: #050505;
  border-top: 1px solid var(--color-border);
  padding: 48px 20px 30px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand .logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-gold);
  margin-bottom: 12px;
}
.footer-brand p {
  color: var(--color-gray);
  font-size: 0.87rem;
  line-height: 1.7;
}
.footer-brand .tel {
  color: var(--color-gold-light);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 12px;
  display: block;
}
.footer-links h4, .footer-info h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a {
  color: var(--color-gray);
  font-size: 0.87rem;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--color-gold); }
.footer-info p {
  color: var(--color-gray);
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.82rem;
}

/* ===========================
   PAGE HEADER (Inner pages)
=========================== */
.page-header {
  padding: 120px 20px 60px;
  background: linear-gradient(180deg, #0f0f0f 0%, var(--color-bg) 100%);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
  word-break: keep-all;
}
.page-header p {
  color: var(--color-gray);
  font-size: 1rem;
  word-break: keep-all;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--color-gray);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--color-gold); }
.breadcrumb span { color: var(--color-gray); }

/* ===========================
   BLOG DETAIL
=========================== */
.blog-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.blog-detail-header { margin-bottom: 32px; }
.blog-detail-header h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.4;
  word-break: keep-all;
  margin-bottom: 16px;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.83rem;
  color: var(--color-gray);
  flex-wrap: wrap;
}
.blog-meta .tag {
  background: rgba(201,168,76,0.12);
  color: var(--color-gold);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
}
.blog-detail-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 36px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.blog-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-content {
  color: var(--color-gray-light);
  line-height: 1.9;
  font-size: 0.97rem;
  word-break: keep-all;
}
.blog-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 36px 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--color-gold);
}
.blog-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold-light);
  margin: 24px 0 10px;
}
.blog-content p { margin-bottom: 16px; }
.blog-content ul, .blog-content ol {
  margin: 16px 0 16px 20px;
  list-style: disc;
}
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 6px; }
.blog-content strong { color: var(--color-white); }
.blog-content em { color: var(--color-gold); font-style: normal; font-weight: 600; }
.blog-content blockquote {
  background: rgba(201,168,76,0.06);
  border-left: 4px solid var(--color-gold);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  color: var(--color-gray-light);
}

/* ===========================
   BOARD (게시판)
=========================== */
.board-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px;
}
.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.board-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
}
.board-table {
  width: 100%;
  border-collapse: collapse;
}
.board-table thead tr {
  background: rgba(201,168,76,0.08);
  border-bottom: 2px solid var(--color-gold);
}
.board-table th {
  padding: 14px 16px;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.88rem;
  text-align: center;
}
.board-table th:nth-child(2) { text-align: left; }
.board-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-gray-light);
  text-align: center;
  vertical-align: middle;
}
.board-table td:nth-child(2) { text-align: left; }
.board-table tbody tr:hover td { background: rgba(255,255,255,0.03); }
.board-table .post-title {
  cursor: pointer;
  color: var(--color-white);
  font-weight: 500;
  transition: color var(--transition);
}
.board-table .post-title:hover { color: var(--color-gold); }
.board-new {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-bg);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
}
.modal h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}
.modal p {
  color: var(--color-gray);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.modal-input {
  width: 100%;
  padding: 14px 16px;
  background: #111;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-main);
  margin-bottom: 16px;
  transition: border-color var(--transition);
  text-align: center;
  letter-spacing: 4px;
}
.modal-input:focus {
  border-color: var(--color-gold);
  outline: none;
}
.modal-error {
  color: var(--color-red);
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: none;
}
.modal-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Post Detail */
.post-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px;
}
.post-detail-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
  margin-bottom: 28px;
}
.post-detail-header h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 12px;
  word-break: keep-all;
}
.post-info {
  display: flex;
  gap: 16px;
  font-size: 0.83rem;
  color: var(--color-gray);
  flex-wrap: wrap;
}
.post-content {
  color: var(--color-gray-light);
  line-height: 1.9;
  min-height: 200px;
}
.post-content img { max-width: 100%; border-radius: 8px; margin: 12px 0; }
.post-content h1, .post-content h2, .post-content h3 { color: var(--color-white); margin: 20px 0 8px; }
.post-content p { margin-bottom: 12px; }
.post-content a { color: var(--color-gold); }
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

/* Editor */
.editor-toolbar {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  background: #111;
  border: 1px solid var(--color-border);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  flex-wrap: wrap;
  align-items: center;
}
.editor-toolbar button {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border);
  color: var(--color-gray-light);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  transition: all 0.2s;
}
.editor-toolbar button:hover {
  background: rgba(201,168,76,0.15);
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.tab-btns {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-border);
  margin-left: auto;
}
.tab-btn {
  background: none;
  border: none;
  color: var(--color-gray);
  padding: 6px 14px;
  font-size: 0.82rem;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active {
  background: var(--color-bg-card);
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-bg-card);
  margin-bottom: -1px;
}
.editor-area {
  width: 100%;
  min-height: 320px;
  padding: 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 0 0 8px 8px;
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.93rem;
  line-height: 1.7;
  resize: vertical;
}
.editor-area:focus { outline: 1px solid var(--color-gold); }
.editor-area[contenteditable="true"]:empty:before {
  content: attr(data-placeholder);
  color: var(--color-gray);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  color: var(--color-gray-light);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-white);
  font-size: 0.93rem;
  font-family: var(--font-main);
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--color-gold); outline: none; }

/* ===========================
   XET-NEWS-BLOG (네이버 이미지 컬렉션 위젯)
=========================== */
.xet-news-section {
  padding: 48px 0 32px;
}
.xet-news-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
  padding-bottom: 12px;
}
.xet-news-scroll-wrap::-webkit-scrollbar {
  height: 4px;
}
.xet-news-scroll-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.xet-news-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 2px;
}
.xet-news-blog {
  display: flex;
  gap: 16px;
  padding: 4px 2px 8px;
  width: max-content;
}
.xet-item {
  display: flex;
  flex-direction: column;
  width: 160px;
  flex-shrink: 0;
  cursor: pointer;
}
.xet-thumbnail {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1200, #111);
}
.xet-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.xet-item:hover .xet-thumbnail img {
  transform: scale(1.07);
}
.xet-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%);
  transition: background 0.3s;
}
.xet-item:hover .xet-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%);
}
.xet-contents {
  margin-top: 8px;
  padding: 0 2px;
}
.xet-contents a {
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
  transition: color 0.2s;
}
.xet-contents a:hover {
  color: var(--color-gold);
}

/* ===========================
   SCHEMA / RICH RESULT IMAGE LIST
=========================== */
.schema-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.schema-news-item {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}
.schema-news-item:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.2);
}
.schema-news-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1200 0%, #111 50%, #0a0a0a 100%);
}
.schema-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.schema-news-item:hover .schema-news-img img { transform: scale(1.05); }
.schema-news-body {
  padding: 16px;
}
.schema-news-body h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 6px;
  line-height: 1.4;
  word-break: keep-all;
}
.schema-news-body p {
  font-size: 0.8rem;
  color: var(--color-gray);
  word-break: keep-all;
}

/* ===========================
   PAGINATION
=========================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  width: 36px; height: 36px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-gray);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
  font-weight: 700;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > *:last-child { grid-column: 1 / -1; }
  .schema-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(10,10,10,0.98); padding: 16px 20px; border-bottom: 1px solid var(--color-border); }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 4px; }
  #main-nav ul li a { display: block; padding: 12px 16px; }
  .hamburger { display: flex; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .step-item::after { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  #floating-btns { left: 12px; }
  .schema-news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: 1fr; }
  .section { padding: 56px 16px; }
  .modal { padding: 28px 20px; }
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.float-btn-call { animation: pulse-gold 2.5s infinite; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
