/* 메인 v3 — 몽키트래블 구성 참고 (style.css 다음) */
.m-header .wrap { height: 64px; }
.m-header .util { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.m-header .util a:hover { color: var(--blue); }
.m-header .util .sep { width: 1px; height: 14px; background: var(--line); }

/* 히어로: 큰 사진 + 문구 + 검색, 아래는 둥근 구름 곡선 */
.m-hero { position: relative; height: 380px; background: #9ccbe8 center 60%/cover; }
.m-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,40,70,.15), rgba(14,40,70,.35)); }
.m-hero .wrap { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.m-hero h1 { color: #fff; font-size: 40px; font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.m-hero .dol { position: absolute; right: 40px; bottom: 40px; width: 150px; filter: drop-shadow(0 14px 22px rgba(0,0,0,.25)); animation: bob 4s ease-in-out infinite; }
.m-hero .bottom { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.m-hero .bottom svg { width: 100%; height: 60px; }
.m-search { margin-top: 22px; max-width: 860px; display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 4px; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.96); box-shadow: 0 16px 40px rgba(10,30,60,.25); }
.m-search .f { display: flex; align-items: center; gap: 10px; padding: 0 18px; height: 54px; border-radius: 99px; cursor: pointer; }
.m-search .f:hover { background: var(--sky-50); }
.m-search .f svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.m-search .f label { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.m-search .f b { display: block; font-size: 14.5px; font-weight: 700; }
.m-search .btn { height: 54px; padding: 0 28px; }

.m-sec { padding-top: 54px; }
.m-sec .sec-head { margin-bottom: 18px; }

/* 인기 여행지: 국기 버튼 */
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.country { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 24px; background: #fff; border: 2px solid #fff; box-shadow: var(--sh); font-weight: 800; font-size: 16px; transition: transform .15s; }
.country:hover { transform: translateY(-3px); }
.country svg.flag { width: 40px; height: 27px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); flex: none; }
.country small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.country .arr { margin-left: auto; color: var(--ink-3); font-size: 18px; }

/* 혜택 4칸 */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.perk { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 24px; background: #fff; border: 2px solid #fff; box-shadow: var(--sh); }
.perk .pi { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.perk .pi svg { width: 26px; height: 26px; }
.perk b { display: block; font-size: 16px; font-weight: 800; }
.perk small { font-size: 12.5px; color: var(--ink-3); }

/* 배너 슬라이드 */
.slides { position: relative; overflow: hidden; border-radius: 30px; margin-top: 18px; }
.slides .track { display: flex; transition: transform .5s ease; }
.slide { flex: 0 0 100%; height: 150px; display: flex; align-items: center; gap: 24px; padding: 0 46px; position: relative; overflow: hidden; }
.slide h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.slide p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.slide img { width: 104px; margin-left: auto; position: relative; z-index: 1; }
.slide::after { content: ''; position: absolute; right: 150px; bottom: -26px; width: 150px; height: 88px; background: var(--cloud) no-repeat center/contain; opacity: .8; }
.slide.s1 { background: linear-gradient(110deg, #dff0ff, #e9e2ff); }
.slide.s2 { background: linear-gradient(110deg, #ffe9f1, #fff4d6); }
.slide.s3 { background: linear-gradient(110deg, #def8f0, #dff0ff); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: #cfdcea; cursor: pointer; transition: width .2s; }
.dots i.on { width: 22px; background: var(--blue); }

/* 지금 뜨는 도시: 동그란 사진 */
.cities { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 10px; scrollbar-width: none; }
.city { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.city span { width: 86px; height: 86px; border-radius: 50%; background: #cfe6f8 center/cover; border: 4px solid #fff; box-shadow: var(--sh); transition: transform .15s; }
.city:hover span { transform: scale(1.05); }
.city.on { color: var(--blue); }
.city.on span { box-shadow: 0 0 0 3px var(--sky), var(--sh-lg); }

/* 도시 특집: 배경 사진 + 탭 + 카드 줄 */
.feature { position: relative; margin-top: 16px; padding: 34px 0 30px; background: #6aa9d6 center/cover; transition: background-image .3s; }
.feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,55,.55), rgba(10,30,55,.15) 60%, rgba(246,250,254,.0)); }
.feature .wrap { position: relative; }
.feature h2 { color: #fff; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.feature p.sub { color: rgba(255,255,255,.9); margin-top: 4px; }
.ftabs { display: flex; gap: 6px; margin: 16px 0 18px; }
.ftabs button { height: 36px; padding: 0 16px; border-radius: 99px; font-size: 13.5px; font-weight: 800; color: #fff; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); }
.ftabs button.on { background: #fff; color: var(--blue); }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.row-scroll > * { scroll-snap-align: start; }
.mini { overflow: hidden; padding: 8px; }
.mini .pic { aspect-ratio: 4 / 3; border-radius: 20px; background: #d6eaf8 center/cover; position: relative; }
.mini .pic .badge { position: absolute; left: 10px; top: 10px; }
.mini .body { padding: 10px 8px 6px; }
.mini h4 { font-size: 15px; font-weight: 700; line-height: 1.4; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini .rt { display: flex; gap: 6px; margin-top: 6px; }
.mini .rt span { padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; }
.mini .rt .s { background: #fff3d6; color: #b07800; } .mini .rt .c { background: #e0f7f1; color: #12957a; }
.mini .from { margin-top: 8px; font-size: 11.5px; color: var(--ink-3); }
.mini .pv { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.mini .pv small { font-size: 12.5px; }
.arrows { position: absolute; right: 24px; top: 0; display: flex; gap: 6px; }
.arrows button { width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: var(--sh); font-size: 18px; color: var(--ink-2); }
.sec-rel { position: relative; }
.feature .arrows { top: 4px; }
.feature .arrows button { background: rgba(255,255,255,.9); }

/* 영상 */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.video { overflow: hidden; padding: 8px; }
.video .th { position: relative; aspect-ratio: 16 / 8; border-radius: 22px; background: #cfe6f8 center/cover; }
.video .th::after { content: ''; position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23e0548a'/%3E%3C/svg%3E") no-repeat 56% 50%/28px; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.video .tt { padding: 12px 8px 6px; font-size: 15px; font-weight: 700; }
.video .tt small { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-top: 2px; }

/* 처음이신가요: 번호 사진 카드 */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why .w { position: relative; height: 200px; border-radius: 30px; overflow: hidden; background: #6aa9d6 center/cover; display: flex; align-items: flex-end; padding: 24px 26px; }
.why .w::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,30,55,.05), rgba(10,30,55,.65)); }
.why .w > * { position: relative; }
.why .w .n { position: absolute; left: 24px; top: 22px; width: 34px; height: 24px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--blue); background: var(--cloud) no-repeat center/contain; }
.why .w h3 { color: #fff; font-size: 21px; font-weight: 800; line-height: 1.4; letter-spacing: -0.02em; }

/* 브랜드 소개 */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 40px 44px; border-radius: 36px; background: var(--grad-soft); border: 2px solid #fff; position: relative; overflow: hidden; }
.story h2 { font-size: 30px; font-weight: 800; line-height: 1.4; letter-spacing: -0.035em; }
.story p { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.story p + p { margin-top: 10px; }
.story .ph { font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.story img.d { position: absolute; right: 30px; bottom: -14px; width: 120px; opacity: .95; }

@media (max-width: 1000px) {
  .perks { grid-template-columns: 1fr 1fr; }
  .row-scroll { grid-auto-columns: calc((100% - 18px) / 2); }
  .story { grid-template-columns: 1fr; }
  .m-hero .dol { display: none; }
}
@media (max-width: 760px) {
  .m-hero { height: 420px; }
  .m-hero h1 { font-size: 30px; }
  .m-search { grid-template-columns: 1fr; border-radius: 26px; }
  .countries { grid-template-columns: 1fr; }
  .why, .videos { grid-template-columns: 1fr; }
  .row-scroll { grid-auto-columns: 72%; }
  .slide { padding: 0 24px; } .slide h3 { font-size: 19px; } .slide img { width: 76px; }
}

.story { padding-right: 180px; }
@media (max-width: 1000px) { .story { padding-right: 44px; padding-bottom: 110px; } }
