@charset "utf-8";

/* ==========================================================================
   모인날 홈페이지
   프리미엄 · 시네마틱 · 감성적 브랜드 경험

   body.hp 스코프 — moinal.css(공용 컴포넌트)와 충돌 없음.
   기존 .home__* 클래스는 moinal.css에 잔존하지만 이 템플릿에서 사용하지 않음.
   ========================================================================== */

/* ── 변수 ──────────────────────────────────────────────────────── */
.hp {
    --hp-dark:       #0B1119;
    --hp-navy:       #17212B;
    --hp-gold:       #B99A6B;
    --hp-warm:       #F7F5F1;
    --hp-white:      #FFFFFF;
    --hp-text:       #1C2329;
    --hp-text-sub:   #727A80;
    --hp-text-faint: #A0A8B0;
    --hp-border:     #E2DED7;
    --hp-pad:        120px;
    --hp-max:        1200px;
}

/* ── 기본 ──────────────────────────────────────────────────────── */
.hp {
    margin: 0;
    background: var(--hp-white);
    color: var(--hp-text);
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
                 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-break: keep-all;
    overflow-x: hidden;
}

.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
:where(.hp) a { color: inherit; text-decoration: none; }
:where(.hp) a:hover { text-decoration: none; }
.hp p { max-width: none; }

/* ── 컨테이너 ──────────────────────────────────────────────────── */
.hp__container {
    max-width: var(--hp-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   헤더
   히어로 위에서는 투명(흰 글씨), 스크롤 시 반투명 흰 배경(검은 글씨).
   ========================================================================== */
.hp__header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    height: 72px;
    background: transparent;
    transition: background .4s ease, box-shadow .4s ease;
}

.hp__header.is-scrolled {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--hp-border);
}

.hp__header-inner {
    display: flex;
    align-items: center;
    height: 72px;
}

/* 로고 */
.hp__logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hp__logo strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hp-white);
    transition: color .4s ease;
}

.hp__logo span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .15em;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    transition: color .4s ease;
}

.hp__header.is-scrolled .hp__logo strong { color: var(--hp-navy); }
.hp__header.is-scrolled .hp__logo span   { color: var(--hp-text-sub); }

/* 네비게이션 */
.hp__nav {
    display: flex;
    gap: 36px;
    margin-left: auto;
    margin-right: 24px;
}

.hp__nav a {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,.72);
    transition: color .25s ease;
    position: relative;
}

.hp__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1.5px;
    background: currentColor;
    transition: width .3s ease;
}

.hp__nav a:hover::after { width: 100%; }

.hp__header.is-scrolled .hp__nav a { color: var(--hp-text-sub); }
.hp__nav a:hover,
.hp__header.is-scrolled .hp__nav a:hover { color: var(--hp-gold); }

/* 로그인 버튼 */
.hp__header-btn {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.01em;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.06);
    color: var(--hp-white);
    transition: all .25s ease;
}

.hp__header-btn:hover {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.65);
}

.hp__header.is-scrolled .hp__header-btn {
    border-color: var(--hp-border);
    color: var(--hp-navy);
}

.hp__header.is-scrolled .hp__header-btn:hover {
    background: var(--hp-navy);
    border-color: var(--hp-navy);
    color: var(--hp-white);
}

/* 햄버거 */
.hp__menu-btn {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 8px; margin-left: auto;
}

.hp__menu-btn span {
    display: block;
    width: 22px; height: 2px;
    background: var(--hp-white);
    transition: background .4s ease;
}

.hp__menu-btn span + span { margin-top: 6px; }

.hp__header.is-scrolled .hp__menu-btn span { background: var(--hp-navy); }

/* 모바일 네비 패널 */
.hp__mobile-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 24px;
    z-index: 99;
    border-bottom: 1px solid var(--hp-border);
    flex-direction: column;
    gap: 12px;
}

.hp__mobile-nav.is-open { display: flex; }

.hp__mobile-nav a {
    font-size: 16px;
    font-weight: 500;
    color: var(--hp-navy);
    padding: 8px 0;
}

/* ==========================================================================
   히어로
   다크 네이비 배경 + CSS 그래디언트 오브로 시네마틱 무드.
   실제 영상 자산이 확보되면 <video>로 교체 가능.
   ========================================================================== */
.hp__hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hp-dark);
    overflow: hidden;
}

.hp__hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hp__hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hp__hero-orb--1 {
    width: 700px; height: 700px;
    top: -15%; right: -10%;
    background: radial-gradient(circle, rgba(185,154,107,.1) 0%, transparent 65%);
    filter: blur(80px);
    animation: orbDrift1 22s ease-in-out infinite alternate;
}

.hp__hero-orb--2 {
    width: 500px; height: 500px;
    bottom: -10%; left: -5%;
    background: radial-gradient(circle, rgba(30,58,95,.15) 0%, transparent 65%);
    filter: blur(100px);
    animation: orbDrift2 28s ease-in-out infinite alternate;
}

/* 금빛 입자 · 빛의 결 (home.blade.php 스크립트가 그림). 문구 · 버튼 아래에 깔리고 클릭을 막지 않습니다. */
.hp__hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease-out;
}
.hp__hero-canvas.is-ready { opacity: 1; }

.hp__hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hp__hero-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .25em;
    color: rgba(255,255,255,.4);
    margin: 0 0 32px;
    animation: heroFade 1s ease-out .2s both;
}

.hp__hero-title {
    margin: 0;
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
    color: var(--hp-white);
}

.hp__hero-line {
    display: block;
    animation: heroLine .9s cubic-bezier(.22,1,.36,1) both;
    animation-delay: calc(.3s + var(--i) * .12s);
}

.hp__hero-bar {
    width: 2px; height: 48px;
    background: var(--hp-gold);
    margin: 28px auto;
    border-radius: 1px;
    transform-origin: top;
    animation: heroBar .7s ease-out .7s both;
}

.hp__hero-sub {
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255,255,255,.6);
    max-width: 480px;
    margin: 0 auto 40px;
    animation: heroFade .9s ease-out .9s both;
}

.hp__hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    animation: heroFade .9s ease-out 1.1s both;
}

.hp__hero-scroll {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: heroFade .9s ease-out 1.5s both;
}

.hp__hero-scroll span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .3em;
    color: rgba(255,255,255,.3);
}

.hp__hero-scroll-line {
    width: 1px; height: 32px;
    position: relative;
    overflow: hidden;
}

.hp__hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 100%; height: 100%;
    background: var(--hp-gold);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ==========================================================================
   버튼
   ========================================================================== */
.hp__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
    border-radius: 6px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .3s ease;
}

.hp__btn--primary {
    background: var(--hp-gold);
    color: var(--hp-white);
}

.hp__btn--primary:hover {
    background: #A88A5E;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(185,154,107,.35);
}

.hp__btn--ghost {
    border-color: rgba(255,255,255,.25);
    color: rgba(255,255,255,.85);
}

.hp__btn--ghost:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.45);
}

.hp__btn--outline {
    border-color: var(--hp-navy);
    color: var(--hp-navy);
    margin-top: 32px;
}

.hp__btn--outline:hover {
    background: var(--hp-navy);
    color: var(--hp-white);
    transform: translateY(-2px);
}

.hp__btn--dark {
    background: var(--hp-navy);
    color: var(--hp-white);
    border-color: var(--hp-navy);
}

.hp__btn--dark:hover {
    background: var(--hp-dark);
    border-color: var(--hp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.hp__btn--block { width: 100%; }
.hp__btn--lg    { padding: 18px 36px; font-size: 16px; }

/* ==========================================================================
   스크롤 리빌
   IntersectionObserver가 .visible 토글.
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

/* ==========================================================================
   섹션 공통
   ========================================================================== */
.hp__section {
    padding: var(--hp-pad) 0;
}

.hp__section--dark { background: var(--hp-navy); }
.hp__section--tint { background: var(--hp-warm); }
.hp__section--warm { background: var(--hp-warm); }

/* 라벨 — 수평선 + 대문자 태그 */
.hp__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--hp-text-sub);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hp__label::before {
    content: '';
    width: 24px; height: 1.5px;
    background: var(--hp-gold);
}

.hp__label--light { color: rgba(255,255,255,.5); }

/* 섹션 제목 */
.hp__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.03em;
    color: var(--hp-navy);
    margin: 0 0 24px;
}

.hp__title--light { color: var(--hp-white); }

/* 섹션 설명 */
.hp__desc {
    font-size: 17px;
    line-height: 1.75;
    color: var(--hp-text-sub);
    max-width: 560px;
}

/* ==========================================================================
   브랜드 스토리 (WHY MOINAL)
   ========================================================================== */
.hp__story { text-align: center; }
.hp__story .hp__label { justify-content: center; }
.hp__story .hp__desc  { margin: 0 auto; }

/* ==========================================================================
   서비스 (다크 섹션)
   2열: 폰 목업 + 텍스트. 두 번째는 좌우 반전.
   ========================================================================== */
.hp__services {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.hp__service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hp__service--reverse { direction: rtl; }
.hp__service--reverse > * { direction: ltr; }

.hp__service-visual {
    display: flex;
    justify-content: center;
}

/* ── 서비스 데모: 실제로 쓰는 모습을 짧게 반복해 보여 줌 ─────────────────
   단계는 스크립트가 루트(.hp-demo)에 is-<단계> 클래스를 쌓아 가며 진행하고, CSS 가 화면을 바꿉니다.
   기기 안쪽은 250×530 고정 크기로 짜고 바깥에서 --s 배율로 통째로 키우거나 줄입니다(글자 · 간격이 깨지지 않게).
   사진은 이미지 파일(.hp-ph 안의 img), 움직이는 UI 는 HTML/CSS 입니다. */
.hp-demo {
    --s: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
}

.hp-demo__device {
    position: relative;
    width: calc(270px * var(--s));
    height: calc(550px * var(--s));
}

/* 폰 테두리(베젤) — 모바일에서는 없앰(아래 480px 규칙) */
.hp__phone {
    width: 270px; height: 550px;
    background: #0a0a0a;
    border-radius: 38px;
    padding: 10px;
    box-shadow: 0 30px 60px rgba(0,0,0,.4),
                inset 0 1px 0 rgba(255,255,255,.05);
    position: relative;
}

.hp__phone--demo {
    position: absolute;
    left: 0; top: 0;
    transform: scale(var(--s));
    transform-origin: 0 0;
}

.hp__phone::before {
    content: '';
    position: absolute;
    top: 18px; left: 50%;
    transform: translateX(-50%);
    width: 86px; height: 22px;
    background: #0a0a0a;
    border-radius: 11px;
    z-index: 9;
    /* 노치는 화면 위에 겹쳐 그려지는 PC 전용 요소(모바일은 숨김). 화면 속 층이 움직일 때(완성 단계 카드 이동)만
       노치가 따로 합성되면서 화면의 둥근 잘라내기가 풀려 위 모서리가 각졌음 → 노치를 처음부터 자기 층으로 고정 */
    will-change: transform;
}

.hp__phone-screen {
    --hp-screen-r: 28px;
    width: 100%; height: 100%;
    border-radius: var(--hp-screen-r);
    overflow: hidden;
    position: relative;
    text-align: left;
    line-height: 1.4;
    word-break: keep-all;
}

.hp-demo__content {
    position: absolute;
    inset: 0;
    /* 둥근 모서리 잘라내기를 화면 크기 그대로 한 번 더 — overflow:hidden + radius 만으로는
       전환(사라짐 · 카드 이동) 중 따로 합성되는 층에 둥근 잘라내기가 빠져 위 모서리가 각지는 브라우저가 있음 */
    clip-path: inset(0 round var(--hp-screen-r));
}
/* 반복 사이에는 화면 속 내용만 잠깐 사라졌다 나타남(위 막대 · 기기는 그대로) */
.hp-demo__fade {
    position: absolute;
    inset: 0;
    transition: opacity .55s ease;
}
.hp-demo.is-out .hp-demo__fade,
.hp-demo.is-hold .hp-demo__fade { opacity: 0; }
.hp-demo.is-rewind,
.hp-demo.is-rewind * { transition: none !important; animation: none !important; }

/* 이미지 자리 — 파일이 없으면 중립 색만 보임(최종 디자인 아님) */
.hp-ph {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: #d9d1c4;
}
.hp-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-ph--envelope { background: linear-gradient(160deg, #eee8de 0%, #d8d0c3 100%); }
.hp-ph--photo    { background: linear-gradient(160deg, #cdc1b0 0%, #a49480 100%); }
.hp-demo .hp-ph[data-variant] { opacity: 0; }
.hp-demo[data-variant="a"] .hp-ph[data-variant="a"],
.hp-demo[data-variant="b"] .hp-ph[data-variant="b"] { opacity: 1; }

/* 단계 표시(1~4) */
.hp-demo__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 0; padding: 0;
    counter-reset: hpstep;
}
.hp-demo__steps li {
    counter-increment: hpstep;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px 6px 7px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    font-size: 12px;
    color: rgba(255,255,255,.38);
    white-space: nowrap;
    transition: color .4s, border-color .4s, background-color .4s;
}
.hp-demo__steps li::before {
    content: counter(hpstep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,255,255,.08);
    transition: background-color .4s, color .4s;
}
.hp-demo__steps li.is-past { color: rgba(255,255,255,.62); }
.hp-demo__steps li.is-past::before { background: transparent; box-shadow: inset 0 0 0 1px rgba(185,154,107,.6); color: var(--hp-gold); }
.hp-demo__steps li.is-on { color: #fff; border-color: rgba(185,154,107,.55); background: rgba(185,154,107,.12); }
.hp-demo__steps li.is-on::before { background: var(--hp-gold); color: #17212B; }

/* ── 01 접수대장: 현장에서 빠르게 등록하는 화면 ── */
.hp-desk { background: #fff; color: #1c2329; }   /* 실제 접수 화면처럼 흰 바탕 */

.hp-desk__bar {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 76px;
    padding: 44px 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #ebe5dc;
    color: #1c2329;
    font-size: 13.5px;
    z-index: 3;
}
.hp-desk__bar strong { font-weight: 700; letter-spacing: -.01em; }
.hp-desk__side {
    font-size: 11px;
    padding: 3px 10px;
    border: 1px solid #E2DED7;
    border-radius: 999px;
}

.hp-desk__body {
    position: absolute;
    left: 0; right: 0; top: 76px;
    padding: 12px 14px 0;
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.hp-demo.is-amount .hp-desk__body { transform: translateY(-150px); }   /* 금액 칸 · 금액 버튼 · 등록이 보이게 화면이 올라감 */
.hp-demo.is-done .hp-desk__body { transform: none; transition-delay: .5s; }

.hp-desk__label {
    margin: 0 0 6px;
    font-size: 10.5px;
    font-weight: 600;
    color: #727A80;
}

.hp-desk__frame {
    position: relative;
    height: 236px;
    border-radius: 10px;
    overflow: hidden;
    background: #1f2730;
}

/* 뷰파인더 속 봉투: 흐리고 흔들리다가 → 셔터 순간 초점이 맞음 */
.hp-desk__shot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.12);
    filter: blur(2.2px);
    transition: opacity .35s ease, transform .3s ease, filter .25s ease;
}
.hp-demo.is-live .hp-desk__shot { opacity: 1; animation: hpHandheld 2.6s ease-in-out infinite; }
.hp-demo.is-shot .hp-desk__shot { animation: none; transform: scale(1); filter: none; }
.hp-demo.is-done .hp-desk__shot { opacity: 0; transition-delay: .7s; }   /* 등록 뒤 다음 하객을 받을 준비 */

.hp-desk__idle {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    transition: opacity .3s ease;
}
.hp-demo.is-live .hp-desk__idle { opacity: 0; }
.hp-demo.is-done .hp-desk__idle { opacity: 1; transition-delay: .9s; }

.hp-desk__focus i {
    position: absolute;
    width: 20px; height: 20px;
    border: 0 solid rgba(255,255,255,.92);
    opacity: 0;
    transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.hp-desk__focus i:nth-child(1) { left: 20px;  top: 18px;    border-left-width: 2px;  border-top-width: 2px;    transform: translate(-8px, -8px); }
.hp-desk__focus i:nth-child(2) { right: 20px; top: 18px;    border-right-width: 2px; border-top-width: 2px;    transform: translate(8px, -8px); }
.hp-desk__focus i:nth-child(3) { left: 20px;  bottom: 66px; border-left-width: 2px;  border-bottom-width: 2px; transform: translate(-8px, 8px); }
.hp-desk__focus i:nth-child(4) { right: 20px; bottom: 66px; border-right-width: 2px; border-bottom-width: 2px; transform: translate(8px, 8px); }
.hp-demo.is-live .hp-desk__focus i { opacity: 1; transform: none; transition-delay: .25s; }
.hp-demo.is-captured .hp-desk__focus i { opacity: 0; transition-delay: 0s; }

.hp-desk__shutter {
    position: absolute;
    left: 50%; bottom: 12px;
    width: 42px; height: 42px;
    margin-left: -21px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,.9);
    background: rgba(255,255,255,.22);
    opacity: 0;
    transform: scale(.85);
    transition: opacity .3s ease, transform .15s ease, background-color .15s ease;
}
.hp-demo.is-live .hp-desk__shutter { opacity: 1; transform: none; }
.hp-demo.is-shot .hp-desk__shutter { transform: scale(.84); background: rgba(255,255,255,.75); }
.hp-demo.is-captured .hp-desk__shutter { opacity: 0; }

.hp-desk__flash {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
}
.hp-demo.is-shot .hp-desk__flash { animation: hpFlash .45s ease-out; }

.hp-desk__badge {
    position: absolute;
    left: 10px; top: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(61,95,87,.92);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .3s ease, transform .3s ease;
}
.hp-demo.is-captured .hp-desk__badge { opacity: 1; transform: none; }
.hp-demo.is-done .hp-desk__badge { opacity: 0; transition-delay: .7s; }

.hp-desk__info {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 28px;
    margin: 8px -6px 8px;
    padding: 0 6px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .4s ease, transform .4s ease;
}
.hp-demo.is-captured .hp-desk__info { opacity: 1; transform: none; transition-delay: .2s; animation: hpInfo 1.1s .25s ease-out; }
.hp-demo.is-done .hp-desk__info { opacity: 0; transition-delay: .7s; }
.hp-desk__chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: #E8EBF0;
    color: #17212B;
    font-size: 10.5px;
    font-weight: 700;
}
.hp-desk__no { font-size: 11px; color: #727A80; }
.hp-desk__no b { font-size: 13px; color: #17212B; }

.hp-desk__amount {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    height: 52px;
    padding: 0 14px;
    border: 1.5px solid #E2DED7;
    border-radius: 10px;
    background: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 49px;
    font-variant-numeric: tabular-nums;
    color: #1c2329;
    transition: border-color .3s ease;
}
.hp-desk__amount em { font-size: 14px; font-style: normal; font-weight: 500; color: #727A80; }
.hp-desk__amount .is-zero { color: #c9c3b9; }
.hp-demo.is-amount .hp-desk__amount { border-color: var(--hp-gold); }
.hp-demo.is-submit .hp-desk__amount { border-color: #E2DED7; }

/* 금액 제목 줄 + 전체 지우기, 금액 버튼(1만 · 5만 · 10만 · 50만) — 실제 화면의 공통 버튼 모양을 줄인 것 */
.hp-desk__labelRow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hp-desk__labelRow .hp-desk__label { margin: 0; }
.hp-desk__clear {
    padding: 2px 8px;
    border: 1px solid #E2DED7;
    border-radius: 6px;
    font-size: 9.5px;
    color: #727A80;
}
.hp-desk__quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 8px;
}
.hp-desk__quick span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border: 1px solid #E2DED7;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #1c2329;
    transition: background-color .12s ease, border-color .12s ease, transform .12s ease;
}
.hp-desk__quick span.is-press { background: #f3ede3; border-color: var(--hp-gold); transform: scale(.94); }
.hp-desk__submit {
    display: block;
    height: 44px;
    margin-top: 12px;
    border-radius: 10px;
    background: #17212B;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 44px;
    text-align: center;
    opacity: .25;
    transition: opacity .3s ease, transform .12s ease;
}
.hp-demo.is-submit .hp-desk__submit { opacity: 1; }
.hp-desk__submit.is-press { transform: scale(.96); }
.hp-demo.is-done .hp-desk__submit { opacity: .25; transition-delay: .7s; }

/* 등록 완료: 위에서 내려오는 확인 줄(과하지 않게) */
.hp-desk__toast {
    position: absolute;
    left: 12px; right: 12px; top: 86px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px 9px 10px;
    border-left: 3px solid #567C6F;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(23,33,43,.16);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1);
}
.hp-demo.is-done .hp-desk__toast { opacity: 1; transform: none; }
.hp-desk__toast-thumb {
    position: relative;
    flex: none;
    width: 30px; height: 40px;
    border-radius: 4px;
    overflow: hidden;
}
.hp-desk__toast-text { font-size: 12px; color: #1c2329; }
.hp-desk__toast-text b { color: #3D5F57; font-weight: 800; }
.hp-desk__toast em { margin-left: auto; font-size: 12px; font-style: normal; font-weight: 700; color: #1c2329; font-variant-numeric: tabular-nums; }

/* ── 02 모바일 초대장: 하나의 결과물이 완성되는 화면 ── */
.hp-inv { background: #f6f2ec; color: #30465F; }

.hp-inv__bar {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 76px;
    padding: 44px 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #ebe5dc;
    color: #1c2329;
    font-size: 13px;
    z-index: 3;
}
.hp-inv__bar strong { font-weight: 700; }
.hp-inv__state { position: relative; display: inline-block; width: 52px; height: 20px; }
.hp-inv__state span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    transition: opacity .4s ease;
}
.hp-inv__state-edit { background: #efebe4; color: #8A8680; }
.hp-inv__state-done { background: #E8F0ED; color: #3D5F57; opacity: 0; }
.hp-demo.is-complete .hp-inv__state-edit { opacity: 0; }
.hp-demo.is-complete .hp-inv__state-done { opacity: 1; }

.hp-inv__view {
    position: absolute;
    left: 0; right: 0; top: 76px; bottom: 0;
    overflow: hidden;
}

.hp-inv__card {
    padding: 22px 20px 60px;
    text-align: center;
    transition: transform 2.6s cubic-bezier(.45,0,.2,1);
}
.hp-demo.is-complete .hp-inv__card { transform: translateY(-168px); transition-delay: .5s; }   /* 완성된 초대장을 천천히 내려 봄 */

.hp-inv__eyebrow {
    margin: 0 0 12px;
    font-size: 9px;
    letter-spacing: .32em;
    color: #8a7d6a;
    opacity: .3;
    transition: opacity .5s ease;
}
.hp-demo.is-fill .hp-inv__eyebrow { opacity: 1; }

.hp-inv__photo {
    position: relative;
    height: 262px;
    border-radius: 6px;
    overflow: hidden;
    background: #ece5d9;
    outline: 1.5px dashed rgba(48,70,95,.38);
    outline-offset: -1.5px;
    transition: outline-color .4s ease, background-color .3s ease;
}
.hp-demo.is-tap .hp-inv__photo { background: #e2d8c8; }
.hp-demo.is-apply .hp-inv__photo { outline-color: transparent; }
.hp-inv__photo > .hp-ph {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity .5s ease, transform 1.4s cubic-bezier(.2,.8,.2,1);
}
.hp-demo.is-apply .hp-inv__photo > .hp-ph { opacity: 1; transform: none; }
.hp-inv__add {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #30465F;
    transition: opacity .3s ease;
}
.hp-demo.is-upload .hp-inv__add { opacity: 0; }
.hp-inv__progress {
    position: absolute;
    left: 18px; right: 18px; bottom: 18px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,.55);
    opacity: 0;
    transition: opacity .3s ease;
}
.hp-inv__progress i { display: block; width: 0; height: 100%; border-radius: 2px; background: #30465F; }
.hp-demo.is-upload .hp-inv__progress { opacity: 1; }
.hp-demo.is-upload .hp-inv__progress i { animation: hpUpload .85s .25s cubic-bezier(.4,0,.2,1) forwards; }
.hp-demo.is-apply .hp-inv__progress { opacity: 0; }

.hp-inv__names {
    position: relative;
    height: 30px;
    margin: 16px 0 6px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 30px;
}
.hp-inv__sk {
    display: block;
    height: 8px;
    border-radius: 4px;
    background: #e4ddd0;
    transition: opacity .35s ease;
}
.hp-inv__sk--name { position: absolute; left: 22%; right: 22%; top: 10px; height: 11px; }
.hp-demo.is-fill .hp-inv__sk--name { opacity: 0; }
.hp-inv__dot { margin: 0 8px; font-style: normal; color: var(--hp-gold); opacity: 0; transition: opacity .3s ease .3s; }
.hp-demo.is-fill .hp-inv__dot { opacity: 1; }
.hp-inv__caret {
    display: inline-block;
    width: 1.5px; height: 18px;
    margin-left: 2px;
    vertical-align: -3px;
    background: #30465F;
    opacity: 0;
}
.hp-demo.is-fill .hp-inv__caret { animation: hpBlink .9s steps(1) infinite; }
.hp-demo.is-complete .hp-inv__caret { animation: none; opacity: 0; }

.hp-inv__line {
    position: relative;
    min-height: 16px;
    margin: 6px auto;
    font-size: 11px;
    line-height: 1.65;
    color: #5b6672;
}
.hp-inv__line .hp-inv__sk { position: absolute; left: 16%; right: 16%; top: 50%; margin-top: -4px; }
.hp-inv__text {
    display: block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .5s ease, transform .5s ease;
}
.hp-demo.is-fill .hp-inv__text { opacity: 1; transform: none; }
.hp-demo.is-fill .hp-inv__line .hp-inv__sk { opacity: 0; }
.hp-demo.is-fill .hp-inv__line--date  .hp-inv__text, .hp-demo.is-fill .hp-inv__line--date  .hp-inv__sk { transition-delay: .65s; }
.hp-demo.is-fill .hp-inv__line--venue .hp-inv__text, .hp-demo.is-fill .hp-inv__line--venue .hp-inv__sk { transition-delay: .9s; }
.hp-demo.is-fill .hp-inv__line--greet .hp-inv__text, .hp-demo.is-fill .hp-inv__line--greet .hp-inv__sk { transition-delay: 1.2s; }
.hp-demo.is-fill .hp-inv__line--place .hp-inv__text, .hp-demo.is-fill .hp-inv__line--place .hp-inv__sk { transition-delay: 1.45s; }
.hp-inv__line--date { font-weight: 600; color: #30465F; }
.hp-inv__line--greet { margin-top: 0; min-height: 54px; }
.hp-inv__line--greet .hp-inv__sk { height: 34px; margin-top: -17px; background: repeating-linear-gradient(180deg, #e4ddd0 0 7px, transparent 7px 13px); }
.hp-inv__line--place { margin-top: 18px; }
.hp-inv__line--place b { display: block; margin-bottom: 2px; font-size: 9.5px; font-weight: 600; letter-spacing: .2em; color: #8a7d6a; }
.hp-inv__rule {
    display: block;
    width: 26px; height: 1px;
    margin: 14px auto;
    background: var(--hp-gold);
    transform: scaleX(0);
    transition: transform .6s ease;
}
.hp-demo.is-fill .hp-inv__rule { transform: none; transition-delay: 1.05s; }

/* 사진 고르기(바닥에서 올라오는 선택 창) */
.hp-inv__sheet {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 292px;
    padding: 12px 12px 16px;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -12px 30px rgba(23,33,43,.18);
    transform: translateY(105%);
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
    z-index: 4;
}
.hp-inv__sheet::before {
    content: '';
    display: block;
    width: 34px; height: 4px;
    margin: 0 auto 10px;
    border-radius: 2px;
    background: #ddd7ce;
}
.hp-demo.is-picker .hp-inv__sheet { transform: none; }
.hp-demo.is-upload .hp-inv__sheet { transform: translateY(105%); }
.hp-inv__sheet-title { margin: 0 0 10px 2px; font-size: 12px; font-weight: 700; color: #1c2329; }
.hp-inv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.hp-inv__cell { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.hp-inv__cell::after {
    content: '✓';
    position: absolute;
    top: 6px; right: 6px;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #30465F;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1);
}
.hp-inv__cell--pick { transition: box-shadow .2s ease; }
.hp-demo.is-picked .hp-inv__cell--pick { box-shadow: inset 0 0 0 3px #30465F; }
.hp-demo.is-picked .hp-inv__cell--pick::after { opacity: 1; transform: none; }

/* 고른 사진이 초대장 자리로 이동(위치 · 크기는 스크립트가 정함) */
.hp-inv__fly {
    position: absolute;
    z-index: 6;
    overflow: hidden;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 14px 30px rgba(23,33,43,.25);
}
.hp-inv__fly.is-flying {
    transition: left .7s cubic-bezier(.3,.7,.2,1), top .7s cubic-bezier(.3,.7,.2,1),
                width .7s cubic-bezier(.3,.7,.2,1), height .7s cubic-bezier(.3,.7,.2,1), border-radius .7s ease;
}

.hp-inv__share {
    position: absolute;
    left: 50%; bottom: 18px;
    z-index: 5;
    padding: 10px 18px;
    border-radius: 999px;
    background: #30465F;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(48,70,95,.3);
    opacity: 0;
    transform: translate(-50%, 18px);
    transition: opacity .45s ease, transform .45s ease;
}
.hp-demo.is-complete .hp-inv__share { opacity: 1; transform: translate(-50%, 0); transition-delay: 1.9s; }

/* 손가락 위치(누르는 곳) */
.hp-demo__touch {
    position: absolute;
    z-index: 7;
    left: 50%; top: 252px;
    width: 30px; height: 30px;
    margin: -15px 0 0 -15px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.95);
    background: rgba(23,33,43,.22);
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
    opacity: 0;
    transition: left .6s cubic-bezier(.4,0,.2,1), top .6s cubic-bezier(.4,0,.2,1), opacity .25s ease, transform .15s ease;
}
.hp-demo__touch.is-press { transform: scale(.78); }
.hp-demo.is-tap .hp-demo__touch { opacity: 1; }
.hp-demo.is-picker .hp-demo__touch { top: 386px; transition-delay: .45s; }
.hp-demo.is-upload .hp-demo__touch { opacity: 0; transition-delay: 0s; }

/* 서비스 텍스트 */
.hp__service-content {
    color: rgba(255,255,255,.85);
}

.hp__service-num {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--hp-gold);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 16px;
}

.hp__service-content h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 16px;
    color: var(--hp-white);
}

.hp__service-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    margin: 0 0 24px;
}

.hp__service-content ul {
    list-style: none;
    padding: 0; margin: 0;
}

.hp__service-content li {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.5);
    padding-left: 11px;
    position: relative;
    margin-bottom: 8px;
}

.hp__service-content li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--hp-gold);
}

/* ==========================================================================
   행사 유형 — 3열 카드, 호버 리프트
   ========================================================================== */
.hp__events {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.hp__event {
    padding: 40px 32px;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    text-align: center;
    transition: all .35s ease;
}

.hp__event:hover {
    border-color: var(--hp-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(185,154,107,.1);
}

.hp__event-num {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--hp-gold);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: 16px;
}

.hp__event-en {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--hp-text-sub);
    text-transform: uppercase;
    margin: 0 0 8px;
}

.hp__event-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--hp-navy);
    margin: 0 0 16px;
}

.hp__event p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--hp-text-sub);
    margin: 0;
}

/* ==========================================================================
   도입 절차 — 3열, 원형 번호
   ========================================================================== */
.hp__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.hp__step { text-align: center; }

.hp__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--hp-navy);
    color: var(--hp-white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hp__step h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--hp-navy);
    margin: 0 0 8px;
    letter-spacing: -.01em;
}

.hp__step p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--hp-text-sub);
    margin: 0;
}

/* ==========================================================================
   브랜드 메시지 — 다크, 큰 타이포, 은은한 배경 모션
   ========================================================================== */
.hp__brand {
    text-align: center;
    padding: var(--hp-pad) 0;
    background: var(--hp-dark);
    position: relative;
    overflow: hidden;
}

.hp__brand::before {
    content: '';
    position: absolute;
    inset: -50px;
    background:
        radial-gradient(ellipse at 25% 50%, rgba(185,154,107,.06), transparent 50%),
        radial-gradient(ellipse at 75% 50%, rgba(30,58,95,.08), transparent 50%);
    animation: brandShift 20s ease-in-out infinite alternate;
    pointer-events: none;
}

.hp__brand > * { position: relative; z-index: 1; }

.hp__brand-text {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.03em;
    color: var(--hp-white);
    margin: 0 0 24px;
}

.hp__brand-sub {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,.45);
    margin: 0;
}

/* ==========================================================================
   도입 문의 폼
   ========================================================================== */
.hp__inquiry-header {
    text-align: center;
    margin-bottom: 40px;
}

.hp__inquiry-header .hp__title {
    margin-bottom: 16px;
}

.hp__inquiry-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--hp-text-sub);
    margin: 0;
}

.hp__inquiry-form {
    max-width: 720px;
    margin: 0 auto;
    background: var(--hp-white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--hp-border);
}

.hp__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.hp__form-group {
    margin-bottom: 24px;
}

.hp__form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hp-text);
}

.hp__form-required {
    color: #C66A6A;
    margin-right: 2px;
}

.hp__inquiry-form input[type=text],
.hp__inquiry-form input[type=email],
.hp__inquiry-form input[type=tel],
.hp__inquiry-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    color: var(--hp-text);
    background: var(--hp-warm);
    border: 1.5px solid var(--hp-border);
    border-radius: 8px;
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.hp__inquiry-form input:focus,
.hp__inquiry-form textarea:focus {
    outline: none;
    border-color: var(--hp-navy);
    background: var(--hp-white);
    box-shadow: 0 0 0 3px rgba(23,33,43,.08);
}

.hp__inquiry-form textarea {
    min-height: 120px;
    resize: vertical;
}

.hp__inquiry-form input::placeholder,
.hp__inquiry-form textarea::placeholder {
    color: var(--hp-text-faint);
}

.hp__form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    padding-top: 8px;
}

.hp__form-consent input[type=checkbox] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--hp-navy);
}

.hp__form-consent label {
    font-size: 14px;
    line-height: 1.6;
    color: var(--hp-text-sub);
}

/* 성공/에러 */
.hp__form-success {
    text-align: center;
    padding: 48px 32px;
    background: #E8F0ED;
    border: 1.5px solid #567C6F;
    border-radius: 12px;
    max-width: 720px;
    margin: 0 auto;
}

.hp__form-success-icon {
    font-size: 40px; color: #567C6F;
    margin-bottom: 12px;
}

.hp__form-success h3 {
    font-size: 20px; font-weight: 700; color: #3D5F57;
    margin: 0 0 8px;
}

.hp__form-success p {
    font-size: 15px; color: #3D5F57;
    margin: 0; line-height: 1.6;
}

.hp__form-error {
    padding: 14px 18px;
    background: #F5E5E5;
    border: 1.5px solid #C66A6A;
    border-radius: 8px;
    color: #8B5450;
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* 허니팟 */
.hp .invite__trap {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

/* ==========================================================================
   푸터
   ========================================================================== */
.hp__footer {
    padding: 60px 0 40px;
    background: var(--hp-dark);
    color: rgba(255,255,255,.5);
}

.hp__footer-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hp__footer-brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--hp-white);
    letter-spacing: -.02em;
}

.hp__footer-links {
    display: flex; gap: 24px;
    margin-left: auto;
}

.hp__footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,.5);
    transition: color .25s ease;
}

.hp__footer-links a:hover { color: rgba(255,255,255,.85); }

.hp__footer-copy {
    width: 100%;
    font-size: 13px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    margin: 24px 0 0;
}

/* ==========================================================================
   반응형 — 900px 이하 (태블릿 · 모바일)
   ========================================================================== */
@media (max-width: 900px) {
    .hp { --hp-pad: 80px; }

    .hp__nav        { display: none; }
    .hp__header-btn { display: none; }
    .hp__menu-btn   { display: block; }

    .hp__hero { min-height: 90vh; }

    .hp__hero-orb--1 { width: 400px; height: 400px; }
    .hp__hero-orb--2 { width: 300px; height: 300px; }

    .hp__service {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hp__service--reverse { direction: ltr; }

    /* 소개 글은 가운데 정렬이지만 목록은 글자 폭만큼만 차지해 가운데에 놓고, 항목은 왼쪽 정렬 —
       기호가 줄 맨 왼쪽에 떨어져 글자와 멀어지는 것을 막음 */
    .hp__service-content ul { display: table; margin: 0 auto; text-align: left; }

    .hp-demo { --s: .92; }

    .hp__events {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hp__event { padding: 28px 24px; }

    .hp__steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hp__inquiry-form { padding: 28px 24px; }

    .hp__form-row { grid-template-columns: 1fr; }

    .hp__footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hp__footer-links { margin-left: 0; }

    .hp__hero-scroll { display: none; }
}

/* ==========================================================================
   반응형 — 480px 이하 (소형 모바일)
   ========================================================================== */
@media (max-width: 480px) {
    .hp__container  { padding: 0 20px; }
    .hp__hero-inner { padding: 0 20px; }

    .hp__hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hp__hero-cta .hp__btn { width: 100%; }

    /* 서비스 데모: 폰 테두리를 없애고 화면만 — 폰 속의 폰처럼 답답하지 않게 */
    .hp-demo { --s: 1.1; gap: 20px; }
    .hp-demo__device { width: calc(250px * var(--s)); height: calc(530px * var(--s)); }
    .hp__phone--demo {
        width: 250px; height: 530px;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    .hp__phone--demo::before { display: none; }
    .hp__phone--demo .hp__phone-screen {
        --hp-screen-r: 22px;
        box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06);
    }
    .hp-demo__steps { display: grid; grid-template-columns: repeat(2, auto); }   /* 네 단계를 2×2 로 고르게 */
    .hp-demo__steps li { padding: 5px 9px 5px 6px; font-size: 11px; }
}

/* ==========================================================================
   접근성 — 모션 감소 환경
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .hp *, .hp *::before, .hp *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal { opacity: 1; transform: none; }
    .hp__hero-line { opacity: 1; transform: none; }
}

/* ==========================================================================
   키프레임
   ========================================================================== */
@keyframes heroLine {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroBar {
    from { opacity: 0; transform: scaleY(0); }
    to   { opacity: 1; transform: scaleY(1); }
}

@keyframes heroFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes orbDrift1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-30px, 20px) scale(1.08); }
}

@keyframes orbDrift2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(20px, -15px) scale(1.05); }
}

@keyframes scrollPulse {
    0%   { top: -100%; }
    50%  { top: 100%; }
    100% { top: 100%; }
}

@keyframes hpHandheld {   /* 손에 든 카메라처럼 아주 조금 흔들림 */
    0%   { transform: translate(0, 0) scale(1.12); }
    35%  { transform: translate(-3px, 2px) scale(1.125); }
    70%  { transform: translate(2px, -1px) scale(1.115); }
    100% { transform: translate(0, 0) scale(1.12); }
}

@keyframes hpFlash {
    0%   { opacity: 0; }
    18%  { opacity: .72; }
    100% { opacity: 0; }
}

@keyframes hpBlink {
    0%   { opacity: 1; }
    50%  { opacity: 0; }
}

@keyframes hpInfo {   /* 측 · 접수번호가 들어올 때 잠깐 눈에 띄게 */
    0%   { background-color: rgba(185,154,107,0); }
    30%  { background-color: rgba(185,154,107,.16); }
    100% { background-color: rgba(185,154,107,0); }
}

@keyframes hpUpload {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes brandShift {
    from { transform: translateX(-10px); }
    to   { transform: translateX(10px); }
}
