/* ============================================================
 * style.css – BNI 히어로챕터
 * Primary: #2D2B6F | Secondary BG: #f8f8fa
 * Font: Pretendard
 * ============================================================ */

/* ── Reset & Base ───────────────────────────────────────────── */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

:focus-visible { outline: 2px solid #2D2B6F; outline-offset: 2px; }

/* ── CSS Variables ──────────────────────────────────────────── */

:root {
  --navy:   #2D2B6F;
  --navy-light: #3e3a9e;
  --navy-pale: rgba(45,43,111,0.08);
  --gray-bg: #f8f8fa;
  --text:   #222;
  --text-muted: #666;
  --white:  #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --section-py: 80px;
  --max-w: 1200px;
}

/* ── Container ──────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ───────────────────────────────────────────── */

section {
  padding: var(--section-py) 0;
  scroll-margin-top: 72px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}

/* ══════════════════════════════════════════════════════════════
 * Navigation
 * ══════════════════════════════════════════════════════════════ */

#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  height: 72px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}

#main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .nav-logo-img { height: 22px; }
}

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

#nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

#nav-menu a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* 신청/문의 강조 버튼 */
#nav-menu a.nav-cta {
  background: #c32331;
  color: #fff;
  border-radius: 20px;
  padding: 7px 16px;
  font-weight: 700;
  margin-left: 4px;
}

#nav-menu a.nav-cta:hover {
  background: #a51d28;
  color: #fff;
}

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ══════════════════════════════════════════════════════════════
 * Floating Buttons
 * ══════════════════════════════════════════════════════════════ */

.fab-wrap {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(45,43,111,0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.fab:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,43,111,0.45);
}

.fab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.fab-ig {
  padding: 10px;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-ig[href^="tel"] {
  background: var(--navy);
}

.fab-ig[href^="https://www.instagram"] {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.fab-ig:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.fab-ig svg {
  width: 22px; height: 22px; fill: #fff;
}

/* ══════════════════════════════════════════════════════════════
 * Section 1: Hero Video
 * ══════════════════════════════════════════════════════════════ */

#hero {
  padding: 0;
  margin-top: 72px;
  scroll-margin-top: 0;
  width: 100%;
  background: #000;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ══════════════════════════════════════════════════════════════
 * Section 2: 히어로챕터 소개
 * ══════════════════════════════════════════════════════════════ */

#about { background: var(--gray-bg); }

/* 2-1 Pain Points */
.about-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}

.about-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 72px;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--navy-pale);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--navy);
}

.pain-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

/* ══════════════════════════════════════════════════════════════
 * Section 1-b: Intro CTA (영상 바로 아래)
 * ══════════════════════════════════════════════════════════════ */

.intro-cta-section {
  background: #fff;
  padding: 80px 0 72px;
  text-align: center;
}

.intro-cta-inner {
  max-width: 860px;
  margin: 0 auto;
}

.intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.intro-eyebrow::after {
  content: '';
  display: inline-block;
  width: 56px;
  height: 1px;
  background: var(--text-muted);
}

.intro-heading {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.intro-desc {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--text);
  line-height: 1.85;
}

.intro-desc strong {
  color: var(--navy);
  font-weight: 700;
}

/* 태블릿 (768px 이하) */
@media (max-width: 768px) {
  .intro-cta-section {
    padding: 60px 0 56px;
  }
  .intro-eyebrow::after {
    width: 36px;
  }
}

/* 모바일 (480px 이하) */
@media (max-width: 480px) {
  .intro-cta-section {
    padding: 48px 0 44px;
  }
  .intro-heading {
    letter-spacing: -0.01em;
  }
  .intro-eyebrow::after {
    display: none;
  }
}

.pain-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* 2-1b: 답변 텍스트 블록 */
.about-answer-block {
  text-align: center;
  padding: 64px 0 16px;
}

.about-answer-main {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 32px;
}

.about-answer-main strong {
  color: var(--navy);
  font-weight: 800;
}

.about-answer-divider {
  width: 1px;
  height: 64px;
  background: rgba(45,43,111,0.2);
  margin: 0 auto 32px;
}

.about-answer-sub {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--text);
  line-height: 1.85;
}

.about-answer-sub strong {
  color: var(--navy);
  font-weight: 800;
}

/* 2-2 Stats */
.stats-section {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  margin-top: 72px;
}

.stat-item {
  flex: 1;
  padding: 0 20px;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(255,255,255,0.25);
}

.stat-number {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
 * Section 3: 모임일정 (Calendar)
 * ══════════════════════════════════════════════════════════════ */

#schedule {
  background: var(--gray-bg);
}

/* Schedule banner card */
.schedule-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 240px;
  margin-bottom: 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.schedule-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.schedule-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(45,43,111,0.90) 0%,
    rgba(45,43,111,0.75) 38%,
    rgba(45,43,111,0.25) 62%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 48px;
}

.schedule-banner-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.schedule-banner-row {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.schedule-banner-row svg {
  opacity: 0.8;
  flex-shrink: 0;
}

.banner-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
}

.banner-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.schedule-banner-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.2);
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.cal-nav button {
  background: var(--navy);
  color: #fff;
  border: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cal-nav button:hover:not(:disabled) { background: var(--navy-light); }
.cal-nav button:disabled { opacity: 0.3; cursor: not-allowed; }

#cal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  min-width: 160px;
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  max-width: 840px;
  margin: 0 auto;
}

.cal-header-cell {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 4px;
}

.cal-header-cell:first-child { color: #e74c3c; }
.cal-header-cell:last-child  { color: #3498db; }

.cal-cell {
  min-height: 90px;
  border-radius: 8px;
  padding: 8px 6px;
  background: var(--gray-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cal-blank { background: transparent; }

.cal-friday {
  background: #eef0ff;
  border: 1.5px solid #c7c9ee;
}

.cal-day-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  align-self: flex-start;
}

.cal-cell:nth-child(7n+1) .cal-day-num { color: #e74c3c; }
.cal-cell:nth-child(7n)   .cal-day-num { color: #3498db; }

.cal-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  text-align: center;
  line-height: 1.3;
}

.cal-badge-offline {
  background: var(--navy);
  color: #fff;
}

.cal-badge-online {
  background: #3B9DD2;
  color: #fff;
}

.cal-badge-cancelled {
  background: #999;
  color: #fff;
}

.cal-note {
  font-size: 0.65rem;
  color: #e74c3c;
  text-align: center;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
 * Section 4: 회의구성
 * ══════════════════════════════════════════════════════════════ */

#meeting { background: var(--gray-bg); }

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

.meeting-grid .meeting-card:last-child:nth-child(odd) {
  grid-column: auto;
  max-width: none;
  margin: 0;
}

.meeting-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.meeting-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.meeting-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--navy-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.meeting-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
}

.meeting-content {}

.meeting-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.meeting-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
 * Section 5: BNI 소개
 * ══════════════════════════════════════════════════════════════ */

#bni { background: #fff; }

.bni-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0 52px;
}

.bni-logo-img {
  height: 64px;
  width: auto;
  max-width: 100%;
  display: block;
}

.bni-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 52px;
  line-height: 1.85;
  text-align: center;
}

.bni-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.bni-block {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.bni-block-watermark {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(45,43,111,0.07);
  letter-spacing: -2px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  text-align: right;
}

.bni-block-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.bni-block-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.bni-btn-wrap {
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(45,43,111,0.25);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,43,111,0.35);
}

/* ══════════════════════════════════════════════════════════════
 * Section 6: 멤버
 * ══════════════════════════════════════════════════════════════ */

#members { background: var(--gray-bg); }

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

.member-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  border: 1px solid rgba(45,43,111,0.08);
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(45,43,111,0.18);
}

.member-card-body {
  padding: 24px 20px 12px;
  background: linear-gradient(135deg, rgba(45,43,111,0.04) 0%, #fff 60%);
  border-bottom: 1px solid rgba(45,43,111,0.07);
  flex: 1;
}

.member-company {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  padding-left: 10px;
  border-left: 3px solid var(--navy);
}

.member-specialty {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 13px;
}

.member-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: #fff;
}

.btn-member {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.btn-card {
  background: var(--navy-pale);
  color: var(--navy);
}

.btn-card:hover {
  background: var(--navy);
  color: #fff;
}

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

.btn-website:hover {
  background: var(--navy);
  color: #fff;
}

/* Members expand/collapse toggle */
.members-grid.members-collapsed {
  display: none;
}

.members-toggle-btn {
  display: block;
  margin: 0 auto 28px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.members-toggle-btn:hover {
  background: var(--navy);
  color: #fff;
}

/* Apply Success Modal */
.apply-success-box {
  text-align: center;
  padding: 48px 32px 40px;
  max-width: 380px;
}

.apply-success-icon {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 24px;
  font-weight: 300;
}

.apply-success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.apply-success-desc {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
}

.apply-success-flow {
  font-size: 0.95rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

/* Business Card Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modal-in 0.25s ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: center;
}

.modal-card-img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eee;
}

.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.modal-close:hover { background: var(--gray-bg); }

/* ══════════════════════════════════════════════════════════════
 * Section 7: 인스타그램
 * ══════════════════════════════════════════════════════════════ */

#instagram { background: #fff; }

.section-title-sub {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-left: 6px;
  vertical-align: middle;
}

/* 2-column layout: info left, feed right */
.instagram-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* ── Left: 채널 소개 ── */
.instagram-info {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.insta-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.insta-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.insta-avatar svg { width: 48px; height: 48px; }

.insta-handle {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.insta-platform {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.insta-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.insta-follow-btn:hover { opacity: 0.85; }

/* ── Right: 피드 ── */
.instagram-feed-wrap {
  min-height: 280px;
}

@media (max-width: 768px) {
  .instagram-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .instagram-info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
  }
  .insta-desc { flex-basis: 100%; }

  /* Partner section — left align on mobile */
  .apply-partner-section { text-align: left; }
  .partner-text-rule { margin: 28px 0; }
}

/* ══════════════════════════════════════════════════════════════
 * Section 8: 신청/문의
 * ══════════════════════════════════════════════════════════════ */

#apply { background: var(--gray-bg); }

/* CTA Box (index.html) */
.apply-cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 48px 44px;
  box-shadow: var(--shadow);
}

.apply-cta-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}

.apply-cta-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.apply-cta-btn {
  display: inline-block;
  font-size: 1rem;
}

.apply-cta-contact {
  border-left: 2px solid var(--navy-pale);
  padding-left: 40px;
}

@media (max-width: 768px) {
  .apply-cta-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }
  .apply-cta-contact {
    border-left: none;
    border-top: 2px solid var(--navy-pale);
    padding-left: 0;
    padding-top: 24px;
  }
}

.apply-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.apply-form-side {}

.apply-info-side {}

/* Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group label .req {
  color: #e74c3c;
  margin-left: 2px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(45,43,111,0.1);
  outline: none;
}

.form-group input::placeholder { color: #aaa; }

/* Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer;
  margin-top: 2px;
}

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Apply Page Header — white / editorial */
.apply-page-header {
  background: #fff;
  border-bottom: 1px solid #e8e8ee;
  padding: 56px 0 48px;
  text-align: center;
}

.apply-page-header-inner {
  max-width: 680px;
  margin: 0 auto;
}

.apply-page-eyebrow {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 20px;
}

.apply-page-rule {
  width: 48px;
  height: 1.5px;
  background: #ddd;
  margin: 0 auto 24px;
  border-radius: 2px;
}

.apply-page-rule-accent {
  background: #c32331;
  width: 32px;
  margin-top: 0;
  margin-bottom: 20px;
}

.apply-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: #444;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.apply-page-title strong {
  font-weight: 900;
  color: var(--navy);
  display: block;
}

.apply-page-invite {
  font-size: 1.2rem;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.28em;
  margin-bottom: 24px;
}

.apply-page-meta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.apply-page-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.apply-page-meta-item svg {
  color: var(--navy);
  flex-shrink: 0;
}

.apply-page-meta-div {
  width: 1px;
  height: 14px;
  background: #ccc;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .apply-page-meta-div { display: none; }
  .apply-page-meta { flex-direction: column; gap: 8px; }
}

/* Countdown */
.apply-countdown {
  background: #fff;
  border-bottom: 1px solid #e8e8ee;
}

.countdown-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 24px 32px;
  text-align: center;
}

.countdown-label-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.countdown-label {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #444;
}

.countdown-date {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.countdown-display {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
}

.cd-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}


.cd-unit-label {
  font-size: 0.82rem;
  color: #bbb;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cd-sep {
  font-size: 2.6rem;
  font-weight: 200;
  color: #ddd;
  line-height: 1;
  margin-top: 4px;
  padding: 0 2px;
}

@media (max-width: 640px) {
  .countdown-inner { padding: 28px 16px 24px; }
  .cd-num { font-size: 2.4rem; }
  .cd-unit { min-width: 56px; }
  .cd-sep { font-size: 2rem; }
  .countdown-date { font-size: 1rem; }
}

/* Apply form heading */
.apply-form-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy-pale);
}

/* ══════════════════════════════════════════════════════════════
 * BNI Partner Section (apply.html)
 * ══════════════════════════════════════════════════════════════ */

.apply-partner-section {
  background: #111827;
  padding: 72px 0 80px;
  text-align: center;
}

.partner-text-body {
  max-width: 600px;
  margin: 0 auto;
}

.partner-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.partner-text-rule {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 36px auto;
}

.partner-intro-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
  margin-bottom: 20px;
}

.partner-intro-text strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}

.partner-headline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  margin-bottom: 0;
}

.partner-headline strong {
  font-weight: 900;
  color: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 48px;
}

.partner-tile {
  background: rgba(96,165,250,0.15);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: 12px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 80px;
  transition: background 0.2s, border-color 0.2s;
}

.partner-tile:hover {
  background: rgba(96,165,250,0.25);
  border-color: rgba(96,165,250,0.45);
}

.pt-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  text-align: center;
}

.pt-company {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.3;
}

.partner-tile-center {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #3b82f6;
  box-shadow: 0 0 24px rgba(59,130,246,0.35);
}

.partner-tile-center .pt-category {
  font-size: 0.85rem;
}

.partner-tile-empty {
  background: rgba(255,255,255,0.04);
  border-style: dashed;
  border-color: rgba(255,255,255,0.12);
}

.partner-tile-empty:hover {
  background: rgba(255,255,255,0.07);
}

.pt-plus {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

.partner-closing-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.partner-exclusive {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}

.partner-exclusive strong {
  color: #fff;
  font-weight: 800;
}

.partner-tagline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}

.partner-tagline strong {
  font-weight: 900;
  color: #fff;
}

@media (max-width: 768px) {
  .apply-page-header { padding: 44px 0 48px; }
  .apply-partner-section { padding: 48px 0 52px; }
  .apply-layout { gap: 24px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .partner-tile { min-height: 68px; padding: 12px 6px; }
  .pt-category { font-size: 0.72rem; }
  .pt-company { font-size: 0.62rem; }
}

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

/* Apply contact */
.apply-contact-label {
  margin: 28px 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.apply-contact {
  display: flex;
  gap: 16px;
  margin-top: 0;
  flex-wrap: wrap;
}

.apply-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.apply-contact-item:hover { opacity: 0.7; }

.apply-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--navy);
  flex-shrink: 0;
}

/* Form message */
.form-message {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 500;
  margin-top: 16px;
}

.form-message-success {
  background: #eafaf0;
  color: #1a7a40;
  border: 1px solid #b7e8c8;
}

.form-message-error {
  background: #fdf0ef;
  color: #c0392b;
  border: 1px solid #f5c6c2;
}

/* Info Box */
.apply-info-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.apply-info-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy-pale);
}

.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.info-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy-pale);
  border-radius: 8px;
  flex-shrink: 0;
  color: var(--navy);
}

.info-row-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
}

.info-row-content {}

.info-row-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.info-row-value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.info-notice {
  background: #fff8e6;
  border-left: 3px solid #f0c040;
  padding: 12px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  color: #7a5f00;
  margin-top: 20px;
  line-height: 1.6;
}

/* Map Card */
.map-card {
  margin-top: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.map-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.map-card-pin {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.map-card-place {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.map-card-addr {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.map-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 18px 16px;
  border-top: 1px solid #f0f0f0;
}

.map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: opacity 0.15s, transform 0.15s;
}

.map-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.map-btn-naver { background: #03C75A; color: #fff; }
.map-btn-kakao { background: #FEE500; color: #3C1E1E; }

/* Privacy Modal */
.privacy-modal-box {
  text-align: center;
  max-width: 340px;
  padding: 40px 32px;
}

.privacy-modal-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.privacy-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.privacy-modal-msg {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.privacy-modal-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
}

/* 문의하기 */
#contact {
  background: var(--navy);
  padding: 60px 0;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-title {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.contact-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
}

.contact-card-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contact-card-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.contact-card-value {
  font-size: 0.98rem;
  color: #fff;
  font-weight: 600;
  word-break: break-all;
}

.contact-card-value a {
  color: #a8c4f0;
  text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════
 * Footer
 * ══════════════════════════════════════════════════════════════ */

footer {
  background: #1a1940;
  color: rgba(255,255,255,0.55);
  padding: 36px 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.footer-copy {
  font-size: 0.82rem;
}

/* ══════════════════════════════════════════════════════════════
 * Responsive
 * ══════════════════════════════════════════════════════════════ */

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

@media (max-width: 768px) {
  :root { --section-py: 52px; }

  /* Nav */
  #hamburger { display: flex; }

  #nav-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  #nav-menu.open { display: flex; }

  #nav-menu a {
    padding: 15px 24px;
    border-radius: 0;
    font-size: 1rem;
  }

  #nav-menu li:last-child {
    padding: 10px 16px 6px;
  }

  #nav-menu a.nav-cta {
    display: block;
    text-align: center;
    border-radius: 8px;
    padding: 13px 24px;
    margin: 0;
  }

  /* Pain grid */
  .pain-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-section {
    flex-direction: row;
    gap: 0;
    padding: 28px 8px;
  }

  .stat-item { padding: 0 8px; }
  .stat-item + .stat-item::before { display: block; }
  .stat-number { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .stat-label { font-size: 0.78rem; }

  /* Meeting */
  .meeting-grid {
    grid-template-columns: 1fr;
  }

  .meeting-grid .meeting-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }

  /* BNI */
  .bni-blocks {
    grid-template-columns: 1fr;
  }

  /* Members */
  .members-grid {
    grid-template-columns: 1fr;
  }

  /* Apply */
  .apply-layout {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Schedule banner */
  .schedule-banner { height: 200px; }
  .schedule-banner-overlay { padding-left: 24px; }
  .schedule-banner-info { gap: 16px; }
  .banner-value { font-size: 0.9rem; white-space: normal; }

  /* Calendar */
  .cal-cell { min-height: 70px; }
  .cal-badge { font-size: 0.58rem; padding: 2px 5px; }

  /* Floating buttons */
  .fab-wrap { bottom: 20px; right: 16px; }
  .fab { padding: 10px 14px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-title { font-size: 1.4rem; margin-bottom: 32px; }
  .cal-grid { gap: 2px; }
  .cal-cell { min-height: 56px; padding: 5px 3px; }
  .cal-badge { font-size: 0.5rem; }
  .cal-day-num { font-size: 0.75rem; }
  .pain-card { padding: 20px 16px; }
  .meeting-card { padding: 20px 16px; }

  /* Apply page */
  .apply-page-header { padding: 36px 0 40px; }
  .apply-page-eyebrow { letter-spacing: 0.1em; }
  .apply-page-invite { letter-spacing: 0.1em; font-size: 1rem; }
  .apply-info-box { padding: 24px 20px; }
  .schedule-banner { height: 220px; }

  /* Partner section */
  .partner-eyebrow { letter-spacing: 0.1em; }
  .apply-partner-section { padding: 44px 0 48px; }

  /* BNI blocks */
  .bni-block { padding: 32px 24px; }

  /* Members toggle */
  .members-toggle-btn { width: 100%; max-width: 280px; }
}

@media (max-width: 360px) {
  .cd-num { font-size: 2rem; }
  .cd-unit { min-width: 46px; }
  .cd-sep { font-size: 1.6rem; }
  .countdown-date { font-size: 0.9rem; }
  .apply-page-eyebrow { font-size: 0.78rem; letter-spacing: 0.06em; }
  .apply-page-invite { font-size: 0.92rem; letter-spacing: 0.06em; }
}

