/* 메인 홈페이지 전용 스타일 */
.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:center;padding:36px 0 64px}
h1{font-size:clamp(34px,5.4vw,60px);line-height:1.12;letter-spacing:-.035em;font-weight:900;margin:0 0 18px}
h1 mark{background:var(--hi);color:var(--onhi);padding:0 .12em}
.lead{font-size:18px;color:var(--muted);max-width:30em;margin:0 0 24px}
.trust{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0;margin:0;list-style:none;color:var(--muted);font-size:14px}
.finder{background:var(--surface);border:2px solid var(--ink);border-radius:20px;padding:20px;box-shadow:8px 8px 0 var(--blue)}
.finder h2{font-size:16px;margin:0 0 12px;font-weight:700}
.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.tabs button{font:inherit;font-weight:500;font-size:15px;padding:8px 14px;border-radius:999px;border:1.5px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.tabs button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.plan{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:14px 4px;border-top:1px solid var(--line)}
.plan strong{font-size:18px}.plan small{display:block;color:var(--muted);font-size:13px}
.price{font-weight:900;font-size:18px;white-space:nowrap}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;counter-reset:s;padding:0;margin:0;list-style:none}
.steps li{counter-increment:s}
.steps li::before{content:counter(s);display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--ink);color:var(--bg);font-weight:900;margin-bottom:12px}
.steps b{display:block;font-size:19px;margin-bottom:4px}.steps p{margin:0;color:var(--muted)}
.why{display:grid;grid-template-columns:repeat(2,1fr);gap:20px 48px}
.why b{display:block;font-size:18px}.why p{margin:2px 0 0;color:var(--muted)}
.check{background:var(--surface);border:1.5px solid var(--line);border-radius:20px;padding:28px;display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.check p{margin:4px 0 0;color:var(--muted);max-width:36em}
details{border-bottom:1px solid var(--line);padding:16px 0}
summary{cursor:pointer;font-weight:700;font-size:17px}
details p{color:var(--muted);margin:8px 0 0;max-width:42em}
@media (max-width:820px){.hero{grid-template-columns:minmax(0,1fr)}.steps,.why{grid-template-columns:1fr}}
@media (prefers-reduced-motion:no-preference){.finder{animation:in .5s ease-out both}@keyframes in{from{transform:translateY(10px);opacity:0}}}
.hero>*{min-width:0}
/* 데이터 용량 · 일수 선택 (라디오 버튼 칩) */
.opt{border:0;margin:0 0 16px;padding:0;min-width:0}
.opt legend{font-size:14px;font-weight:700;padding:0;margin:0 0 8px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{position:relative;display:inline-block;cursor:pointer}
.chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.chip span{display:block;min-width:52px;text-align:center;padding:7px 11px;border-radius:10px;border:1.5px solid var(--line);font-size:14px;font-weight:500;background:transparent;color:var(--ink);white-space:nowrap}
.chip input:checked+span{background:var(--ink);color:var(--bg);border-color:var(--ink);font-weight:700}
.chip input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
.chip:hover input:not(:checked)+span{border-color:var(--ink)}
.pick{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 4px 2px;border-top:1px solid var(--line);margin-top:4px}
.pick strong{display:block;font-size:18px}.pick small{display:block;color:var(--muted);font-size:13px}
.pick-r{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
/* 담기·구매 버튼: 구매 전 안내 아래. 휴대폰에서는 두 버튼을 반씩 크게 */
.pick-btns{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.pick-btns .btn{min-width:136px;padding:12px 18px;font-size:15.5px}
@media(max-width:700px){.pick-btns .btn{flex:1;min-width:0}}
.empty{color:var(--muted);margin:8px 0}

/* ===== 새 홈 화면 (국가 검색 · 인기 국가 · 안내 배너 · 바로가기) ===== */
.hx-hero,.hx-sec{padding:0;border-top:0}
.hx-hero{text-align:center;padding:34px 0 6px}
.hx-eyebrow{margin:0 0 8px;color:var(--muted);font-weight:500}
.hx-title{font-size:clamp(32px,5vw,52px);line-height:1.15;letter-spacing:-.035em;font-weight:900;margin:0 0 26px}
.hx-searchrow{display:flex;gap:12px;justify-content:center;align-items:stretch;max-width:820px;margin:0 auto}
.hx-search{position:relative;flex:1;display:flex;align-items:center;gap:10px;height:58px;padding:0 20px;border:1.5px solid var(--line);border-radius:999px;background:var(--surface);box-shadow:0 6px 22px rgba(15,42,46,.07);color:var(--muted)}
.hx-search:focus-within{border-color:var(--blue);box-shadow:0 6px 22px rgba(43,78,255,.15)}
.hx-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:17px;color:var(--ink)}
.hx-search input::-webkit-search-cancel-button{cursor:pointer}
.hx-sug{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:20;margin:0;padding:6px;list-style:none;text-align:left;background:var(--surface);border:1.5px solid var(--line);border-radius:18px;box-shadow:0 14px 34px rgba(15,42,46,.16);max-height:320px;overflow:auto}
.hx-opt,.hx-none{display:flex;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;cursor:pointer;color:var(--ink)}
.hx-opt span{color:var(--muted);font-size:14px}
.hx-opt:hover,.hx-opt.on{background:#eef1ff}
.hx-none{color:var(--muted);cursor:default}
.hx-find{flex:none;height:58px;padding:0 26px;border:0;border-radius:999px;background:var(--blue);color:var(--onblue);font:inherit;font-weight:800;font-size:16px;cursor:pointer;box-shadow:0 6px 22px rgba(43,78,255,.25)}
.hx-find:hover{filter:brightness(1.08)}
.hx-sec{margin-top:46px}
.hx-h2{font-size:26px;font-weight:900;letter-spacing:-.03em;margin:0 0 18px}
.hx-countries{display:grid;grid-template-columns:repeat(var(--hx-cols,8),minmax(0,1fr));gap:22px 16px}
.hx-country{display:block;text-align:center;border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer}
.hx-photo{position:relative;display:grid;place-items:center;aspect-ratio:1/1;border-radius:28px;overflow:hidden;transition:transform .18s,box-shadow .18s}
.hx-photo::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 24% 18%,rgba(255,255,255,.38),transparent 46%),radial-gradient(circle at 88% 92%,rgba(0,0,0,.14),transparent 50%)}
.hx-code{position:relative;z-index:1;font-size:34px;font-weight:900;letter-spacing:.04em;color:rgba(255,255,255,.95);text-shadow:0 2px 10px rgba(0,0,0,.18)}
.hx-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hx-photo.has-img .hx-code{display:none}
.hx-country:hover .hx-photo{transform:translateY(-4px);box-shadow:0 12px 24px rgba(15,42,46,.18)}
.hx-country[aria-pressed="true"] .hx-photo{outline:3px solid var(--blue);outline-offset:3px}
.hx-country b{display:block;margin-top:12px;font-size:17px}
.hx-country small{display:block;color:var(--muted);font-size:13px}
.hx-banner{position:relative}
.hx-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:26px}
.hx-track::-webkit-scrollbar{display:none}
.hx-slide{flex:0 0 100%;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:10px;min-height:200px;padding:30px 36px 56px;color:#fff;text-decoration:none}
.hx-slide strong{font-size:clamp(22px,3.4vw,32px);letter-spacing:-.03em;line-height:1.25;max-width:20em}
.hx-tag{padding:3px 12px;border-radius:999px;background:rgba(255,255,255,.22);font-size:13px;font-weight:700}
.hx-btext{opacity:.92;max-width:34em}
.hx-cta{margin-top:4px;padding:9px 18px;border-radius:999px;background:#fff;color:#14213d;font-weight:800;font-size:14px}
.hx-bctl{position:absolute;right:18px;bottom:16px;display:flex;align-items:center;gap:4px;padding:3px;border-radius:999px;background:rgba(15,25,40,.5);color:#fff}
.hx-bctl button{width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer}
.hx-bctl button:hover{background:rgba(255,255,255,.2)}
.hx-count{min-width:46px;text-align:center;font-weight:700;font-size:13px}
.hx-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.hx-card{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1.5px solid var(--line);border-radius:20px;background:var(--surface);text-decoration:none;color:inherit;transition:border-color .15s,transform .15s}
.hx-card:hover{border-color:var(--blue);transform:translateY(-2px)}
.hx-ico{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#eef1ff;color:var(--blue);font-weight:900}
.hx-card b{display:block;font-size:16px}.hx-card small{display:block;margin-top:2px;color:var(--muted);font-size:13px;line-height:1.5}
.hx-dlg{border:0;border-radius:24px;padding:0;width:calc(100% - 32px);max-width:440px;color:var(--ink);background:var(--surface);box-shadow:0 24px 60px rgba(15,42,46,.3)}
.hx-dlg::backdrop{background:rgba(15,42,46,.5)}
.hx-dform{padding:26px}
.hx-dform h2{margin:0 0 4px;font-size:22px;font-weight:900}
.hx-dnote{margin:0 0 16px;color:var(--muted);font-size:14px}
.hx-f{display:block;margin:0 0 14px;font-weight:700;font-size:14px;border:0;padding:0}
.hx-f select{display:block;width:100%;margin-top:6px;padding:12px 14px;font:inherit;font-size:16px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}
.hx-f legend{padding:0;margin-bottom:6px}
.hx-r{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1.5px solid var(--line);border-radius:12px;margin-bottom:8px;font-weight:400;cursor:pointer}
.hx-r input{margin-top:4px;accent-color:var(--blue)}
.hx-r:has(input:checked){border-color:var(--blue);box-shadow:0 0 0 1px var(--blue)}
.hx-res{margin:14px 0 0;padding:16px;border-radius:16px;background:#f2f5ff;border:1.5px solid #d5dcff}
.hx-res strong{display:block;font-size:18px}.hx-rp{display:block;font-size:24px;font-weight:900;color:var(--blue);margin:2px 0 6px}
.hx-why{margin:0 0 12px;color:var(--muted);font-size:14px}.hx-rbtn{display:flex;gap:8px;flex-wrap:wrap}
.hx-dact{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
#plans{scroll-margin-top:12px}
@media (max-width:900px){.hx-quick{grid-template-columns:repeat(2,1fr)}.hx-countries{grid-template-columns:repeat(auto-fill,minmax(104px,1fr))}}
@media (max-width:640px){
  .hx-hero{padding-top:20px}
  .hx-searchrow{flex-direction:column}
  .hx-find{height:50px}.hx-search{height:54px}
  .hx-countries{display:flex;overflow-x:auto;gap:14px;padding:4px 2px 10px;scroll-snap-type:x proximity;scrollbar-width:none}
  .hx-countries::-webkit-scrollbar{display:none}
  .hx-country{flex:0 0 96px;scroll-snap-align:start}
  .hx-code{font-size:28px}.hx-photo{border-radius:24px}
  .hx-slide{padding:24px 22px 58px;min-height:210px}
  .hx-quick{grid-template-columns:1fr}
  .hx-sec{margin-top:36px}
}
@media (prefers-reduced-motion:reduce){.hx-photo,.hx-card{transition:none}}
/* 플랜 종류 선택 (데일리 / 데이터) */
.ptype{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 18px}
.ptype-b{font:inherit;text-align:left;padding:12px 14px;border-radius:14px;border:1.5px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;min-width:0}
.ptype-b b{display:block;font-size:16px}.ptype-b span{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.ptype-b[aria-pressed="true"]{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);background:#eef1ff}
.ptype-b:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.ptype-note{margin:-4px 0 16px;color:var(--muted);font-size:14px}

.chip.dim span{opacity:.35;text-decoration:line-through}
.chip[hidden]{display:none}
.pnotes{margin-top:14px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;font-size:13px;line-height:1.6;color:var(--ink)}
.pnotes b{display:block;margin-bottom:6px;font-size:14px}
.pnotes ul{margin:0;padding-left:18px}.pnotes li{margin:3px 0;color:var(--muted)}
.pnotes-l{margin:8px 0 0}.pnotes-l a{color:var(--blue)}
.chip.soft span{opacity:.55}
.hx-photo .hx-badge{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);white-space:nowrap;padding:2px 8px;border-radius:999px;background:#fff;color:#B42318;font-size:11.5px;font-weight:800;line-height:1.5;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.opt-qty{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.qty-note{margin:0;color:var(--muted);font-size:13px}
.qty-note[hidden]{display:none}
.hx-rbtn .qty{margin-right:auto}
/* 검색창 아래 이용 안내 3가지 */
.hx-points{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;list-style:none;margin:18px auto 0;padding:0;color:var(--muted);font-size:14.5px;font-weight:500}
.hx-points li{display:flex;align-items:center;gap:7px}
.hx-points li::before{content:"";flex:none;width:17px;height:17px;border-radius:50%;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2l2.2 2.2 4.6-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat}
@media(max-width:600px){.hx-points{gap:6px 14px;font-size:13.5px}}
/* 국가 카드의 국기 (js/country-meta.js countryFlags) */
.cflags{position:relative;z-index:1;display:block;width:58%;aspect-ratio:4/3}
.cflags img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:9px;box-shadow:0 6px 16px rgba(0,0,0,.22),0 0 0 2px rgba(255,255,255,.9)}
.cflags.two img{inset:auto;width:74%;height:74%}
.cflags.two img:first-child{left:-6%;top:-8%}
.cflags.two img:last-child{right:-6%;bottom:-8%}
.hx-photo.has-flag .hx-code{display:none}
@media(max-width:600px){.cflags img{border-radius:7px}}
.hx-photo.has-badge .cflags{transform:translateY(-13%)}
/* 국가 카드: 배경 없이 국기만 크게 (4:3) */
.hx-photo.has-flag{aspect-ratio:4/3;background:#eef1f5!important;border-radius:18px;box-shadow:0 0 0 1px rgba(15,42,46,.12)}
.hx-photo.has-flag::after{display:none}
.hx-photo.has-flag .cflags{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;display:flex;transform:none}
.hx-photo.has-flag .cflags img,.hx-photo.has-flag .cflags.two img{position:static;inset:auto;flex:1 1 0;min-width:0;width:auto;height:100%;object-fit:cover;border-radius:0;box-shadow:none}
.hx-photo.has-flag .cflags.two img+img{border-left:2px solid #fff}
@media(max-width:600px){.hx-photo.has-flag{border-radius:14px}}

/* ===== 홈 화면: 회색 바탕 위 흰 카드를 촘촘히 (2026.11) — 구조는 index.html <main class="hm">, 동작은 js/home-ui.js ===== */
body.home{background:#F2F4F7}
.hm{padding-bottom:6px}
.hm>section{border-top:0}
.hm>section:not(.hm-card){padding:0}
.hm-card{background:#fff;border-radius:22px;padding:22px;margin-top:12px;box-shadow:0 1px 2px rgba(15,42,46,.04)}
.hm-head{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin:0 0 14px}
.hm-h2{font-size:21px;font-weight:900;letter-spacing:-.03em;margin:0 0 14px}
.hm-head .hm-h2{margin:0}
.hm-note{color:var(--muted);font-size:13px;font-weight:600}
.hm-fine{margin:10px 0 0;color:var(--muted);font-size:12.5px;line-height:1.5}
.hm-link{display:inline-block;margin-top:12px;color:var(--blue);font-weight:800;font-size:14px;text-decoration:none}
/* 검색 */
.hm-hero{text-align:center;padding:28px 22px 20px;background:linear-gradient(180deg,#D9ECFF 0%,#EBF5FF 46%,#fff 100%)}
.hm-title{font-size:clamp(26px,4vw,38px);line-height:1.2;letter-spacing:-.035em;font-weight:900;margin:0}
.hm-sub{margin:6px 0 16px;color:var(--muted);font-size:14.5px;font-weight:500}
.hm .hx-search{max-width:720px;margin:0 auto;height:52px;background:#fff;border-color:#D3E3F4;box-shadow:0 6px 18px rgba(31,92,170,.08)}
.hm .hx-search:focus-within{background:#fff;border-color:var(--blue);box-shadow:0 6px 22px rgba(43,78,255,.12)}
.hm .hx-search input{font-size:16px}
.hm-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:760px;margin:14px auto 0}
.hm-chip{display:inline-flex;align-items:center;gap:6px;flex:none;padding:6px 12px 6px 7px;border:1px solid #E3E8EE;border-radius:999px;background:#fff;color:var(--ink);font-size:13.5px;font-weight:600;line-height:1.2;text-decoration:none}
.hm-chip:hover{border-color:var(--blue)}
.hm-flag{display:inline-flex;flex:none;width:24px;height:18px;border-radius:4px;overflow:hidden;background:#EEF1F5;box-shadow:0 0 0 1px rgba(15,42,46,.1)}
.hm-flag img{flex:1 1 0;min-width:0;height:100%;object-fit:cover}
.hm-flag img+img{border-left:1px solid #fff}
.hm-flag.txt{align-items:center;justify-content:center;font-size:9px;font-weight:800;color:var(--muted)}
.hm .hx-points{margin-top:14px;font-size:13px}
/* 바로가기 메뉴 */
.hm-menu{padding:20px 12px 16px}
.hm-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px 4px}
.hm-mi{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:2px 0;border:0;background:none;font:inherit;color:var(--ink);text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hm-mi[hidden]{display:none}
.hm-ml{max-width:100%;overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:600;letter-spacing:-.02em;white-space:nowrap}
.hm-ic{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;transition:transform .15s}
.hm-ic svg{width:25px;height:25px}
.hm-mi:hover .hm-ic{transform:translateY(-2px)}
.hm-ic.c1{background:#EEF2FF;color:#2B4EFF}.hm-ic.c2{background:#E5F6F2;color:#0E9F86}.hm-ic.c3{background:#F1ECFF;color:#7A55D6}.hm-ic.c4{background:#FFF1E0;color:#D9822B}
.hm-ic.c5{background:#E6F2FF;color:#2D7FD3}.hm-ic.c6{background:#FFECF1;color:#D6456B}.hm-ic.c7{background:#E8F6EB;color:#2E9B4F}.hm-ic.c8{background:#ECEFF4;color:#2F3B57}
/* 배너 */
.hm-banner{margin-top:12px}
.hm .hx-track{border-radius:22px}
.hm .hx-slide{min-height:160px;padding:22px 24px 54px;gap:8px}
.hm .hx-slide strong{font-size:clamp(19px,2.6vw,26px)}
.hm .hx-btext{font-size:14px}
/* 나라별 요금제 */
.hm-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:-2px 0 14px}
.hm-tabs::-webkit-scrollbar,.hm-chips::-webkit-scrollbar,.hm-recs::-webkit-scrollbar{display:none}
.hm-tab{flex:none;padding:7px 13px;border-radius:999px;border:1px solid #E3E8EE;background:#fff;color:#4D6468;font:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer}
.hm-tab span{margin-left:4px;color:#9AA6AE}
.hm-tab[aria-pressed="true"]{background:#0F2A2E;border-color:#0F2A2E;color:#fff}
.hm-tab[aria-pressed="true"] span{color:#C3CED1}
.hm .hx-countries{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px 10px;overflow:visible;padding:0}
.hm .hx-country b{margin-top:7px;font-size:14px}
.hm .hx-country small{font-size:12px}
.hm .hx-photo.has-flag{border-radius:12px}
.hm .hx-photo .hx-badge{bottom:4px;padding:1px 6px;font-size:10px}
#countries{scroll-margin-top:12px}
/* 일정별 추천 요금제 */
.hm-seg{display:inline-flex;padding:3px;border-radius:999px;background:#F0F2F5}
.hm-seg button{border:0;background:transparent;padding:6px 13px;border-radius:999px;font:inherit;font-size:13px;font-weight:700;line-height:1.2;color:#6B7B80;cursor:pointer}
.hm-seg button[aria-pressed="true"]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(15,42,46,.15)}
.hm-recs{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/4);gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:2px 2px 6px}
.hm-rec{display:flex;flex-direction:column;gap:2px;min-width:0;padding:14px;border:1px solid #E6EAEF;border-radius:16px;background:#fff;color:inherit;text-decoration:none;scroll-snap-align:start;transition:border-color .15s,transform .15s}
.hm-rec:hover{border-color:var(--blue);transform:translateY(-2px)}
.hm-rc{display:flex;align-items:center;gap:7px;font-size:14.5px;font-weight:800}
.hm-rp{margin-top:8px;font-size:14.5px;font-weight:700}
.hm-rn{align-self:flex-start;margin-top:3px;padding:2px 7px;border-radius:6px;background:#EEF2FF;color:#2B4EFF;font-size:11px;font-weight:700}
.hm-rn.l{background:#E5F6F2;color:#0B8A74}
.hm-rpr{margin-top:8px;font-size:19px;font-weight:900;letter-spacing:-.02em}
.hm-rd{color:var(--muted);font-size:12px}
/* 혜택·도움 (두 칸) */
.hm-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.hm-duo[hidden],.hm-bc[hidden]{display:none}
.hm-duo.one{grid-template-columns:1fr}
.hm-duo>.hm-card{margin-top:0}
.hm-bc{display:flex;flex-direction:column;gap:4px;min-width:0;padding:18px;color:inherit;text-decoration:none}
.hm-bc.b1{background:linear-gradient(140deg,#EAF0FF,#fff 72%)}
.hm-bc.b2{background:linear-gradient(140deg,#FFF4D9,#fff 72%)}
.hm-bt{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#fff;box-shadow:0 0 0 1px rgba(15,42,46,.08);color:#2B4EFF;font-size:11.5px;font-weight:800}
.hm-bc strong{margin-top:4px;font-size:17px;line-height:1.35;letter-spacing:-.02em}
.hm-bc small{color:var(--muted);font-size:12.5px;line-height:1.5}
.hm-go{margin-top:auto;padding-top:8px;color:#2B4EFF;font-size:13px;font-weight:800}
.hm-bc.b2 .hm-bt,.hm-bc.b2 .hm-go{color:#B86E00}
/* 설치 3단계 · 쓰는 이유 */
.hm-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.hm-steps li{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;background:#F6F8FA}
.hm-sn{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;font-size:14px;font-weight:900}
.hm-steps b{display:block;font-size:15px}
.hm-steps p{margin:3px 0 0;color:var(--muted);font-size:13px;line-height:1.55}
.hm-why{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hm-why>div{padding:14px;border-radius:16px;background:#F6F8FA}
.hm-why .hm-ic{width:40px;height:40px;border-radius:13px;margin-bottom:8px}
.hm-why .hm-ic svg{width:22px;height:22px}
.hm-why b{display:block;font-size:15px}
.hm-why p{margin:3px 0 0;color:var(--muted);font-size:12.5px;line-height:1.55}
.hm-cta{display:flex;gap:14px;align-items:flex-start}
.hm-cta .hm-ic{flex:none;width:44px;height:44px;border-radius:14px}
.hm-cta b{display:block;font-size:16px}
.hm-cta p{margin:4px 0 12px;color:var(--muted);font-size:13px;line-height:1.55}
.hm-cta .btn{display:inline-block;padding:9px 14px;font-size:14px;text-decoration:none}
.hm-btns{display:flex;flex-wrap:wrap;gap:8px}
/* 자주 묻는 질문 */
.hm details{padding:13px 0}
.hm details:last-child{border-bottom:0}
.hm summary{font-size:15.5px}
.hm details p{font-size:14px}
/* 휴대폰 */
@media (max-width:760px){
  body.home .wrap{padding:0 12px}
  .hm-card{padding:18px 16px;border-radius:20px;margin-top:10px}
  .hm-hero{padding:22px 16px 16px}
  .hm-h2{font-size:18px}
  .hm-sub{font-size:13.5px;margin-bottom:14px}
  .hm-chips{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;margin:12px -16px 0;padding:0 16px}
  .hm-menu{padding:18px 6px 14px}
  .hm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 2px}
  .hm-ic{width:46px;height:46px;border-radius:15px}
  .hm-ml{font-size:12.5px}
  .hm-banner{margin-top:10px}
  .hm .hx-slide{min-height:150px;padding:18px 18px 52px}
  .hm .hx-slide strong{font-size:19px}
  .hm .hx-btext{font-size:13px}
  .hm .hx-countries{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}
  .hm .hx-country b{margin-top:5px;font-size:13px}
  .hm .hx-country small{font-size:11px}
  .hm-recs{grid-auto-columns:45%;gap:10px;margin:0 -16px;padding:2px 16px 6px;scroll-padding:0 16px}
  .hm-duo{gap:10px;margin-top:10px}
  .hm-bc{padding:16px 14px}
  .hm-bc strong{font-size:15.5px}
  .hm-steps{grid-template-columns:1fr;gap:8px}
  .hm-why{grid-template-columns:1fr 1fr;gap:8px}
  .hm-why>div{padding:12px}
  .hm-help{grid-template-columns:1fr}
  .hm summary{font-size:15px}
}
@media (prefers-reduced-motion:reduce){.hm-ic,.hm-rec{transition:none}}
/* 맞춤 요금제 찾기: 습관별 하루 사용량 표시와 대안 한 줄 */
.hx-r small{display:block;margin-top:1px;color:var(--muted);font-size:12.5px;font-weight:500}
.hx-alt{margin:-4px 0 12px;font-size:14px;color:var(--muted)}
.hx-alt a{color:var(--blue);font-weight:800;text-decoration:none}

/* 같은 값으로 더 큰 하루 용량 안내 (요금제 화면) */
.up-hint{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0 0;padding:10px 14px;border-radius:12px;background:#FBF8D3;background:color-mix(in srgb,var(--hi) 35%,var(--surface));border:1px solid #E9DF63;border-color:color-mix(in srgb,var(--hi) 70%,var(--line));font-size:14px;line-height:1.5;color:var(--ink)}
.up-hint[hidden]{display:none}
.up-hint b{font-weight:700}
.up-btn{margin-left:auto;padding:6px 12px;border:0;border-radius:999px;background:var(--ink);color:var(--surface);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.up-btn:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
/* 배너: 나라 랜드마크 그림 (하늘은 배경색, 그림은 오른쪽 아래). 왼쪽은 글자가 잘 보이게 살짝 어둡게 */
.hx-slide{position:relative;overflow:hidden}
.hx-slide>span,.hx-slide>strong{position:relative;z-index:1}
.hx-scene{position:absolute;right:0;bottom:0;height:100%;width:auto;max-width:none;pointer-events:none;user-select:none}
.hx-slide.has-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,12,30,.46),rgba(8,12,30,.16) 48%,transparent 70%);pointer-events:none}
.hx-slide.has-scene strong,.hx-slide.has-scene .hx-btext{text-shadow:0 1px 12px rgba(8,12,30,.35)}
.hx-slide.has-scene strong{max-width:min(20em,62%)}
.hx-slide.has-scene .hx-btext{max-width:min(34em,56%)}
@media(max-width:700px){
  .hx-scene{height:64%}
  .hx-slide.has-scene::after{background:linear-gradient(180deg,rgba(8,12,30,.48),rgba(8,12,30,.18) 58%,transparent)}
  .hx-slide.has-scene strong,.hx-slide.has-scene .hx-btext{max-width:none}
}
/* 다가오는 축제: 사진 카드. 사진 위 왼쪽 = 날짜 표, 오른쪽 = 지금/곧. 사진과 설명 사이 양쪽 홈 = 표를 뜯는 자리 */
.hm-fests{display:grid;grid-auto-flow:column;grid-auto-columns:max(248px,calc((100% - 36px)/3.25));gap:12px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:2px 2px 12px}
.hm-fests::-webkit-scrollbar{display:none}
.fest{--fc:#2b4eff;position:relative;display:flex;flex-direction:column;min-width:0;border-radius:18px;overflow:hidden;background:#f6f8fa;background:color-mix(in srgb,var(--fc) 7%,#fff);color:var(--ink);text-decoration:none;scroll-snap-align:start}
.fest:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.fest-pic{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--fc);background:linear-gradient(135deg,var(--fc),color-mix(in srgb,var(--fc) 50%,#fff))}
.fest-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.fest:hover .fest-img{transform:scale(1.04)}
.fest-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.26),rgba(0,0,0,0) 42%);pointer-events:none}
.fest-stub{position:absolute;left:12px;top:12px;z-index:1;display:flex;flex-direction:column;align-items:center;min-width:60px;padding:6px 10px 7px;border-radius:12px;background:var(--fc);color:#fff;text-align:center;box-shadow:0 4px 14px rgba(0,0,0,.24)}
.fest-stub b{font-size:17px;font-weight:900;letter-spacing:-.04em;line-height:1.2}
.fest-stub b.long{font-size:15px}
.fest-stub small{font-size:11.5px;font-weight:700;line-height:1.3;opacity:.95}
.fest-st{position:absolute;right:12px;top:12px;z-index:1;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.5;box-shadow:0 4px 14px rgba(0,0,0,.2)}
.fest-st.now{background:#fff;color:var(--fc)}
.fest-st.soon{background:rgba(255,255,255,.94);color:var(--ink)}
.fest-body{position:relative;display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;padding:14px 16px 15px}
.fest-body::before,.fest-body::after{content:"";position:absolute;top:-8px;width:16px;height:16px;border-radius:50%;background:#fff}
.fest-body::before{left:-8px}.fest-body::after{right:-8px}
.fest-name{font-size:16.5px;font-weight:900;letter-spacing:-.03em;line-height:1.3}
.fest-where{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.fest-txt{font-size:13.5px;line-height:1.5;color:#33494d}
.fest-go{margin-top:auto;padding-top:6px;font-size:13px;font-weight:800;color:var(--ink)}
.fest-where .cflags{position:static;z-index:auto;display:inline-flex;flex:none;gap:2px;width:auto;aspect-ratio:auto;transform:none}
.fest-where .cflags img,.fest-where .cflags.two img{position:static;inset:auto;width:20px;height:14px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(15,42,46,.14)}
@media(max-width:700px){.hm-fests{grid-auto-columns:80%}}
@media (prefers-reduced-motion:reduce){.fest-img{transition:none}.fest:hover .fest-img{transform:none}}

/* 배너: 나라·여행 사진을 꽉 채우고, 글자 쪽(왼쪽, 휴대폰은 아래)만 어둡게 */
.hx-slide.has-photo{background:#22364a}
.hx-bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;pointer-events:none;user-select:none}
.hx-slide.has-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,16,34,.66) 0%,rgba(4,16,34,.4) 40%,rgba(4,16,34,.04) 74%);pointer-events:none}
.hx-slide.has-photo strong,.hx-slide.has-photo .hx-btext{text-shadow:0 1px 12px rgba(0,0,0,.3)}
.hx-slide.has-photo strong{max-width:min(20em,64%)}
.hx-slide.has-photo .hx-btext{max-width:min(34em,58%)}
.hx-slide.has-photo .hx-tag{background:rgba(255,255,255,.24);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hm .hx-slide.has-photo{min-height:210px}
@media(max-width:700px){
  .hm .hx-slide.has-photo{min-height:228px;justify-content:flex-end}
  .hx-slide.has-photo::after{background:linear-gradient(0deg,rgba(4,16,34,.76) 0%,rgba(4,16,34,.44) 50%,rgba(4,16,34,.06) 100%)}
  .hx-slide.has-photo strong,.hx-slide.has-photo .hx-btext{max-width:none}
}

/* 나라별 요금제 카드: 정사각형 사진 + 왼쪽 아래 작은 국기 */
.hx-photo.has-pic{aspect-ratio:1/1;border-radius:18px;background:#dfe7ef;box-shadow:0 0 0 1px rgba(15,42,46,.06)}
.hx-photo.has-pic::after{background:linear-gradient(180deg,rgba(0,0,0,0) 58%,rgba(0,0,0,.26))}
.hx-pic{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hx-photo .hx-pflag{position:absolute;left:7px;bottom:7px;z-index:2;width:26px;height:19px;border-radius:5px;box-shadow:0 0 0 1.5px #fff,0 2px 6px rgba(0,0,0,.25)}
.hm .hx-photo.has-pic{border-radius:16px}
.hm .hx-photo.has-pic .hx-badge{left:6px;top:6px;bottom:auto;transform:none}
@media(max-width:760px){
  .hm .hx-photo.has-pic{border-radius:14px}
  .hx-photo .hx-pflag{left:5px;bottom:5px;width:22px;height:16px;border-radius:4px}
  .hm .hx-photo.has-pic .hx-badge{left:4px;top:4px;padding:0 5px;font-size:9.5px}
}
.hx-photo .hx-pflag img{position:static;inset:auto;z-index:auto;width:auto;height:100%;flex:1 1 0;min-width:0;object-fit:cover}
/* 통신망 고르기 (로컬망·로밍망을 같이 파는 나라의 데일리 플랜): 플랜 종류 다음에 먼저 고르고, 용량·일수는 그 망에서 파는 것만 */
.netc-g{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.netc{position:relative;display:flex;cursor:pointer;min-width:0}
.netc input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.netc-b{display:block;flex:1;min-width:0;padding:10px 12px;border-radius:12px;border:1.5px solid var(--line);color:var(--ink);background:transparent}
.netc-t{display:block}
.netc-t b{display:block;font-size:15px}
.netc-t em{display:block;margin-top:1px;font-style:normal;font-weight:600;font-size:14px;white-space:nowrap}
.netc-b small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted)}
.netc input:checked+.netc-b{border-color:var(--blue);box-shadow:0 0 0 1px var(--blue);background:#eef1ff;background:color-mix(in srgb,var(--blue) 7%,var(--surface))}
.netc input:focus-visible+.netc-b{outline:3px solid var(--blue);outline-offset:2px}
.netc:hover input:not(:checked)+.netc-b{border-color:var(--ink)}
.net-note{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5}

/* 테스트 모드 전용 '시험용 eSIM' 상자 (실제 판매 상품과 헷갈리지 않게 점선 테두리) */
.hm-demo{border:2px dashed #b7791f;background:#fffaf0}
.hm-demo h2{margin:0 0 6px;font-size:17px}
.hm-demo p{margin:0 0 12px;font-size:14px;line-height:1.6;color:#4d4433}
.hm-demo .btn{display:inline-block}

/* ===== 2026-12 홈 화면 새 디자인 (시안 A: 오늘의집·NOL 스타일) — 흰 바탕, 연회색 보조, 파란색 하나 =====
   구조는 index.html, 동작은 js/home-ui.js. 다른 페이지(요금제 등)에는 영향을 주지 않도록 body.home 안에서만 바꿉니다. */
body.home{--ink:#191f28;--muted:#6b7684;--line:#eaeef2;--blue:#2563eb;--sub:#f5f7fa;--blue-soft:#eaf1fe;background:#fff;color:var(--ink);
  font-family:Pretendard,"Pretendard Variable","Noto Sans KR",system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;-webkit-font-smoothing:antialiased;overflow-x:clip}
body.home .wrap{max-width:1160px;padding:0 max(16px,4vw)}
/* 머리: 로고 · 검색 · 메뉴 (흰 띠가 화면 끝까지, 아래 얇은 선) */
body.home header{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:20px;min-height:68px;padding:0;background:#fff;box-shadow:0 0 0 100vmax #fff,0 1px 0 100vmax var(--line);clip-path:inset(0 -100vmax -1px)}
body.home .logo{display:flex;align-items:center;gap:8px;flex:none;font-weight:800;font-size:22px;letter-spacing:-.04em}
body.home .logo-ic{width:28px;height:28px;flex:none}
body.home header .hx-search{flex:1;max-width:440px;height:44px;padding:0 16px;gap:8px;border:0;border-radius:12px;background:var(--sub);box-shadow:none}
body.home header .hx-search:focus-within{background:#fff;box-shadow:0 0 0 1.5px var(--blue)}
body.home header .hx-search input{font-size:15px}
body.home header .hx-sug{border-radius:14px;border-color:var(--line)}
body.home .hx-opt:hover,body.home .hx-opt.on{background:var(--blue-soft)}
body.home header nav{margin-left:auto;flex-wrap:nowrap}
body.home header nav a,body.home header nav .who{margin-left:0;padding:8px 10px;font-size:14px;white-space:nowrap;color:var(--muted)}
body.home header nav a:hover{color:var(--ink)}
body.home .cnt{background:var(--blue)}
/* 첫 화면: 제목 + 인기 여행지 동그란 국기 8개 */
body.home .hm-hero{padding:clamp(36px,6vw,64px) 0 0;text-align:left;background:none;border-radius:0}
body.home .hm-title{font-size:clamp(28px,4.4vw,44px);line-height:1.2;letter-spacing:-.035em;font-weight:800}
body.home .hm-title span{color:var(--blue)}
body.home .hm-sub{margin:10px 0 0;font-size:16px;color:var(--muted)}
body.home .hm-chips{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:20px 8px;max-width:none;margin:32px 0 0;padding:0;overflow:visible}
body.home .hm-chip{display:flex;flex-direction:column;align-items:center;gap:0;padding:0;border:0;border-radius:0;background:none;text-align:center}
body.home .hm-ring{display:block;width:72px;height:72px;padding:3px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px var(--line),0 4px 12px rgba(25,31,40,.06);transition:transform .15s}
body.home .hm-chip:hover .hm-ring{transform:translateY(-3px)}
body.home .hm-ring .hm-flag{display:flex;width:100%;height:100%;border-radius:50%;box-shadow:none}
body.home .hm-chip b{margin-top:10px;font-size:15px;font-weight:700;white-space:nowrap}
body.home .hm-chip small{font-size:13px;color:var(--muted);white-space:nowrap}
/* 칸: 흰 상자 없이 넓은 여백으로 나눕니다 */
body.home .hm>section{border-top:0}
body.home .hm-card{background:none;border-radius:0;box-shadow:none;padding:0;margin-top:clamp(48px,7vw,72px)}
body.home .hm-card.hm-demo{margin-top:24px;padding:20px;border-radius:16px;background:#fffaf0}
body.home .hm-h2{font-size:22px;font-weight:800;letter-spacing:-.03em;margin:0 0 16px}
body.home .hm-head{margin-bottom:16px}
body.home .hm-head .hm-h2{margin:0}
body.home .hm-note{font-size:14px;font-weight:500}
body.home .hm-fine{margin-top:14px;font-size:13px}
body.home .hm-link{color:var(--blue)}
body.home .btn{border-radius:10px;background:var(--blue)}
body.home .btn.ghost{background:#fff;color:var(--ink);border:0;box-shadow:0 0 0 1px var(--line)}
/* 배너 */
body.home .hm-banner{margin-top:40px}
body.home .hm .hx-track{border-radius:16px}
/* 나라별 요금제: 지역 칩 + 사진 카드 4열 (휴대폰 2열) */
body.home .hm-tabs{gap:8px;margin:0 0 18px}
body.home .hm-tab{height:38px;padding:0 16px;border-color:var(--line);color:var(--muted);font-size:14px;font-weight:500;white-space:nowrap}
body.home .hm-tab span{color:#9aa4b0}
body.home .hm-tab[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff;font-weight:700}
body.home .hm .hx-countries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hm-card2{display:flex;flex-direction:column;min-width:0;border-radius:16px;background:#fff;box-shadow:0 0 0 1px var(--line);overflow:hidden;color:inherit;text-decoration:none;transition:box-shadow .15s,transform .15s}
.hm-card2:hover{box-shadow:0 0 0 1px var(--line),0 10px 24px rgba(25,31,40,.08);transform:translateY(-2px)}
.hm-card2:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
body.home .hm-card2 .hx-photo,body.home .hm-card2 .hx-photo.has-pic,body.home .hm-card2 .hx-photo.has-flag{aspect-ratio:16/10;border-radius:0;box-shadow:none;transform:none}
body.home .hm-card2 .hx-photo.has-pic::after{display:none}
body.home .hm-card2 .hx-pic{transition:transform .3s}
.hm-card2:hover .hx-pic{transform:scale(1.04)}
body.home .hm-card2 .hx-pflag{left:10px;bottom:10px;width:30px;height:20px;border-radius:5px}
.hm-badges{position:absolute;top:10px;left:10px;z-index:2;display:flex;flex-wrap:wrap;gap:4px}
.hm-badge{display:inline-block;padding:3px 8px;border-radius:6px;background:#fff;color:var(--blue);box-shadow:0 0 0 1px var(--line);font-size:11.5px;font-weight:700;line-height:1.5;white-space:nowrap}
.hm-bd{display:block;padding:14px 16px 16px}
.hm-bd b{display:block;font-size:16px;font-weight:700}
.hm-bd small{display:block;margin-top:2px;color:var(--muted);font-size:13px}
.hm-pr{display:block;margin-top:10px;font-size:18px;font-weight:800;white-space:nowrap}
.hm-pr span{margin-left:4px;font-size:13px;font-weight:500;color:var(--muted)}
.hm-more{display:none}
/* 설치 가이드 & 환불 보장 (바로가기 메뉴): 연회색 칸 4열 */
body.home .hm-menu{padding:0}
body.home .hm-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.home .hm-mi{flex-direction:row;align-items:center;gap:14px;padding:18px 20px;border-radius:16px;background:var(--sub);text-align:left}
body.home .hm-mi:hover{background:var(--blue-soft)}
body.home .hm-mi .hm-ic{width:48px;height:48px;border-radius:14px;background:#fff}
body.home .hm-ml{font-size:15px;font-weight:700}
/* 일정별 추천 · 축제 · 설치 3단계 · 쓰는 이유 · 도움 · 자주 묻는 질문 */
body.home .hm-seg{background:var(--sub)}
body.home .hm-rec{border-color:var(--line);border-radius:16px}
body.home .hm-rn{background:var(--blue-soft);color:var(--blue)}
body.home .hm-steps li,body.home .hm-why>div{background:var(--sub);border-radius:16px;padding:20px}
body.home .hm-sn{background:var(--blue)}
body.home .hm-duo .hm-card{margin-top:0;padding:24px;border-radius:16px;background:var(--sub)}
body.home .hm-duo{margin-top:clamp(48px,7vw,72px);gap:16px}
body.home .hm details{padding:0;border-bottom:1px solid var(--line)}
body.home .hm details:last-child{border-bottom:1px solid var(--line)}
body.home .hm summary{display:flex;justify-content:space-between;gap:10px;padding:17px 4px;font-weight:500;font-size:15.5px;list-style:none}
body.home .hm summary::-webkit-details-marker{display:none}
body.home .hm summary::after{content:"+";color:var(--blue);font-weight:700}
body.home .hm details[open] summary::after{content:"–"}
body.home .hm details p{margin:0 4px 17px}
body.home #faq{border-top:1px solid var(--line)}
body.home #faq .hm-h2{padding-bottom:16px;margin:0;border-bottom:0}
/* 바닥: 연회색 띠가 화면 끝까지 */
body.home footer{margin-top:80px;padding:36px 0 44px;border-top:0;background:var(--sub);box-shadow:0 0 0 100vmax var(--sub);clip-path:inset(0 -100vmax)}
body.home footer a{color:var(--muted)}
@media(max-width:960px){
  body.home .hm .hx-countries,body.home .hm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.home .hm-chips{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 8px}
}
@media(max-width:720px){
  body.home header{flex-wrap:wrap;gap:10px 12px;padding:10px 0 12px}
  body.home header .hx-search{order:3;flex:1 1 100%;max-width:none}
  body.home .hm .hx-countries{gap:10px}
  .hm-bd{padding:12px}
  .hm-pr{font-size:16px}
  body.home .hm-ring{width:64px;height:64px}
  body.home .hm-grid{gap:10px}
  body.home .hm-mi{flex-direction:column;align-items:flex-start;padding:16px}
  body.home .hm-ml{font-size:14px}
  body.home .hm-steps,body.home .hm-help{grid-template-columns:minmax(0,1fr)}
  /* 휴대폰: 처음엔 6개(3줄)만, '전체 나라 더보기'로 펼치기 */
  .hx-countries.clip>.hm-card2:nth-child(n+7){display:none}
  .hm-more:not([hidden]){display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:50px;margin-top:12px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer}
  .hm-more:hover{background:var(--sub)}
  .hm-more .ar{color:var(--blue)}
}
@media(prefers-reduced-motion:reduce){.hm-card2,.hm-card2 .hx-pic,body.home .hm-ring{transition:none}}

/* ===== 2차 (캡틴 참고 시안 반영 2026-12-04): 산호색 포인트 하나, 큰 사진 첫 화면, 상자·테두리·화살표 줄이기 ===== */
body.home{--acc:#ff5a36;--acc-d:#e64825;--opb:#2b6cb0;--sub:#f7f8fa;--line:#eaecef;letter-spacing:-.02em}
body.home .btn{background:var(--acc)}
body.home .btn:hover{background:var(--acc-d);filter:none}
body.home .logo-ic rect{fill:var(--acc)}
body.home .cnt{background:var(--acc)}
/* 맨 위 남색 띠 (한 줄 안내) */
.hm-notice{padding:9px 0;text-align:center;font-size:13px;font-weight:600;color:#fff;background:#191f28;box-shadow:0 0 0 100vmax #191f28;clip-path:inset(0 -100vmax)}
.hm-notice b{color:#ffb4a2;margin-right:6px}
/* 첫 화면: 사진 위에 제목 */
body.home .hm-hero{padding:20px 0 0}
.hm-heroin{position:relative;height:320px;border-radius:16px;overflow:hidden;background:#191f28}
.hm-herobg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
.hm-heroin::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(25,31,40,.9),rgba(25,31,40,.55) 45%,rgba(25,31,40,0) 80%)}
.hm-herotx{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:100%;padding:0 40px;color:#fff}
body.home .hm-heroin .hm-title{color:#fff;font-size:clamp(24px,3.2vw,34px);line-height:1.3;font-weight:800}
body.home .hm-heroin .hm-sub{margin:10px 0 22px;color:rgba(255,255,255,.82);font-size:15px}
.hm-herobtn{display:inline-block;padding:12px 20px;border-radius:12px;background:var(--acc);color:#fff;font-weight:700;font-size:15px;text-decoration:none}
.hm-herobtn:hover{background:var(--acc-d)}
body.home .hm-chips{margin-top:28px}
/* 소제목 위 작은 글자 */
.hm-eye{margin:0 0 2px;font-size:12.5px;color:var(--muted)}
.hm-eye b{color:var(--acc);font-weight:800;margin-right:8px}
/* 요금제 카드: 테두리·그림자 없이 사진 + 글자 */
body.home .hm .hx-countries{gap:28px 20px}
.hm-card2,.hm-card2:hover{box-shadow:none;transform:none;border-radius:0;overflow:visible;background:none}
body.home .hm-card2 .hx-photo,body.home .hm-card2 .hx-photo.has-pic,body.home .hm-card2 .hx-photo.has-flag{border-radius:12px;overflow:hidden}
.hm-bd{padding:12px 2px 0}
.hm-op{display:block;margin-bottom:2px;font-size:12.5px;font-weight:600;color:var(--opb)}
.hm-bd b{font-size:16px}
.hm-pr{margin-top:8px;font-size:19px}
.hm-day{display:block;font-size:13px;color:var(--muted)}
/* 더보기: 상자 대신 글자 버튼 */
@media(max-width:720px){
  .hm-more:not([hidden]){height:48px;margin-top:16px;border:0;border-top:1px solid var(--line);border-radius:0;background:none;font-size:15px;color:var(--ink)}
  .hm-more:hover{background:none;color:var(--acc)}
}
/* 기종 확인: 삼성·애플 두 칸 */
body.home .hm-check .hm-h2{margin-bottom:6px}
.hm-checkp{margin:0 0 18px;color:var(--muted);font-size:14.5px}
.hm-dev{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hm-devc{display:flex;flex-direction:column;gap:10px;padding:22px;border-radius:16px;background:var(--sub)}
.hm-devt{font-size:17px;font-weight:800}
.hm-devc select{width:100%;height:46px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font:inherit;font-size:15px;color:var(--ink)}
.hm-devc select:focus{outline:2px solid var(--ink);outline-offset:1px}
.hm-devr{margin:0;font-size:14px;font-weight:700;line-height:1.5}
.hm-devr.yes{color:#0b7a55}.hm-devr.no{color:#c62828}.hm-devr.check{color:#9a5b00}
.hm-devc small{color:var(--muted);font-size:12.5px;line-height:1.5}
/* 설치 가이드 & 환불 보장: 회색 상자 없이 아이콘 + 글자 */
body.home .hm-grid{gap:8px 16px}
body.home .hm-mi,body.home .hm-mi:hover{background:none;padding:10px 0}
body.home .hm-mi .hm-ic{background:var(--sub)}
body.home .hm-mi:hover .hm-ml{color:var(--acc)}
/* 설치 3단계 · 쓰는 이유 · 도움: 상자 없이 */
body.home .hm-steps li,body.home .hm-why>div,body.home .hm-duo .hm-card{background:none;padding:0;border-radius:0}
body.home .hm-steps{gap:28px}
body.home .hm-why{gap:28px}
body.home .hm-sn{background:var(--acc)}
body.home .hm-link{color:var(--acc)}
/* 일정별 추천: 테두리 상자 없이 */
body.home .hm-rec,body.home .hm-rec:hover{border:0;padding:4px 0;transform:none}
body.home .hm-rn,body.home .hm-rn.l{background:none;padding:0;color:var(--opb)}
/* 배너: 화살표 버튼 없이 순서만 */
body.home .hx-bctl button{display:none}
body.home .hx-cta{border-radius:10px}
@media(max-width:720px){
  .hm-heroin{height:240px}
  .hm-herotx{padding:0 22px}
  .hm-heroin::after{background:linear-gradient(90deg,rgba(25,31,40,.88),rgba(25,31,40,.45))}
  body.home .hm-heroin .hm-sub{font-size:13.5px;margin-bottom:16px}
  .hm-dev{grid-template-columns:minmax(0,1fr)}
  .hm-devc{padding:18px}
  body.home .hm .hx-countries{gap:22px 12px}
  .hm-pr{font-size:17px}
}
body.home .hm summary::after{color:var(--acc)}
/* 할인 표시 (js/list-price.js 에 원래 가격을 적은 요금제만) */
.hm-was{display:block;margin-top:6px;font-size:12.5px;color:#9aa4b0}
.hm-was+.hm-pr{margin-top:0}
.hm-pr em{margin-right:6px;font-style:normal;color:var(--acc)}
/* 카드 아래 줄: 별점 · 하루 가격 */
.hm-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:2px;font-size:13px}
.hm-foot .hm-day{display:inline}
.hm-rate{font-weight:700;color:var(--ink)}
.hm-rate i{font-style:normal;color:var(--acc)}
/* 실제 여행객 후기: 상자 없이 위 선만 */
.hm-eye span{color:var(--muted)}
.hm-revs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.hm-rv{padding-top:16px;border-top:2px solid var(--ink)}
.hm-rvt{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px}
.hm-stars i{font-style:normal;color:#d5dbe3}.hm-stars i.on{color:var(--acc)}
.hm-rvt b{font-size:13px}
.hm-rvc{margin-left:auto;color:var(--opb);font-weight:600}
.hm-rv p{margin:10px 0 8px;font-size:14.5px;line-height:1.65}
.hm-rv small{color:var(--muted);font-size:12.5px}
@media(max-width:720px){.hm-revs{grid-template-columns:minmax(0,1fr);gap:22px}}
/* 4차: 첫 화면 사진·문구 없앰 (배너는 아래 안내 배너 하나만). 제목은 화면에 안 보이게 (검색·화면 낭독용) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.home .hm-hero{padding:28px 0 0}
body.home .hm-chips{margin-top:0}
body.home .hm-banner{margin-top:36px}
/* 5차: 배너를 맨 위로, 동그란 국기는 배너 아래 (가격 없이 이름만) */
body.home .hm-banner{margin-top:20px}
body.home .hm-hero{padding:32px 0 0}
/* 기종 확인: 휴대폰에서도 삼성·애플 두 칸을 좌우로 (캡틴 지시 2026-12-04) */
@media(max-width:720px){
  .hm-dev{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hm-devc{padding:14px 12px;gap:8px}
  .hm-devt{font-size:15px}
  .hm-devc select{height:42px;padding:0 8px;font-size:13px}
  .hm-devr{font-size:13px}
  .hm-devc small{font-size:11.5px}
}
/* 6차: 맞춤 추천은 '나라별 요금제' 제목 옆 글자 버튼 */
.hm-head-r{display:flex;align-items:center;gap:14px}
.hm-find{padding:0;border:0;background:none;font:inherit;font-size:14px;font-weight:700;color:var(--acc);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.hm-find:hover{color:var(--acc-d)}
/* 7차 배너: 제목을 가장 크게, 라벨·버튼 없이, 줄 모양 순서 표시(눌러서 이동)·마우스로 끌어 넘기기 */
body.home .hx-tag,body.home .hx-cta,body.home .hx-bctl{display:none}
body.home .hm .hx-slide{gap:10px;cursor:grab}
body.home .hm .hx-slide strong{font-size:clamp(30px,4.2vw,46px);font-weight:800;letter-spacing:-.035em;line-height:1.18;max-width:min(14em,72%)}
body.home .hm .hx-btext{font-size:15px;opacity:.85}
body.home .hx-track{user-select:none}
.hx-dots{position:absolute;left:24px;bottom:20px;display:flex;gap:6px;z-index:2}
.hx-dot{width:22px;height:3px;padding:8px 0;border:0;background:none;cursor:pointer;position:relative}
.hx-dot::before{content:"";position:absolute;left:0;right:0;top:6.5px;height:3px;border-radius:2px;background:rgba(255,255,255,.45)}
.hx-dot[aria-current="true"]{width:36px}
.hx-dot[aria-current="true"]::before{background:#fff}
@media(max-width:720px){
  body.home .hm .hx-slide strong{font-size:28px;max-width:none}
  body.home .hm .hx-btext{font-size:13.5px}
  .hx-dots{left:18px;bottom:16px}
}
/* 8차: 국기 위 '인기 국가' 제목, 컴퓨터에서도 나라별 요금제 2줄(8개)만 보이고 더보기 */
body.home .hm-poph{margin:0 0 18px}
@media(min-width:721px){
  body.home .hx-countries.clip>.hm-card2:nth-child(n+9){display:none}
  body.home .hm-more:not([hidden]){display:flex;align-items:center;justify-content:center;width:100%;height:52px;margin-top:20px;border:0;border-top:1px solid var(--line);border-radius:0;background:none;font:inherit;font-size:15px;font-weight:700;color:var(--ink);cursor:pointer}
  body.home .hm-more:hover{color:var(--acc)}
}
