:root {
    --ink: #1a1a1a;
    --muted: #6b6b6b;
    --line: #f0d6d6;
    --field: #e6e6e6;
    --blue: #e10600;
    --blue-d: #b00000;
    --navy: #fff;
    --soft: #fff6f6;
    --agree: #ffe8e6;
    --star: #f5a623;
    --star-off: #e6e6e6;
    --err: #d92d20;
    --max: 1200px;
    --header: 1720px;
}

@font-face {
    font-family: "Paperlogy";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: "Pretendard", "Apple SD Gothic Neo", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; }
a { color: inherit; }
h1, h2, h3, .form-title, .price, .call strong, .stat strong, .logo-fallback {
    font-family: "Paperlogy", "Pretendard", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.4;
}

.wrap {
    width: min(var(--max), calc(100% - 80px));
    margin: 0 auto;
}

.header {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid #f0d6d6;
}
.header-inner {
    width: min(var(--header), calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
}
.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: "Paperlogy", "Pretendard", sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
}
.logo-text { display: flex; align-items: center; line-height: 1; }
.logo-text strong {
    font-family: "Paperlogy", "Pretendard", sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.03em;
}
.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}
.phone-btn:hover { background: var(--blue-d); }
.phone-btn svg { width: 18px; height: 18px; flex: none; }

.photo-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fff5f5;
    padding: 64px 20px 72px;
}
.photo-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/jbike/hero.webp") center / cover no-repeat fixed;
    filter: grayscale(1) contrast(1.05) brightness(1.45);
    z-index: 0;
}
.photo-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 245, 245, .35), rgba(225, 6, 0, .42));
    mix-blend-mode: multiply;
    z-index: 0;
    pointer-events: none;
}
.photo-band > * { position: relative; z-index: 1; }
.quote-card {
    width: min(640px, 100%);
    margin: 0 auto;
    background: #fff;
    border: 1px solid #f0d0d0;
    border-radius: 14px;
    padding: 40px 32px 28px;
    color: #141414;
    box-shadow: 0 22px 54px rgba(0, 0, 0, .45);
}
.quote-card h1,
.quote-card .form-title {
    margin: 0;
    font-size: 40px;
    text-align: center;
}
.quote-card .sub {
    margin: 12px 0 28px;
    text-align: center;
    color: #5c5c5c;
    font-size: 18px;
}
.field { margin-bottom: 16px; }
.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}
.field input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid var(--field);
    border-radius: 8px;
    background: #fff;
    color: #141414;
    font-size: 18px;
}
.field input::placeholder { color: #9aa7b6; }
.field input:focus {
    outline: 2px solid var(--blue);
    border-color: var(--blue);
}
.agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--agree);
    font-size: 18px;
    line-height: 1.5;
}
.agree input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--blue);
    flex: none;
}
.agree a { color: var(--blue); }
.form-error {
    margin: 12px 0 0;
    color: var(--err);
    font-size: 18px;
}
.submit {
    width: 100%;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding: 16px 18px;
    cursor: pointer;
}
.submit:hover { background: var(--blue-d); }
.call {
    display: block;
    margin-top: 16px;
    padding: 22px 16px 20px;
    border-radius: 14px;
    background: #fff;
    color: var(--blue);
    border: 1px solid #f0d6d6;
    text-align: center;
    text-decoration: none;
}
.call strong { display: block; font-size: 32px; }
.call span { display: block; margin-top: 4px; font-size: 18px; color: #6b6b6b; }
.done { text-align: center; padding: 28px 8px 12px; }
.done h2 { margin: 0 0 8px; font-size: 32px; }
.done p { margin: 0; color: #5c5c5c; font-size: 18px; }
.again {
    margin-top: 22px;
    border: 0;
    border-radius: 8px;
    background: var(--soft);
    color: var(--blue);
    font-weight: 700;
    font-size: 18px;
    padding: 12px 18px;
    cursor: pointer;
}

.section { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin: 0; font-size: 32px; }
.section-head h2 strong,
.lead strong { color: var(--blue); font-weight: 800; }
.section-head p,
.lead {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.stats { padding-top: 72px; padding-bottom: 48px; }
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stat {
    min-height: 104px;
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.stat strong { font-size: 40px; line-height: 1.1; }
.stat span { margin-top: 6px; font-size: 18px; }
.stat.a { background: var(--blue); }
.stat.b { background: var(--blue-d); }
.stat.c { background: #fff; color: var(--blue); border: 1px solid #f0d6d6; }
.stats .lead { text-align: center; }

.reasons { padding-top: 40px; padding-bottom: 40px; }
.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.reason {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 48px 34px 40px;
    text-align: center;
}
.badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
}
.badge svg { width: 24px; height: 24px; }
.reason h3 { margin: 0 0 12px; color: var(--blue); font-size: 22px; }
.reason p { margin: 0; color: var(--muted); font-size: 18px; }

.steps { background: var(--soft); padding: 56px 0; }
.step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    background: #fff;
    border-radius: 14px;
    padding: 44px 32px;
    border: 1px solid #f0d6d6;
}
.num {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    font-family: "Paperlogy", "Pretendard", sans-serif;
}
.step h3 { margin: 18px 0 10px; color: var(--blue); font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 18px; }

.slider { position: relative; }
.track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 8px;
}
.track::-webkit-scrollbar { display: none; }
.slide {
    flex: 0 0 322px;
    scroll-snap-align: start;
}
.arrow {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.arrow:hover { background: var(--blue-d); }
.arrow.prev { left: -8px; }
.arrow.next { right: -8px; }
.arrow svg { width: 20px; height: 20px; }
.reviews .arrow { width: 40px; height: 40px; }

.review, .bike {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.review img, .bike img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--agree);
}
.bike img { aspect-ratio: 16 / 9; }
.review-body, .bike-body { display: block; padding: 18px; }
.review-body p { margin: 0; color: var(--ink); font-size: 18px; }
.stars { display: flex; gap: 3px; margin: 14px 0 10px; }
.stars i {
    width: 15px;
    height: 15px;
    background: var(--star);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.off { background: var(--star-off); }
.who { margin: 0; font-size: 18px; font-weight: 700; }
.where { margin: 2px 0 0; color: var(--muted); font-size: 18px; }

button.bike {
    display: block;
    padding: 0;
    text-align: left;
    cursor: pointer;
    color: inherit;
    width: 322px;
    font: inherit;
    border: 1px solid var(--line);
}
.bike-name {
    display: block;
    font-size: 22px;
    font-weight: 800;
    font-family: "Paperlogy", "Pretendard", sans-serif;
    line-height: 1.4;
}
.bike-spec {
    display: -webkit-box;
    white-space: pre-line;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bike-price {
    display: block;
    margin-top: 12px;
    color: var(--blue);
    font-size: 22px;
    font-weight: 800;
    font-family: "Paperlogy", "Pretendard", sans-serif;
}

.footer {
    background: #fff;
    color: #1a1a1a;
    border-top: 1px solid #f0d6d6;
    text-align: center;
    padding: 56px 20px 48px;
}
.footer strong {
    display: block;
    font-size: 22px;
    font-family: "Paperlogy", "Pretendard", sans-serif;
    font-weight: 800;
}
.footer p { margin: 6px 0; font-size: 16px; color: #5c5c5c; }
.footer a { color: var(--blue); }
.privacy-link { display: inline-block; margin-top: 16px; text-decoration: underline; }

.floats {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
    text-decoration: none;
}
.float svg { width: 27px; height: 27px; }
.float-tel { background: var(--blue); color: #fff; }
.float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.bike-dialog {
    width: min(560px, calc(100vw - 32px));
    border: 0;
    border-radius: 14px;
    padding: 0;
    background: #fff;
    color: #1a1a1a;
}
.bike-dialog::backdrop { background: rgba(0, 0, 0, .72); }
.bike-dialog img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dlg-body { padding: 22px 22px 24px; }
.dlg-body h3 { margin: 0; font-size: 26px; }
.dlg-spec { margin: 12px 0 0; color: var(--muted); font-size: 18px; white-space: pre-line; }
.dlg-price { margin: 14px 0 0; color: var(--blue); font-size: 24px; }
.dlg-actions { display: flex; gap: 8px; margin-top: 18px; }
.dlg-actions a, .dlg-actions button {
    flex: 1;
    height: 48px;
    border-radius: 8px;
    border: 0;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: grid;
    place-items: center;
}
.dlg-actions a { background: var(--blue); color: #fff; }
.dlg-actions button { background: var(--soft); color: var(--ink); }

.privacy-page { padding: 72px 0 96px; }
.privacy-page h1 { margin: 0 0 16px; font-size: 32px; }
.privacy-page p { margin: 0; color: var(--muted); font-size: 18px; }

@media (max-width: 1024px) {
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .arrow.prev { left: 0; }
    .arrow.next { right: 0; }
}
@media (max-width: 767px) {
    .wrap, .header-inner { width: min(var(--max), calc(100% - 40px)); }
    .header { height: 64px; }
    .logo-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 16px; }
    .logo-text strong { font-size: 15px; }
    .logo { min-width: 0; }
    .phone-btn {
        flex: 0 0 40px;
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
        position: relative;
        overflow: hidden;
        font-size: 0;
        line-height: 0;
    }
    .phone-label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .phone-btn svg { width: 18px; height: 18px; display: block; }
    .photo-band { padding: 28px 16px 36px; }
    .photo-band::before { background-attachment: scroll; }
    .quote-card { padding: 24px 16px 18px; }
    .quote-card h1,
    .quote-card .form-title,
    .done h2 { font-size: 24px; }
    .quote-card .sub,
    .field label,
    .field input,
    .agree,
    .call span,
    .done p,
    .section-head p,
    .lead,
    .reason p,
    .step p,
    .review-body p,
    .bike-spec,
    .who,
    .where,
    .stat span,
    .form-error { font-size: 15px; }
    .field input { height: 46px; }
    .call strong { font-size: 22px; }
    .submit,
    .again { font-size: 16px; }
    .section-head h2,
    .stats h2,
    .privacy-page h1 { font-size: 22px; }
    .section-head { margin-bottom: 28px; }
    .stat { min-height: 76px; }
    .stat strong { font-size: 26px; }
    .stat-grid, .reason-grid, .step-grid { grid-template-columns: 1fr; }
    .reason { padding: 28px 18px; }
    .step { padding: 28px 20px; }
    .slide, .bike { flex-basis: 240px; width: 240px; }
    .bike-name, .bike-price { font-size: 17px; }
    .step h3, .reason h3, .footer strong { font-size: 18px; }
    .footer p,
    .privacy-page p { font-size: 14px; }
    .floats { right: 12px; bottom: 12px; gap: 8px; }
    .float { width: 50px; height: 50px; }
    .float svg { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
