/* 제주피싱 공통 스타일 */
:root{--navy:#0E2F44;--navy2:#1B4560;--ink:#10212B;--sub:#5B6770;--line:#E3E1DA;--bg:#F6F5F1;--orange:#E8762B;--orange2:#F6A04D;--brown:#B5541A;--green:#1F7A5A;--green-bg:#E2F2EB;--red:#B3261E}
*{box-sizing:border-box}
[hidden]{display:none !important}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Noto Sans KR',system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55;word-break:keep-all}
a{color:var(--brown)}
img{max-width:100%}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:12px;font:inherit;font-weight:700;font-size:17px;border:0;cursor:pointer;text-decoration:none}
.btn-main{background:var(--orange);color:var(--ink)}
.btn-main:hover{background:#F08A44}
.btn-main[disabled]{background:#D9D6CE;color:#6B757B;cursor:default}
.btn-line{border:1px solid #5E8197;color:#fff;background:transparent}
.btn-dark{background:var(--navy);color:#fff}
.btn-sm{min-height:44px;padding:0 16px;font-size:14px;border-radius:10px}
.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}

/* 헤더 */
.top{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.logo-mark{width:40px;height:40px;border-radius:10px;background:var(--navy);display:flex;align-items:center;justify-content:center}
.logo b{display:block;font-size:20px;font-weight:900;letter-spacing:-.5px;line-height:1.1}
.logo small{display:block;font-size:12px;color:var(--sub)}
.nav{display:flex;flex-wrap:wrap;gap:2px}
.nav a{color:var(--ink);text-decoration:none;padding:12px;font-weight:500;font-size:15px}

/* 첫 화면 */
.hero{background:var(--navy);color:#fff}
.hero .wrap{display:flex;flex-wrap:wrap;gap:40px;align-items:center;padding-top:60px;padding-bottom:60px}
.hero-text{flex:1 1 460px;min-width:0;display:flex;flex-direction:column;gap:18px}
.badge{align-self:flex-start;background:var(--orange2);color:var(--ink);font-weight:700;font-size:14px;padding:6px 14px;border-radius:999px}
.hero h1{margin:0;font-size:52px;line-height:1.15;font-weight:900;letter-spacing:-1.5px}
.hero p{margin:0;font-size:18px;color:#D3E0E8}
.hero-btns{display:flex;flex-wrap:wrap;gap:12px}
.hero-photo{flex:1 1 420px;min-width:0;height:360px;border-radius:20px;background:var(--navy2) center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:#B9CCD8}
.facts{background:#fff;border-bottom:1px solid var(--line)}
.facts .wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding-top:22px;padding-bottom:22px}
.fact span{display:block;font-size:13px;color:var(--sub)}
.fact b{font-size:19px}

/* 섹션 */
.sec{padding:56px 0 8px}
.sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:22px}
.sec-head h2{margin:0;font-size:32px;font-weight:900;letter-spacing:-.5px}
.sec-head p{margin:6px 0 0;color:var(--sub);font-size:15px}

/* 달력 + 예약 */
.book{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.cal{flex:999 1 560px;min-width:0}
.cal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.cal-top b{font-size:20px}
.cal-nav{display:flex;gap:6px}
.cal-nav button{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:20px}
.legend{display:flex;flex-wrap:wrap;gap:14px;font-size:13px;color:var(--sub);margin-bottom:12px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px}
.dow,.grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.dow{font-size:13px;color:var(--sub);text-align:center;margin-bottom:6px}
.day{min-height:68px;border-radius:10px;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font:inherit;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer;padding:4px 2px}
.day small{font-size:11px;font-weight:500;color:var(--green)}
.day.few small{color:var(--brown)}
.day[disabled]{background:#F1F0EB;color:#6B757B;cursor:default}
.day[disabled] small{color:#6B757B}
.day.sel{background:var(--navy);border-color:var(--navy);color:#fff}
.day.sel small{color:var(--orange2)}
.cal-msg{color:var(--sub);font-size:14px;margin:12px 0 0}
.cal-note{color:var(--sub);font-size:13px;margin:6px 0 0}
.day b{font-size:15px;line-height:1.1}
.day .tide{font-style:normal;font-size:11px;font-weight:700;color:var(--sub);line-height:1.1}
.day .tide.sari{color:#B5541A}
.day .tide.jogeum{color:#2F69AD}
.day.sel .tide{color:#D3E0E8}
.day.sel .tide.sari{color:var(--orange2)}
.day.sel .tide.jogeum{color:#9CC3EC}
.sel-tide{font-size:13px;color:#B9CCD8;margin-top:4px;min-height:18px}
.side .hint{margin:0 0 10px;font-size:13px;color:#D3E0E8}
.side{flex:1 1 340px;min-width:0;background:var(--navy);color:#fff;border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:14px}
.side .lbl{font-size:14px;color:#B9CCD8}
.side .date{font-size:26px;font-weight:900}
.stats{display:flex;gap:10px}
.stats div{flex:1;background:var(--navy2);border-radius:12px;padding:12px 14px}
.stats span{display:block;font-size:13px;color:#B9CCD8}
.stats b{font-size:22px}
.side form{display:flex;flex-direction:column;gap:12px}
.side label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#D3E0E8}
.side input[type=text],.side input[type=tel],.side textarea{font:inherit;font-size:16px;padding:12px;border-radius:10px;border:0;color:var(--ink);background:#fff}
.stepper{display:flex;align-items:center;justify-content:space-between;background:var(--navy2);border-radius:12px;padding:6px 6px 6px 14px}
.stepper button{width:44px;height:44px;border-radius:10px;border:0;background:var(--navy);color:#fff;font-size:22px;cursor:pointer}
.stepper b{min-width:44px;text-align:center;font-size:18px}
.agree{flex-direction:row !important;align-items:flex-start;gap:10px !important;font-size:13px !important}
.agree input{width:20px;height:20px;margin-top:2px;flex:none}
.total{display:flex;justify-content:space-between;align-items:baseline;font-size:15px}
.total b{font-size:22px}
.err{background:#FBE7DA;color:#7A3410;border-radius:10px;padding:10px 12px;font-size:14px}
.side p{margin:0;font-size:13px;color:#B9CCD8}
.hp{position:absolute;left:-9999px}
.member{background:var(--navy2);border-radius:12px;padding:14px;margin-bottom:12px;font-size:14px}
.member .m-title{display:block;color:#fff;font-weight:700;margin-bottom:10px}
.member .m-sub{display:block;color:#B9CCD8;font-size:12px;margin-top:10px}
.m-btns{display:flex;flex-direction:column;gap:8px}
.m-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border-radius:10px;font-weight:700;font-size:15px;text-decoration:none}
.m-kakao{background:#FEE500;color:#191600}
.m-naver{background:#03C75A;color:#fff}
.m-google{background:#fff;color:#1F1F1F;border:1px solid #DADCE0}
#member-in{display:flex;justify-content:space-between;align-items:center;color:#fff}
#member-in small{color:#B9CCD8}
.m-link{background:none;border:0;color:var(--orange2);font:inherit;font-size:14px;cursor:pointer;min-height:44px;padding:0 4px}
.mine-row{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid #ECEAE3;font-size:15px}
.mine-row:last-child{border-bottom:0}
.pill{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px}
.p-pending{background:#FBE7DA;color:#7A3410}
.p-confirmed{background:var(--green-bg);color:#14553E}
.p-cancelled{background:#ECEAE3;color:#5B6770}

/* 완료 화면 */
.done{display:flex;flex-direction:column;gap:14px}
.done h3{margin:0;font-size:24px}
.box{background:var(--navy2);border-radius:12px;padding:14px 16px;font-size:15px;line-height:1.7}
.steps{margin:0;padding-left:20px;font-size:14px;line-height:1.8;color:#D3E0E8}
.apps{display:flex;flex-wrap:wrap;gap:8px}
.apps a{background:#fff;color:var(--ink);text-decoration:none;font-weight:700;font-size:14px;padding:10px 14px;border-radius:10px;min-height:44px;display:inline-flex;align-items:center}

/* FAQ */
.chat{display:flex;flex-wrap:wrap;gap:28px}
.chat-intro{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:10px}
.chat-intro h2{margin:0;font-size:28px;font-weight:900}
.chat-intro p{margin:0;color:var(--sub);font-size:15px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.chip{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #CFCCC2;background:#fff;font:inherit;font-size:14px;cursor:pointer;color:var(--ink)}
.chip[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.chat-box{flex:1 1 420px;min-width:0;background:var(--bg);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:12px}
.q{align-self:flex-end;max-width:80%;background:var(--navy);color:#fff;padding:12px 16px;border-radius:16px 16px 4px 16px}
.a{align-self:flex-start;max-width:88%;background:#fff;border:1px solid var(--line);padding:14px 16px;border-radius:16px 16px 16px 4px;white-space:pre-line}

/* 안내 */
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.grid2 h3{margin:0 0 12px;font-size:20px;font-weight:900}
.row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #ECEAE3}
.row:last-of-type{border-bottom:0}
.note{margin:10px 0 0;font-size:13px;color:var(--sub)}
.list{margin:0;padding-left:20px;line-height:1.9}
.foot{background:var(--ink);color:#B9C3C9;margin-top:56px}
.foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding-top:30px;padding-bottom:30px;font-size:14px;line-height:1.8}
.foot a{color:var(--orange2)}
.call{position:fixed;right:16px;bottom:16px;z-index:30;display:none;background:var(--orange);color:var(--ink);font-weight:700;text-decoration:none;padding:14px 18px;border-radius:999px;box-shadow:0 4px 14px rgba(0,0,0,.18)}

@media (max-width:768px){
  .wrap{padding:0 16px}
  .nav{display:none}
  .hero .wrap{padding-top:26px;padding-bottom:26px;gap:18px}
  .hero h1{font-size:30px;letter-spacing:-1px}
  .hero p{font-size:14px}
  .hero-photo{height:170px;border-radius:14px}
  .hero-btns .btn{width:100%}
  .facts .wrap{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-top:14px;padding-bottom:14px}
  .fact b{font-size:16px}
  .sec{padding:30px 0 4px}
  .sec-head h2{font-size:22px}
  .card{padding:16px;border-radius:16px}
  .day{min-height:56px;font-size:14px}
  .day .tide{font-size:10px}
  .legend{gap:10px;font-size:12px}
  .day small{font-size:10px}
  .side{padding:18px}
  .side .date{font-size:22px}
  .grid2{grid-template-columns:minmax(0,1fr)}
  .chat-intro h2{font-size:22px}
  .call{display:inline-flex}
  .foot{margin-bottom:70px}
}

/* 날짜별 확정·입금대기 인원 */
.day .cnt{font-style:normal;font-size:10px;font-weight:600;line-height:1.1;white-space:nowrap}
.day .cnt .c{color:#2E7D4F}
.day .cnt .p{color:#B5541A}
.day.sel .cnt .c,.day.sel .cnt .p{color:#fff}
.day[disabled] .cnt .c,.day[disabled] .cnt .p{color:#6B757B}
.cnt-legend{font-size:12px;color:var(--sub);margin:6px 0 0}
.cnt-legend .c{color:#2E7D4F;font-weight:700}
.cnt-legend .p{color:#B5541A;font-weight:700}
.sel-count{list-style:none;margin:0 0 10px;padding:0;font-size:13px}
.sel-count li{display:flex;gap:8px;align-items:center;padding:6px 0;border-bottom:1px dashed var(--line)}
.sel-count li span{min-width:40px;font-weight:700}
.sel-count li b{font-weight:600}
.sel-count li b.c{color:#2E7D4F}
.sel-count li b.p{color:#B5541A}
.sel-count li b:last-child{margin-left:auto;color:var(--sub)}
@media (max-width:600px){.day .cnt{font-size:9px}}

/* 고른 날짜 요약 + 예약 입력으로 이동 */
.pick-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:10px 12px;border-radius:12px;background:var(--navy);color:#fff;font-size:14px;font-weight:600}
.pick-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pick-bar button{flex:none;border:0;border-radius:10px;padding:8px 12px;background:var(--orange2);color:var(--navy);font:inherit;font-weight:700;cursor:pointer}
@media (min-width:900px){.pick-bar button{display:none}}

/* 예약 취소 */
.cx-find{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}
.cx label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--sub)}
.cx label{min-width:0}
.cx input[type=text],.cx input[type=tel]{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-size:16px;padding:12px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.cx-list{margin-top:16px;display:flex;flex-direction:column}
.cx label.cx-row{flex-direction:row;color:var(--ink);text-align:left}
.cx-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #ECEAE3;font-size:15px;cursor:pointer}
.cx-row input{width:22px;height:22px;flex:none}
.cx-row .d{flex:1;display:flex;flex-direction:column;gap:2px}
.cx-row .d small{color:var(--sub);font-size:13px}
.cx-row .r{font-weight:700;white-space:nowrap}
.cx-row .r.zero{color:var(--sub);font-weight:500}
.cx-refund{margin-top:14px;padding:14px;border-radius:12px;background:#F6F4EE;display:flex;flex-direction:column;gap:10px}
.cx-acc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) minmax(0,1fr);gap:10px}
.cx-refund small{color:var(--sub);font-size:13px}
.cx-sum{margin:14px 0;font-size:15px}
.cx-sum b{font-size:20px}
.cx-done{margin-top:12px;padding:14px;border-radius:12px;background:#E8F3EC;color:#1F5133;font-size:15px;line-height:1.6}
.cx-find button{min-height:50px;white-space:nowrap}
@media (max-width:700px){
  .cx-acc{grid-template-columns:1fr}
  .cx-find{grid-template-columns:minmax(0,1fr) auto}
  .cx-find label:first-child{grid-column:1 / -1}
  .cx-find button{padding:0 14px}
}
