@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;700;900&family=Noto+Sans+KR:wght@300;400;500&display=swap');

:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --gold-dark: #A8892A;
  --black: #0A0A0A;
  --dark: #141414;
  --card: #1C1C1C;
  --border: #2E2E2E;
  --text: #F0EDE6;
  --muted: #999999;
  --radius: 6px;
  --shadow-gold: 0 0 24px rgba(212,175,55,0.2);
}

body, html {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--black);
  color: var(--text);
  margin: 0;
  padding: 0;
}

a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  color: var(--gold-dark);
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif KR', serif;
  color: var(--gold);
  line-height: 1.35;
}

/* === HEADER === */
.fg-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(135deg, #0A0A0A 0%, #1A1500 100%);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.fg-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.fg-header__logo img {
  height: 48px;
}
.fg-header__nav a {
  color: var(--muted);
  margin-left: 24px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.fg-header__nav a:hover {
  color: var(--gold);
}

/* === HERO === */
.fg-hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.fg-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.38) saturate(1.3);
}
.fg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.1) 0%, rgba(212,175,55,0.06) 50%, rgba(10,10,10,0.88) 100%);
}
.fg-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
}
.fg-hero__content h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  font-family: 'Noto Serif KR', serif;
  color: var(--gold);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.fg-hero__sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 28px;
}
.fg-hero__cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.fg-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(212,175,55,0.4);
  color: #0A0A0A;
}

/* === TRUST BAR === */
.fg-trust-bar {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.fg-trust-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0 24px;
  flex-wrap: wrap;
}
.fg-trust-bar__item {
  font-size: 0.9rem;
  color: var(--muted);
}
.fg-trust-bar__item strong {
  color: var(--gold);
  margin-right: 6px;
}

/* === SECTION === */
.fg-section {
  max-width: 1100px;
  margin: 64px auto;
  padding: 0 24px;
}
.fg-section__title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
}
.fg-section__sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

/* === COST GRID === */
.fg-cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.fg-cost-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.fg-cost-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.fg-cost-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.fg-cost-card__label {
  font-size: 0.78rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.fg-cost-card__title {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 12px;
}
.fg-cost-card__amount {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.fg-cost-card__desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* === GALLERY === */
.fg-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.fg-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: transform 0.3s;
}
.fg-gallery-grid img:hover {
  transform: scale(1.03);
}

/* === FAQ === */
.fg-faq {
  max-width: 860px;
  margin: 64px auto;
  padding: 0 24px;
}
.fg-faq__item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.fg-faq__q {
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.fg-faq__q::before {
  content: 'Q';
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--gold);
  color: #0A0A0A;
  font-size: 0.78rem;
  font-weight: 900;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fg-faq__a {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
  margin-top: 12px;
  padding-left: 36px;
  display: none;
}
.fg-faq__a.open {
  display: block;
}

/* === POSTS === */
.fg-posts {
  max-width: 1100px;
  margin: 64px auto;
  padding: 0 24px;
}
.fg-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.fg-post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.fg-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.fg-post-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.fg-post-card__body {
  padding: 20px;
}
.fg-post-card__cat {
  font-size: 0.73rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.fg-post-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.45;
}
.fg-post-card__title a {
  color: inherit;
}
.fg-post-card__excerpt {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

/* === CONTACT === */
.fg-contact {
  max-width: 640px;
  margin: 64px auto;
  padding: 0 24px;
  text-align: center;
}
.fg-contact__phone {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 24px 0;
}
.fg-contact__btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-gold);
}
.fg-contact__btn:hover {
  transform: translateY(-2px);
  color: #0A0A0A;
}

/* === FOOTER === */
.fg-footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.83rem;
}

/* === WP SINGLE POST === */
.entry-content,
.post-content {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.9;
}
.entry-content h2,
.post-content h2 {
  font-size: 1.45rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.entry-content h3,
.post-content h3 {
  font-size: 1.15rem;
  color: var(--gold-dark);
  margin: 28px 0 12px;
}
.entry-content table,
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.entry-content th,
.post-content th {
  background: var(--card);
  color: var(--gold);
  padding: 12px;
  border: 1px solid var(--border);
}
.entry-content td,
.post-content td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.entry-content blockquote,
.post-content blockquote {
  border-left: 3px solid var(--gold);
  margin: 24px 0;
  padding: 16px 24px;
  background: var(--card);
  color: var(--muted);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .fg-header__nav {
    display: none;
  }
  .fg-hero__content h1 {
    font-size: 1.8rem;
  }
  .fg-cost-grid,
  .fg-posts__grid {
    grid-template-columns: 1fr;
  }
  .fg-trust-bar__inner {
    flex-direction: column;
    gap: 12px;
  }
}
