/* Pretendard: one subset file (scripts/build-font-subset.py); each face pins the weight so 650 still renders as 700 */
@font-face { font-family: Pretendard; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/pretendard-subset.woff2?v=9b65fb2e36") format("woff2"); }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/pretendard-subset.woff2?v=9b65fb2e36") format("woff2"); }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/pretendard-subset.woff2?v=9b65fb2e36") format("woff2"); }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/pretendard-subset.woff2?v=9b65fb2e36") format("woff2"); }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/pretendard-subset.woff2?v=9b65fb2e36") format("woff2"); }

/* v3만. 문구와 뼈대는 그대로 두고, 색·그림자·화면 깊이만 다시 잡는다. */
:root {
  --primary: #3182f6;
  --primary-deep: #1b64da;
  --primary-soft: #e8f3ff;
  --accent: #3182f6;
  --ink: #191f28;
  --muted: #6b7684;
  --line: #e5e8eb;
  --canvas: #f4f7fb;
  --shadow-soft: 0 10px 28px rgba(23, 36, 64, 0.06), 0 1px 3px rgba(23, 36, 64, 0.04);
  --shadow-card: 0 28px 56px -24px rgba(23, 36, 64, 0.28), 0 8px 18px -12px rgba(23, 36, 64, 0.12);
  --shadow-selected: 0 22px 44px -18px rgba(49, 130, 246, 0.55);
}

body { background: #fff; color: #191f28; }

.hero {
  background:
    radial-gradient(ellipse at 88% 0%, #e7f1ff, transparent 58%),
    radial-gradient(ellipse at 6% 92%, #f3f6fb, transparent 52%),
    #fff;
}
.hero h1 .title-line { overflow: visible; }
.hero .gradient-text,
.gradient-text,
.channels-section .gradient-text {
  background: none;
  color: inherit;
  -webkit-text-fill-color: inherit;
}
.hero-kicker { color: #1b64da; }
.hero-copy { color: #4e5968; }
.hero-media-stage {
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), #e8f1fc);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 30px 70px -36px rgba(20, 40, 80, 0.38);
}

.product-shot > picture {
  box-shadow: 0 28px 54px -22px rgba(20, 32, 60, 0.38), 0 10px 22px -14px rgba(20, 32, 60, 0.16);
}
.button-primary::before,
.start-option::before { display: none; }
.button-primary {
  box-shadow: 0 12px 24px -12px rgba(49, 130, 246, 0.75);
}
.button-primary:hover {
  box-shadow: 0 16px 28px -10px rgba(27, 100, 218, 0.7);
}

.rates-section { background: #f4f7fb; }
.rates-section .rates-demo {
  border-radius: 32px;
  background: linear-gradient(145deg, #e3edf8, #f7f9fc 58%, #fff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.rate-detail-wrap {
  box-shadow: 0 24px 50px -22px rgba(25, 40, 70, 0.32), 0 2px 8px rgba(25, 40, 70, 0.04);
}
.day-selection { box-shadow: 0 8px 16px rgba(49, 130, 246, 0.28); }

.channels-section {
  background: #eef3f8;
  color: #191f28;
}
.channels-kicker { color: #1b64da; }
.channels-section h2,
.channels-section h3 { color: #191f28; }
.channels-section .channel-workflow-copy p,
.channel-workflow-copy p { color: #4e5968; }
.channel-workflow {
  padding: 28px 28px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(20, 32, 60, 0.28), 0 1px 0 rgba(255, 255, 255, 0.8);
}

.start-section { background: #f7f9fc; }
.start-option {
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.start-option:hover {
  border-color: #8ac0ff;
  background: #fff;
  box-shadow: 0 18px 36px -18px rgba(25, 40, 70, 0.28);
}
.start-option.is-selected,
.start-option.is-selected:hover {
  background: #3182f6;
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-selected);
}
.start-option.is-selected > p,
.is-selected .option-number,
.is-selected .option-footer { color: rgba(255, 255, 255, 0.82); }
.option-number { color: #c5ced9; }

.faq-section { background: #f4f7fb; }
.faq-list details {
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(23, 36, 64, 0.06);
}

.contact-section {
  padding-top: 140px;
  background: #fff;
}
.contact-panel {
  background:
    radial-gradient(ellipse at 0 0, #dceaff, transparent 62%),
    radial-gradient(ellipse at 100% 100%, #eef2f6, transparent 58%),
    #f4f8fc;
  box-shadow: 0 24px 56px -32px rgba(25, 40, 70, 0.35);
}
.contact-panel h2 { color: #191f28; }
.contact-panel > div > p { color: #4e5968; }

.consult-dialog {
  box-shadow: none;
}
.consult-dialog .dialog-inner {
  box-shadow: 0 28px 80px rgba(23, 36, 64, 0.22);
}

.factor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.factor-list li,
.channel-line {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: #333d4b;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(23, 36, 64, 0.06);
}
.factor-note {
  margin-top: 16px;
  max-width: 640px;
  color: #4e5968;
  font-size: 14px;
  line-height: 1.7;
}
.channel-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 22px;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
}
.channels-heading .channel-line { grid-column: 1 / -1; justify-self: start; }
.channel-line b { color: #1b64da; font-weight: 700; }
.channel-gap { flex-basis: 12px; }
.channel-count { align-items: baseline; color: #4e5968; }
.channel-count strong { color: #1b64da; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.channel-count strong + span { color: #191f28; font-weight: 700; font-size: 16px; }

.story-section { background: #fff; }
.story-section.alt { background: #f4f7fb; }
.story-grid,
.story-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.story-card {
  padding: 28px;
  border-radius: 20px;
  background: #f4f7fb;
}
.story-section.alt .story-card { background: #fff; box-shadow: var(--shadow-soft); }
.story-card > span {
  color: #1b64da;
  font-size: 13px;
  font-weight: 700;
}
.story-card h3 {
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.35;
}
.story-card p,
.story-card li {
  margin-top: 10px;
  color: #4e5968;
  font-size: 15px;
  line-height: 1.75;
}
.story-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.story-card li { margin-top: 0; padding: 10px 0; border-top: 1px solid #e5e8eb; }
.story-card li:first-child { border-top: 0; padding-top: 0; }

.subpage { padding: 56px 0 96px; background: #fff; }
.subpage h1 { font-size: 40px; line-height: 1.28; letter-spacing: -0.04em; }
.subpage .lead { margin-top: 16px; max-width: 640px; color: #4e5968; font-size: 17px; line-height: 1.75; }
.subpage .back { display: inline-block; margin-bottom: 18px; color: #1b64da; font-size: 14px; font-weight: 650; }
.draft-note {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #e8f3ff;
  color: #1b64da;
  font-size: 14px;
  line-height: 1.6;
}
.plan-grid, .place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.plan-card, .place-card {
  padding: 28px;
  border-radius: 20px;
  background: #f4f7fb;
}
.plan-card.is-main { background: #3182f6; color: #fff; }
.plan-card.is-main p, .plan-card.is-main li, .plan-card.is-main .plan-price { color: rgba(255,255,255,.88); }
.plan-card .eyebrow, .place-card .where { color: #1b64da; font-size: 13px; font-weight: 700; }
.plan-card.is-main .eyebrow { color: #fff; }
.plan-card h2, .place-card h2 { margin-top: 8px; font-size: 24px; line-height: 1.35; }
.plan-price { margin-top: 12px; font-size: 28px; font-weight: 750; letter-spacing: -0.04em; }
.plan-price small { font-size: 14px; font-weight: 600; }
.plan-card ul, .bullet-list { margin: 16px 0 0; padding: 0; list-style: none; }
.plan-card li, .bullet-list li {
  padding: 8px 0;
  border-top: 1px solid #e5e8eb;
  color: #4e5968;
  font-size: 15px;
  line-height: 1.6;
}
.plan-card.is-main li { border-top-color: rgba(255,255,255,.25); }
.place-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 20px 28px; }
.place-card h2 { margin-top: 0; font-size: 20px; }
.place-card .where { display: block; margin-top: 6px; }
.place-thumb { flex-shrink: 0; width: 112px; height: 80px; border-radius: 12px; object-fit: cover; background: #e5e8eb; }
.more-link { display: inline-block; margin-top: 14px; color: #1b64da; font-size: 14px; font-weight: 700; }

@media (max-width: 700px) {
  .contact-section { padding-top: 96px; }
  .hero-media-stage { padding: 12px; border-radius: 20px; }
  .channel-workflow { padding: 20px 18px 16px; border-radius: 18px; }
  .rates-section .rates-demo { border-radius: 20px; }
  .story-grid,
  .story-split { grid-template-columns: 1fr; }
  .story-card { padding: 22px 18px; }
  .story-card h3 { font-size: 19px; }
  .subpage h1 { font-size: 30px; }
  .plan-grid, .place-grid { grid-template-columns: 1fr; }
  .plan-price { font-size: 24px; }
  .place-card { padding: 16px 16px 16px 20px; }
  .place-card h2 { font-size: 18px; }
  .place-thumb { width: 88px; height: 64px; }
}

.site-header .nav-wrap { height: 72px; }
.main-nav {
  gap: 2px;
  align-items: center;
}
.main-nav > a,
.main-nav > .nav-item > .nav-sub-toggle {
  margin: 0;
  padding: 9px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #333d4b;
  font: inherit;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.main-nav > a:hover,
.main-nav > .nav-item > .nav-sub-toggle:hover,
.main-nav > .nav-item.is-current > .nav-sub-toggle,
.main-nav > .nav-item.is-open > .nav-sub-toggle {
  background: #f2f6fd;
  color: #1b64da;
}
.main-nav > a[aria-current] {
  color: #1b64da;
  background: #eaf2fe;
}
.main-nav > a[aria-current]::after { display: none; }
.nav-actions .login-link { font-size: 15px; font-weight: 600; }
@media (max-width: 1240px) and (min-width: 901px) {
  .main-nav { gap: 0; }
  .main-nav > a,
  .main-nav > .nav-item > .nav-sub-toggle {
    padding: 8px 9px;
    font-size: 14.5px;
  }
}
@media (max-width: 900px) {
  .main-nav > a,
  .main-nav > .nav-item > .nav-sub-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    border-radius: 0;
    font-size: 16px;
  }
  .main-nav > a:hover,
  .main-nav > a[aria-current],
  .main-nav > .nav-item > .nav-sub-toggle:hover,
  .main-nav > .nav-item.is-current > .nav-sub-toggle,
  .main-nav > .nav-item.is-open > .nav-sub-toggle {
    background: none;
  }
}


.factor-lead {
  margin-top: 22px;
  color: #191f28;
  font-size: 16px;
  font-weight: 700;
}
.factor-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.factor-group {
  padding: 18px 18px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.factor-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #191f28;
  font-size: 15px;
  font-weight: 750;
}
.factor-group__title b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e8f3ff;
  color: #1b64da;
  font-size: 11px;
}
.factor-group ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.factor-group li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  background: #f2f6fc;
  color: #333d4b;
  font-size: 13px;
  font-weight: 600;
}
.factor-group li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3182f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
  flex-shrink: 0;
}
.factor-group em { color: #8b95a1; font-size: 11px; font-style: normal; font-weight: 600; }

.rates-visual { position: relative; }
.rate-bubbles { position: absolute; inset: 0; pointer-events: none; }
.rate-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(11, 29, 63, 0.92);
  color: #fff;
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 16px 34px -10px rgba(11, 29, 63, 0.55), 0 0 0 1px rgba(138, 192, 255, 0.35);
  animation: bubble-float 5s ease-in-out var(--d, 0s) infinite;
}
.rate-bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: inherit;
  transform: rotate(45deg);
  border-radius: 2px;
}
.rate-bubble::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 3px rgba(79, 209, 139, 0.25); }
.rate-bubble b { color: #8ac0ff; }
.rate-bubble b.down { color: #ff8a75; }
@keyframes bubble-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.send-lead { margin-top: 12px; color: #191f28; font-size: 14px; font-weight: 700; }
.story-card ul.send-cases { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.story-card ul.send-cases li {
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1b64da;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  box-shadow: 0 0 0 1px #d6e6ff;
}
.story-card .send-note { margin-top: 14px; font-size: 14px; }

.contact-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #0b1d3f 0%, #123a8a 48%, #2f6df2 100%);
  border: 0;
  box-shadow: 0 34px 70px -34px rgba(18, 58, 138, 0.75);
}
.contact-panel h2,
.contact-panel .gradient-text { color: #fff; -webkit-text-fill-color: #fff; }
.contact-panel > div > p { color: rgba(255, 255, 255, 0.78); }
.contact-panel .button-primary { background: #fff; color: #1b64da; }
.contact-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact-fx::before {
  content: "";
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: perspective(600px) rotateX(58deg);
  animation: grid-drift 14s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
.contact-fx i {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.contact-fx i:nth-child(1) { width: 420px; height: 420px; right: -120px; top: -160px; animation: spin 26s linear infinite; border-style: dashed; }
.contact-fx i:nth-child(2) { width: 260px; height: 260px; right: -40px; top: -80px; border-color: rgba(138, 192, 255, 0.45); animation: pulse-ring 4.5s ease-in-out infinite; }
.contact-fx i:nth-child(3) { width: 90px; height: 90px; left: 8%; bottom: -30px; border-radius: 18px; border-color: rgba(255, 255, 255, 0.3); animation: spin 18s linear infinite reverse; }
.contact-fx i:nth-child(4) { width: 14px; height: 14px; left: 46%; top: 22%; background: #8ac0ff; border: 0; box-shadow: 0 0 18px #8ac0ff; animation: twinkle 3s ease-in-out infinite; }
.contact-fx i:nth-child(5) { width: 8px; height: 8px; left: 30%; top: 70%; background: #fff; border: 0; box-shadow: 0 0 14px #fff; animation: twinkle 3.6s ease-in-out 1.2s infinite; }
.contact-fx i:nth-child(6) { width: 520px; height: 520px; left: -260px; bottom: -330px; background: radial-gradient(circle, rgba(79, 140, 255, 0.55), transparent 65%); border: 0; animation: pulse-ring 7s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-ring { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes grid-drift { to { background-position: 0 44px, 44px 0; } }

@media (prefers-reduced-motion: reduce) {
  .rate-bubble, .contact-fx::before, .contact-fx i { animation: none; }
}
@media (max-width: 900px) {
  .factor-groups { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .rate-bubble { font-size: 11px; padding: 6px 9px; }
  .rate-bubble:nth-child(n+5) { display: none; }
}
.hero h1.hero-title--long { font-size: 64px; line-height: 1.22; }
.hero-accent { color: #1b64da; }
@media (max-width: 1100px) { .hero h1.hero-title--long { font-size: 50px; } }
@media (max-width: 700px) { .hero h1.hero-title--long { font-size: 30px; } }
.contact-panel > div > p:last-child { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 700px) {
  .hero h1.hero-title--long { font-size: 24px; }
  .hero-title--long .title-line-inner { white-space: normal; }
}

/* 데모 계정으로 둘러보기 */
.hero-ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.button-demo{color:#1b64da;background:#fff;border:1px solid #cfdcf5;box-shadow:0 5px 14px #1b64da12}
.button-demo:hover{background:#f3f8ff;border-color:#9fbdf0}
.demo-note{margin-top:-14px;font-size:13px;color:#6b7280;letter-spacing:-.01em}
.contact-panel .button-demo{background:transparent;color:#fff;border-color:rgba(255,255,255,.55);box-shadow:none}
.contact-panel .button-demo:hover{background:rgba(255,255,255,.12);border-color:#fff}
@media(max-width:700px){
  .hero-ctas{flex-direction:column;width:100%}
  .hero-ctas .hero-button{width:100%}
  .demo-note{margin-top:-10px;font-size:12px}
}

/* 지원 숙소 유형 */
.hero-types{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:-8px 0 0;padding:0;list-style:none}
.hero-types li{padding:6px 14px;border:1px solid #d6e2f7;border-radius:999px;background:#ffffffcc;color:#1b64da;font-size:14px;font-weight:650;letter-spacing:-.01em}
@media(max-width:700px){.hero-types{gap:6px;margin-top:-6px}.hero-types li{padding:5px 11px;font-size:12px}}

/* contact: channel network */
.fx-net { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-link { stroke: rgba(138, 192, 255, 0.55); stroke-width: 1.4; fill: none; stroke-dasharray: 6 10; animation: fx-flow 2.4s linear calc(var(--i) * -0.4s) infinite; }
.fx-link--ring { stroke: rgba(255, 255, 255, 0.16); stroke-dasharray: none; animation: none; }
.fx-node { fill: #fff; filter: drop-shadow(0 0 6px #8ac0ff); transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out calc(var(--i) * 0.5s) infinite; }
.fx-hub { fill: #8ac0ff; filter: drop-shadow(0 0 14px #8ac0ff); }
.fx-hub-ring { fill: none; stroke: #8ac0ff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: fx-ping 2.6s ease-out infinite; }
.fx-hex polygon, .fx-tri polygon { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.2; }
.fx-hex polygon + polygon { stroke: rgba(138, 192, 255, 0.4); stroke-dasharray: 4 6; }
.fx-hex, .fx-tri { transform-box: fill-box; transform-origin: center; animation: spin 30s linear infinite; }
.fx-tri { animation-duration: 40s; animation-direction: reverse; opacity: 0.7; }
.fx-sweep { position: absolute; inset: -20% auto -20% -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent); transform: skewX(-18deg); animation: fx-sweep 7s ease-in-out infinite; }
@keyframes fx-flow { to { stroke-dashoffset: -32; } }
@keyframes fx-ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes fx-sweep { 0%, 55% { left: -40%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .fx-link, .fx-node, .fx-hub-ring, .fx-hex, .fx-tri, .fx-sweep { animation: none; }
}
@media (max-width: 700px) {
  .fx-net { opacity: 0.6; }
  .fx-hex, .fx-tri { display: none; }
}

/* v3 rate image: generated RM calendar fills the frame (no legacy zoom) */
.rates-visual .rate-image { aspect-ratio: 48 / 25; background: #f4f7fb; }
.rates-visual .rate-image img { inset: 0; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (max-width: 700px) {
  .rates-visual .rate-image { aspect-ratio: 945 / 1024; }
}

/* rate bubbles: no tail, a light spinning around the border while prices are being applied */
@property --rm-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.rates-visual .rate-bubble { box-shadow: 0 16px 34px -10px rgba(11, 29, 63, 0.55); }
.rates-visual .rate-bubble::after {
  left: 0;
  bottom: auto;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 1.5px;
  border-radius: inherit;
  transform: none;
  box-sizing: border-box;
  pointer-events: none;
  background:
    conic-gradient(from var(--rm-angle), transparent 0 40%, rgba(138, 192, 255, 0.4) 60%, #8ac0ff 80%, #fff 88%, #8ac0ff 94%, transparent 100%),
    linear-gradient(rgba(138, 192, 255, 0.28), rgba(138, 192, 255, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rm-orbit 2.4s linear calc(var(--d, 0s) * -1) infinite;
}
.rates-demo:has(#manual-date:not(:checked)) .rate-bubble::after { animation-play-state: paused; background: linear-gradient(rgba(138, 192, 255, 0.28), rgba(138, 192, 255, 0.28)); }
@keyframes rm-orbit { to { --rm-angle: 360deg; } }

/* rate detail: 실시간 자동반영 switch */
.manual-control.auto-apply { justify-content: space-between; font-weight: 650; }
.auto-apply input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.auto-apply .switch-track { position: relative; flex-shrink: 0; width: 46px; height: 27px; border-radius: 999px; background: #d1d6db; transition: background 0.2s; }
.auto-apply .switch-track::after { content: ""; position: absolute; left: 3px; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); transition: transform 0.2s; }
.auto-apply input:checked + .switch-track { background: #3182f6; }
.auto-apply input:checked + .switch-track::after { transform: translateX(19px); }
.auto-apply input:focus-visible + .switch-track { outline: 2px solid #3182f6; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .rates-visual .rate-bubble::after { animation: none; }
}

/* v3 hero: flowing property photo columns + floating infographics */
.hero-collage { position: relative; aspect-ratio: 48 / 25; overflow: hidden; border-radius: 22px; }
.stay-flow { position: absolute; inset: -4% 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent); }
.stay-col { position: relative; overflow: hidden; }
.stay-track { display: flex; flex-direction: column; gap: 12px; animation: stay-up 46s linear infinite; }
.stay-col--2 .stay-track, .stay-col--4 .stay-track { animation-name: stay-down; animation-duration: 52s; }
.stay-col--3 .stay-track { animation-duration: 58s; }
.stay-col--5 .stay-track { animation-duration: 50s; }
.stay-col--2 { margin-top: -48px; }
.stay-col--4 { margin-top: -96px; }
.stay-tile { position: relative; flex: none; margin: 0; overflow: hidden; border-radius: 16px; background: #dfe8f4; box-shadow: 0 14px 30px -20px rgba(20, 40, 80, .55); }
.stay-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes stay-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 6px)); } }
@keyframes stay-down { from { transform: translateY(calc(-50% - 6px)); } to { transform: translateY(0); } }

.hx { position: absolute; z-index: 3; margin: 0; color: #191f28; animation: hx-float 7s ease-in-out infinite; }
.hx-demand, .hx-price, .hx-occ, .hx-ai {
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 22px 44px -18px rgba(15, 30, 60, .5), 0 0 0 1px rgba(255, 255, 255, .6);
}
.hx-demand { left: 3%; top: 8%; width: min(250px, 21%); min-width: 210px; padding: 16px 18px 14px; border-radius: 18px; }
.hx-head { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #4e5968; }
.hx-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: hx-ping 2s infinite; }
.hx-big { margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: #1b64da; display: flex; align-items: baseline; gap: 8px; }
.hx-big small { font-size: 13px; font-weight: 600; color: #8b95a1; }
.hx-chart { display: block; width: 100%; height: 58px; margin-top: 6px; overflow: visible; }
.hx-line { stroke-dasharray: 260; stroke-dashoffset: 260; animation: hx-draw 5s ease-out infinite; }
.hx-meta { display: flex; gap: 6px; margin-top: 8px; }
.hx-meta span { font-size: 11px; font-weight: 600; color: #4e5968; padding: 3px 8px; border-radius: 999px; background: #eef4fd; }

.hx-link { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hx-link-path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 6; stroke-linecap: round; }
.hx-link-flow { fill: none; stroke: #3182f6; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 10; animation: hx-dash 1.2s linear infinite; }
.hx-link-dot { fill: #3182f6; stroke: #fff; stroke-width: 3; }

.hx-price { left: 34%; bottom: 9%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; animation-delay: -4s; }
.hx-price .hx-check { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin: 0; border-radius: 50%; background: #e7f6ec; color: #228738; font-size: 0; line-height: 0; }
.hx-price .hx-check svg { display: block; }
.hx-price em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: #1b64da; letter-spacing: .02em; }
.hx-price b { display: block; font-size: 14px; }
.hx-price > div > span { display: block; margin-top: 2px; font-size: 13px; color: #4e5968; }
.hx-price s { color: #8b95a1; }
.hx-price strong { color: #1b64da; }

.hx-ai { right: 3%; top: 10%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; animation-delay: -2s; }
.hx-ai-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #3182f6, #1b64da); line-height: 0; overflow: hidden; }
.hx-ai-icon svg { display: block; width: 20px; height: 20px; }
.hx-ai b { display: block; font-size: 14px; }
.hx-ai div span { display: block; font-size: 12px; color: #6b7684; font-weight: 600; }

.hx-occ { right: 3%; bottom: 9%; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; animation-delay: -5s; }
.hx-occ svg { width: 40px; height: 40px; }
.hx-ring { animation: hx-ring 6s ease-out infinite; }
.hx-occ b { display: block; font-size: 17px; font-weight: 800; }
.hx-occ span { display: block; font-size: 11px; color: #6b7684; font-weight: 600; }

@keyframes hx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes hx-ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 80%, 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
@keyframes hx-draw { 0% { stroke-dashoffset: 260; } 45%, 100% { stroke-dashoffset: 0; } }
@keyframes hx-ring { 0% { stroke-dasharray: 0 94.2; } 40%, 100% { stroke-dasharray: 86.7 94.2; } }
@keyframes hx-dash { to { stroke-dashoffset: -20; } }

@media (max-width: 700px) {
  .hero-collage { aspect-ratio: auto; height: 540px; border-radius: 16px; }
  .stay-flow { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stay-track { gap: 8px; }
  .stay-col--4, .stay-col--5 { display: none; }
  .stay-tile { border-radius: 12px; }
  .hx-demand { left: 10px; top: 14px; width: 176px; min-width: 0; padding: 11px 13px 10px; border-radius: 14px; }
  .hx-head { font-size: 11px; }
  .hx-big { font-size: 22px; }
  .hx-big small { font-size: 11px; }
  .hx-chart { height: 36px; }
  .hx-meta { display: none; }
  .hx-ai { right: 10px; top: auto; bottom: 96px; padding: 7px 12px 7px 7px; }
  .hx-ai-icon { width: 28px; height: 28px; }
  .hx-ai-icon svg { width: 16px; height: 16px; }
  .hx-ai b { font-size: 12.5px; }
  .hx-ai div span { font-size: 11px; }
  .hx-price { left: 10px; right: 10px; bottom: 14px; padding: 10px 12px; gap: 10px; }
  .hx-price .hx-check { width: 28px; height: 28px; }
  .hx-price .hx-check svg { width: 13px; height: 13px; }
  .hx-price b { font-size: 12.5px; }
  .hx-price span { font-size: 11.5px; }
  .hx-occ { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .stay-track, .hx, .hx-dot, .hx-line, .hx-ring, .hx-link-flow { animation: none; }
  .hx-line { stroke-dashoffset: 0; }
}

/* v3 channel workflow: 3s rotating slides */
.wf-slides { position: relative; overflow: hidden; }
.wf-slides .wf-slide { position: absolute; inset: 0; display: block; opacity: 0; transform: translateX(6%) scale(.98); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); box-shadow: none; }
.wf-slides .wf-slide.is-active { opacity: 1; transform: none; z-index: 1; }
.wf-slides .wf-slide.is-leaving { opacity: 0; transform: translateX(-6%) scale(.98); }
.wf-slides .wf-slide img { position: absolute; inset: 0; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.wf-dots { position: absolute; z-index: 3; right: 12px; top: 12px; display: flex; gap: 6px; padding: 6px 8px; border-radius: 999px; background: rgba(11, 29, 63, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wf-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s; }
.wf-dots button[aria-current="true"] { width: 20px; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .wf-slides .wf-slide { transition: none; transform: none; }
}

/* Customer review: owner photo with quote overlay */
.review-section { background: #fff; }
.review-card { position: relative; margin: 0; overflow: hidden; border-radius: 28px; background: #0f1a2e; box-shadow: var(--shadow-card); aspect-ratio: 16 / 9; }
.review-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.review-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 20, 40, .82) 0%, rgba(10, 20, 40, .6) 34%, rgba(10, 20, 40, 0) 60%); pointer-events: none; }
.review-body { position: absolute; z-index: 1; left: clamp(28px, 5vw, 72px); top: 50%; transform: translateY(-50%); width: min(46%, 520px); color: #fff; }
.review-stat { display: flex; align-items: baseline; gap: 12px; margin: 0 0 22px; }
.review-stat b { font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: #64a8ff; }
.review-stat span { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.review-quote { margin: 0; }
.review-quote p { margin: 0; font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; line-height: 1.6; letter-spacing: -.02em; word-break: keep-all; }
.review-quote p + p { margin-top: 14px; }
.review-quote strong { color: #9ccaff; font-weight: 700; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; }
.review-author strong { font-weight: 700; }
.review-author span { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .4); color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) {
  .review-card { aspect-ratio: auto; display: flex; flex-direction: column; border-radius: 22px; }
  .review-photo { position: static; aspect-ratio: 4 / 3; object-position: 78% center; }
  .review-card::after { display: none; }
  .review-body { position: static; transform: none; width: auto; padding: 28px 24px 32px; }
  .review-stat { margin-bottom: 16px; }
  .review-stat b { font-size: 34px; }
  .review-quote p { font-size: 18px; }
  .review-author { margin-top: 22px; font-size: 14px; }
}

/* Wordmark logo (brand/staybox-logo-*.png, 300x48) */
.brand img.brand-logo { width: auto; height: 24px; border-radius: 0; object-fit: contain; }
.footer-top .brand img.brand-logo { height: 22px; }
@media (max-width: 700px) {
  .brand img.brand-logo { height: 20px; }
  .footer-top .brand img.brand-logo { height: 18px; }
}

/* Benefit highlight — soft wash, not neon yellow */
.sx-hl,
.sx-lead .sx-hl,
.sx-checks .sx-hl,
.sx-tier-note .sx-hl,
.sx-step .sx-hl,
.faq-answer .sx-hl {
  display: inline;
  padding: .06em .22em;
  border-radius: 4px;
  background: rgba(66, 107, 255, 0.12);
  color: inherit;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Header 2-depth: 숙소유형 / 무인서비스 / 요금·혜택 */
.main-nav .nav-item.has-sub {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.main-nav .nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.main-nav .nav-sub-caret {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  opacity: .7;
  transition: transform .18s ease;
}
.main-nav .nav-item.is-open > .nav-sub-toggle .nav-sub-caret,
.main-nav .nav-item.has-sub:hover > .nav-sub-toggle .nav-sub-caret {
  transform: rotate(180deg);
}
.main-nav .nav-sub {
  display: none;
  min-width: 168px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px -22px rgba(23, 36, 64, 0.45), 0 4px 12px rgba(23, 36, 64, 0.06);
}
.main-nav .nav-sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}
.main-nav .nav-sub a:hover,
.main-nav .nav-sub a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary-deep);
}
.main-nav .nav-sub a[aria-current="page"]::after { display: none; }
@media (min-width: 901px) {
  .main-nav .nav-item.has-sub {
    flex-direction: row;
    align-items: center;
  }
  .main-nav .nav-sub {
    position: absolute;
    top: calc(100% - 2px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
  }
  .main-nav .nav-item.has-sub:hover > .nav-sub,
  .main-nav .nav-item.has-sub:focus-within > .nav-sub,
  .main-nav .nav-item.is-open > .nav-sub {
    display: block;
  }
}
@media (max-width: 900px) {
  .main-nav .nav-item.is-open > .nav-sub {
    display: grid;
    gap: 2px;
    margin: 0 0 8px;
    padding: 6px;
    border-radius: 12px;
    box-shadow: none;
    background: #f4f7fb;
  }
  .main-nav .nav-sub a {
    font-size: 15px;
    padding-block: 12px;
  }
}
