:root{
  --point:#4e0a0f;
  --bg:#0c0c0d;
  --bg2:#111113;
  --text:#f4f4f6;
  --muted:#b8b8c2;
  --line:rgba(255,255,255,.12);
  --card:rgba(255,255,255,.06);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --container: 1180px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: "Pretendard", system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% 5%, rgba(78,10,15,.35), transparent 55%),
              radial-gradient(900px 600px at 80% 15%, rgba(78,10,15,.25), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ width:100%; height:100%; display:block; object-fit:cover; }
button{ font-family:inherit; }

.skip{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:12px; top:12px; width:auto; height:auto;
  padding:10px 12px; background:#fff; color:#000;
  border-radius:10px; z-index:9999;
}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

/* =========================
   Header
   ========================= */
.site-header{
  position:sticky; top:0;
  z-index:1000;
  backdrop-filter: blur(14px);
  background: rgba(12,12,13,.55);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-around;
  gap:18px;
  height:72px;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand-mark{
  width:14px; height:14px; border-radius:5px;
  background: var(--point);
  box-shadow: 0 0 0 6px rgba(78,10,15,.18);
}
.brand-name{
  font-weight:800;
  letter-spacing: .5px;
}

.gnb{
  display:flex; align-items:center; gap:18px;
  flex-wrap:wrap;
}
.gnb a{
  font-size:14px;
  color: rgba(255,255,255,.86);
  opacity:.9;
  transition: .2s ease;
}
.gnb a:hover{ opacity:1; }
.gnb-cta{
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(78,10,15,.22);
  border:1px solid rgba(78,10,15,.55);
}

.mnav-btn{
  display:none;
  width:44px; height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:#fff;
}

.mnav{
  display:none;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(12,12,13,.7);
}
.mnav-inner{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
  padding:14px 0 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.mnav-inner a{
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-size:14px;
}
.mnav-cta{
  background: rgba(78,10,15,.22) !important;
  border-color: rgba(78,10,15,.55) !important;
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  transition:.2s ease;
  white-space:nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
}
.btn.primary{
  background: var(--point);
  border-color: rgba(255,255,255,.0);
  box-shadow: 0 14px 36px rgba(78,10,15,.35);
}
.btn.primary:hover{
  filter: brightness(1.05);
}
.btn.ghost{
  background: rgba(255,255,255,.03);
}

/* =========================
   Hero
   ========================= */
.hero{
  position:relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.hero-bg{
  position:absolute; inset:0;
  opacity:.68;
  transform: scale(1.08);
}
.hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(12,12,13,.90) 0%, rgba(12,12,13,.55) 45%, rgba(12,12,13,.88) 100%);
}
.hero-bg img{ filter: contrast(1.05) saturate(1.05); }

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  padding: 90px 0 70px;
}

.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.86);
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  width:fit-content;
}
.hero-title{
  margin:18px 0 10px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.6px;
}
.hero-title .accent{
  color:#fff;
  background: linear-gradient(90deg, rgba(78,10,15,1), rgba(255,255,255,.75));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}
.hero-desc{
  margin: 0 0 18px;
  color: rgba(255,255,255,.78);
  font-size: 15.5px;
  line-height: 1.6;
}
.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 18px 0 16px;
}
.hero-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.badge{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 13px;
  color: rgba(255,255,255,.82);
}

/* Hero Visual (PC: stack overlap) */
.hero-visual .stack{
  position:relative;
  height: 420px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.stack-card{
  position:absolute;
  width:min(360px, 90%);
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.stack-card img{ height: 290px; }
.stack-card figcaption{
  padding:12px 14px;
  font-weight:700;
  color: rgba(255,255,255,.9);
}
.stack-card:nth-child(1){ right: 0; bottom: 0; transform: rotate(2deg); }
.stack-card:nth-child(2){ right: 26px; bottom: 90px; transform: rotate(-4deg); }
.stack-card:nth-child(3){ right: 50px; bottom: 180px; transform: rotate(3deg); }

.hero-scroll{
  position:absolute;
  left:50%;
  bottom:18px;
  transform: translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform:uppercase;
  opacity:.9;
}
.hero-scroll i{
  animation: bounce 1.4s ease-in-out infinite;
}
@keyframes bounce{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(5px); }
}

/* =========================
   Sections (common)
   ========================= */
section{ position:relative; }

.section-head{ margin-bottom: 18px; }
.section-head h2{
  margin:0;
  font-size: 28px;
  letter-spacing: -0.3px;
}
.section-head p{
  margin:8px 0 0;
  color: rgba(255,255,255,.70);
  line-height:1.6;
}

.tag{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(78,10,15,.18);
  border:1px solid rgba(78,10,15,.55);
  font-size:12px;
  letter-spacing:.18em;
  color: rgba(255,255,255,.88);
  width:fit-content;
}

/* Proof */
.proof{ padding: 44px 0 38px; }
.proof-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.proof-item{
  padding: 18px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.proof-num{
  font-size: 34px;
  margin:0;
  font-weight: 900;
  letter-spacing: -0.6px;
}
.proof-label{
  margin:8px 0 0;
  color: rgba(255,255,255,.72);
}
.proof-note{
  margin: 12px 0 0;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

/* USP */
.usp{ padding: 78px 0; }
.usp-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.usp-card{
  padding: 20px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
  transition:.25s ease;
}
.usp-card i{
  font-size: 22px;
  color: rgba(255,255,255,.9);
}
.usp-card h3{
  margin: 12px 0 8px;
  font-size: 16px;
}
.usp-card p{
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height:1.55;
  font-size: 14px;
}
.usp-card:hover{
  transform: translateY(-4px);
  border-color: rgba(78,10,15,.6);
  background: rgba(78,10,15,.10);
}

/* Signature */
.signature{
  padding: 92px 0;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.signature-bg{
  position:absolute; inset:0;
  opacity:.55;
  transform: scale(1.08);
}
.signature-bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(12,12,13,.70), rgba(12,12,13,.92));
}
.signature-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items:center;
}
.signature-copy h2{
  margin: 10px 0 10px;
  font-size: 30px;
}
.signature-copy p{
  margin: 0 0 16px;
  color: rgba(255,255,255,.72);
  line-height:1.6;
}

/* Signature Gallery (PC: 3장 크게 + 붙여서) */
.signature-gallery{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* 붙여 보이게 */
}
.shot{
  height: 360px;
  border-radius: 0;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}
.signature-gallery .shot:first-child{ border-radius: 16px 0 0 16px; }
.signature-gallery .shot:last-child{ border-radius: 0 16px 16px 0; }

.shot img{ transition: transform .45s ease; }
.shot:hover img{ transform: scale(1.06); }

/* Process */
.process{ padding: 78px 0; }
.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.step{
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  position:relative;
  overflow:hidden;
}
.step::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(78,10,15,.35), transparent 55%);
  opacity:0;
  transition:.3s ease;
}
.step:hover::before{ opacity:1; }
.step-no{
  display:inline-flex;
  font-weight:900;
  letter-spacing:.08em;
  color: rgba(255,255,255,.86);
  background: rgba(78,10,15,.18);
  border:1px solid rgba(78,10,15,.55);
  padding:8px 10px;
  border-radius: 999px;
  font-size:12px;
}
.step-body h3{
  margin: 12px 0 8px;
  font-size: 16px;
}
.step-body p{
  margin:0;
  color: rgba(255,255,255,.70);
  line-height:1.6;
  font-size: 14px;
}
.process-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 18px;
}

/* Support */
.support{
  padding: 78px 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.support-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.support-card{
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.support-top{
  display:flex;
  align-items:center;
  gap:10px;
}
.support-top i{ font-size: 20px; }
.support-card h3{
  margin:0;
  font-size: 15px;
}
.support-card p{
  margin:10px 0 0;
  color: rgba(255,255,255,.70);
  line-height:1.6;
  font-size: 14px;
}
.support-more{ margin-top: 18px; }

/* Stories */
.stories-preview{ padding: 78px 0; }
.stories-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.story{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.story-thumb{ height: 220px; }
.story-body{ padding: 18px; }
.story-meta{
  margin:0 0 8px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  letter-spacing: .12em;
}
.story-body h3{
  margin:0 0 8px;
  font-size: 18px;
  line-height:1.35;
}
.story-body p{
  margin:0 0 12px;
  color: rgba(255,255,255,.70);
  line-height:1.6;
}
.story-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.92);
  opacity:.9;
}
.story-link:hover{ opacity:1; }

/* Stores */
.stores-preview{
  padding: 78px 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.stores-inner{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 14px;
  align-items:stretch;
}
.stores-copy h2{ margin:0 0 10px; font-size:28px; }
.stores-copy p{ margin:0 0 14px; color: rgba(255,255,255,.72); line-height:1.6; }

.stores-map .map-dummy{
  height: 280px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color: rgba(255,255,255,.75);
}
.map-dummy i{ font-size: 34px; opacity:.9; }
.map-dummy small{ color: rgba(255,255,255,.55); }

/* News */
.news-preview{ padding: 78px 0 90px; }
.news-list{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.news-item{
  display:grid;
  grid-template-columns: 110px 1fr 30px;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  transition:.2s ease;
}
.news-item:hover{
  transform: translateY(-2px);
  border-color: rgba(78,10,15,.6);
}
.news-date{ color: rgba(255,255,255,.60); font-size: 13px; }
.news-title{ color: rgba(255,255,255,.88); }
.news-more{ margin-top: 14px; }

/* Inquiry CTA */
.inquiry-cta{
  position:relative;
  padding: 86px 0;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.08);
}
.inquiry-bg{
  position:absolute; inset:0;
  opacity:.55;
  transform: scale(1.08);
}
.inquiry-bg::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(12,12,13,.90), rgba(12,12,13,.60), rgba(12,12,13,.92));
}
.inquiry-inner h2{
  margin: 10px 0 10px;
  font-size: 34px;
}
.inquiry-inner p{
  margin:0 0 16px;
  color: rgba(255,255,255,.75);
  line-height:1.6;
}
.inquiry-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Floating CTA */
.float-cta{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index: 1200;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--point);
  box-shadow: 0 18px 44px rgba(78,10,15,.35);
  border:1px solid rgba(255,255,255,.10);
}
.float-cta i{ font-size: 16px; }
.float-cta span{ font-weight: 800; letter-spacing: .2px; }

/* Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding: 34px 0 22px;
  background: rgba(0,0,0,.20);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-around;
  gap: 18px;
}
.footer-left p{
  margin: 8px 0 0;
  color: rgba(255,255,255,.62);
  line-height:1.6;
  font-size: 13.5px;
}
.footer-brand{
  font-weight: 900;
  letter-spacing: .4px;
}
.footer-links{
  display:flex;
  gap:12px;
  justify-content:flex-end;
}
.footer-links a{
  color: rgba(255,255,255,.72);
  font-size: 13.5px;
  opacity:.9;
}
.footer-links a:hover{ opacity:1; }
.footer-sns{
  margin-top: 12px;
  display:flex;
  gap:12px;
  justify-content:flex-end;
}
.footer-sns a{
  width:40px; height:40px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
}
.footer-sns a:hover{
  transform: translateY(-2px);
  border-color: rgba(78,10,15,.6);
  background: rgba(78,10,15,.14);
}
.footer-bottom{
  margin-top: 18px;
  padding-top: 16px;
  border-top:1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
}

/* Reveal Animations */
.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.show{
  opacity:1;
  transform: translateY(0);
}
.reveal.right{ transform: translateX(18px); }
.reveal.left{ transform: translateX(-18px); }
.reveal.show.right, .reveal.show.left{ transform: translateX(0); }

.delay-1{ transition-delay: .12s; }
.delay-2{ transition-delay: .22s; }
.delay-3{ transition-delay: .32s; }

/* =========================
   Store map (iframe)
   ========================= */
.store-map{
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
}
.store-map iframe{
  width: 100%;
  height: 450px;
  display: block;
}

/* =========================
   Responsive (<=1024)
   ========================= */
@media (max-width: 1024px){
  .gnb{ display:none; }
  .mnav-btn{ display:inline-flex; align-items:center; justify-content:center; }

  .hero-inner{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 70px 0 56px;
  }

  /* 태블릿: 겹침 유지 + 중앙 고정(잘림 방지) */
  .hero-visual .stack{
    height: 340px;
    justify-content:center;
  }
  .hero-visual .stack .stack-card{
    left:50%;
    right:auto;
    width:min(360px, 92vw);
    transform: translateX(-50%);
  }
  .hero-visual .stack .stack-card:nth-child(1){ transform: translateX(-50%) rotate(2deg); bottom:0; }
  .hero-visual .stack .stack-card:nth-child(2){ transform: translateX(-50%) rotate(-3deg); bottom:70px; }
  .hero-visual .stack .stack-card:nth-child(3){ transform: translateX(-50%) rotate(2deg); bottom:140px; }
  .hero-visual .stack .stack-card img{ object-position:center; }

  .proof-grid{ grid-template-columns: repeat(2,1fr); }
  .usp-grid{ grid-template-columns: repeat(2,1fr); }
  .signature-inner{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .support-grid{ grid-template-columns: repeat(2,1fr); }
  .stores-inner{ grid-template-columns: 1fr; }

  .footer-inner{ flex-direction:column; }
  .footer-right{ width:100%; }
  .footer-links, .footer-sns{ justify-content:flex-start; }
}

/* =========================
   Responsive (<=560)
   ========================= */
@media (max-width: 560px){
  /* header */
  .header-inner{ height:64px; } /* ✅ -30px 마진은 레이아웃 깨질 수 있어 제거 */
  .hero{ min-height: 88vh; }
  .hero-title{ font-size: 40px; }
  .float-cta{ right:14px; bottom:14px; }

  /* stories/news */
  .stories-grid{ grid-template-columns: 1fr; }
  .news-item{ grid-template-columns: 92px 1fr 22px; }

  /* ✅ HERO: 모바일은 겹침 대신 "가로 슬라이드" */
  .hero-visual{ margin-top: 10px; }

  .hero-visual .stack{
    position: relative;
    height: auto !important;

    display:flex !important;
    align-items: stretch;
    justify-content:flex-start;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    touch-action: pan-x pan-y;   /* ✅ 스크롤(세로)도 허용 */
    overscroll-behavior-x: contain;

    padding: 6px 2px 10px;
  }
  .hero-visual .stack::-webkit-scrollbar{ height: 0; }

  .hero-visual .stack .stack-card{
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;

    transform: none !important; /* ✅ 모바일은 회전 제거 */
    flex: 0 0 86%;
    max-width: 340px;

    scroll-snap-align: center;
  }

  /* ✅ SIGNATURE: 모바일은 "한 장씩" 슬라이드 */
  .signature-gallery{
    display:flex !important;
    overflow-x:auto;
    overflow-y:hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    touch-action: pan-x pan-y;   /* ✅ 페이지 스크롤 막힘 방지 */
    gap: 14px;
    padding-bottom: 6px;
  }
  .signature-gallery::-webkit-scrollbar{ height: 0; }

  .signature-gallery .shot{
    flex: 0 0 100%;
    height: 260px;
    border-radius: 16px;
    scroll-snap-align: start;
  }

  /* store map */
  .store-map iframe{ height: 320px; }
}

/* =========================
   Responsive (<=768) - map only
   ========================= */
@media (max-width: 768px){
  .store-map iframe{ height: 320px; }
}
