/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(860px, calc(100vh - var(--header-h))); display: flex; align-items: center; color: #fff; overflow: hidden; background: #2a2622; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.03); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18,16,14,.86) 0%, rgba(18,16,14,.62) 42%, rgba(18,16,14,.18) 75%, rgba(18,16,14,.1) 100%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero .eyebrow { color: #f0b48f; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.14; letter-spacing: -0.035em; margin-bottom: 22px; font-weight: 800; }
.hero h1 em { font-style: normal; color: #f3c3a3; }
.hero-lead { font-size: clamp(16px, 1.5vw, 19px); color: #e7e3dd; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; font-size: 14px; color: #ddd8d0; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #f0b48f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%2316181d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-quick { background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow-l); }
.hero-quick h2 { font-size: 21px; margin-bottom: 2px; }
.hero-quick > .small { color: var(--muted); margin-bottom: 14px; }
.qe-field { margin-bottom: 14px; }
.qe-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; }
.hero-quick .opt-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.hero-quick .opt { min-height: 40px; padding: 0 6px; font-size: 13.5px; }
.qe-result { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 4px 0 14px; display: grid; gap: 2px; }
.qe-result small { font-size: 12px; color: var(--muted); font-weight: 600; }
.qe-result b { font-size: 26px; letter-spacing: -0.03em; }
.qe-result .small { color: var(--muted); }
.qe-foot { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(18,16,14,.72) 0%, rgba(18,16,14,.55) 55%, rgba(18,16,14,.85) 100%); }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; padding-bottom: 36px; }
  .hero-quick .opt-group { grid-template-columns: repeat(2, 1fr); }
  .qe-result b { font-size: 21px; }
  .hero-quick { padding: 20px; }
}

/* ---------- Trust strip ---------- */
.trust-strip { padding-top: 0; padding-bottom: 0; }
.trust-strip .stat-row { border-top: 0; }

/* ---------- Services ---------- */
.svc-card .media { aspect-ratio: 4 / 3; }
.svc-card h3 { font-size: 18px; }
.svc-card p { font-size: 14.5px; min-height: 3.2em; }
.svc-card .link-arrow { color: var(--accent); display: inline-flex; margin-top: 12px; }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .svc-card .card-body { padding: 14px; }
  .svc-card p { display: none; }
  .svc-card h3 { font-size: 15.5px; margin: 0; }
  .svc-card .link-arrow { margin-top: 6px; font-size: 12.5px; }
}

/* ---------- Lineups ---------- */
.lineup { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.lineup.is-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.lineup-head { display: flex; justify-content: space-between; align-items: center; }
.lineup-en { font-size: 12px; letter-spacing: .2em; font-weight: 800; color: var(--muted); }
.lineup h3 { font-size: 26px; margin: 0; }
.lineup-who { color: var(--muted); font-size: 14.5px; margin: 0; min-height: 2.6em; }
.lineup-price { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.lineup-price small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.lineup-price b { font-size: 24px; letter-spacing: -0.03em; }
.lineup.is-featured .lineup-price b { color: var(--accent); }
.lineup-items { list-style: none; display: grid; gap: 8px; flex: 1; margin-bottom: 8px; }
.lineup-items li { padding-left: 24px; position: relative; font-size: 15px; }
.lineup-items li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- Why ---------- */
.why-grid { gap: 16px; }
.why-item { padding: 28px 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.why-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); font-size: 13px; font-weight: 800; color: var(--accent-2); letter-spacing: .04em; }
.why-item h3 { font-size: 20px; margin: 14px 0 8px; color: var(--ink); }
.why-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Tools ---------- */
.tool-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; color: var(--ink); background: #fff; transition: box-shadow .25s, transform .25s; }
.tool-card:hover { color: var(--ink); box-shadow: var(--shadow-l); transform: translateY(-3px); }
.tool-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stone); }
.tool-visual > img, .sim-half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim-half { position: absolute; inset: 0; clip-path: inset(0 0 0 52%); }

.sim-line { position: absolute; top: 0; bottom: 0; left: 52%; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.sim-line::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }
.tool-tag { position: absolute; left: 14px; top: 14px; background: rgba(22,24,29,.75); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; }
.tool-body { padding: 24px 26px 28px; }
.tool-body h3 { font-size: 22px; }
.tool-body p { color: var(--muted); }
.tool-body .link-arrow { color: var(--accent); }
.est-visual { display: grid; place-items: center; background: linear-gradient(135deg, #f4efe7, #e9e1d4); padding: 24px; }
.est-mock { width: min(440px, 100%); background: #fff; border-radius: 14px; padding: 18px 18px 14px; box-shadow: var(--shadow); font-size: 13px; }
.est-row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.est-row i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--w), var(--stone) var(--w)); }
.est-row b { font-weight: 700; white-space: nowrap; }
.est-total { display: flex; justify-content: space-between; padding-top: 10px; font-weight: 700; }
.est-total b { color: var(--accent); font-size: 16px; }

/* ---------- Process ---------- */
.steps--grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { background: #fff; border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 10px; align-content: start; border: 1px solid var(--line); }
.step-no { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 17.5px; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.step h3 small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .steps--grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps--grid { grid-template-columns: 1fr; } .step { grid-template-columns: 40px 1fr; } }

/* ---------- Social ---------- */
.social-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.social-copy h2 { font-size: var(--fs-h2); }
.social-copy > p { color: var(--ink-3); }
.social-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.social-points li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; }
.social-points b { font-size: 20px; letter-spacing: -0.02em; }
.social-points span { font-size: 13px; color: var(--muted); }
.social-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-photos img { border-radius: var(--radius); aspect-ratio: 5 / 3; object-fit: cover; width: 100%; }
.social-photos img:nth-child(2) { transform: translateY(24px); }
.social-photos img:nth-child(4) { transform: translateY(24px); }
@media (max-width: 960px) { .social-grid { grid-template-columns: 1fr; gap: 32px; } .social-photos img:nth-child(2), .social-photos img:nth-child(4) { transform: none; } }

/* ---------- Reviews ---------- */
.review { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.review-img { aspect-ratio: 1; overflow: hidden; background: var(--stone); }
.review-img img { width: 100%; height: 100%; object-fit: cover; }
.review blockquote { margin: 0; padding: 18px 20px 6px; flex: 1; }
.review .stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
.review blockquote p { margin: 8px 0 0; font-size: 15px; }
.review figcaption { padding: 0 20px 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .review blockquote p { font-size: 13.5px; } .review blockquote { padding: 12px 12px 4px; } .review figcaption { padding: 0 12px 12px; } }

/* ---------- Blog ---------- */
.blog-item { display: grid; gap: 12px; align-content: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); min-height: 170px; transition: border-color .2s, box-shadow .2s; }
.blog-item:hover { color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-s); }
.blog-item .chip { justify-self: start; }
.blog-item b { font-size: 17px; line-height: 1.45; letter-spacing: -0.02em; }
.blog-item .link-arrow { color: var(--accent); align-self: end; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: start; }
.faq-title { font-size: var(--fs-h2); }
.faq-wrap .accordion { background: #fff; border-radius: var(--radius); padding: 0 20px; border: 1px solid var(--line); }
.faq-wrap .acc-item:last-child { border-bottom: 0; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.visit-info h2 { font-size: var(--fs-h2); }
.visit-grid .cta-band { grid-template-columns: 1fr; align-content: center; }
.visit-grid .cta-band .actions { justify-content: flex-start; }
@media (max-width: 960px) { .visit-grid { grid-template-columns: 1fr; } }


/* ---------- [고도화] 밝은 히어로 ---------- */
.hero--light { background: var(--paper); color: var(--ink); }
.hero--light .hero-bg img { object-position: 70% 50%; animation: none; transform: none; }
.hero--light::before { background: linear-gradient(90deg, rgba(250,248,244,.97) 0%, rgba(250,248,244,.9) 34%, rgba(250,248,244,.45) 56%, rgba(250,248,244,0) 72%); }
.hero--light .eyebrow { color: var(--accent); }
.hero--light h1 { color: var(--ink); }
.hero--light h1 em { color: var(--accent); }
.hero--light .hero-lead { color: var(--ink-3); }
.hero--light .hero-trust { color: var(--ink-2); }
.hero--light .hero-trust li::before { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero--light .hero-quick { box-shadow: 0 20px 60px rgba(120,90,60,.18); border: 1px solid rgba(231,226,218,.8); }
@media (max-width: 960px) {
  .hero--light { display: block; }
  .hero--light .hero-bg { position: relative; height: 62vw; max-height: 420px; }
  .hero--light .hero-bg img { animation: none; transform: none; }
  .hero--light::before { display: none; }
  .hero--light .hero-inner { padding-top: 28px; }
}

/* ---------- 도구 카드의 전후 비교 ---------- */
.tool-visual .ba { position: absolute; inset: 0; border-radius: 0; }
.tool-visual .ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tool-visual .tool-tag { z-index: 3; top: auto; bottom: 14px; }
.ba-label--after { background: var(--accent) !important; }
.tool-card .link-arrow { color: var(--accent); }

/* ---------- 공정 단계 이미지 ---------- */
.steps--grid .step { padding: 0 0 20px; overflow: hidden; gap: 8px; }
.steps--grid .step > .step-no, .steps--grid .step > div { padding: 0 20px; }
.steps--grid .step-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--stone); margin-bottom: 8px; }
.steps--grid .step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.steps--grid .step:hover .step-img img { transform: scale(1.04); }
@media (max-width: 560px) { .steps--grid .step { grid-template-columns: 1fr; } }

/* ---------- 스타일 진단 배너 ---------- */
.quiz-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 28px; border-radius: var(--radius-l); background: linear-gradient(135deg, #f6ede3, #efe3d4); color: var(--ink); border: 1px solid #eadccb; transition: box-shadow .25s, transform .25s; }
.quiz-band:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.quiz-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quiz-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.quiz-imgs img:nth-child(2) { transform: translateY(-14px); }
.quiz-copy h2 { font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 10px; }
.quiz-copy p { color: var(--ink-3); }
@media (max-width: 860px) { .quiz-band { grid-template-columns: 1fr; padding: 20px; } }

/* Optional video never hides its fallback until playback is ready. */
.hero-film { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:60% 50%; opacity:0; transition:opacity .45s; }
.hero-bg.is-film-playing .hero-film { opacity:1; }
@media (prefers-reduced-motion: reduce) { .hero-film { transition:none; } }

/* ---------- Space journey: scroll-driven zoom through windows/doors into the next room ----------
   Default (no JS / reduced motion): stacked cards. JS adds .is-live for the sticky zoom stage. */
.journey { padding-bottom: clamp(40px, 6vw, 80px); }
.jy-track { --jy-h: calc(100vh - var(--header-h) - var(--tabbar-h)); --jy-h: calc(100svh - var(--header-h) - var(--tabbar-h)); }
.jy-stage { position: relative; }
.jy-rooms { display: grid; gap: 28px; width: min(var(--container, 1200px), 100% - 2 * var(--gutter, 20px)); margin: 0 auto; }
.jy-room { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.jy-fig { margin: 0; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16 / 9; background: #efe8dd; box-shadow: var(--shadow); }
.jy-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jy-cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 26px; box-shadow: var(--shadow-s); }
.jy-kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--accent); margin: 0 0 6px; }
.jy-cap h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 10px; letter-spacing: -0.02em; }
.jy-points { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; color: var(--ink-3, #3d4148); font-size: 15px; }
.jy-points li { position: relative; padding-left: 16px; }
.jy-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .75; }
.jy-cap .link-arrow { color: var(--accent); font-size: 15px; }
.jy-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.jy-cta .btn { min-height: 44px; }
.jy-ai, .jy-bar, .jy-steps, .jy-hint { display: none; }
@media (max-width: 760px) { .jy-room { grid-template-columns: 1fr; gap: 12px; } .jy-cap { padding: 18px; } }

/* live sticky stage */
.journey.is-live .jy-track { position: relative; height: calc(var(--jy-h) * (var(--jy-n, 5) + .6)); }
.journey.is-live .jy-stage { position: sticky; top: var(--header-h); height: var(--jy-h); overflow: hidden; background: #f3ede4; contain: layout paint; }
.journey.is-live .jy-rooms { position: absolute; inset: 0; width: auto; margin: 0; display: block; }
.journey.is-live .jy-room { position: absolute; inset: 0; display: block; visibility: hidden; }
.journey.is-live .jy-room.is-vis { visibility: visible; }
.journey.is-live .jy-fig { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; box-shadow: none; will-change: transform, opacity; transform: translateZ(0); pointer-events: none; }
.journey.is-live .jy-room::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(40,30,20,.20) 0%, rgba(40,30,20,0) 34%), linear-gradient(180deg, rgba(255,250,243,.35) 0%, rgba(255,250,243,0) 18%); }
.journey.is-live .jy-cap { position: absolute; z-index: 4; left: max(var(--gutter, 20px), calc((100% - var(--container, 1200px)) / 2)); bottom: clamp(18px, 4vh, 48px); width: min(430px, calc(100% - 2 * var(--gutter, 20px))); background: rgba(255,255,255,.95); border: 0; box-shadow: var(--shadow-l); opacity: 0; visibility: hidden; will-change: transform, opacity; }
.journey.is-live .jy-cap.is-on { visibility: visible; }
.journey.is-live .jy-ai { display: inline-block; position: absolute; z-index: 6; left: max(var(--gutter, 20px), calc((100% - var(--container, 1200px)) / 2)); top: 18px; background: rgba(22,24,29,.62); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em; }
.journey.is-live .jy-bar { display: block; position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 3px; background: rgba(255,255,255,.5); }
.journey.is-live .jy-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.journey.is-live .jy-steps { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; position: absolute; z-index: 6; right: max(var(--gutter, 20px), calc((100% - var(--container, 1200px)) / 2)); top: 50%; transform: translateY(-50%); }
.jy-step { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 14px 6px 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.82); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(22,24,29,.10); transition: background .25s, color .25s, transform .25s; }
.jy-step b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper, #f6f2ec); font-size: 11.5px; letter-spacing: .04em; }
.jy-step:hover { transform: translateX(-3px); }
.jy-step:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.jy-step[aria-current="step"] { background: var(--ink); color: #fff; }
.jy-step[aria-current="step"] b { background: var(--accent); color: #fff; }
.journey.is-live .jy-hint { display: block; position: absolute; z-index: 5; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); letter-spacing: .08em; transition: opacity .4s; }
.journey.is-live .jy-hint.is-off { opacity: 0; }
@media (max-width: 760px) {
  .journey.is-live .jy-steps { flex-direction: row; top: 12px; right: 12px; transform: none; gap: 5px; }
  .journey.is-live .jy-ai { top: 16px; left: 12px; }
  .journey.is-live .jy-step { padding: 4px; min-height: 36px; }
  .journey.is-live .jy-step span { display: none; }
  .journey.is-live .jy-cap { padding: 16px 18px; bottom: 14px; left: 12px; width: calc(100% - 12px - 70px); }
  .journey.is-live .jy-cap h3 { font-size: 21px; margin-bottom: 6px; }
  .journey.is-live .jy-points { font-size: 13.5px; margin-bottom: 10px; }
  .journey.is-live .jy-cta .btn { flex: 1 1 0; padding: 0 10px; font-size: 14px; }
  .journey.is-live .jy-hint { display: none; }
}
/* progressive enhancement: section head eases in with native scroll-driven animation */
@supports (animation-timeline: view()) {
  .jy-head { animation: jyHeadIn linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  @keyframes jyHeadIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .jy-head { animation: none; } .jy-step { transition: none; } }

/* ---------- 설계부터 견적까지 흐름 ---------- */
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; position: relative; }
.flow-step a { position: relative; display: grid; gap: 8px; align-content: start; height: 100%; padding: 22px 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.flow-step a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); color: var(--ink); }
.flow-step:not(:last-child) a::after { content: ""; position: absolute; top: 34px; right: -12px; width: 12px; height: 2px; background: var(--accent); opacity: .5; }
.flow-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); font-weight: 800; font-size: 13px; }
.flow-step:last-child .flow-no { background: var(--accent); color: #fff; }
.flow-step b { font-size: 17px; letter-spacing: -0.02em; }
.flow-step small { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 1024px) { .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow-step:not(:last-child) a::after { display: none; } .flow-step:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .flow-steps { grid-template-columns: 1fr; } .flow-step a { grid-template-columns: 34px 1fr; column-gap: 12px; } .flow-step small { grid-column: 2; } .flow-step:last-child { grid-column: auto; } }
