/* ════════════════════════════════════════════════════════
   Remeet Landing — Premium Memorial (v2 redesign) 2026-06
   Warm ivory + warm black + muted gold (추모 페이지와 통일)
   ════════════════════════════════════════════════════════ */

/* ── 팔레트 오버라이드 (variables.css 위에 덮어쓰기) ── */
:root {
  --color-primary: #1C1815;
  --color-primary-hover: #000000;
  --color-accent-warm: #B8945F;

  --l-ivory: #F8F5F0;
  --l-ivory-soft: #F2EEE7;
  --l-dark: #1C1815;
  --l-dark-soft: #26201B;
  --l-text: #1A1A1A;
  --l-text-sub: #6B6B6B;
  --l-text-light: #9B9B9B;
  --l-gold: #B8945F;
  --l-gold-soft: #C9A877;
  --l-border: #E5E0D8;
  --l-card: #FFFFFF;

  --l-serif: 'Noto Serif KR', Georgia, serif;
  --l-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --l-maxw: 1120px;
}

body {
  background: var(--l-ivory);
  color: var(--l-text);
  font-family: var(--l-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}

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

/* 공통 섹션 패딩 */
section { padding: 100px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

/* 섹션 헤더 */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--l-gold);
  font-weight: 500;
  margin-bottom: 16px;
}
.section-header__title {
  font-family: var(--l-serif);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.4;
  color: var(--l-text);
  margin: 0;
  letter-spacing: 0.01em;
}
.section-header__divider {
  width: 36px;
  height: 1px;
  background: var(--l-gold);
  margin: 24px auto 0;
}

/* reveal 애니메이션 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--l-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn--primary { background: var(--l-gold); color: #fff; border-color: var(--l-gold); }
.btn--primary:hover { background: #A07840; border-color: #A07840; transform: translateY(-1px); }
.btn--small { padding: 9px 18px; font-size: 13px; }
.btn--full { width: 100%; }

/* ════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header--scrolled {
  background: rgba(248, 245, 240, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--l-border);
}
.header__inner {
  max-width: var(--l-maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo { text-decoration: none; }
.header__logo-text {
  font-family: var(--l-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.3s ease;
}
.header--scrolled .header__logo-text { color: var(--l-text); }

.header__nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.header__nav-link {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}
.header__nav-link:hover { color: #fff; }
.header--scrolled .header__nav-link { color: var(--l-text-sub); }
.header--scrolled .header__nav-link:hover { color: var(--l-text); }

.header__cta {
  background: var(--l-gold);
  color: #fff;
  border-color: var(--l-gold);
}
.header__auth-wrap { margin-left: 12px; }
.header__auth-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.header__auth-btn:hover { background: rgba(255,255,255,0.12); }
.header--scrolled .header__auth-btn { border-color: var(--l-border); color: var(--l-text); }
.header--scrolled .header__auth-btn:hover { background: var(--l-ivory-soft); }

/* 모바일 메뉴 */
.header__menu-btn { display: none; background: transparent; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; }
.header__menu-icon, .header__menu-icon::before, .header__menu-icon::after {
  content: ''; position: absolute; left: 9px; width: 22px; height: 2px; background: #fff; transition: all 0.3s ease;
}
.header--scrolled .header__menu-icon, .header--scrolled .header__menu-icon::before, .header--scrolled .header__menu-icon::after { background: var(--l-text); }
.header__menu-icon { top: 19px; }
.header__menu-icon::before { top: -7px; }
.header__menu-icon::after { top: 7px; }
.header__nav-close { display: none; }

@media (max-width: 900px) {
  .header__cta, .header__auth-wrap { display: none; }
  .header__menu-btn { display: block; }
  .header__nav {
    position: fixed;
    inset: 0;
    background: var(--l-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    display: flex;
  }
  .header__nav--open { transform: translateX(0); }
  .header__nav-list { flex-direction: column; align-items: center; gap: 24px; }
  .header__nav-link { color: rgba(255,255,255,0.9); font-size: 18px; }
  .header__nav-close { display: block; position: absolute; top: 24px; right: 24px; background: transparent; border: none; color: #fff; cursor: pointer; }
  .header__nav-actions { display: flex; flex-direction: column; gap: 12px; width: 240px; }
  .header__nav-action-btn {
    text-align: center; padding: 12px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; cursor: pointer; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff;
  }
  .header__nav-action-btn--primary { background: var(--l-gold); border-color: var(--l-gold); }
  .header__nav-user { color: #fff; text-align: center; font-size: 14px; }
}
@media (min-width: 901px) {
  .header__nav-actions { display: none; }
}

/* ════════════════════════════════════════════════════════
   HERO (다크 + 골드)
   ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--l-dark);
  overflow: hidden;
  padding: 0 24px;
  text-align: center;
}
/* 은은한 골드 빛 */
.hero::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184,148,95,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero__particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--l-gold);
  border-radius: 50%;
  opacity: 0;
  animation: particle-twinkle 6s ease-in-out infinite;
}
@keyframes particle-twinkle {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.5; transform: translateY(-12px); }
}

.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__title {
  font-family: var(--l-serif);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.35;
  color: #fff;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}
.hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin: 0 0 44px;
  font-weight: 300;
}

/* Hero CTA 3개 */
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__cta-primary, .hero__cta-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 28px;
  border-radius: 16px;
  text-decoration: none;
  min-width: 200px;
  transition: all 0.25s ease;
}
.hero__cta-primary {
  background: var(--l-gold);
  color: #fff;
}
.hero__cta-primary:hover { background: #A07840; transform: translateY(-3px); }
.hero__cta-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.hero__cta-secondary:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.hero__cta-icon { font-size: 22px; }
.hero__cta-title { font-size: 16px; font-weight: 600; }
.hero__cta-desc { font-size: 12px; opacity: 0.7; }

.hero__ctas-dots { display: none; gap: 8px; justify-content: center; margin-top: 24px; }
.hero__ctas-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: background 0.3s; }
.hero__ctas-dot.is-active { background: var(--l-gold); }

@media (max-width: 768px) {
  .hero__ctas {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none; scrollbar-width: none;
    padding-bottom: 4px;
  }
  .hero__ctas::-webkit-scrollbar { display: none; }
  .hero__cta-primary, .hero__cta-secondary { scroll-snap-align: center; flex: 0 0 80%; }
  .hero__ctas-dots { display: flex; }
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-arrow {
  display: block;
  width: 22px; height: 22px;
  border-right: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px,5px); opacity: 1; }
}

/* ════════════════════════════════════════════════════════
   MEM SEARCH (ivory)
   ════════════════════════════════════════════════════════ */
.mem-search { background: var(--l-ivory); }
.mem-search__header { text-align: center; margin-bottom: 32px; }
.mem-search__title {
  font-family: var(--l-serif);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 400;
  color: var(--l-text);
  margin: 0 0 10px;
}
.mem-search__desc { color: var(--l-text-sub); font-size: 15px; }
.mem-search__box {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}
.mem-search__input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid var(--l-border);
  border-radius: 999px;
  background: var(--l-card);
  font-size: 15px;
  color: var(--l-text);
  font-family: var(--l-sans);
}
.mem-search__input:focus { outline: none; border-color: var(--l-gold); }
.mem-search__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 15px 26px;
  border: none;
  border-radius: 999px;
  background: var(--l-text);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.mem-search__btn:hover { background: #000; }
.mem-search__results { max-width: 600px; margin: 20px auto 0; }

/* ════════════════════════════════════════════════════════
   EMPATHY (dark)
   ════════════════════════════════════════════════════════ */
.empathy { background: var(--l-dark); }
.empathy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) { .empathy__grid { grid-template-columns: 1fr; gap: 20px; } }
.empathy__card {
  text-align: center;
  padding: 40px 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}
.empathy__icon { color: var(--l-gold); margin-bottom: 20px; display: flex; justify-content: center; }
.empathy__text {
  font-family: var(--l-serif);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

/* ════════════════════════════════════════════════════════
   SERVICE (ivory)
   ════════════════════════════════════════════════════════ */
.service { background: var(--l-ivory-soft); }
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .service__grid { grid-template-columns: 1fr; } }
.service__card {
  background: var(--l-card);
  border: 1px solid var(--l-border);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service__card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(28,24,21,0.08); }
.service__card-icon { color: var(--l-gold); margin-bottom: 20px; display: flex; justify-content: center; }
.service__card-title {
  font-family: var(--l-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--l-text);
  margin: 0 0 12px;
}
.service__card-desc { font-size: 14px; color: var(--l-text-sub); line-height: 1.8; margin: 0; }

/* ════════════════════════════════════════════════════════
   PROCESS (ivory)
   ════════════════════════════════════════════════════════ */
.process { background: var(--l-ivory); }
.process__steps {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.process__step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 8px 0;
}
.process__step-number {
  flex-shrink: 0;
  font-family: var(--l-serif);
  font-size: 28px;
  color: var(--l-gold);
  width: 56px;
  text-align: center;
  letter-spacing: 0.02em;
}
.process__step-content { padding-top: 4px; }
.process__step-title {
  font-family: var(--l-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--l-text);
  margin: 0 0 8px;
}
.process__step-desc { font-size: 14px; color: var(--l-text-sub); line-height: 1.8; margin: 0; }
.process__step-connector {
  width: 1px;
  height: 32px;
  background: var(--l-border);
  margin-left: 28px;
}

/* ════════════════════════════════════════════════════════
   FEATURES (ivory)
   ════════════════════════════════════════════════════════ */
.features { background: var(--l-ivory-soft); }
.features__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.features__row:last-child { margin-bottom: 0; }
.features__row--reverse .features__image { order: 2; }
@media (max-width: 768px) {
  .features__row { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .features__row--reverse .features__image { order: 0; }
}
.features__image-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--l-card);
  border: 1px solid var(--l-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--l-text-light);
  font-size: 14px;
}
.features__image-placeholder--coming { position: relative; }
.features__title {
  font-family: var(--l-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  color: var(--l-text);
  line-height: 1.4;
  margin: 0 0 16px;
}
.features__desc { font-size: 15px; color: var(--l-text-sub); line-height: 1.9; margin: 0; }

.badge--coming {
  display: inline-block;
  background: var(--l-gold);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════
   PRICING (dark)
   ════════════════════════════════════════════════════════ */
.pricing { background: var(--l-dark); }
.pricing .section-header__title { color: #fff; }
.pricing__card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--l-dark-soft);
  border: 1px solid rgba(184,148,95,0.3);
  border-radius: 20px;
  padding: 44px 40px;
}
.pricing__card-header { text-align: center; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px; }
.pricing__card-name {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--l-gold);
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 500;
}
.pricing__card-price { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.pricing__card-amount { font-family: var(--l-serif); font-size: 56px; color: #fff; line-height: 1; }
.pricing__card-unit { font-size: 18px; color: rgba(255,255,255,0.7); }
.pricing__card-note { font-size: 13px; color: rgba(255,255,255,0.5); margin: 12px 0 0; }
.pricing__card-features { list-style: none; padding: 0; margin: 0 0 32px; }
.pricing__card-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.88);
}
.pricing__card-feature svg { color: var(--l-gold); flex-shrink: 0; }
.pricing__card-cta { width: 100%; }

/* ════════════════════════════════════════════════════════
   TRUST (ivory)
   ════════════════════════════════════════════════════════ */
.trust { background: var(--l-ivory); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust__grid { grid-template-columns: 1fr; } }
.trust__card {
  text-align: center;
  padding: 32px 24px;
}
.trust__card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(184,148,95,0.1);
  color: var(--l-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.trust__card-title {
  font-family: var(--l-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--l-text);
  margin: 0 0 8px;
}
.trust__card-desc { font-size: 13px; color: var(--l-text-sub); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════════════════════
   FAQ (ivory)
   ════════════════════════════════════════════════════════ */
.faq { background: var(--l-ivory-soft); }
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--l-border);
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--l-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--l-text);
}
.faq__chevron { color: var(--l-text-light); transition: transform 0.3s ease; flex-shrink: 0; }
.faq__item--open .faq__chevron { transform: rotate(180deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__item--open .faq__answer { max-height: 300px; }
.faq__answer p {
  font-size: 14px;
  color: var(--l-text-sub);
  line-height: 1.8;
  margin: 0;
  padding: 0 4px 24px;
}

/* ════════════════════════════════════════════════════════
   CONTACT (dark)
   ════════════════════════════════════════════════════════ */
.contact { background: var(--l-dark); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; gap: 40px; } }
.contact__title {
  font-family: var(--l-serif);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 16px;
}
.contact__subtitle { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.8; margin: 0 0 28px; }
.contact__channels { display: flex; flex-direction: column; gap: 12px; }
.contact__channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 15px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  width: fit-content;
  transition: all 0.2s ease;
}
.contact__channel:hover { background: rgba(255,255,255,0.08); }
.contact__channel svg { color: var(--l-gold); }

.contact__form {
  background: var(--l-card);
  border-radius: 20px;
  padding: 36px 32px;
}
.contact__form-group { margin-bottom: 18px; }
.contact__label { display: block; font-size: 13px; font-weight: 500; color: var(--l-text); margin-bottom: 7px; }
.required { color: #C0392B; }
.contact__input, .contact__textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--l-border);
  border-radius: 10px;
  background: var(--l-card);
  font-family: var(--l-sans);
  font-size: 15px;
  color: var(--l-text);
  box-sizing: border-box;
}
.contact__input:focus, .contact__textarea:focus { outline: none; border-color: var(--l-gold); }
.contact__textarea { resize: vertical; line-height: 1.6; }
.contact__submit { margin-top: 6px; }
.contact__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 12px;
  color: var(--l-text-light);
  margin: 14px 0 0;
}

/* ════════════════════════════════════════════════════════
   FOOTER (dark)
   ════════════════════════════════════════════════════════ */
.footer { background: var(--l-dark); padding: 56px 0 32px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo { font-family: var(--l-serif); font-size: 22px; color: #fff; letter-spacing: 0.04em; }
.footer__tagline { font-size: 13px; color: rgba(255,255,255,0.5); margin: 8px 0 0; }
.footer__links { display: flex; gap: 20px; align-items: flex-start; }
.footer__link { font-size: 13px; color: rgba(255,255,255,0.7); text-decoration: none; }
.footer__link:hover { color: #fff; }
.footer__info p { font-size: 12px; color: rgba(255,255,255,0.45); margin: 3px 0; }
.footer__copyright { padding-top: 24px; }
.footer__copyright p { font-size: 12px; color: rgba(255,255,255,0.4); margin: 0; }

/* ════════════════════════════════════════════════════════
   STICKY CTA (모바일) + TOAST
   ════════════════════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(248,245,240,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--l-border);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: none;
}
.sticky-cta--visible { transform: translateY(0); }
@media (max-width: 768px) { .sticky-cta { display: block; } }

.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--l-text);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 400;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--error { background: #8B2A2A; }
.toast--success { background: #2D5B3D; }
@media (max-width: 768px) { .toast { bottom: 88px; } }

/* ════════════════════════════════════════════════════════
   헤더 로그인 드롭다운 (landing-auth.js)
   ════════════════════════════════════════════════════════ */
.header__auth-wrap { position: relative; }
.header__auth-btn--logged-in {
  border-color: var(--l-gold) !important;
  color: var(--l-gold) !important;
}
.header--scrolled .header__auth-btn--logged-in { color: var(--l-gold-text, #A07840) !important; }
.header__auth-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  max-width: calc(100vw - 32px);
  background: var(--l-card);
  border: 1px solid var(--l-border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(28,24,21,0.16);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
  max-height: 70vh;
  overflow-y: auto;
}
.header__auth-dropdown--open { opacity: 1; visibility: visible; transform: translateY(0); }
.header__auth-dd-user {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px; border-bottom: 1px solid var(--l-border); margin-bottom: 6px;
}
.header__auth-dd-user strong { font-size: 15px; color: var(--l-text); }
.header__auth-dd-user span { font-size: 12px; color: var(--l-text-light); }
.header__auth-dd-section { border-bottom: 1px solid var(--l-border); padding-bottom: 6px; margin-bottom: 6px; }
.header__auth-dd-title { font-size: 12px; font-weight: 600; color: var(--l-text-sub); padding: 8px 12px 6px; }
.header__auth-dd-item {
  display: block; width: 100%; text-align: left; box-sizing: border-box;
  padding: 11px 12px; font-family: var(--l-sans); font-size: 14px; color: var(--l-text);
  text-decoration: none; border: none; background: transparent; border-radius: 8px; cursor: pointer;
}
.header__auth-dd-item:hover { background: var(--l-ivory-soft); }
.header__auth-dd-item--danger { color: #C0392B; }
.header__auth-fav-empty { font-size: 13px; color: var(--l-text-light); padding: 8px 12px 12px; }
.header__auth-fav-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; text-decoration: none;
}
.header__auth-fav-item:hover { background: var(--l-ivory-soft); }
.header__auth-fav-thumb {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; overflow: hidden;
  background: var(--l-ivory-soft); display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.header__auth-fav-thumb img { width: 100%; height: 100%; object-fit: cover; }
.header__auth-fav-name { font-size: 14px; color: var(--l-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header__auth-fav-date { font-size: 11px; color: var(--l-text-light); }
