/* ===========================================================
   모멘토 — 행사/브랜드 이벤트 포토부스 랜딩
   웨딩 페이지(style.css)와 완전히 분리된 다크 테마.
   기준: 블랙 베이스 + 레드 포인트 + 카메라 UI 모티프
   =========================================================== */

:root {
  --bg:        #0a0a0a;
  --bg-soft:   #131313;
  --bg-card:   #171717;
  --line:      #2a2a2a;
  --line-soft: #1e1e1e;
  --white:     #ffffff;
  --text:      #d8d8d8;
  --muted:     #8c8c8c;
  --red:       #e11d1d;
  --red-dark:  #b71414;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  --maxw: 1040px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

/* sticky 헤더에 앵커 제목이 가리지 않게 */
html { scroll-behavior: smooth; scroll-padding-top: 108px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

section { padding: 84px 0; border-top: 1px solid var(--line-soft); }

/* ---------- 공통 타이포 ---------- */
.sec-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--red);
  margin-bottom: 14px;
}
.sec-label::before { content: "— "; }

.sec-title {
  font-size: clamp(1.6rem, 4.6vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  line-height: 1.28;
  margin-bottom: 16px;
}

.sec-sub { color: var(--muted); font-size: .95rem; margin-bottom: 40px; max-width: 620px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .1s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:active { transform: scale(.985); }
.btn-ghost { border-color: #3a3a3a; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-block { width: 100%; }

/* ---------- 라인 전환 내비 (웨딩 ↔ 행사) ---------- */
/* 웨딩 페이지(style.css)와 같은 구조·클래스명을 쓰되 다크 톤으로 맞춘다. */
/* 페이지가 길어 스크롤 후에도 라인 전환이 가능해야 하므로 상단에 고정한다. */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px 20px;
}
.topbar-logo { display: block; }
.topbar-logo img { width: 108px; height: auto; filter: invert(1); opacity: .9; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.site-nav a:hover { color: var(--white); }
.site-nav a.is-active {
  background: var(--red);
  color: var(--white);
}

.tab-panels { min-height: 62vh; }

/* ---------- 섹션 이동 메뉴 (상단 고정) ---------- */
.section-nav {
  border-top: 1px solid var(--line-soft);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav-track {
  display: flex;
  gap: 2px;
  width: max-content;
  min-width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px 14px;
}
.section-nav a {
  padding: 7px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.section-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.section-nav a.is-current { background: var(--red); color: var(--white); }

/* ---------- 1. 히어로 ---------- */
#hero { border-top: none; padding: 40px 0 92px; }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: rec 1.8s ease-in-out infinite;
}
@keyframes rec { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

#hero h1 {
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
#hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-size: 1.02rem;
  color: var(--text);
  max-width: 500px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.hero-art img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.hero-art img:last-child { margin-top: 34px; }

/* ---------- 2. WHY ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 30px 24px 28px;
  position: relative;
}
/* 카메라 코너 브래킷 */
.why-card::before,
.why-card::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-color: #444;
  border-style: solid;
}
.why-card::before { top: 8px; left: 8px; border-width: 1px 0 0 1px; }
.why-card::after { bottom: 8px; right: 8px; border-width: 0 1px 1px 0; }

.why-num {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .2em;
  color: #555;
  margin-bottom: 14px;
}
.why-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.why-card p { font-size: .92rem; color: var(--muted); }

.why-card.is-accent { border-color: var(--red); }
.why-card.is-accent .why-num { color: var(--red); }
.why-card.is-accent::before, .why-card.is-accent::after { border-color: var(--red); }

/* ---------- 3. 브랜딩 ---------- */
.brand-list { list-style: none; display: grid; gap: 28px; }
.brand-list li {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 36px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 32px;
}
.brand-idx {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--red);
  margin-bottom: 12px;
}
.brand-txt h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.brand-txt p { font-size: .95rem; color: var(--muted); }

/* 스트립은 세로로 매우 길어(1:3) 높이를 먼저 제한하고 폭을 따라가게 한다.
   그래야 카드가 텍스트 대비 과하게 늘어나지 않는다. */
.brand-img.is-strip img {
  max-height: 320px;
  width: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
}
.brand-img.is-screen img { width: 100%; border: 1px solid var(--line); }

/* ---------- 4. 사례 ---------- */
.case-row { margin-top: 52px; }
.case-row:first-of-type { margin-top: 40px; }
.case-head { margin-bottom: 20px; }
.case-head h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.case-meta {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--red);
  margin-bottom: 12px;
}
.case-head p { font-size: .95rem; color: var(--muted); max-width: 640px; }

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.strip-grid.is-two { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
.strip-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  transition: border-color .15s;
}
.strip-grid img:hover { border-color: var(--red); }

/* ---------- 5. 포함 ---------- */
.inc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.inc { background: var(--bg); padding: 26px 22px; }
.inc h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 7px;
  padding-left: 14px;
  position: relative;
  letter-spacing: -.01em;
}
.inc h3::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 6px; height: 6px;
  background: var(--red);
}
.inc p { font-size: .88rem; color: var(--muted); padding-left: 14px; }

.inc-note {
  margin-top: 28px;
  padding: 20px 22px;
  border: 1px dashed #3a3a3a;
  font-size: .93rem;
  color: var(--muted);
}
.inc-note strong { color: var(--white); font-weight: 700; }

/* ---------- 6. 진행 ---------- */
.flow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.flow-steps li { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.step-n {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.flow-steps h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.flow-steps p { font-size: .88rem; color: var(--muted); }

/* ---------- 7. FAQ ---------- */
#faq details {
  border-bottom: 1px solid var(--line);
}
#faq details:first-of-type { border-top: 1px solid var(--line); }
#faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  position: relative;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 400;
}
#faq details[open] summary::after { content: "−"; }
#faq details p {
  padding: 0 0 20px;
  font-size: .93rem;
  color: var(--muted);
  max-width: 720px;
}

/* ---------- 8. 문의 폼 ---------- */
#inquiry { background: var(--bg-soft); }
.inquiry-note { color: var(--muted); font-size: .95rem; margin-bottom: 28px; max-width: 620px; }

.btn-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fee500;
  color: rgba(0, 0, 0, .85);
  border-color: #fee500;
}
.btn-kakao:hover { background: #f5dc00; border-color: #f5dc00; }
.btn-kakao:active { transform: scale(.985); }
.btn-kakao svg { width: 22px; height: 22px; flex: none; }

.kakao-sub { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.kakao-sub strong { color: var(--white); font-weight: 600; }

.contact-hint {
  margin-top: 32px;
  max-width: 620px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 24px 22px;
}
.ch-title {
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--white);
  margin-bottom: 14px;
}
.contact-hint ul { list-style: none; display: grid; gap: 10px; }
.contact-hint li {
  position: relative;
  padding-left: 17px;
  font-size: .93rem;
  color: var(--muted);
}
.contact-hint li::before {
  content: "";
  position: absolute;
  left: 0; top: .6em;
  width: 6px; height: 6px;
  background: var(--red);
}
.contact-hint li strong { color: var(--text); font-weight: 600; }
.ch-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: .84rem;
  color: #6f6f6f;
}

.contact-alt { margin-top: 22px; font-size: .88rem; color: var(--muted); }
.contact-alt a { color: var(--red); font-weight: 700; }

/* ---------- 웨딩 라인 안내 (크로스 배너) ---------- */
#cross { padding: 0 0 84px; border-top: none; }
.cross-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 38px 26px;
  text-align: center;
}
.cross-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .24em;
  color: var(--red);
  margin-bottom: 12px;
}
.cross-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.cross-desc {
  font-size: .93rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 24px;
}

/* ---------- 푸터 ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 20px 80px;
  text-align: center;
  font-size: .85rem;
  color: #707070;
}
.footer-logo { filter: invert(1); opacity: .55; margin: 0 auto 18px; }
.footer-tag {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .3em;
  color: var(--red);
  margin-bottom: 20px;
}
footer p { margin-bottom: 6px; }
footer a { color: #9a9a9a; text-decoration: none; }
footer a:hover { color: var(--white); }
.footer-legal { margin-top: 14px; }

/* ---------- 모바일 고정 CTA ---------- */
#sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: none;
  padding: 17px 20px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .inc-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .brand-list li { grid-template-columns: 1fr; gap: 24px; }
  .brand-img.is-screen { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 60px 0; }
  #hero { padding: 26px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-art { max-width: 320px; }
  .hero-art img:last-child { margin-top: 24px; }
  .hero-cta .btn { flex: 1 1 auto; text-align: center; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid.is-two { max-width: none; }
  .brand-list li { padding: 24px 20px; }
  #sticky-cta { display: block; }
  body { padding-bottom: 58px; }
}

@media (max-width: 460px) {
  .inc-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .brand-img.is-screen { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eyebrow .dot { animation: none; }
  * { transition: none !important; }
}
