:root{--navy:#14213d;--navy2:#1f3159;--gold:#c9a227;--gold2:#f4e9c4;--bg:#f6f4ee;--ink:#1b1f2a;--mute:#6b7280;--line:#e3dfd2;--bad:#b42318}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;padding:0;overflow-x:hidden}
body{background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;font-size:17px;line-height:1.55;padding-bottom:110px;word-break:keep-all}
.top{background:var(--navy);padding:12px 16px 10px;position:sticky;top:0;z-index:20}
.brand{color:var(--gold);font-weight:700;font-size:18px;letter-spacing:.5px;display:flex;align-items:center;gap:8px}
.brand img{height:28px}
.progress{height:5px;background:rgba(255,255,255,.18);border-radius:3px;margin-top:10px;overflow:hidden}
.progress span{display:block;height:100%;width:0;background:var(--gold);transition:width .3s}
main{max-width:560px;margin:0 auto;padding:20px 16px}
.fade{animation:fade .25s ease}
@keyframes fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
h1{font-size:28px;line-height:1.35;color:var(--navy);margin:28px 0 14px}
h2{font-size:23px;line-height:1.4;color:var(--navy);margin:8px 0 18px}
.lead{color:var(--mute);margin:0 0 28px}
.step-label{color:var(--gold);font-weight:700;font-size:14px}
.btn{display:block;width:100%;min-height:58px;padding:14px 18px;border-radius:14px;border:2px solid var(--line);background:#fff;color:var(--ink);font-size:18px;font-weight:600;text-align:left;font-family:inherit;margin:0 0 12px;cursor:pointer}
.btn:active{transform:scale(.99)}
.btn.sel{border-color:var(--gold);background:var(--gold2)}
.btn[disabled]{opacity:.5;cursor:not-allowed;background:#eee}
.btn .tag{float:right;font-size:13px;color:var(--mute);font-weight:500;padding-top:3px}
.btn small{display:block;font-weight:400;font-size:14px;color:var(--mute)}
.primary{background:var(--navy);color:#fff;border-color:var(--navy);text-align:center}
.gold{background:var(--gold);border-color:var(--gold);color:var(--navy);text-align:center}
.ghost{background:transparent;text-align:center;color:var(--navy2)}
.back{background:none;border:none;color:var(--navy2);font-size:16px;padding:8px 0;margin-bottom:6px;cursor:pointer;font-family:inherit}
.input{width:100%;min-height:58px;font-size:20px;padding:12px 14px;border-radius:12px;border:2px solid var(--line);font-family:inherit;margin-bottom:10px}
.input:focus{outline:none;border-color:var(--gold)}
.err{color:var(--bad);font-size:15px;margin:0 0 10px}
.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;margin:0 0 14px}
.card h3{margin:0 0 10px;font-size:17px;color:var(--navy);display:flex;justify-content:space-between;align-items:center;gap:8px}
.badge{font-size:12px;font-weight:600;padding:2px 8px;border-radius:20px;background:var(--gold2);color:#7a5d00;white-space:nowrap}
.badge.est{background:#e8eefc;color:#2a4aa0}
.badge.pend{background:#eee;color:#555}
.row{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed var(--line);font-size:16px}
.row:last-child{border-bottom:none}
.row span:first-child{color:var(--mute)}
.row span:last-child{text-align:right;font-weight:600}
.row .edit{color:var(--navy2);background:none;border:none;font-size:13px;text-decoration:underline;cursor:pointer;font-family:inherit;padding:0 0 0 8px}
.total{background:var(--navy);color:#fff;border-radius:18px;padding:22px 18px;margin:0 0 16px;text-align:center}
.total .lb{color:var(--gold2);font-size:15px}
.total .amt{font-size:36px;font-weight:800;color:var(--gold);margin:6px 0;word-break:break-all}
.total .sub{font-size:13px;color:#cfd6e6}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.chip{flex:1 1 90px;min-height:46px;border-radius:12px;border:2px solid var(--line);background:#fff;font-size:16px;font-weight:600;font-family:inherit;cursor:pointer}
.chip.sel{border-color:var(--gold);background:var(--gold2)}
.qty{display:flex;align-items:center;gap:6px}
.qty button{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer}
.note{font-size:14px;color:var(--mute);margin:6px 0 0}
.actions{display:grid;gap:10px;margin-top:18px}
.actions .btn{margin:0;text-align:center}
.toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%) translateY(20px);background:rgba(20,33,61,.96);color:#fff;padding:12px 18px;border-radius:12px;font-size:15px;opacity:0;pointer-events:none;transition:.25s;z-index:60;max-width:90vw;text-align:center}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
/* 둥둥이 바로연결 */
.dungdung{position:fixed;right:14px;bottom:18px;width:68px;height:68px;border-radius:50%;background:var(--gold);color:var(--navy);border:3px solid #fff;box-shadow:0 4px 14px rgba(0,0,0,.28);font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.2;cursor:pointer;z-index:50;animation:float 2.6s ease-in-out infinite;font-family:inherit;padding:0;overflow:hidden}
.dungdung img{width:100%;height:100%;object-fit:cover;border-radius:50%}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@media(min-width:700px){body{font-size:18px}h1{font-size:32px}}
@media(max-width:360px){h1{font-size:24px}.btn{font-size:16px}.total .amt{font-size:30px}}

/* ===== 메인 대문 (PC 가로형 / 모바일 세로형 이미지 자동 전환) ===== */
main.wide{max-width:none;padding:0}
.hero{position:relative;min-height:calc(100vh - 52px);min-height:calc(100svh - 52px);background:#0b1633;overflow:hidden;display:flex}
.hero-bg,.hero-bg img{position:absolute;inset:0;width:100%;height:100%}
.hero-bg img{object-fit:cover;object-position:center}
.hero-text{position:relative;z-index:2;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:84px 28px 110px;color:#fff}
.hero-brand{color:var(--gold);font-weight:700;letter-spacing:2px;font-size:15px;margin-bottom:14px}
.hero-logo{height:56px;margin-bottom:14px}
.hero h1{color:#fff;font-size:30px;line-height:1.4;margin:0 0 16px;text-shadow:0 2px 14px rgba(0,0,0,.45)}
.hero-desc{font-size:17px;margin:0 0 14px;color:#f1ead2;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.hero-guide{font-size:15px;margin:0 0 26px;color:#d9deea;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.hero-actions{width:100%;max-width:380px}
.hero-actions .btn{text-align:center}
.ghost-light{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.5);text-align:center}
@media(min-width:768px){
  .hero-bg img{object-position:right center}
  .hero-text{align-items:flex-start;text-align:left;padding:0 0 0 7vw;width:46vw;max-width:640px}
  .hero h1{font-size:clamp(34px,3.6vw,52px)}
  .hero-desc{font-size:clamp(17px,1.5vw,21px)}
  .hero-guide{font-size:clamp(15px,1.2vw,18px)}
  .hero-actions{max-width:340px}
}
@media(max-width:360px){.hero h1{font-size:25px}.hero-text{padding:70px 20px 100px}}
/* PC에서 질문·결과 화면 폭 */
@media(min-width:768px){main:not(.wide){max-width:640px;padding-top:32px}}
/* 대문에서는 상단 바를 투명하게 겹쳐 이미지가 잘리지 않게 */
body.is-start .top{position:absolute;left:0;right:0;background:linear-gradient(rgba(11,22,51,.55),rgba(11,22,51,0))}
body.is-start .hero{min-height:100vh;min-height:100svh}
@media(max-width:767px){.hero-text{padding:150px 28px 70px}}

/* ===== 대문 아래 상황별 선택 박스 ===== */
.picks{background:#0a1226;color:#fff;padding:56px 0 130px}
.picks-head{text-align:center;padding:0 20px;margin-bottom:28px}
.eyebrow{display:flex;align-items:center;justify-content:center;gap:12px;color:var(--gold);font-size:13px;font-weight:700;letter-spacing:2px;margin-bottom:12px}
.eyebrow i{display:block;width:34px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.eyebrow i:last-child{background:linear-gradient(270deg,transparent,var(--gold))}
.picks h2{color:#fff;font-size:26px;margin:0 0 10px}
.picks-head p{color:#a9b4cc;font-size:15px;margin:0 auto;max-width:520px}
.pick-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 20px 14px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.pick-row::-webkit-scrollbar{display:none}
.pick{flex:0 0 232px;scroll-snap-align:start;text-align:left;background:#111a33;border:1px solid rgba(201,162,39,.28);border-radius:20px;padding:20px 18px;min-height:190px;display:flex;flex-direction:column;color:#fff;font-family:inherit;cursor:pointer;transition:border-color .2s,transform .2s}
.pick:hover,.pick:focus-visible{border-color:var(--gold);transform:translateY(-3px);outline:none}
.pick b{font-size:17px;line-height:1.4;margin-bottom:8px}
.pick span{font-size:14px;color:#a9b4cc;line-height:1.55}
.pick em{margin-top:auto;padding-top:14px;font-style:normal;font-size:14px;font-weight:700;color:var(--gold)}
@media(min-width:900px){
  .picks{padding:72px 0 80px}
  .picks h2{font-size:34px}
  .pick-row{display:grid;grid-template-columns:repeat(5,1fr);max-width:1180px;margin:0 auto;overflow:visible;padding:4px 24px}
  .pick{flex:initial}
}
body.is-start{background:#0a1226;padding-bottom:0}
.pick-row{scroll-padding-left:20px}

/* ===== 헤더 / 실시간 문의 ===== */
.top-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.inq-open{background:transparent;border:1px solid var(--gold);color:var(--gold);border-radius:20px;padding:6px 14px;font-size:14px;font-weight:700;font-family:inherit;cursor:pointer}
.inq-open:hover{background:var(--gold);color:var(--navy)}
body.inq-on .dungdung{display:none}
.inq{position:fixed;right:14px;bottom:14px;width:min(360px,calc(100vw - 28px));max-height:calc(100svh - 28px);overflow:auto;background:#0f1a36;color:#fff;border:1px solid var(--gold);border-radius:24px;box-shadow:0 12px 40px rgba(0,0,0,.5);z-index:70;padding:18px 18px 20px}
.inq[hidden]{display:none}
.inq-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}
.inq-head b{font-size:22px;color:#fff}
.inq-eyebrow{color:var(--gold);font-size:11px;letter-spacing:2px;font-weight:700}
.inq-x{background:none;border:none;color:#fff;font-size:30px;line-height:1;cursor:pointer;padding:0 4px}
.inq-lb{font-size:14px;color:#cfd6e6;margin:10px 0 6px}
.inq textarea,.inq-phone input{width:100%;border-radius:12px;border:1px solid rgba(255,255,255,.25);background:#fff;color:var(--ink);font-family:inherit;font-size:16px;padding:12px}
.inq textarea{resize:none;min-height:120px}
.inq-phone{display:flex;align-items:center;gap:6px}
.inq-phone input{text-align:center;padding:12px 4px}
.inq-phone i{color:#fff;font-style:normal}
.inq-agree{display:flex;justify-content:space-between;align-items:center;margin:12px 0 4px;font-size:14px}
.inq-agree label,.inq-est{display:flex;align-items:center;gap:8px;cursor:pointer}
.inq-agree input,.inq-est input{width:20px;height:20px;accent-color:var(--gold)}
.inq-agree button{background:none;border:none;color:var(--gold);text-decoration:underline;font-size:14px;font-family:inherit;cursor:pointer}
.inq-terms{font-size:13px;color:#cfd6e6;background:rgba(255,255,255,.07);border-radius:10px;padding:10px 12px;margin:6px 0}
.inq-est{font-size:14px;margin:8px 0}
.inq-err{color:#ffb4a8;font-size:14px;margin:8px 0 0}
.inq-send{display:block;width:100%;min-height:52px;margin-top:12px;border-radius:26px;border:none;background:var(--gold);color:var(--navy);font-size:17px;font-weight:800;font-family:inherit;cursor:pointer}
.inq-note{font-size:12px;color:#9aa6c0;margin:10px 0 0;text-align:center}
.inq-done-t{font-size:18px;font-weight:700;color:var(--gold);margin:6px 0 10px}
.inq ol{padding-left:20px;margin:0 0 6px;color:#e6eaf4;font-size:15px}
.inq-again{display:block;width:100%;margin-top:8px;background:none;border:none;color:#cfd6e6;text-decoration:underline;font-size:14px;font-family:inherit;cursor:pointer;padding:8px}
@media(max-width:480px){.inq{right:8px;left:8px;width:auto;bottom:8px}}
.inq-est[hidden]{display:none}

/* ===== 상단 메뉴 ===== */
.top{padding:10px 16px}
.brand{cursor:pointer;min-height:36px}
.brand img{height:36px;width:auto;display:block}
.nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.nav button{background:none;border:none;color:#e9edf7;font-family:inherit;font-size:15px;font-weight:600;padding:8px 12px;border-radius:8px;cursor:pointer;white-space:nowrap}
.nav button:hover{color:var(--gold)}
.nav .inq-open{margin-left:6px;border:1px solid var(--gold);color:var(--gold);border-radius:20px;padding:6px 14px}
.nav .inq-open:hover{background:var(--gold);color:var(--navy)}
.nav button[hidden]{display:none}
.nav-toggle{display:none;background:none;border:none;width:44px;height:44px;padding:0;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--gold);border-radius:2px}
@media(max-width:767px){
  .top-row{flex-wrap:wrap}
  .nav-toggle{display:flex;margin-left:auto}
  .nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:0;margin:8px -16px -10px;padding:6px 16px 12px;background:#0f1a36;border-top:1px solid rgba(201,162,39,.35)}
  .nav.open{display:flex}
  .nav button{text-align:left;padding:14px 4px;font-size:17px;border-bottom:1px solid rgba(255,255,255,.08);border-radius:0}
  .nav .inq-open{margin:12px 0 0;text-align:center;border-radius:26px;padding:12px;font-size:16px}
}
@media(min-width:768px){body.is-start .top{padding:14px 5vw}}

/* 모바일 메뉴 펼침 위치 보정 */
body.is-start .brand{text-shadow:0 1px 8px rgba(0,0,0,.75)}
@media(max-width:767px){
  .top-row{flex-wrap:nowrap}
  .nav{position:absolute;top:100%;left:0;right:0;margin:0;padding:6px 16px 14px;box-shadow:0 10px 24px rgba(0,0,0,.35)}
}

/* ===== 대문 아래 안내 섹션 ===== */
.picks{padding-bottom:56px}
.sec{background:#0a1226;color:#fff;padding:56px 20px}
.sec.alt{background:#0d172e}
.sec.last{padding-bottom:130px}
.sec-head{text-align:center;margin:0 auto 28px;max-width:640px}
.sec-head h2{color:#fff;font-size:26px;margin:0 0 10px}
.sec-head p{color:#a9b4cc;font-size:15px;margin:0}
.grid{display:grid;gap:14px;max-width:1100px;margin:0 auto;grid-template-columns:1fr}
.icard,.vcard{background:#111a33;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:20px 18px}
.icard b{display:block;font-size:17px;line-height:1.4;margin:8px 0}
.icard p{color:#a9b4cc;font-size:14.5px;margin:0;line-height:1.65}
.num{display:inline-block;border:1px solid var(--gold);color:var(--gold);border-radius:20px;font-size:12px;font-weight:700;padding:1px 10px}
.tag2{color:var(--gold);font-size:12px;font-weight:700;letter-spacing:1px}
.vcard{padding:0;overflow:hidden;display:flex;flex-direction:column}
.vcard-h{background:linear-gradient(135deg,#1c2b52,#14213d);color:#fff;font-size:19px;font-weight:700;padding:20px 18px;border-bottom:1px solid rgba(201,162,39,.35)}
.vcard dl{margin:0;padding:6px 18px}
.vcard dl>div{display:grid;grid-template-columns:86px 1fr;gap:10px;padding:12px 0;border-bottom:1px dashed rgba(255,255,255,.12);font-size:14.5px}
.vcard dl>div:last-child{border-bottom:none}
.vcard dt{color:var(--gold);font-weight:700}
.vcard dd{margin:0;color:#dfe5f2;line-height:1.55}
.vgo{margin:auto 18px 18px;min-height:46px;border-radius:12px;border:1px solid var(--gold);background:transparent;color:var(--gold);font-weight:700;font-size:15px;font-family:inherit;cursor:pointer}
.vgo:hover{background:var(--gold);color:var(--navy)}
.steps{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:0;max-width:1100px;margin:0 auto;padding:4px 0 10px;scrollbar-width:none}
.steps::-webkit-scrollbar{display:none}
.step{flex:0 0 170px;scroll-snap-align:start;background:#111a33;border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:18px 12px;text-align:center}
.step em{display:block;font-style:normal;color:var(--gold);font-size:12px;font-weight:700;letter-spacing:1px;margin-bottom:6px}
.step b{display:block;font-size:16px;margin-bottom:6px}
.step span{color:#a9b4cc;font-size:13.5px;line-height:1.5}
.vbox{max-width:1100px;margin:22px auto 0;background:#111a33;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:18px}
.vbox-t{font-weight:700;margin-bottom:12px}
.vchips{display:flex;flex-wrap:wrap;gap:8px}
.vchip{font-size:14px;padding:7px 12px;border-radius:20px;border:1px solid rgba(255,255,255,.18);color:#8a96b2}
.vchip.on{border-color:var(--gold);color:var(--gold);font-weight:700}
.faq{max-width:760px;margin:0 auto}
.faq details{background:#111a33;border:1px solid rgba(255,255,255,.1);border-radius:16px;margin-bottom:10px}
.faq details[open]{border-color:rgba(201,162,39,.55)}
.faq summary{list-style:none;cursor:pointer;padding:16px 46px 16px 18px;font-weight:700;font-size:16px;position:relative;line-height:1.45}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);color:var(--gold);font-size:22px}
.faq details[open] summary::after{content:"×"}
.faq details p{margin:0;padding:0 18px 18px;color:#b9c3da;font-size:15px;line-height:1.7}
.cta{max-width:380px;margin:28px auto 0;display:grid;gap:10px}
.cta .btn{margin:0;text-align:center}
@media(min-width:768px){
  .sec{padding:72px 24px}
  .sec-head h2{font-size:32px}
  .grid.g3{grid-template-columns:repeat(3,1fr)}
  .steps{display:grid;grid-template-columns:repeat(5,1fr);overflow:visible}
  .step{flex:initial}
  .picks{padding-bottom:72px}
  .sec.last{padding-bottom:120px}
}

/* ===== 대문 축소 + 바로 아래 첫 질문 ===== */
body.is-start .hero{min-height:560px;height:72svh;max-height:680px}
.hero-text{padding:110px 28px 50px}
.sec.quick{padding-top:48px;padding-bottom:48px}
.qcard{max-width:640px;margin:0 auto;background:#111a33;border:1px solid rgba(255,255,255,.1);border-radius:26px;padding:24px 22px 18px;box-shadow:0 18px 50px rgba(0,0,0,.35)}
.qbar{height:4px;background:rgba(255,255,255,.12);border-radius:3px;overflow:hidden;margin-bottom:14px}
.qbar span{display:block;height:100%;background:var(--gold);border-radius:3px}
.qstep{color:var(--gold);font-weight:700;font-size:13px;letter-spacing:1px}
.qcard h3{font-size:21px;line-height:1.4;margin:8px 0 6px;color:#fff}
.qsub{color:#a9b4cc;font-size:14.5px;margin:0 0 16px}
.qopts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qopt{min-height:56px;border-radius:14px;border:1px solid rgba(255,255,255,.16);background:#18233f;color:#fff;font-size:17px;font-weight:600;font-family:inherit;cursor:pointer;text-align:left;padding:0 16px}
.qopt:hover,.qopt.sel{border-color:var(--gold);background:#22304f}
.qopt.sel{color:var(--gold)}
.qnote{text-align:right;color:#7f8cab;font-size:13px;margin-top:14px}
@media(min-width:768px){
  body.is-start .hero{min-height:480px;height:62vh;max-height:620px}
  .hero-text{padding:60px 0 0 7vw}
  .sec.quick{padding-top:64px;padding-bottom:64px}
}
@media(max-width:360px){.hero-text{padding:96px 20px 40px}}
.hero-bg img{object-position:center 28%}
@media(min-width:768px){.hero-bg img{object-position:right 72%}}

/* ===== 단일 페이지 카드형 질문/결과 (2026-10-20) ===== */
#estimateFlow { scroll-margin-top: 16px; }
#inlineResults { scroll-margin-top: 16px; }
.qcard{min-height:255px;display:flex;flex-direction:column}
.qbar span{transition:width .28s ease}
.qopts{align-items:stretch}
.qopt{display:flex;flex-direction:column;justify-content:center;gap:3px;line-height:1.35;padding:12px 14px;height:auto;min-height:60px;text-align:left}
.qopt small{font-size:12px;font-weight:400;color:#a9b4cc;line-height:1.35}
.qopt.sel small{color:#d6c48f}
.qopt:disabled{opacity:.5;cursor:not-allowed}
.qopt:focus-visible,.qconfirm:focus-visible,.qback:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.qopt.qwide{grid-column:1 / -1;text-align:center;align-items:center;color:var(--gold);border-color:var(--gold)}
.qfoot{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:auto;padding-top:16px;color:#8a98b4;font-size:12px}
.qfoot span:last-child{text-align:right}
.qback{background:transparent;border:1px solid rgba(255,255,255,.15);color:#d9e0ef;border-radius:22px;min-height:34px;padding:5px 12px;font-family:inherit;cursor:pointer;font-size:13px}
.qcustom{grid-column:1 / -1;display:grid;gap:8px;background:rgba(255,255,255,.045);padding:13px;border-radius:14px}
.qcustom[hidden]{display:none}
.qcustom label{font-size:13px;color:#d2d9e9}
.qcustom .input{margin:0;min-height:48px;font-size:16px}
.qconfirm{width:100%;border:0;border-radius:12px;background:var(--gold);color:#0e1a35;font-size:16px;font-weight:700;font-family:inherit;min-height:46px;cursor:pointer}

.qopts.loading{grid-template-columns:1fr}
.qloading{grid-column:1 / -1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:140px;border:1px dashed rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.03);padding:22px;text-align:center}
.qloading strong{font-size:18px;color:#fff;margin-top:12px}
.qloading p{margin:8px 0 0;color:#a9b4cc;font-size:14px;line-height:1.7}
.qspinner{width:44px;height:44px;border-radius:50%;border:4px solid rgba(224,186,88,.22);border-top-color:var(--gold);animation:qspin .9s linear infinite}
@keyframes qspin{to{transform:rotate(360deg)}}
.inline-result{background:#0d172e;padding-top:48px;padding-bottom:65px}
.result-wrap{width:min(100%,680px);margin:0 auto}
.inline-result .card{color:var(--ink)}
.inline-result .card h3{color:var(--navy)}
.inline-result .note{color:#697384}
.inline-result .card .note{color:#697384}
.inline-result > .result-wrap > .note{color:#c0c9da !important}
.inline-result .actions{max-width:540px;margin:20px auto 0}
@media (max-width:480px){
  .sec.quick{padding:40px 16px}
  .qcard{padding:20px 15px 15px;border-radius:19px;min-height:250px}
  .qcard h3{font-size:19px}
  .qopts{gap:8px}
  .qopt{font-size:15px;min-height:55px;padding:11px 12px}
  .qopt small{font-size:11.5px}
  .inline-result{padding:42px 14px 60px}
  .inline-result .row{font-size:14px}
  .inline-result .total .amt{font-size:31px}
}
.inline-result .actions .btn.ghost{color:#f4f5f8;border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.06)}
@media (max-width:480px){.qfoot span:last-child{display:none}}

/* ===== 견적 결과 상세 카드: 기본 접힘 ===== */
.inline-result .result-fold{padding:0;overflow:hidden}
.inline-result .result-fold>summary{display:flex;align-items:center;gap:9px;padding:17px 16px;min-height:58px;cursor:pointer;list-style:none;color:var(--navy);font-size:17px;font-weight:700;line-height:1.4}
.inline-result .result-fold>summary::-webkit-details-marker{display:none}
.inline-result .result-fold>summary::marker{content:""}
.inline-result .result-fold>summary .fold-title{flex:1;min-width:0}
.inline-result .result-fold .fold-arrow{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-right:2px solid #6b7280;border-bottom:2px solid #6b7280;transform:rotate(45deg);transition:transform .18s;margin:0 2px 4px 4px}
.inline-result .result-fold[open] .fold-arrow{transform:rotate(225deg);margin:5px 2px 0 4px}
.inline-result .result-fold .fold-body{border-top:1px solid var(--line);padding:12px 16px 16px}
.inline-result .result-fold .fold-body .row:first-child{padding-top:3px}
.inline-result .result-fold>summary:focus-visible{outline:3px solid var(--gold);outline-offset:-4px;border-radius:16px}
@media(max-width:390px){.inline-result .result-fold>summary{font-size:15.5px;padding:15px 12px;gap:6px}.inline-result .result-fold .badge{font-size:10.5px;padding:3px 6px}.inline-result .result-fold .fold-body{padding:12px}}


/* ===== 하루의약속: 대문 아래 감성 배경 + 무빈소 소개 ===== */
.haru-mood-section,.haru-about{box-sizing:border-box}
.haru-mood-section *,.haru-about *{box-sizing:border-box}
.haru-mood-section{position:relative;isolation:isolate;min-height:520px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0b172e url('../img/haru-mood-bg.webp') center 20%/cover no-repeat;text-align:center;padding:76px 24px}
.haru-mood-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,16,37,.27),rgba(5,16,37,.52) 54%,rgba(5,16,37,.7));pointer-events:none;z-index:-1}
.haru-mood-inner{width:100%;max-width:830px;margin:0 auto;position:relative;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.haru-mood-kicker{font-size:14px;font-weight:650;color:#f2da9d;margin:0 0 18px;letter-spacing:.04em}
.haru-mood-title{font-size:clamp(28px,3.3vw,44px);line-height:1.42;font-weight:750;color:#fff;margin:0;letter-spacing:-.035em}
.haru-mood-title strong{color:#ffdc86;font-weight:800}
.haru-mood-desc{color:rgba(255,255,255,.94);font-size:clamp(15px,1.45vw,18px);line-height:1.85;margin:24px 0 0}
.haru-mood-buttons{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:32px;flex-wrap:wrap}
.haru-mood-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:49px;min-width:186px;padding:12px 23px;border-radius:100px;font-size:15px;font-weight:750;font-family:inherit;cursor:pointer;text-decoration:none;transition:background .2s,transform .2s;border:1px solid transparent;text-shadow:none}
.haru-mood-btn:focus-visible,.haru-about-cta:focus-visible{outline:3px solid #f8dc8d;outline-offset:3px}
.haru-mood-btn:hover,.haru-about-cta:hover{transform:translateY(-2px)}
.haru-mood-btn-gold{background:#e0ba58;color:#14213d;border-color:#e0ba58}
.haru-mood-btn-outline{background:rgba(10,25,51,.28);color:#fff;border-color:rgba(255,255,255,.7)}
.haru-about{background:linear-gradient(180deg,#0c1830 0%,#111d35 100%);padding:75px 20px 79px;color:#fff;scroll-margin-top:24px}
.haru-about-inner{max-width:1120px;margin:0 auto;text-align:center}
.haru-about-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#d8bd77;margin:0 0 14px}
.haru-about h2{font-size:clamp(27px,3vw,38px);font-weight:800;color:#fff;margin:0 0 14px;line-height:1.35}
.haru-about-lead{margin:0 auto;color:#c3cadb;font-size:clamp(15px,1.4vw,18px);line-height:1.85;max-width:730px}
.haru-about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;text-align:left;margin:35px 0 18px}
.haru-about-card{background:#182640;border:1px solid rgba(221,194,127,.21);border-radius:20px;padding:26px 24px 24px;min-width:0}
.haru-about-no{font-size:13px;color:#efca74;font-weight:850;letter-spacing:.04em}
.haru-about-card h3{color:#fff;font-size:19px;font-weight:750;margin:12px 0 12px;line-height:1.4}
.haru-about-card p{color:#bfcbdd;margin:0;font-size:15px;line-height:1.75}
.haru-about-note{font-size:13px;color:#a8b4ca;text-align:left;line-height:1.7;margin:0 0 24px}
.haru-about-actions{display:flex;justify-content:center}
.haru-about-cta{display:inline-flex;align-items:center;justify-content:center;gap:14px;font-size:15px;font-weight:750;min-height:51px;border-radius:100px;border:1px solid #daba73;background:transparent;color:#f3db9d;padding:12px 25px;cursor:pointer;font-family:inherit;transition:background .2s,transform .2s}
.haru-about-cta:hover{background:rgba(218,186,115,.10)}
@media(max-width:767px){
 .haru-mood-section{min-height:470px;padding:67px 21px;background-position:59% center}
 .haru-mood-kicker{font-size:12px;margin-bottom:12px}
 .haru-mood-title{font-size:clamp(25px,6.7vw,31px);line-height:1.5}
 .haru-mood-desc{font-size:14.5px;line-height:1.78;margin-top:18px}
 .haru-mood-buttons{flex-direction:column;gap:10px;margin-top:26px}
 .haru-mood-btn{width:100%;max-width:290px;min-height:46px;font-size:14px}
 .haru-about{padding:58px 18px 64px}
 .haru-about-eyebrow{font-size:10.5px}
 .haru-about-lead{font-size:15px}
 .haru-desktop-only{display:none}
 .haru-about-grid{grid-template-columns:1fr;gap:11px;margin-top:25px}
 .haru-about-card{padding:19px 20px 19px;border-radius:17px}
 .haru-about-card h3{font-size:17px;margin:5px 0 7px}
 .haru-about-card p{font-size:14px;line-height:1.65}
 .haru-about-note{font-size:12px;margin-bottom:20px}
 .haru-about-cta{width:100%;max-width:330px;min-height:49px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.haru-mood-btn,.haru-about-cta{transition:none}}

/* ===== 2026-10-20: 사진은 '배너'가 아닌 카드 뒤 빈 여백의 배경 ===== */
/* 기존 대문과 질문/결과 카드 로직은 유지하고 대문 아래에만 적용 */
.haru-scene-wrap {
  background-color:#111b32;
  background-image:linear-gradient(180deg,rgba(6,15,33,.28),rgba(6,15,33,.38)),url('../img/haru-mood-bg.webp');
  background-position:center center;
  background-repeat:no-repeat;
  background-size:cover;
  background-attachment:fixed;
  padding:22px clamp(14px,2.5vw,38px) 34px;
}
/* 이 카드 사이와 좌우가 바로 배경 사진이 보이는 '빈 여백' */
.haru-scene-wrap > .haru-about,
.haru-scene-wrap > .sec,
.haru-scene-wrap > .picks {
  max-width:1180px;
  width:100%;
  margin:0 auto 20px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(226,205,164,.20);
  box-shadow:0 12px 38px rgba(2,8,20,.32);
}
.haru-scene-wrap > .haru-about {background:rgba(12,24,47,.92)}
.haru-scene-wrap > .sec {background:rgba(11,23,44,.93)}
.haru-scene-wrap > .sec.alt {background:rgba(15,29,53,.93)}
.haru-scene-wrap > .sec.quick {background:rgba(9,19,39,.79)}
.haru-scene-wrap > .picks {background:rgba(11,23,44,.93)}
.haru-scene-wrap > .inline-result {background:rgba(13,25,47,.94)}
.haru-scene-wrap > :last-child {margin-bottom:0}
/* 사진은 안내/질문 카드 뒤에만. 아래는 기존 글자 대비 보호. */
.haru-scene-wrap .haru-about-card,
.haru-scene-wrap .icard,
.haru-scene-wrap .vcard,
.haru-scene-wrap .pick,
.haru-scene-wrap .qcard {background-color:#14223d}
@media(max-width:767px){
 .haru-scene-wrap{
    background-attachment:scroll;
    background-size:auto 100%;
    background-position:59% center;
    padding:12px 10px 26px;
 }
 .haru-scene-wrap > .haru-about,
 .haru-scene-wrap > .sec,
 .haru-scene-wrap > .picks {border-radius:17px;margin-bottom:12px}
 .haru-scene-wrap > .haru-about {padding:42px 15px 48px}
 .haru-scene-wrap > .sec.quick {padding:35px 12px}
 .haru-scene-wrap > .picks {padding-top:42px}
 .haru-scene-wrap > .sec:not(.quick):not(.inline-result){padding-left:15px;padding-right:15px}
}


/* ===== 모바일 전용 가독성 · 배경 · 버튼 겹침 수정 (2026-10-20) ===== */
.mobile-info-notes,.mobile-mode-list,.mobile-extra{display:none}
@media(max-width:767px){
  html,body{max-width:100%;overflow-x:hidden}
  /* 모바일에서는 배경 원본을 모든 카드 뒤 여백에 유지합니다. 별도 사진 배너 없음. */
  .haru-scene-wrap{
    background-color:#0b1931;
    background-image:linear-gradient(rgba(5,14,33,.43),rgba(5,14,33,.59)),url('../img/haru-mood-bg.webp');
    background-size:100% 100%,auto 100svh;
    background-position:center top,center center;
    background-attachment:scroll,fixed;
    background-repeat:no-repeat;
    padding:14px 12px 50px;
  }
  .haru-scene-wrap > .haru-about,
  .haru-scene-wrap > .sec,
  .haru-scene-wrap > .picks{min-width:0;max-width:100%;margin:0 auto 13px;border-radius:16px;border-color:rgba(218,190,127,.25)}
  .haru-scene-wrap > .sec{padding:26px 14px 28px;background:rgba(11,23,45,.86)}
  .haru-scene-wrap > .sec.alt{background:rgba(14,25,47,.88)}
  .haru-scene-wrap > .sec.quick{padding:25px 12px 30px;background:rgba(9,20,42,.81)}
  .haru-scene-wrap > .picks{padding:28px 14px 30px;background:rgba(9,20,42,.84)}
  .haru-scene-wrap > .haru-about{padding:32px 14px 35px;background:rgba(11,23,45,.86)}
  .haru-scene-wrap > .inline-result{padding:28px 12px 35px;background:rgba(10,22,44,.88)}
  .sec-head{margin-bottom:20px}
  .sec-head h2,.picks h2{font-size:clamp(21px,5.6vw,25px);line-height:1.35;letter-spacing:-.04em}
  .sec-head p,.picks-head p{font-size:13.5px;line-height:1.6}
  .eyebrow{font-size:11px;letter-spacing:1px;margin-bottom:9px}
  .picks-head{padding:0 4px;margin-bottom:16px}
  /* 옆으로 잘리던 카드 → 너비 100%의 짧은 세로 카드 */
  .pick-row{display:grid;grid-template-columns:minmax(0,1fr);overflow:visible;gap:9px;padding:0;scroll-snap-type:none}
  .pick{width:100%;max-width:100%;min-width:0;min-height:0;flex:none;padding:13px 15px;border-radius:14px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;row-gap:2px;align-items:center}
  .pick b{grid-column:1;grid-row:1;margin:0;font-size:15px}
  .pick span{grid-column:1;grid-row:2;margin:0;font-size:12.5px;line-height:1.45}
  .pick span br{display:none}
  .pick em{grid-column:2;grid-row:1 / span 2;align-self:center;margin:0;padding:0;white-space:nowrap;font-size:12px}
  .pick:hover,.pick:focus-visible{transform:none}
  /* 세 가지 안내 원칙은 탭해서 펼쳐 보기 */
  .sec:has(.mobile-info-notes) > .grid{display:none}
  .mobile-info-notes{display:block}
  .mobile-info-notes details,.mobile-mode-list details{background:rgba(20,35,60,.95);border:1px solid rgba(218,190,127,.22);border-radius:14px;margin:0 0 8px;overflow:hidden}
  .mobile-info-notes summary{padding:15px 15px;cursor:pointer;font-size:14px;font-weight:750;color:#f4e9c4;line-height:1.5;list-style:none}
  .mobile-info-notes summary::-webkit-details-marker{display:none}
  .mobile-info-notes summary::after{content:'＋';float:right;color:#d6b96e}
  .mobile-info-notes details[open] summary::after{content:'−'}
  .mobile-info-notes details p{font-size:13px;line-height:1.65;color:#c8d2e4;padding:0 15px 15px;margin:0}
  /* 긴 PC 비교표는 모바일에서 접이식 3개로 전환 */
  .sec:has(.mobile-mode-list) > .grid{display:none}
  .mobile-mode-list{display:block}
  .mobile-mode-list summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:13px 15px;color:#fff}
  .mobile-mode-list summary::-webkit-details-marker{display:none}
  .mobile-mode-list summary span{font-size:16px;font-weight:750}
  .mobile-mode-list summary small{display:block;font-size:12.5px;color:#b4c3d9;font-weight:400;margin-top:3px}
  .mobile-mode-list summary b{color:#dbb95b}
  .mobile-mode-list details[open] summary b{transform:rotate(45deg)}
  .mode-detail{border-top:1px solid rgba(255,255,255,.1);padding:12px 15px 15px}
  .mode-detail p{font-size:13px;line-height:1.65;color:#c4cde0;margin:0 0 13px}
  .mode-detail button{width:100%;border:1px solid #d6b96e;border-radius:10px;background:transparent;color:#f0d28a;min-height:43px;font-family:inherit;font-size:13.5px;font-weight:700;cursor:pointer}
  /* 반복되는 길고 큰 상세 설명은 하나의 접기 패널로 제공 */
  .haru-scene-wrap > .secondary-info{display:none}
  .haru-scene-wrap > .mobile-extra{display:block}
  .mobile-extra > details{background:rgba(18,32,57,.96);border-radius:12px;border:1px solid rgba(218,190,127,.22);overflow:hidden}
  .mobile-extra > details > summary{padding:15px;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f2d485;font-weight:700;font-size:14px}
  .mobile-extra > details > summary::-webkit-details-marker{display:none}
  .mobile-extra > details > summary span{font-weight:400}
  .mobile-extra-content{padding:0 15px 14px;font-size:13px;line-height:1.65;color:#cbd4e6}
  .mobile-extra-content p{margin:0 0 8px}
  .haru-scene-wrap > .sec.last{padding-bottom:32px}
  .faq summary{font-size:14px;padding:13px 42px 13px 13px}
  .faq details p{font-size:13px;padding:0 13px 14px}
  .vbox,.steps{max-width:100%}
  /* 원형 바로연결은 모바일 콘텐츠를 가리지 않도록 작게 유지 */
  .dungdung{width:38px;height:76px;right:0;bottom:calc(94px + env(safe-area-inset-bottom, 0px));border-width:2px;border-right:0;border-radius:16px 0 0 16px;font-size:11px;line-height:1.25;writing-mode:vertical-rl;text-orientation:upright;letter-spacing:-1px;animation:none;box-shadow:0 3px 11px rgba(0,0,0,.32)}
  .qcard{min-height:0;padding:18px 14px 16px}
  .qcard h3{font-size:18px}
  .qopt{font-size:14px;min-height:54px}
  .qsub{font-size:13px}
  .qfoot{font-size:11px}
  .haru-about-grid{gap:8px;margin:20px 0 13px}
  .haru-about-card{padding:14px}
  .haru-about-card h3{font-size:15px}
  .haru-about-card p{font-size:12.5px}
}
@media (prefers-reduced-motion:reduce){.qspinner{animation-duration:1.8s}.dungdung{animation:none}}

/* ===== 하루의약속 AI 추천 비교 카드 (PC 3개 · 모바일 1개 전환) ===== */
.haru-scene-wrap > .rec-section{max-width:1180px;background:rgba(9,18,37,.94);padding:56px 24px 34px;overflow:visible}
.rec-section,.rec-section *{box-sizing:border-box}
.rec-section .sec-head{max-width:780px;margin:0 auto 27px;text-align:center}
.rec-section .sec-head h2{color:#fff;font-size:clamp(25px,3vw,38px);margin:0 0 8px}
.rec-section .sec-head p{color:#c0cbda;font-size:15px}
.rec-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch;max-width:1120px;margin:0 auto}
.rec-card{position:relative;min-width:0;display:flex;flex-direction:column;background:#151e2c;border:1px solid rgba(196,204,220,.22);border-radius:20px;overflow:hidden;box-shadow:0 10px 24px rgba(0,0,0,.19);color:#fff}
.rec-card.is-recommended{border-color:#d2b574;box-shadow:0 0 0 1px rgba(208,176,106,.16),0 14px 30px rgba(0,0,0,.27)}
.rec-reco{position:absolute;z-index:2;top:12px;left:12px;padding:7px 10px;border-radius:999px;background:#e6c47b;color:#14213d;font-size:12px;font-weight:850;line-height:1.3}
.rec-photo{height:190px;width:100%;object-fit:cover;object-position:center;display:block;background:#27334c}
.rec-content{padding:20px 18px 19px;display:flex;flex-direction:column;flex:1;min-width:0}
.rec-kicker{font-size:11px;color:#e2bf6d;font-weight:750;letter-spacing:.05em;margin:0 0 7px}
.rec-content h3{font-size:27px;line-height:1.25;margin:0 0 10px;color:#fff}
.rec-lead{font-size:14.5px;line-height:1.65;color:#c8d4e6;margin:0 0 16px;min-height:47px}
.rec-switchable{padding:17px 14px;background:rgba(255,255,255,.035);border:1px dashed rgba(216,199,160,.28);border-radius:13px;min-height:174px;margin-bottom:18px}
.rec-switchable strong{font-size:13px;color:#f3d38c}
.rec-summary ul{padding:0 0 0 17px;margin:13px 0 0;display:grid;gap:7px}
.rec-summary li{font-size:13px;line-height:1.55;color:#d4dbea}
.rec-details[hidden],.rec-summary[hidden]{display:none!important}
.rec-detail-text p{color:#cbd5e6;font-size:13px;line-height:1.55;margin:10px 0 0}
.rec-price{text-align:center;margin:auto 0 18px}
.rec-price strong{display:block;color:#e3c174;font-size:clamp(25px,2.6vw,32px);letter-spacing:-.04em;line-height:1.35}
.rec-price span{display:block;margin:4px auto 0;max-width:280px;color:#b6c4d9;font-size:11.5px;line-height:1.5}
.rec-actions{display:flex;gap:8px}
.rec-actions button,.rec-bottom button{font:700 13px/1.3 inherit;font-family:inherit;border-radius:999px;border:1px solid rgba(255,255,255,.23);background:transparent;color:#fff;min-height:45px;padding:10px 12px;cursor:pointer;flex:1;white-space:nowrap}
.rec-actions button:last-child{background:#e1c07a;border-color:#e1c07a;color:#11203a}
.rec-actions button:focus-visible,.rec-mobile-tabs button:focus-visible,.rec-bottom button:focus-visible{outline:3px solid #e1c07a;outline-offset:2px}
.rec-disclaimer{text-align:center;color:#aebcd3;font-size:12px;line-height:1.7;margin:22px auto 15px;max-width:900px}
.rec-bottom{display:flex;justify-content:center;gap:10px;margin:0 auto;max-width:450px}
.rec-bottom button{font-size:13px;border-color:rgba(225,192,122,.6);color:#eed18e}
.rec-mobile-tabs{display:none}
@media(max-width:767px){
  .haru-scene-wrap > .rec-section{padding:24px 12px 28px;overflow:hidden;background:rgba(9,19,39,.88)}
  .rec-section .sec-head{margin-bottom:14px}
  .rec-section .sec-head h2{font-size:25px;line-height:1.35}
  .rec-section .sec-head p{font-size:13px;line-height:1.6}
  .rec-mobile-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 12px}
  .rec-mobile-tabs button{font:700 13px/1.3 inherit;font-family:inherit;background:rgba(26,42,70,.92);color:#c9d2e2;border:1px solid rgba(255,255,255,.2);border-radius:11px;padding:12px 2px;cursor:pointer;min-width:0}
  .rec-mobile-tabs button[aria-selected="true"]{background:#d8b974;border-color:#d8b974;color:#14213d}
  .rec-grid{display:block}
  .rec-card{width:100%;min-width:0;border-radius:16px}
  .rec-card[data-active="false"]{display:none}
  .rec-photo{height:148px}
  .rec-content{padding:16px 15px}
  .rec-content h3{font-size:24px}
  .rec-lead{min-height:0;margin-bottom:12px;font-size:13px}
  .rec-switchable{min-height:0;margin:0 0 14px;padding:12px}
  .rec-summary ul{gap:5px;margin-top:9px}
  .rec-summary li,.rec-detail-text p{font-size:12px}
  .rec-price{margin:0 0 14px}
  .rec-price strong{font-size:28px}
  .rec-price span{font-size:11px}
  .rec-actions button{font-size:12px;min-height:43px;padding:9px 8px}
  .rec-disclaimer{font-size:11px;text-align:left;margin:16px 3px 14px}
  .rec-bottom button{font-size:12px;min-width:0;padding:9px 8px}
}
@media(min-width:768px) and (max-width:1020px){
  .rec-grid{gap:10px}
  .rec-content{padding:17px 12px}
  .rec-content h3{font-size:23px}
  .rec-actions{flex-direction:column}
}

/* === 최종 대문: 사진 높이 축소 + 3가지 장례 방식 한 줄 버튼 === */
body.is-start .hero{height:480px;min-height:480px;max-height:520px}
.hero-plan-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(100%,465px);margin:7px 0 0}
.hero-plan-actions button{appearance:none;min-width:0;min-height:47px;padding:10px 5px;background:rgba(14,26,50,.72);border:1px solid #d8b66b;border-radius:12px;color:#f1d08a;font:700 15px/1.25 inherit;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .2s,color .2s}
.hero-plan-actions button:hover,.hero-plan-actions button:focus-visible{background:#d8b66b;color:#0d1830;outline:2px solid #fff;outline-offset:2px}
.vcard[data-mode],.mobile-mode-list details[data-mode]{scroll-margin-top:70px}
@media(min-width:768px){
  .hero-text{width:min(55vw,640px);padding:65px 0 30px 6vw;align-items:flex-start;text-align:left}
  .hero-plan-actions{max-width:480px}
}
@media(max-width:767px){
  body.is-start .hero{height:365px;min-height:365px;max-height:365px}
  .hero-text{padding:63px 15px 15px;width:100%;justify-content:center;text-align:center;align-items:center}
  .hero h1{font-size:clamp(22px,6.5vw,27px);line-height:1.36;margin:0 0 8px}
  .hero-desc{font-size:12px;line-height:1.55;margin:0 0 8px}
  .hero-guide{font-size:11.5px;line-height:1.5;margin:0 0 10px;max-width:350px}
  .hero-plan-actions{width:100%;max-width:390px;gap:6px;margin:0}
  .hero-plan-actions button{min-height:44px;font-size:clamp(12px,3.5vw,15px);border-radius:11px;padding:7px 3px}
  .hero-bg img{object-position:center 31%}
}
@media(max-width:350px){
  .hero h1{font-size:21px}
  .hero-plan-actions button{font-size:12px}
  .hero-guide{font-size:11px}
}

/* ===== 설명 카드 자동 숨김 / 한 묶음에서 한 개만 펼침 ===== */
.haru-scene-wrap > .smart-fold {width:100%;max-width:1180px;margin:0 auto 12px;border:1px solid rgba(221,194,127,.35);border-radius:16px;overflow:hidden;background:rgba(11,22,43,.91);box-shadow:0 6px 20px rgba(0,0,0,.15)}
.smart-fold > summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-size:clamp(15px,2.2vw,19px);font-weight:750;min-height:62px;padding:14px 22px;line-height:1.45}
.smart-fold > summary::-webkit-details-marker{display:none}
.smart-fold > summary::after{content:'＋';color:#e3bf69;font-size:21px;flex:none}
.smart-fold[open] > summary::after{content:'−'}
.smart-fold > summary:focus-visible,.smart-fold details > summary:focus-visible{outline:2px solid #e9c66f;outline-offset:-3px}
.smart-fold-body > section{width:100%;max-width:none!important;min-width:0!important;margin:0!important;border:0!important;border-top:1px solid rgba(255,255,255,.09)!important;border-radius:0!important;box-shadow:none!important;padding:22px 20px 26px!important}
.smart-fold-body .sec-head,.smart-fold-body .picks-head{display:none}
.smart-fold-body .haru-about-eyebrow,.smart-fold-body .haru-about h2{display:none}
.smart-fold-body .haru-about-lead{margin-top:0}
.smart-fold-body .haru-about-grid{margin-top:15px}
.smart-fold.on-mobile{display:none}
.smart-fold-body .haru-about-grid .auto-about-detail{display:block}
.auto-about-detail>summary{list-style:none;cursor:pointer;color:#fff;font-weight:750;font-size:15px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.auto-about-detail>summary::-webkit-details-marker{display:none}
.auto-about-detail>summary::after{content:'＋';color:#e4bf69;font-size:17px;flex:none}
.auto-about-detail[open]>summary::after{content:'−'}
.auto-about-detail{padding:0!important;overflow:hidden}
.auto-about-detail>p{padding:2px 16px 15px;margin:0!important}
.auto-pick-detail{background:#14233c;border:1px solid rgba(218,190,127,.28);border-radius:12px;overflow:hidden}
.auto-pick-detail>summary{list-style:none;color:#fff;cursor:pointer;padding:14px 17px;font-weight:750;font-size:15px;display:flex;justify-content:space-between;gap:10px}
.auto-pick-detail>summary::-webkit-details-marker{display:none}
.auto-pick-detail>summary::after{content:'＋';color:#e3bf69;flex:none}
.auto-pick-detail[open]>summary::after{content:'−'}
.auto-pick-body{padding:0 15px 14px;font-size:13px;line-height:1.6;color:#c9d5e6}
.auto-pick-body p{margin:0 0 12px}
.auto-pick-body button{border:1px solid #daba73;background:#172642;color:#eed094;border-radius:10px;padding:11px;width:100%;font-weight:750;cursor:pointer}
.smart-fold .pick-row{display:grid;grid-template-columns:1fr;gap:8px;overflow:visible;padding:0;max-width:700px;margin:auto}
.hero-inline-slot[hidden]{display:none!important}
.hero-inline-slot{background:#0c1830 url('../img/haru-mood-bg.webp') center 40%/cover;padding:12px clamp(14px,4vw,32px);color:#fff}
.hero-inline-card{background:rgba(16,30,56,.96);border:1px solid #daba73;border-radius:17px;max-width:880px;margin:auto;padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.hero-inline-card small{color:#e9c77a;font-size:12px}
.hero-inline-card h3{font-size:22px;color:#fff;margin:4px 0 6px}
.hero-inline-card p{color:#d4ddec;font-size:14px;margin:0;line-height:1.55}
.hero-inline-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.hero-inline-actions button{border-radius:12px;border:1px solid #daba73;min-height:40px;padding:8px 12px;color:#101e35;background:#daba73;font-weight:750;font-family:inherit;cursor:pointer}
.hero-inline-actions .hero-inline-close{background:transparent;color:#efda9d}
.hero-plan-actions button.is-selected{background:#daba73;color:#101e35}
@media(max-width:767px){
  .haru-scene-wrap>.smart-fold{margin-bottom:9px;border-radius:14px}
  .smart-fold>summary{min-height:54px;padding:12px 14px;font-size:15px}
  .smart-fold-body>section{padding:14px 12px 18px!important}
  .smart-fold.on-desktop{display:none}
  .smart-fold.on-mobile{display:block}
  .smart-fold .haru-about-grid{display:grid;grid-template-columns:1fr;gap:7px}
  .auto-about-detail>summary{font-size:13px}
  .haru-scene-wrap>.smart-fold .picks{padding-top:18px}
  .hero-inline-card{padding:14px;gap:12px}
  .hero-inline-actions{width:100%}
  .hero-inline-actions button:first-child{flex:1}
}


/* ===== 둥둥이 바로연결: 네이비 + 골드 원형 플로팅 버튼 (PC/모바일 공통) ===== */
body .dungdung {
  position: fixed;
  right: calc(14px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 74px;
  height: 74px;
  min-width: 74px;
  min-height: 74px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 2px solid #e5c47c;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 19%, #203f68 0%, #102745 50%, #09182f 100%);
  color: #f7d992;
  box-shadow: 0 0 0 3px rgba(10,22,41,.7), 0 0 0 4px rgba(236,200,120,.34),
              0 9px 27px rgba(2,10,28,.48), 0 0 24px rgba(216,171,78,.20);
  font-family: inherit;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.2;
  text-align: center;
  text-orientation: mixed;
  writing-mode: horizontal-tb;
  overflow: visible;
  cursor: pointer;
  z-index: 50;
  opacity: 1;
  animation: haruFloat 3.1s ease-in-out infinite;
  transition: filter .2s ease, box-shadow .2s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}
body .dungdung::before{
  content:"";
  position:absolute;
  top:6px;left:14px;right:14px;height:13px;
  border-radius:50%;
  background:rgba(255,255,255,.13);
  filter:blur(5px);
  pointer-events:none;
}
body .dungdung .dungdung-icon{
  display:block;
  font-size:23px;
  font-weight:500;
  line-height:1.1;
  color:#f5d78d;
  margin-top:1px;
}
body .dungdung .dungdung-label{
  display:block;
  color:#ffe4a8;
  font-size:11px;
  font-weight:850;
  line-height:1.1;
  white-space:nowrap;
  letter-spacing:-.05em;
}
body .dungdung img{
  width:100%;height:100%;border-radius:50%;object-fit:cover;
}
body .dungdung:hover {filter:brightness(1.14)}
body .dungdung:focus-visible{outline:3px solid #fff5d8;outline-offset:6px}
body .inq-on .dungdung{opacity:0;pointer-events:none}
@keyframes haruFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-9px)}
}
@media(max-width:767px){
  body .dungdung{
    width:60px;height:60px;min-width:60px;min-height:60px;
    right:calc(11px + env(safe-area-inset-right, 0px));
    bottom:calc(16px + env(safe-area-inset-bottom, 0px));
    padding:4px;gap:0;
  }
  body .dungdung .dungdung-icon{font-size:19px}
  body .dungdung .dungdung-label{font-size:10px}
}
@media(prefers-reduced-motion:reduce){body .dungdung{animation:none}}


/* 2026-10-21 둥둥이 소형 수정 — 홈페이지 본문에는 영향 없음 */
body .dungdung{
  width:54px;height:54px;min-width:54px;min-height:54px;
  right:calc(10px + env(safe-area-inset-right, 0px));
  bottom:calc(14px + env(safe-area-inset-bottom, 0px));
  padding:3px;gap:0;
  border-width:1.5px;
  box-shadow:0 0 0 2px rgba(10,22,41,.65), 0 4px 13px rgba(2,10,28,.40), 0 0 10px rgba(216,171,78,.16);
  animation:haruFloatSmall 3.1s ease-in-out infinite;
}
body .dungdung::before{top:4px;left:12px;right:12px;height:9px}
body .dungdung .dungdung-icon{font-size:17px;line-height:1;margin-top:0}
body .dungdung .dungdung-label{font-size:9px;line-height:1.1;letter-spacing:-.06em}
@keyframes haruFloatSmall{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(max-width:767px){
  body .dungdung{
    width:44px;height:44px;min-width:44px;min-height:44px;
    right:calc(8px + env(safe-area-inset-right, 0px));
    bottom:calc(12px + env(safe-area-inset-bottom, 0px));
    padding:2px;
  }
  body .dungdung .dungdung-icon{font-size:13px}
  body .dungdung .dungdung-label{font-size:7.5px}
}
@media(prefers-reduced-motion:reduce){body .dungdung{animation:none}}


/* ===== AI 마음설계: 책표지 형태의 시작 카드 (PC / 모바일) ===== */
.haru-scene-wrap > .book-section{
  padding:36px 16px 23px;
  background:rgba(8,19,41,.72);
  overflow:visible;
}
.book-perspective{perspective:1100px;width:min(100%,540px);margin:0 auto}
.ai-book-cover{
  --cover-gold:#e0bf79;
  width:100%;min-height:388px;display:block;position:relative;
  border:1px solid rgba(225,196,134,.9);border-left:0;
  border-radius:7px 19px 19px 7px;
  padding:30px 26px 23px 35px;
  color:#fff;cursor:pointer;text-align:center;font-family:inherit;
  background:radial-gradient(ellipse at 76% 14%,rgba(225,182,101,.13),transparent 45%),
             linear-gradient(145deg,#1c2c48 0%,#111e36 53%,#0d182e 100%);
  box-shadow: 8px 10px 0 #071020,14px 17px 28px rgba(0,0,0,.48),inset 0 0 0 4px rgba(209,174,108,.055);
  transform-origin:left center;
  transition:box-shadow .25s,transform .46s cubic-bezier(.22,.8,.23,1);
  -webkit-tap-highlight-color:transparent;
}
.ai-book-cover:hover{transform:translateY(-3px);box-shadow:8px 13px 0 #071020,18px 19px 32px rgba(0,0,0,.50),inset 0 0 0 4px rgba(209,174,108,.055)}
.ai-book-cover:focus-visible{outline:3px solid var(--cover-gold);outline-offset:5px}
.ai-book-cover.is-opening{transform:rotateY(-67deg) scale(.95);opacity:.76;pointer-events:none}
.book-spine{position:absolute;inset:0 auto 0 0;width:18px;background:linear-gradient(90deg,#060e1d,#b5965b 3px,#6b583d 5px,#1a2a44 9px,#121d34 100%);border-radius:7px 0 0 7px;box-shadow:inset -3px 0 5px rgba(0,0,0,.5)}
.book-corner{position:absolute;right:0;top:0;border-style:solid;border-width:0 27px 27px 0;border-color:transparent #c1a16a transparent transparent;filter:drop-shadow(-2px 2px 2px rgba(0,0,0,.24));border-top-right-radius:14px}
.book-inside{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:326px;gap:0;pointer-events:none}
.book-eyebrow{font-size:12px;letter-spacing:.07em;color:#e6c47d;font-weight:750}
.book-eyebrow span{color:#e8c989}
.book-rule{width:68px;height:1px;background:linear-gradient(90deg,transparent,#dfbd72,transparent);margin:19px auto 14px}
.book-title{font-size:clamp(26px,3.15vw,35px);line-height:1.33;letter-spacing:-.045em;font-weight:800;color:#fff;word-break:keep-all}
.book-title em{font-style:normal;color:#e9c782}
.book-subtitle{margin-top:18px;font-size:14px;line-height:1.75;color:#c1cee2;font-weight:450;word-break:keep-all}
.book-touch{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:28px;color:#f0d499;font-size:13px;font-weight:750;animation:bookPulse 2.1s ease-in-out infinite}
.book-touch svg{filter:drop-shadow(0 1px 8px rgba(236,204,118,.27));animation:bookTap 1.65s ease-in-out infinite}
.book-bottom{font-size:10px;letter-spacing:.12em;color:#aab5c9;margin-top:28px}
.book-undertext{font-size:13px;color:#c6d3e3;text-align:center;margin:20px auto 0;line-height:1.55}
@keyframes bookPulse{0%,100%{opacity:.83}50%{opacity:1}}
@keyframes bookTap{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media(max-width:767px){
 .haru-scene-wrap > .book-section{padding:23px 12px 20px;overflow:visible}
 .ai-book-cover{min-height:340px;padding:20px 13px 17px 27px;border-radius:6px 16px 16px 6px;box-shadow:5px 7px 0 #071020,9px 14px 26px rgba(0,0,0,.42)}
 .book-inside{min-height:297px}
 .book-title{font-size:clamp(27px,7.5vw,32px)}
 .book-eyebrow{font-size:11px}
 .book-subtitle{font-size:13px;margin-top:15px}
 .book-touch{font-size:12px;margin-top:24px}
 .book-bottom{font-size:9px;margin-top:23px}
 .book-undertext{font-size:12px;margin-top:13px}
}
@media(prefers-reduced-motion:reduce){.ai-book-cover,.book-touch,.book-touch svg{transition:none!important;animation:none!important}}


/* 2026-10-21: 문의는 대문 장례 선택 3버튼 바로 아래에만 */
.hero-live-inquiry {
  width: min(100%, 380px);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px auto 0;
  padding: 11px 18px;
  font-size: 15px;
  line-height: 1.35;
  font-family: inherit;
  font-weight: 700;
  color: #f3d18b;
  background: rgba(8, 20, 42, .64);
  border: 1px solid #d6ad53;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.hero-live-inquiry:hover,
.hero-live-inquiry:focus-visible {
  background: rgba(214, 173, 83, .16);
  outline-offset: 3px;
}
@media(max-width: 767px) {
  .hero-live-inquiry {
    width: 100%;
    min-height: 43px;
    margin-top: 9px;
    font-size: 13px;
    border-radius: 12px;
  }
}



/* 2026-10-21 모바일 우선 최종 점검: 하나의 안내 카드에서 내용만 전환 */
.mobile-single-pager{display:none}
@media(max-width:767px){
  /* 모바일의 숨겨진 접이식 겉 카드 안의 실제 본문이 보이도록 복원 */
  .smart-fold.on-mobile[open] .mobile-extra,
  .smart-fold .smart-fold-body > .mobile-extra{display:block!important;background:transparent!important}
  .smart-fold .mobile-extra-content{display:block!important;padding:3px 1px 8px;font-size:13px;line-height:1.7;color:#cbd8ee}
  .smart-fold .mobile-extra-content p{margin:0 0 10px}
  /* 각 그룹 안에서는 기존 긴 카드 목록을 가리고 단일 카드를 보여줌 */
  .smart-fold .haru-about-grid, .smart-fold .pick-row,
  .smart-fold .mobile-info-notes, .smart-fold .mobile-mode-list,
  .smart-fold .faq {display:none!important}
  .mobile-single-pager{display:flex;flex-direction:column;gap:9px;background:#182844;
    border:1px solid rgba(223,188,113,.28);border-radius:14px;padding:16px 14px;
    max-width:100%;box-sizing:border-box;min-height:208px}
  .mobile-single-pager .mobile-pager-meta{color:#eac77c;font-size:11px;letter-spacing:.08em}
  .mobile-single-pager h3{color:#fff;font-size:17px;line-height:1.45;margin:0}
  .mobile-single-pager p{color:#c5d1e5;font-size:13px;line-height:1.65;margin:0;flex:1}
  .mobile-pager-action{font-family:inherit;background:transparent;border:1px solid #ddb968;color:#e8c77a;
    font-size:13px;font-weight:750;border-radius:9px;padding:10px;min-height:42px;cursor:pointer}
  .mobile-pager-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.10);padding-top:10px}
  .mobile-pager-nav span{font-size:11px;color:#aebbd3}
  .mobile-pager-nav button{min-width:68px;min-height:34px;border:1px solid #596882;border-radius:10px;background:rgba(12,26,48,.65);color:#f0e0b8;font-weight:650;font-family:inherit}
  .mobile-pager-nav button:disabled{opacity:.3}
  /* 긴 설명 대신 총 5개 안내 그룹에 한 줄 헤더만 유지 */
  .haru-scene-wrap>.smart-fold{margin-bottom:8px}
  .smart-fold>summary{min-height:49px;padding:10px 13px;font-size:14px}
  .smart-fold-body>section{padding:12px 11px 14px!important}
  .smart-fold-body .cta{display:none}
  .haru-scene-wrap>.sec.quick{margin-bottom:12px}
  .haru-scene-wrap{padding-bottom:30px}
  .hero-live-inquiry{margin-bottom:0}
}

/* 하루의약속 - 필수 사업자 및 연락처 정보만 있는 간결한 푸터 */
body{padding-bottom:0}
.haru-legal-footer{box-sizing:border-box;position:relative;width:100%;
  background:linear-gradient(125deg,#0b152a 0%,#101d35 100%);
  color:#d7e0ef;border-top:1px solid #b89a54;padding:27px 20px 84px;
  font-size:13px;line-height:1.6}
.haru-legal-footer *{box-sizing:border-box}
.haru-legal-inner{max-width:1100px;margin:0 auto}
.haru-legal-brand{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;
  padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid rgba(206,179,120,.17)}
.haru-legal-brand strong{font-size:19px;font-weight:800;letter-spacing:-.025em;color:#ecc981}
.haru-legal-brand span{font-size:12px;color:#aebcd1}
.haru-legal-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 24px}
.haru-legal-line{display:flex;align-items:baseline;gap:13px;min-width:0}
.haru-legal-line>span:first-child{color:#a3b1c7;min-width:100px;flex:0 0 100px;font-size:12px}
.haru-legal-line>a{color:#f1cf83;text-decoration:none;font-weight:700}
.haru-legal-line>span:last-child{overflow-wrap:anywhere}
.haru-legal-address{grid-column:1/-1}
.haru-mail-pending{color:#97a6be}
.haru-legal-copy{margin:17px 0 0;padding-top:12px;border-top:1px solid rgba(206,179,120,.17);font-size:11px;color:#97a7bf}
@media(max-width:767px){
  .haru-legal-footer{padding:23px 16px 90px;font-size:12px}
  .haru-legal-brand{display:block;margin-bottom:12px;padding-bottom:12px}
  .haru-legal-brand strong{display:block;font-size:18px;margin-bottom:2px}
  .haru-legal-brand span{display:block;font-size:11px}
  .haru-legal-details{grid-template-columns:1fr;gap:6px}
  .haru-legal-line>span:first-child{min-width:84px;flex-basis:84px;font-size:11px}
  .haru-legal-address{grid-column:auto}
  .haru-legal-copy{margin-top:13px;padding-top:10px}
}


/* 하루의약속 모바일 앨범 카드 - 겉표지와 다섯 상황을 같은 자리에서 교체 */
.family-album { display:none; }
@media(max-width:767px){
  .haru-scene-wrap > .family-album {
    display:block; max-width:100%; width:100%; border-radius:17px; overflow:visible;
    padding:8px; margin:0 auto 13px; background:rgba(9,19,39,.83);
    border:1px solid rgba(210,170,91,.34); box-shadow:0 15px 32px rgba(0,0,0,.24);
    box-sizing:border-box;
  }
  .family-album-frame { position:relative; overflow:hidden; border:2px solid #dfb96b; border-radius:13px;
    background:linear-gradient(155deg,#1a2b49 0%,#14223d 56%,#0b182d 100%);
    box-shadow:inset 0 0 0 5px #0c1830,0 7px 18px rgba(0,0,0,.25);
    min-height:340px; }
  .family-album-cover {box-sizing:border-box; cursor:pointer; width:100%; min-height:340px;
    padding:32px 16px 28px; display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:0; border:0; background:transparent; text-align:center; color:#fff; font-family:inherit;
    -webkit-tap-highlight-color:transparent; }
  .family-album-cover[hidden],.family-album-pages[hidden] {display:none!important}
  .family-album-cover:focus-visible,.family-album-option:focus-visible,.family-album-close:focus-visible{outline:3px solid #efcf80;outline-offset:-5px}
  .family-album-emblem {display:inline-flex; align-items:center; justify-content:center;
    border:1px solid #e0bc71; width:28px; height:30px; border-radius:5px; font-size:20px;
    line-height:1; color:#dfbb6a; margin-bottom:16px; }
  .family-album-eyebrow{color:#e8c477; font-size:11px; font-weight:700; letter-spacing:.04em}
  .family-album-cover strong{font-size:clamp(22px,6.7vw,28px);line-height:1.4;color:#fff;margin:17px auto 18px;letter-spacing:-.045em}
  .family-album-sub{font-size:13px;color:#cad5e5;line-height:1.65;word-break:keep-all}
  .family-album-touch {display:flex;align-items:center;gap:8px;justify-content:center;color:#e7c579;
    font-size:12px;font-weight:700;margin-top:28px}
  .family-album-touch svg{width:27px;height:27px;display:block;transform-origin:50% 80%;
    filter:drop-shadow(0 1px 5px rgba(226,189,110,.25));
    animation:familyFingerMove 2.3s ease-in-out infinite}
  @keyframes familyFingerMove{
    0%,100%{opacity:.65;transform:translateY(2px) scale(1)}
    48%{opacity:1;transform:translateY(-5px) scale(1.07)}
    75%{opacity:.83;transform:translateY(-2px) scale(1.02)}
  }
  @keyframes familyTouch {0%,100%{opacity:.78}50%{opacity:1}}
  .family-album-pages {padding:15px 12px 14px;color:#fff;animation:familyPageIn .26s ease-out both}
  @keyframes familyPageIn {from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
  .family-album-top{text-align:center;margin-bottom:12px}
  .family-album-smallicon {display:block;font-size:22px;color:#e8c477;margin-bottom:3px}
  .family-album-top>span:nth-child(2){font-size:11px;color:#e3c07d}
  .family-album-top h2{color:#fff;font-size:19px;line-height:1.35;margin:5px 0;font-weight:800}
  .family-album-top p{color:#c3d0e2;font-size:12px;margin:0;line-height:1.55}
  .family-album-options{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
  .family-album-option{display:flex;align-items:center;justify-content:space-between;gap:10px;
    width:100%;min-height:58px;text-align:left;font-family:inherit;
    background:#1b2b48;color:#fff;border:1px solid rgba(182,198,226,.34);border-radius:10px;
    padding:10px 11px;cursor:pointer}
  .family-album-option span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
  .family-album-option strong{font-size:13px;line-height:1.35;color:#fff;font-weight:750}
  .family-album-option small{font-size:11px;line-height:1.35;color:#bccae0}
  .family-album-arrow{color:#dfb75e;font-size:18px;flex:none}
  .family-album-option:active{background:#273a5c;border-color:#e4c47d}
  .family-album-bottom{margin:12px 0 0;text-align:center;font-size:11px;color:#e7c47f}
  .family-album-close{display:block;margin:9px auto 0;border:0;background:none;color:#b5c5dc;cursor:pointer;
    font:inherit;font-size:11px;padding:6px 12px}
  .haru-scene-wrap>.family-album+.book-section{margin-top:0}
}
@media(prefers-reduced-motion:reduce){.family-album-touch svg,.family-album-pages{animation:none}}

/* 하루의약속 모바일 단일 안내서 - 기존 다섯 안내 영역을 한 장으로 교체 */
.haru-guide-album{display:none}
@media(max-width:767px){
 .haru-scene-wrap>.haru-guide-album{display:block;box-sizing:border-box;width:100%;padding:7px;margin:0 auto 12px;
  border:1px solid rgba(215,180,107,.55);border-radius:16px;background:rgba(8,18,36,.87);overflow:hidden}
 .guide-book-frame{position:relative;overflow:hidden;border:1px solid #d4b16c;border-radius:12px;
  background:linear-gradient(145deg,#1b2b46,#111e35 75%);box-shadow:inset 0 0 0 4px rgba(7,18,36,.45)}
 .guide-book-frame::before{content:'';position:absolute;right:0;top:0;border-top:23px solid #d5b16b;border-left:23px solid transparent;pointer-events:none}
 .guide-book-inner{padding:19px 12px 16px}
 .guide-book-heading{text-align:center;margin-bottom:18px}
 .guide-book-emblem{display:block;margin:0 auto 6px;width:27px;height:27px;line-height:25px;border:1px solid #dfc078;border-radius:5px;color:#dfc078;font-size:19px}
 .guide-book-eyebrow{font-size:10px;font-weight:700;color:#dfc078;letter-spacing:.06em;margin:7px 0 9px}
 .guide-book-heading h2{font-size:23px;color:#fff;line-height:1.35;margin:6px 0 9px;font-weight:800;letter-spacing:-.03em}
 .guide-book-heading>p:last-child{font-size:12px;color:#c3d1e3;line-height:1.6;margin:0}
 .guide-book-menu{display:grid;grid-template-columns:1fr;gap:7px}
 .guide-book-menu[hidden],.guide-book-page[hidden]{display:none!important}
 .guide-book-option{display:flex;width:100%;align-items:center;justify-content:space-between;min-height:47px;gap:10px;
  padding:10px 13px;background:rgba(24,39,65,.93);border:1px solid rgba(179,194,218,.33);border-radius:10px;
  color:#fff;font:700 13px/1.4 inherit;font-family:inherit;text-align:left;cursor:pointer}
 .guide-book-option span:first-child{font-weight:750;font-size:13px}
 .guide-book-option small{color:#e1c27a;font-size:10px;font-weight:700;margin-right:7px}
 .guide-book-option span:last-child{font-size:19px;color:#e5bf69}
 .guide-book-option:active{background:#263954}
 .guide-book-option:focus-visible,.guide-book-actions button:focus-visible,.guide-page-top button:focus-visible,
 .guide-faq-nav button:focus-visible{outline:2px solid #e9c77b;outline-offset:2px}
 .guide-book-page{border:1px solid rgba(218,185,113,.55);border-radius:12px;padding:14px 13px;background:rgba(16,29,52,.88);min-height:220px;box-sizing:border-box}
 .guide-page-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid rgba(225,195,124,.21)}
 .guide-page-top span{font-size:10px;color:#e0c078}
 .guide-page-top button{background:transparent;border:1px solid rgba(225,195,124,.55);border-radius:8px;color:#e5c47e;padding:7px 10px;font:600 11px/1.2 inherit;font-family:inherit;cursor:pointer}
 .guide-book-page h3{color:#fff;font-size:18px;margin:14px 0 12px}
 .guide-page-body{font-size:13px;color:#d0dcef;line-height:1.7;word-break:keep-all}
 .guide-page-body p{margin:0 0 12px}.guide-page-body p:last-child{margin-bottom:0}
 .guide-page-body b{color:#ebce8a}
 .guide-faq-counter{color:#e8c477;font-size:11px;margin-bottom:10px}
 .guide-page-body h4{color:#fff;font-size:15px;margin:0 0 12px;line-height:1.5}
 .guide-faq-nav{display:flex;justify-content:space-between;gap:8px;margin-top:17px}
 .guide-faq-nav button{background:#1c2b47;color:#e8ca83;border:1px solid #7b7258;border-radius:9px;
  padding:9px 13px;min-height:36px;font:600 12px/1.2 inherit;font-family:inherit;cursor:pointer}
 .guide-faq-nav button:disabled{opacity:.35;cursor:default}
 .guide-book-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}
 .guide-book-actions button{box-sizing:border-box;min-height:43px;border-radius:10px;border:1px solid #d7b568;
  font:700 12px/1.25 inherit;font-family:inherit;cursor:pointer;padding:9px 7px}
 #haruGuideEstimate{background:#d5ae48;color:#0d1b32}
 #haruGuideInquiry{background:rgba(13,27,50,.75);color:#e7c678}
}


/* 2026-10-21: 모바일 세 앨범을 첫 앨범 디자인·규격·비율로 통일 */
@media (max-width:767px) {
  .haru-scene-wrap > .family-album,
  .haru-scene-wrap > .book-section,
  .haru-scene-wrap > .haru-guide-album {
    display:block;
    box-sizing:border-box;
    width:100%;max-width:100%;
    margin:0 auto 13px;
    padding:8px;
    border:1px solid rgba(210,170,91,.34);
    border-radius:17px;
    background:rgba(9,19,39,.83);
    box-shadow:0 15px 32px rgba(0,0,0,.24);
    overflow:visible;
  }
  .haru-scene-wrap .family-album-frame,
  .haru-scene-wrap .guide-book-frame,
  .haru-scene-wrap .ai-book-cover {
    box-sizing:border-box;
    width:100%;
    min-height:340px;
    border:2px solid #dfb96b;
    border-radius:13px;
    background:linear-gradient(155deg,#1a2b49 0%,#14223d 56%,#0b182d 100%);
    box-shadow:inset 0 0 0 5px #0c1830,0 7px 18px rgba(0,0,0,.25);
  }
  .haru-scene-wrap .family-album-cover,
  .haru-scene-wrap .guide-book-cover,
  .haru-scene-wrap .ai-book-cover {
    box-sizing:border-box;
    width:100%;height:340px;min-height:340px;
    padding:32px 16px 28px;
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    color:#fff;text-align:center;font-family:inherit;
    -webkit-tap-highlight-color:transparent;
  }
  .haru-scene-wrap .family-album-cover {height:340px;}
  .haru-scene-wrap .book-perspective {width:100%;max-width:100%;margin:0;}
  .haru-scene-wrap .ai-book-cover {position:relative;cursor:pointer;transform-origin:left center;}
  .haru-scene-wrap .ai-book-cover:hover {box-shadow:inset 0 0 0 5px #0c1830,0 7px 18px rgba(0,0,0,.25);}
  .haru-scene-wrap .ai-book-cover.is-opening {transform:rotateY(-67deg) scale(.95);}
  .haru-scene-wrap .book-spine,
  .haru-scene-wrap .book-corner,
  .haru-scene-wrap .guide-book-frame::before,
  .haru-scene-wrap .book-undertext {display:none;}
  .haru-scene-wrap .book-inside {display:flex;align-items:center;justify-content:center;min-height:0;height:auto;max-width:100%;}
  .haru-scene-wrap .book-rule {margin:14px auto 9px;}
  .haru-scene-wrap .book-title {font-size:clamp(22px,6.7vw,28px);line-height:1.4;}
  .haru-scene-wrap .book-subtitle {margin-top:13px;font-size:13px;line-height:1.65;}
  .haru-scene-wrap .book-touch {margin-top:22px;font-size:12px;}
  .haru-scene-wrap .book-bottom {margin-top:19px;font-size:9px;letter-spacing:.08em;}
  .haru-scene-wrap .guide-book-cover {
    cursor:pointer;border:0;background:transparent;
  }
  .haru-scene-wrap .guide-book-cover strong {
    font-size:clamp(22px,6.7vw,28px);line-height:1.4;color:#fff;
    margin:17px auto 18px;letter-spacing:-.045em;
  }
  .haru-scene-wrap .guide-book-frame {overflow:hidden;}
  .haru-scene-wrap .guide-book-cover[hidden],
  .haru-scene-wrap #guideBookContents[hidden] {display:none!important;}
  .haru-scene-wrap .guide-book-cover:focus-visible,
  .haru-scene-wrap .guide-book-to-cover:focus-visible {outline:3px solid #efcf80;outline-offset:-5px;}
  .haru-scene-wrap .guide-book-to-cover {
    width:100%;color:#e7c785;background:transparent;
    border:0;font:600 12px/1.3 inherit;font-family:inherit;
    padding:13px;cursor:pointer;
  }
  .haru-scene-wrap .guide-book-inner {padding:19px 12px 16px;}
}
@media (prefers-reduced-motion:reduce) {
  .haru-scene-wrap .guide-book-cover .family-album-touch svg {animation:none;}
}

@media (max-width:767px) {
  /* AI section inherited padding from .sec.quick: override it for equal frame proportions */
  .haru-scene-wrap > .sec.quick.book-section {
    padding:8px;
    margin:0 auto 13px;
    border-radius:17px;
  }
  .haru-scene-wrap .ai-book-cover {
    height:344px;
    min-height:344px;
  }
}

/* 마지막 부제목 1개로 정리; 금색 접힌 귀퉁이는 모든 뷰에서 제거 */
.hero-subtitle{max-width:38em;margin:4px auto 16px;line-height:1.65;word-break:keep-all;text-wrap:balance;}
@media(min-width:768px){.hero-subtitle{margin:3px 0 17px}}
@media(max-width:767px){.hero-subtitle{margin:2px auto 14px;font-size:clamp(12px,3.4vw,14px);line-height:1.6;max-width:320px}}
.book-corner,.guide-book-frame::before{display:none!important;content:none!important;}


/* 하루의약속 · 모바일 전용 네이비/골드 고정 메뉴 */
.haru-mobile-dock{display:none}
@media(max-width:767px){
  .haru-mobile-dock{
    display:block;position:fixed;bottom:0;left:0;right:0;z-index:65;
    background:rgba(8,18,37,.97);border-top:1px solid rgba(222,183,107,.5);
    box-shadow:0 -8px 28px rgba(0,0,0,.23);
    padding:6px 7px calc(6px + env(safe-area-inset-bottom,0px));
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  }
  .haru-mobile-dock-inner{
    margin:0 auto;max-width:520px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;
  }
  .haru-dock-item{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
    min-width:0;min-height:52px;padding:5px 2px 4px;
    color:#d9e2f1;border:1px solid transparent;background:transparent;
    border-radius:11px;text-align:center;text-decoration:none;font-family:inherit;
    font-size:11px;font-weight:700;line-height:1.2;cursor:pointer;
  }
  .haru-dock-item svg{display:block;width:21px;height:21px;flex:0 0 auto;color:#e4c477}
  .haru-dock-item:active{background:rgba(222,183,107,.16)}
  .haru-dock-item.is-active{color:#f1d28d;background:rgba(214,178,107,.13);border-color:rgba(214,178,107,.3)}
  .haru-dock-item:focus-visible{outline:2px solid #f4db9e;outline-offset:-2px}
  /* 같은 목적의 작은 둥둥이가 하단 메뉴 및 글을 가리지 않도록 모바일에서만 숨김 */
  body .dungdung,body #snsjDungdung{display:none!important}
  body{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
  .haru-legal-footer{padding-bottom:calc(98px + env(safe-area-inset-bottom,0px))}
  #haruGuide,#estimateFlow{scroll-margin-top:70px}
  .inq-overlay:not([hidden]),.inq-modal:not([hidden]){z-index:100}
}
@media(max-width:360px){.haru-dock-item{font-size:10.5px}}
@media(max-width:767px){body.inq-on .haru-mobile-dock{display:none}}

/* 하루의약속 등록상표 (등록 상표명 옆에만 작고 은은하게) */
.haru-reg-mark{position:relative;top:-.12em;margin-left:1px;vertical-align:super;font-size:.48em;line-height:0;font-weight:700;color:#edca7e;letter-spacing:0}
.hero-trademark{margin:0 auto 9px;font-weight:700;font-size:12px;letter-spacing:.075em;color:#e9cb83;text-shadow:0 1px 9px rgba(0,0,0,.55)}
@media (min-width:768px){.hero-trademark{margin:0 0 15px;font-size:14px}}

/* 접이식 하루의약속 정보: 모바일은 터치, PC는 마우스 오버/터치 */
.haru-legal-footer{padding:16px 20px 24px!important;min-height:0}
.haru-legal-disclosure{max-width:1100px;margin:0 auto}
.haru-legal-summary{cursor:pointer;user-select:none;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:42px;padding:9px 13px;background:#14223b;border:1px solid rgba(219,183,107,.62);border-radius:11px;
  color:#edcb84;font-size:14px;line-height:1.4;font-family:inherit;font-weight:700}
.haru-legal-summary::-webkit-details-marker{display:none}
.haru-legal-summary:focus-visible{outline:2px solid #f4db9e;outline-offset:3px}
.haru-legal-chevron{font-size:21px;line-height:1;transition:transform .2s ease}
.haru-legal-disclosure[open] .haru-legal-chevron{transform:rotate(180deg)}
.haru-legal-disclosure .haru-legal-inner{padding:17px 9px 3px;max-width:100%}
@media(max-width:767px){
  .haru-legal-footer{padding:11px 12px calc(87px + env(safe-area-inset-bottom,0px))!important}
  .haru-legal-summary{min-height:44px;font-size:13px}
  .haru-legal-disclosure .haru-legal-inner{padding:15px 3px 2px}
}

/* 안전한 터치 토글: 모바일 브라우저/로컬 HTML에서도 정상 작동 */
.haru-legal-summary{appearance:none;-webkit-appearance:none;width:100%;text-align:left;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.haru-legal-disclosure .haru-legal-inner[hidden]{display:none!important}
.haru-legal-disclosure[data-open="true"] .haru-legal-chevron{transform:rotate(180deg)}
.haru-legal-disclosure[data-open="true"] .haru-legal-summary{border-color:#ebc980;background:#192942}


/* MOBILE 2026-10-21: three equal, lighter album covers + subtle snowfall */
@media (max-width:767px) {
  .haru-scene-wrap {
    position:relative;
    isolation:isolate;
    background-image:
      linear-gradient(180deg,rgba(5,14,33,.30),rgba(5,14,33,.45)),
      url('../img/haru-mood-bg.webp');
    background-size:100% 100%,auto 100svh;
    background-position:center top,center center;
    background-attachment:scroll,fixed;
    background-repeat:no-repeat;
  }
  .haru-scene-wrap > * { position:relative; z-index:1; }
  .haru-scene-wrap::before {
    content:"";
    position:absolute; inset:0;
    z-index:0;
    pointer-events:none;
    background-image:
      radial-gradient(1px 1px at 19px 26px, rgba(255,255,255,.47) 96%, transparent 100%),
      radial-gradient(1.3px 1.3px at 84px 70px, rgba(255,245,215,.30) 96%, transparent 100%),
      radial-gradient(.9px .9px at 148px 132px, rgba(255,255,255,.4) 96%, transparent 100%);
    background-size:203px 295px, 317px 365px, 259px 430px;
    background-repeat:repeat;
    animation:haruSnowFall 32s linear infinite;
    opacity:.75;
    will-change:background-position;
  }
  /* Preserve one uniform cover width and shrink 340px to 270px. */
  .haru-scene-wrap > .family-album,
  .haru-scene-wrap > .book-section,
  .haru-scene-wrap > .haru-guide-album,
  .haru-scene-wrap > .sec.quick.book-section {
    padding:7px;
    margin-bottom:11px;
    background:rgba(8,19,39,.48);
    border-color:rgba(214,175,100,.52);
    -webkit-backdrop-filter:blur(3px);
    backdrop-filter:blur(3px);
  }
  .haru-scene-wrap .family-album-frame,
  .haru-scene-wrap .guide-book-frame,
  .haru-scene-wrap .ai-book-cover {
    min-height:270px;
    background:linear-gradient(155deg,rgba(23,42,69,.72),rgba(11,27,50,.78));
    box-shadow:inset 0 0 0 4px rgba(10,19,37,.28),0 5px 14px rgba(0,0,0,.21);
    -webkit-backdrop-filter:blur(3px);
    backdrop-filter:blur(3px);
  }
  .haru-scene-wrap .family-album-cover,
  .haru-scene-wrap .guide-book-cover,
  .haru-scene-wrap .ai-book-cover {
    height:270px;
    min-height:270px;
    padding:17px 13px 16px;
  }
  .haru-scene-wrap .family-album-cover strong,
  .haru-scene-wrap .guide-book-cover strong {
    margin:10px auto 9px;
    font-size:clamp(21px,6.1vw,25px);
    line-height:1.34;
  }
  .haru-scene-wrap .family-album-emblem {margin-bottom:7px;width:26px;height:27px;font-size:18px;}
  .haru-scene-wrap .family-album-sub {font-size:12px;line-height:1.55;}
  .haru-scene-wrap .family-album-touch {margin-top:14px;font-size:11px;}
  .haru-scene-wrap .family-album-touch svg {width:23px;height:23px;}
  .haru-scene-wrap .book-inside {min-height:0;height:auto;}
  .haru-scene-wrap .book-rule {margin:9px auto 7px;}
  .haru-scene-wrap .book-title {font-size:clamp(21px,6.1vw,25px);line-height:1.32;}
  .haru-scene-wrap .book-subtitle {font-size:12px;margin-top:11px;line-height:1.55;}
  .haru-scene-wrap .book-touch {margin-top:15px;font-size:11px;}
  .haru-scene-wrap .book-bottom {margin-top:12px;font-size:8px;letter-spacing:.06em;}
  .haru-scene-wrap .guide-book-frame {overflow:hidden;}
  .haru-scene-wrap .guide-book-inner {padding:14px 11px;}
  /* Avoid making the expanded content short or clipped. */
  .haru-scene-wrap .family-album-pages:not([hidden]),
  .haru-scene-wrap #guideBookContents:not([hidden]) {height:auto;min-height:0;}
}
@keyframes haruSnowFall {
  from {background-position:0 -140px,0 -240px,0 -330px;}
  to {background-position:18px 550px,-18px 600px,10px 610px;}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce) {
  .haru-scene-wrap::before { animation:none; }
}

/* Final mobile equal-width adjustment */
@media(max-width:767px){.haru-scene-wrap .book-perspective{width:calc(100% - 4px)!important;margin-left:auto!important;margin-right:auto!important}}

/* 2026-10-21 최종 확정 · 메인 대문: 중복 브랜드 대신 평상복 철학 강조 */
.hero-slogan-lead {
  font-size:clamp(20px,2.15vw,27px);
  line-height:1.38;
  font-weight:800;
  letter-spacing:-.035em;
  margin:0 0 9px;
  color:#f1d18d;
  text-shadow:0 2px 12px rgba(0,0,0,.65);
  word-break:keep-all;
}
@media(max-width:767px){
  .hero-slogan-lead{font-size:clamp(20px,5.6vw,23px);margin:0 0 7px}
  .hero h1{font-size:clamp(27px,7.4vw,30px);line-height:1.29;margin:0 0 8px;letter-spacing:-.045em}
  .hero-text{padding-top:61px;padding-bottom:12px}
}
@media(max-width:350px){
  .hero-slogan-lead{font-size:19px}
  .hero h1{font-size:25px}
}

/* 2026-10-21 모바일 3개 앨범: 달빛 풍경이 비치는 작고 투명한 표지 (PC 변경 없음) */
@media(max-width:767px){
  /* 달빛 풍경에 덮이는 검정 필터를 가볍게. 배경 이미지는 종전 그대로. */
  .haru-scene-wrap{
    background-image:linear-gradient(180deg,rgba(5,14,33,.16),rgba(5,14,33,.24)),url('../img/haru-mood-bg.webp');
  }
  /* 세 표지 동일한 너비. 양옆의 사진 여백을 넓힘. */
  .haru-scene-wrap > .family-album,
  .haru-scene-wrap > .book-section,
  .haru-scene-wrap > .haru-guide-album,
  .haru-scene-wrap > .sec.quick.book-section {
    width:94%; max-width:94%;
    margin:0 auto 15px;
    padding:6px;
    background:rgba(6,16,32,.14);
    border-color:rgba(225,193,124,.66);
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    box-shadow:0 7px 18px rgba(0,0,0,.14);
  }
  /* 겉표지 자체의 기존 진한 네이비 70~80%를 37~45%로 줄여 사진 노출. */
  .haru-scene-wrap .family-album-frame,
  .haru-scene-wrap .guide-book-frame,
  .haru-scene-wrap .ai-book-cover {
    min-height:240px;
    background:linear-gradient(155deg,rgba(10,27,51,.43),rgba(7,19,39,.39));
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    box-shadow:inset 0 0 0 3px rgba(7,18,36,.10),0 5px 12px rgba(0,0,0,.15);
    border-color:#e1bf78;
  }
  .haru-scene-wrap .family-album-cover,
  .haru-scene-wrap .guide-book-cover,
  .haru-scene-wrap .ai-book-cover{
    height:240px;
    min-height:240px;
    padding:13px 11px 12px;
  }
  .haru-scene-wrap .family-album-cover strong,
  .haru-scene-wrap .guide-book-cover strong{margin:7px auto 7px;font-size:clamp(20px,5.75vw,23px);line-height:1.3}
  .haru-scene-wrap .family-album-sub{line-height:1.46}
  .haru-scene-wrap .family-album-emblem{margin-bottom:4px}
  .haru-scene-wrap .family-album-touch{margin-top:10px}
  .haru-scene-wrap .book-rule{margin:7px auto 6px}
  .haru-scene-wrap .book-title{font-size:clamp(20px,5.75vw,23px);line-height:1.3}
  .haru-scene-wrap .book-subtitle{margin-top:9px}
  .haru-scene-wrap .book-touch{margin-top:12px}
  .haru-scene-wrap .book-bottom{margin-top:9px}
  /* 표지 안을 열면 원래 컨텐츠 높이대로 늘어나도록 유지 */
  .haru-scene-wrap .family-album-pages:not([hidden]),
  .haru-scene-wrap #guideBookContents:not([hidden]) {height:auto;min-height:0}
}

/* 하루의약속 대문 전용: 가까운 별빛 + 배경 고정감 (모바일만, 다른 디자인 원본 유지) */
@media(max-width:767px){
  .hero{isolation:isolate}
  .hero-bg{z-index:0;pointer-events:none}
  .hero-bg img{transform:translate3d(0,var(--haru-hero-still,0px),0);will-change:transform}
  .hero-text{z-index:3}
  .haru-near-stars{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden}
  .haru-star{
    position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);
    border-radius:50%;background:#fff8dc;
    box-shadow:0 0 3px 2px rgba(255,241,202,.43),0 0 12px 4px rgba(249,206,129,.22);
    opacity:.8;transform:translate(-50%,-50%) scale(.8);
    animation:haruCloseStarTwinkle var(--t) ease-in-out var(--d) infinite alternate;
  }
  .haru-star:nth-child(even){background:#e9f2ff;box-shadow:0 0 3px 2px rgba(227,238,255,.42),0 0 11px 4px rgba(171,199,251,.24)}
  .haru-star-spark::before,.haru-star-spark::after{
    content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
    background:rgba(255,245,221,.75);border-radius:99px;
  }
  .haru-star-spark::before{width:1px;height:16px}
  .haru-star-spark::after{width:16px;height:1px}
}
@keyframes haruCloseStarTwinkle{
  0%,16%{opacity:.32;transform:translate(-50%,-50%) scale(.62)}
  50%{opacity:.84;transform:translate(-50%,-50%) scale(1.08)}
  80%,100%{opacity:.45;transform:translate(-50%,-50%) scale(.78)}
}
@media(prefers-reduced-motion:reduce){
  .haru-star{animation:none!important;opacity:.55;transform:translate(-50%,-50%) scale(.8)}
  .hero-bg img{will-change:auto}
}
@media(min-width:768px){.haru-near-stars{display:none}}
