/* 기본 레이아웃 변수 설정 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --cream: #F4EFE6;--charcoal: #18160F;--brown: #5C3220;
  --gold: #B8922A;--gold-light: #D4AA4C;--warm-gray: #7A7060;
  --line: rgba(24, 22, 15, 0.1);--serif: 'Noto Serif KR', serif;--sans: 'Noto Sans KR', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--charcoal); font-family: var(--sans); font-weight: 300; overflow-x: hidden; -webkit-font-smoothing: antialiased; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 300; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 5rem; background: rgba(244, 239, 230, 0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: var(--transition); }
nav.scrolled { padding: 0.9rem 5rem; background: rgba(24, 22, 15, 0.98); border-bottom-color: rgba(244, 239, 230, 0.1); }
nav.scrolled .nav-logo { color: var(--cream); }
nav.scrolled .nav-logo span { color: var(--cream); }
nav.scrolled .nav-links a { color: rgba(244, 239, 230, 0.65); }
nav.scrolled .nav-links a:hover { color: var(--gold-light); }
nav.scrolled .nav-cta { color: var(--charcoal) !important; background: var(--gold-light); }
nav.scrolled .mobile-toggle { color: var(--cream); }

.nav-logo { font-family: var(--serif); font-size: 1.2rem; font-weight: 900; color: var(--charcoal); text-decoration: none; letter-spacing: 0.08em; display: flex; align-items: center; gap: 0.4rem; }
.nav-logo span { font-size: 0.7rem; font-family: var(--sans); font-weight: 400; color: var(--charcoal); border: 1px solid currentColor; padding: 0.1rem 0.3rem; border-radius: 2px; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 0.78rem; color: var(--warm-gray); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.nav-links a:hover { color: var(--charcoal); }
.nav-cta { color: var(--cream) !important; background: var(--charcoal); padding: 0.6rem 1.5rem; font-weight: 500; letter-spacing: 0.08em; }
.nav-cta:hover { background: var(--brown) !important; }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--charcoal); cursor: pointer; z-index: 310; }

/* HERO */
.hero { height: 100vh; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 5rem 8rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a1208 0%, #2d1f0e 50%, #1a1208 100%); z-index: 1; }
.hero-bg-visual { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(92, 50, 32, 0.3) 0%, transparent 60%); opacity: 0.7; }
.hero-smoke-emitter { position: absolute; inset: 0; background-image: radial-gradient(rgba(212, 170, 76, 0.02) 1px, transparent 0); background-size: 40px 40px; }
.hero-video-placeholder { position: absolute; top: 50%; right: 5rem; transform: translateY(-50%); z-index: 3; color: rgba(244, 239, 230, 0.2); display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: var(--transition); text-align: center; }
.hero-video-placeholder:hover { color: var(--gold-light); }
.hero-video-placeholder i { font-size: 3.5rem; margin-bottom: 0.6rem; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 14, 8, 0.75) 0%, transparent 60%); z-index: 2; }
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.hero-tag { font-size: 0.72rem; letter-spacing: 0.35em; color: var(--gold-light); text-transform: uppercase; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.hero-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold-light); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 900; line-height: 1.18; color: var(--cream); margin-bottom: 2rem; word-break: keep-all; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-sub { font-size: 1.1rem; color: rgba(244, 239, 230, 0.55); margin-bottom: 3rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; }
.btn-p { font-size: 0.9rem; font-weight: 500; letter-spacing: 0.08em; color: var(--cream); background: var(--brown); padding: 1rem 2.5rem; text-decoration: none; transition: var(--transition); }
.btn-p:hover { background: #452417; transform: translateY(-2px); }
.btn-g { font-size: 0.9rem; color: rgba(244, 239, 230, 0.7); border: 1px solid rgba(244, 239, 230, 0.3); padding: 1rem 2.5rem; text-decoration: none; transition: var(--transition); }
.btn-g:hover { border-color: var(--cream); background: rgba(244, 239, 230, 0.05); }

/* SECTIONS COMMON */
.sec-label { font-size: 0.68rem; letter-spacing: 0.35em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.8rem; }
.sec-label::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.sec-h { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 900; line-height: 1.18; color: var(--charcoal); margin-bottom: 4rem; }

/* NUMBERS */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--charcoal); }
.num-item { padding: 4rem 2.5rem; border-right: 1px solid rgba(244, 239, 230, 0.08); text-align: center; }
.num-item:last-child { border-right: none; }
.num-val { font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 6rem); font-weight: 900; color: var(--gold-light); line-height: 1; margin-bottom: 0.8rem; letter-spacing: -0.02em; }
.num-lbl { font-size: 0.75rem; color: rgba(244, 239, 230, 0.45); letter-spacing: 0.12em; text-transform: uppercase; }

/* WHY */
.why { padding: 8rem 5rem; border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.why-card { background: var(--cream); padding: 3rem 2.5rem; transition: var(--transition); }
.why-card:hover { background: white; transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); }
.why-num { font-family: var(--serif); font-size: 3.5rem; font-weight: 900; color: rgba(92, 50, 32, 0.08); line-height: 1; margin-bottom: 1.2rem; }
.why-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.8rem; line-height: 1.3; }
.why-desc { font-size: 0.95rem; color: var(--warm-gray); line-height: 1.75; }

/* STORY */
.story { border-bottom: 1px solid var(--line); }
.story-header { padding: 7rem 5rem 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: end; }
.story-intro { font-size: 1rem; color: var(--warm-gray); line-height: 1.9; }
.story-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.step-card { background: var(--cream); padding: 3rem 2.5rem; position: relative; }
.step-card.dark { background: var(--charcoal); }
.step-num { font-family: var(--serif); font-size: 3.5rem; font-weight: 900; color: rgba(92, 50, 32, 0.08); line-height: 1; margin-bottom: 1rem; }
.step-card.dark .step-num { color: rgba(212, 170, 76, 0.1); }
.step-tag { font-size: 0.67rem; letter-spacing: 0.22em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.6rem; }
.step-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.5rem; }
.step-card.dark .step-title { color: var(--cream); }
.step-desc { font-size: 0.85rem; color: var(--warm-gray); line-height: 1.65; }
.step-card.dark .step-desc { color: rgba(244, 239, 230, 0.45); }
.step-arrow { position: absolute; top: 3.5rem; right: -12px; width: 24px; height: 24px; background: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; color: var(--charcoal); font-weight: 700; z-index: 1; }

.story-conclusion { background: var(--charcoal); padding: 4rem 5rem; display: flex; align-items: center; justify-content: space-between; gap: 4rem; }
.story-conclusion-text { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 700; color: var(--cream); line-height: 1.4; max-width: 700px; }
.story-conclusion-text em { font-style: normal; color: var(--gold-light); }
.story-conclusion-badge { flex-shrink: 0; text-align: center; }
.scb-num { font-family: var(--serif); font-size: 4rem; font-weight: 900; color: var(--gold-light); line-height: 1; }
.scb-lbl { font-size: 0.72rem; letter-spacing: 0.15em; color: rgba(244, 239, 230, 0.4); text-transform: uppercase; margin-top: 0.3rem; }

/* FOUNDER */
.founder { padding: 8rem 5rem; border-bottom: 1px solid var(--line); }
.founder-intro-text { font-size: 1rem; color: var(--warm-gray); line-height: 1.9; margin-top: 1.2rem; max-width: 640px; }
.founder-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0px; background: var(--line); margin-top: 4rem; }
.founder-card { background: var(--cream); display: flex; flex-direction: column; transition: var(--transition); }
.founder-card:hover { background: white; transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04); }
.founder-card-img-wrapper { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #24221b; }
.founder-card-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.founder-card-info { padding: 2rem; flex: 1; }
.founder-card-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 900; color: var(--charcoal); margin-bottom: 0.25rem; }
.founder-card-role { font-size: 0.68rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.2rem; }
.founder-card-tags { display: flex; flex-direction: column; gap: 0.5rem; }
.fc-tag { font-size: 0.82rem; color: var(--warm-gray); padding-left: 0.8rem; border-left: 2px solid var(--gold-light); line-height: 1.4; }

/* STATS */
.stats-dark { background: var(--charcoal); padding: 8rem 5rem; border-bottom: 1px solid rgba(244, 239, 230, 0.08); }
.stats-dark .sec-label { color: rgba(212, 170, 76, 0.6); }
.stats-dark .sec-label::before { background: rgba(212, 170, 76, 0.6); }
.stats-dark .sec-h { color: var(--cream); margin-bottom: 5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(244, 239, 230, 0.06); }
.stat-card { background: rgba(244, 239, 230, 0.03); padding: 4rem 3rem; text-align: center; }
.stat-val { font-family: var(--serif); font-size: clamp(3rem, 5vw, 5rem); font-weight: 900; color: var(--gold-light); line-height: 1; margin-bottom: 0.6rem; }
.stat-lbl { font-size: 0.85rem; color: rgba(244, 239, 230, 0.4); letter-spacing: 0.1em; }

/* MENU */
.menu { padding: 8rem 5rem; border-bottom: 1px solid var(--line); }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); margin-top: 4rem; }
.menu-card { background: var(--cream); transition: var(--transition); }
.menu-card:hover { background: white; }
.menu-photo { height: 280px; background: var(--charcoal); display: flex; align-items: center; justify-content: center; color: rgba(244, 239, 230, 0.1); font-size: 0.7rem; letter-spacing: 0.12em; flex-direction: column; gap: 0.4rem; overflow: hidden; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); display: block; }
.menu-card:hover .menu-photo img { transform: scale(1.05); }
.menu-photo .ico { font-size: 2.5rem; opacity: 0.12; }
.menu-info { padding: 1.8rem; }
.menu-num { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: rgba(92, 50, 32, 0.08); line-height: 1; margin-bottom: 0.5rem; }
.menu-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.4rem; }
.menu-desc { font-size: 0.83rem; color: var(--warm-gray); line-height: 1.6; }
.menu-highlight { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold); margin-top: 0.5rem; font-weight: 500; }

/* VISION */
.vision { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.vision-left { padding: 8rem 5rem; background: var(--charcoal); display: flex; flex-direction: column; justify-content: center; }
.vision-left .sec-label { color: rgba(212, 170, 76, 0.6); }
.vision-left .sec-label::before { background: rgba(212, 170, 76, 0.6); }
.vision-left .sec-h { color: var(--cream); margin-bottom: 0.5rem; }
.vision-left .vision-sub { font-size: 0.95rem; color: rgba(244, 239, 230, 0.45); line-height: 1.8; margin-top: 1.5rem; }
.vision-right { padding: 8rem 5rem; display: flex; flex-direction: column; justify-content: center; }
.v-steps { display: flex; flex-direction: column; gap: 0; }
.v-step { display: grid; grid-template-columns: 48px 1fr; gap: 1.5rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line); opacity: 0.5; transition: var(--transition); }
.v-step:first-child { border-top: 1px solid var(--line); }
.v-step.active { opacity: 1; }
.v-step.active .v-num { color: var(--gold); }
.v-num { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: rgba(24, 22, 15, 0.1); line-height: 1; padding-top: 0.2rem; }
.v-stage { font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.3rem; }
.v-title { font-size: 1rem; color: var(--charcoal); font-weight: 500; margin-bottom: 0.3rem; }
.v-desc { font-size: 0.8rem; color: var(--warm-gray); line-height: 1.6; }
.v-badge { display: inline-block; font-size: 0.65rem; color: var(--cream); background: var(--brown); padding: 0.15rem .6rem; margin-left: 0.5rem; letter-spacing: 0.06em; vertical-align: middle; }

/* MEDIA */
.media { padding: 8rem 5rem; border-bottom: 1px solid var(--line); }
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: transparent; margin-top: 4rem; border: 1px solid var(--line); }
.media-card { background: var(--cream); border-right: 1px solid var(--line); display: flex; flex-direction: column; transition: var(--transition); height: 100%; }
.media-card:last-child { border-right: none; }
.media-grid a { text-decoration: none; display: block; }
.media-grid a .media-card { border-right: 1px solid var(--line); }
.media-grid a:last-child .media-card { border-right: none; }
.media-card:hover { background: white; }
.media-thumb { height: 200px; background: var(--charcoal); display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(244, 239, 230, 0.15); gap: 0.5rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; transition: var(--transition); }
.media-card:hover .media-thumb { color: var(--gold-light); }
.media-thumb .m-ico { font-size: 2rem; opacity: 0.2; transition: var(--transition); }
.media-card:hover .media-thumb .m-ico { opacity: 0.8; transform: scale(1.1); }
.media-info { padding: 1.5rem; flex: 1; }
.media-type { font-size: 0.65rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.4rem; }
.media-title { font-size: 0.95rem; font-weight: 500; color: var(--charcoal); line-height: 1.4; }

/* FRANCHISE */
.franchise { padding: 8rem 5rem; background: var(--charcoal); border-bottom: 1px solid rgba(244, 239, 230, 0.06); }
.franchise .sec-label { color: rgba(212, 170, 76, 0.6); }
.franchise .sec-label::before { background: rgba(212, 170, 76, 0.6); }
.franchise .sec-h { color: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(244, 239, 230, 0.06); margin-top: 4rem; }
.p-card { background: rgba(244, 239, 230, 0.03); padding: 3rem 2rem; }
.p-num { font-family: var(--serif); font-size: 3rem; font-weight: 900; color: rgba(212, 170, 76, 0.15); line-height: 1; margin-bottom: 1rem; }
.p-title { font-size: 1rem; font-weight: 500; color: var(--cream); margin-bottom: 0.5rem; }
.p-desc { font-size: 0.83rem; color: rgba(244, 239, 230, 0.35); line-height: 1.65; }

/* FRANCHISE CTA 배너박스 (모바일 오버플로우 방지) */
.franchise-cta { margin-top: 3rem; padding: 2.5rem 3rem; background: rgba(184, 146, 42, 0.1); border: 1px solid rgba(184, 146, 42, 0.2); display: flex; align-items: center; justify-content: space-between; gap: 2rem; box-sizing: border-box; width: 100%; }
.fct-text-box { min-width: 0; flex: 1; }
.fct-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--cream); margin-bottom: 0.3rem; white-space: normal; word-break: keep-all; }
.fct-sub { font-size: 0.85rem; color: rgba(244, 239, 230, 0.4); word-break: keep-all; }
.btn-gold { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.1em; color: var(--charcoal); background: var(--gold-light); padding: 1rem 2.8rem; text-decoration: none; white-space: nowrap; display: inline-block; transition: var(--transition); }
.btn-gold:hover { background: #c2993c; transform: translateY(-2px); }

/* SIMULATOR */
.simulator { padding: 8rem 5rem; border-bottom: 1px solid var(--line); }
.sim-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; margin-top: 4rem; }
.sim-ctrl-label { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--warm-gray); text-transform: uppercase; margin-bottom: 0.8rem; }
.sim-range { width: 100%; accent-color: var(--brown); height: 6px; outline: none; background: rgba(0, 0, 0, 0.05); border-radius: 3px; -webkit-appearance: none; }
.sim-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brown); cursor: pointer; transition: var(--transition); }
.sim-range::-webkit-slider-thumb:hover { transform: scale(1.15); background: var(--gold); }
.sim-range-val { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: var(--charcoal); margin-top: 0.5rem; }
.sim-results { display: flex; flex-direction: column; gap: 2px; background: var(--line); }
.sim-row { background: var(--cream); padding: 1.8rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.sim-row-label { font-size: 0.82rem; color: var(--warm-gray); }
.sim-row-val { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--charcoal); }
.sim-row-val.highlight { color: var(--brown); font-size: 1.3rem; }
.sim-note { margin-top: 1rem; font-size: 0.75rem; color: var(--warm-gray); line-height: 1.7; }

/* CONTACT */
.contact { padding: 8rem 5rem; background: var(--charcoal); }
.contact .sec-label { color: rgba(212, 170, 76, 0.6); }
.contact .sec-label::before { background: rgba(212, 170, 76, 0.6); }
.contact .sec-h { color: var(--cream); margin-bottom: 4rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.form-stack { display: flex; flex-direction: column; gap: 1px; background: rgba(244, 239, 230, 0.1); }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.ff { background: rgba(244, 239, 230, 0.04); padding: 1.3rem 1.6rem; transition: var(--transition); }
.ff:focus-within { background: rgba(244, 239, 230, 0.08); }
.ff.full { grid-column: 1 / -1; }
.ff-lbl { font-size: 0.66rem; letter-spacing: 0.15em; color: rgba(244, 239, 230, 0.3); text-transform: uppercase; margin-bottom: 0.35rem; }
.ff-inp { background: none; border: none; outline: none; font-family: var(--sans); font-size: 0.95rem; color: var(--cream); font-weight: 300; width: 100%; }
.ff-inp::placeholder { color: rgba(244, 239, 230, 0.15); }
.btn-submit { margin-top: 1.5rem; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.1em; color: var(--charcoal); background: var(--gold-light); border: none; padding: 1.1rem 3rem; cursor: pointer; text-transform: uppercase; width: 100%; transition: var(--transition); }
.btn-submit:hover { background: #c2993c; transform: translateY(-2px); }

.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }
.ci-lbl { font-size: 0.66rem; letter-spacing: 0.2em; color: rgba(212, 170, 76, 0.6); text-transform: uppercase; margin-bottom: 0.35rem; }
.ci-val { font-size: 0.95rem; color: rgba(244, 239, 230, 0.55); line-height: 1.7; }
.contact-info a { color: var(--gold-light); text-decoration: none; }
.kakao-btn { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--charcoal); background: #FEE500; padding: 0.7rem 1.5rem; text-decoration: none; font-weight: 500; margin-top: 0.3rem; transition: var(--transition); }
.kakao-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--charcoal); padding: 3rem 5rem; border-top: 1px solid rgba(244, 239, 230, 0.07); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.ft-logo { font-family: var(--serif); font-size: 1.1rem; font-weight: 900; color: rgba(244, 239, 230, 0.3); letter-spacing: 0.08em; }
.ft-links { display: flex; gap: 2rem; }
.ft-links a { font-size: 0.75rem; color: rgba(244, 239, 230, 0.25); text-decoration: none; transition: var(--transition); }
.ft-links a:hover { color: var(--gold-light); }
.ft-copy { font-size: 0.72rem; color: rgba(244, 239, 230, 0.18); }
.ft-biz { font-size: 0.72rem; color: rgba(244, 239, 230, 0.2); margin-top: 0.3rem; }

/* MODALS */
.modal-overlay { position: fixed; inset: 0; background: rgba(18, 16, 11, 0.8); backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card { background: var(--cream); color: var(--charcoal); padding: 3.5rem; max-width: 500px; width: 90%; border-radius: 4px; border: 1px solid var(--gold); text-align: center; transform: scale(0.92); transition: var(--transition); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.modal-overlay.active .modal-card { transform: scale(1); }
.modal-icon { width: 64px; height: 64px; background: rgba(184, 146, 42, 0.1); border-radius: 50%; color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.5rem auto; }
.modal-card h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.8rem; }
.modal-card p { font-size: 0.92rem; color: var(--warm-gray); line-height: 1.7; margin-bottom: 2rem; }
.btn-modal-close { background: var(--charcoal); color: var(--cream); border: none; padding: 0.8rem 2.5rem; font-size: 0.85rem; font-weight: 500; cursor: pointer; border-radius: 2px; transition: var(--transition); }
.btn-modal-close:hover { background: var(--brown); }

.video-mock-frame { background: #18160F; height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--cream); margin-bottom: 1.5rem; border-radius: 4px; border: 1px solid rgba(244, 239, 230, 0.1); position: relative; overflow: hidden; }
.video-mock-frame i { font-size: 3rem; color: var(--gold-light); margin-bottom: 0.8rem; animation: pulse 2s infinite; }

@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ──────────────────────────────────────────────────
   [CRITICAL] 모바일 안깨지게 반응형 스타일 최적화 분기점
   ────────────────────────────────────────────────── */
@media(max-width: 1100px) {
  nav, .why, .story-header, .founder, .stats-dark, .menu, .vision-left, .vision-right, .media, .franchise, .simulator, .contact, footer { padding-left: 2.5rem; padding-right: 2.5rem; }
  .why-grid, .story-steps, .stats-grid, .media-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-team { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .sim-layout, .contact-layout, .vision { grid-template-columns: 1fr; gap: 4rem; }
  .hero-video-placeholder { position: static; transform: none; margin-top: 2rem; width: fit-content; }
}

@media(max-width: 768px) {
  /* 1. 상단 네비게이션바 줄바꿈 방지 및 여백 최적화 */
  nav {
    padding: 1rem 1.2rem;
  }
  nav.scrolled {
    padding: 0.8rem 1.2rem;
  }
  .nav-logo {
    font-size: 1.1rem;
    white-space: nowrap; /* 브랜드명이 모바일에서 절대 쪼개지지 않음 */
  }
  .nav-logo span {
    font-size: 0.65rem;
  }

  /* 모바일 토글 메뉴 채우기 */
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
    background: var(--charcoal); flex-direction: column; justify-content: center;
    gap: 2.5rem; transition: var(--transition); box-shadow: -5px 0 25px rgba(0,0,0,0.3);
    padding: 2rem; z-index: 305;
  }
  .nav-links.active { right: 0; }
  .nav-links a { color: rgba(244, 239, 230, 0.7); font-size: 1.05rem; width: 100%; text-index: center; }
  .nav-cta { background: var(--gold-light); color: var(--charcoal) !important; width: 100%; text-align: center; padding: 0.8rem 0; }

  /* 2. 전체 섹션 모바일 패딩 조정 (글자가 벽에 붙지 않게 예쁜 여백 형성) */
  .why, .story-header, .founder, .stats-dark, .menu, .vision-left, .vision-right, .media, .franchise, .simulator, .contact, footer {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  /* 3. 모바일 타이틀 폰트 크기 및 단어 단위 줄바꿈 설정 */
  .sec-h {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    word-break: keep-all; /* 글자 중간이 아니라 단어 단위로만 예쁘게 줄바꿈 */
  }

  /* 4. 히어로 영역 글자 크기 밸런싱 */
  .hero { padding: 0 1.2rem 4rem; }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    word-break: keep-all; /* "보광정입니다" 등의 단어가 툭 끊기지 않음 */
  }
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    word-break: keep-all;
  }
  .hero-btns { flex-direction: column; width: 100%; gap: 0.6rem; }
  .btn-p, .btn-g {
    width: 100%;
    text-align: center;
    padding: 0.9rem 0;
    font-size: 0.85rem;
    white-space: nowrap; /* 버튼 안의 텍스트가 절대 두 줄로 넘어가지 않음 */
  }
  .hero-video-placeholder { display: none; }

  /* 5. 그리드 레이아웃 1열 전개 및 가독성 확보 */
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .num-item { padding: 2rem 1rem; }
  .num-val { font-size: 2.5rem; }

  .why-grid, .story-steps, .founder-team, .stats-grid, .menu-grid, .media-grid, .process-grid {
    grid-template-columns: 1fr;
    gap: 12px; /* 카드와 카드 사이의 답답하지 않은 간격 유지 */
  }

  .why-card, .step-card, .founder-card, .stat-card, .menu-card, .media-card, .p-card {
    padding: 2rem 1.5rem; /* 카드 내부 여백도 모바일에 맞게 정돈 */
  }

  /* 인물 카드 모바일 종횡비 고정 */
  .founder-card-img-wrapper { aspect-ratio: 1 / 1; }

  /* 6. 창업 상담 신청 CTA 배너박스 모바일 칼교정 */
  .franchise-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.2rem;
    gap: 1.2rem;
    margin-top: 2rem;
  }
  .fct-title {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.4rem;
    word-break: keep-all;
  }
  .fct-sub {
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.4;
    word-break: keep-all;
  }
  .btn-gold {
    width: 100%;
    text-align: center;
    padding: 0.9rem 0;
    font-size: 0.85rem;
    white-space: nowrap; /* "무료 창업 설명 신청하기 →" 문구 한 줄 고정 */
  }

  /* 7. 수익 계산기 및 폼 요소 터치 편의성 업그레이드 */
  .sim-row {
    padding: 1.2rem 1rem;
    flex-direction: column; /* 평수 선택 시 결과 항목들이 모바일에서 겹치지 않게 분할 */
    align-items: flex-start;
    gap: 0.4rem;
  }
  .sim-row-label { font-size: 0.78rem; }
  .sim-row-val { font-size: 1rem; }
  .sim-row-val.highlight { font-size: 1.15rem; }
  .sim-note { font-size: 0.7rem; line-height: 1.5; }

  .form-row2 { grid-template-columns: 1fr; }
  .ff { padding: 1rem 1.2rem; }
  .btn-submit { padding: 1rem 0; font-size: 0.85rem; }

  /* 8. 기타 결론부 및 푸터 정렬 */
  .story-conclusion { flex-direction: column; text-align: center; padding: 2.5rem 1.2rem; gap: 1.5rem; }
  .story-conclusion-text { font-size: 1.1rem; line-height: 1.5; word-break: keep-all; }
  .scb-num { font-size: 3rem; }

  footer { padding: 2.5rem 1.2rem; }
  .footer-inner { flex-direction: column; gap: 1.2rem; text-align: center; }
  .ft-links { gap: 1rem; justify-content: center; }
  .ft-links a { font-size: 0.7rem; }
  .ft-copy, .ft-biz { font-size: 0.65rem; line-height: 1.5; text-align: center; word-break: keep-all; }
}