/* 브랜드별 수선 도착 화면 공용(nike-repair.php) — 토큰·구역 틀은 toe-repair.php와 같다 */
:root {
    --black: #000000;
    --gray: #f5f5f7;
    --white: #ffffff;
    --label: #1d1d1f;
    --label2: #6e6e73;
    --accent: #e31b23;
    --accent-hot: #ff453a;
    --sep: rgba(255,255,255,0.12);
    --sep-lt: rgba(0,0,0,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'SF Pro Text', 'SF Pro Display', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont,
        'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    background: var(--black);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; }

/* 구역 */
.sec { padding: 88px 24px; scroll-margin-top: 72px; }
.sec-black { background: var(--black); }
.sec-gray { background: var(--gray); color: var(--label); }
.sec-white { background: var(--white); color: var(--label); }
.inner { max-width: 980px; margin: 0 auto; }
.inner-wide { max-width: 1200px; margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: #b5121b; margin-bottom: 10px; }
.sec-black .eyebrow { color: rgba(255,255,255,0.62); }
.sec-title {
    font-family: 'SF Pro Display', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: clamp(28px, 4vw, 48px); font-weight: 600; line-height: 1.12; letter-spacing: -0.28px; margin-bottom: 16px;
    word-break: keep-all;
}
.sec-desc {
    font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55; letter-spacing: -0.3px;
    color: rgba(255,255,255,0.72); max-width: 640px; margin-bottom: 36px; word-break: keep-all;
}
.sec-gray .sec-desc, .sec-white .sec-desc { color: #515154; }

/* 히어로 — 틀은 la-landing.css .hero--offer(창갈이 랜딩과 같은 첫 화면) */
.hero { background: var(--black); }
.hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: rgba(255,255,255,0.72); margin-bottom: 12px; }
.hero-h1 {
    font-family: 'SF Pro Display', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-weight: 600; line-height: 1.12; letter-spacing: -0.28px; color: #fff; word-break: keep-all;
}
/* 모델 줄은 제목 아래 보조 줄 — 크면 가격보다 먼저 읽혀 두 줄로 넘친다 */
.hero-h1 span { display: block; margin-top: 10px; font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; line-height: 1.4; letter-spacing: -0.2px; color: rgba(255,255,255,0.78); }
.hero-offer-photo figcaption { font-size: 13px; color: rgba(255,255,255,0.72); }
/* 폰도 신발 전체가 보이게 — 공용 800:340은 윗부분만 남겨 나이키 본체가 잘린다 */
body.la-landing .hero--offer .hero-offer-media { aspect-ratio: 1 / 1; }
.btn-red {
    background: var(--accent); color: #fff !important; font-size: 17px; letter-spacing: -0.374px;
    padding: 12px 26px; border-radius: 8px; text-decoration: none; text-align: center;
    transition: opacity 0.2s; border: none; cursor: pointer; display: inline-block;
}
.btn-red:hover { opacity: 0.86; }
.btn-red:focus-visible, .btn-pill:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-pill {
    color: #fff !important; font-size: 17px; letter-spacing: -0.374px; padding: 11px 22px; text-align: center;
    border: 2px solid rgba(255,255,255,0.75); border-radius: 980px; text-decoration: none; background: none; cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.btn-pill:hover { background: rgba(255,255,255,0.10); border-color: #fff; }

/* 한눈에 보기 */
.answer { border-top: 1px solid var(--sep); border-bottom: 1px solid var(--sep); list-style: none; }
.answer li {
    display: grid; grid-template-columns: 148px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--sep);
    font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.86);
}
.answer li:first-child { border-top: none; }
.answer strong { color: #fff; font-weight: 600; }

/* 모델별 작업 사진 */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.work-item { border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--sep-lt); }
.work-item a { display: block; color: inherit; text-decoration: none; }
.work-item a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.work-item img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #e8e8ed; }
.work-cap { padding: 12px 14px 14px; }
.work-cap strong { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.3px; color: var(--label); line-height: 1.35; }
.work-cap span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: #515154; letter-spacing: -0.2px; }
.more-link { margin-top: 24px; font-size: 16px; line-height: 1.8; }
.more-link a { display: inline-block; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.more-link a:hover, .more-link a:focus { color: var(--accent); outline: none; }
.sec-black .more-link a:hover, .sec-black .more-link a:focus { color: var(--accent-hot); }

/* 가격표 */
.price-table { border-radius: 14px; overflow: hidden; border: 1px solid var(--sep-lt); background: #fff; }
.price-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 28px; border-bottom: 0.5px solid var(--sep-lt);
}
.price-row:last-child { border-bottom: none; }
.price-row.head { background: var(--label); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.price-name { font-size: 16px; font-weight: 500; color: var(--label); letter-spacing: -0.2px; }
.price-detail { font-size: 14px; color: #515154; margin-top: 3px; line-height: 1.5; }
.price-val { font-size: 17px; font-weight: 600; color: var(--label); white-space: nowrap; letter-spacing: -0.3px; text-align: right; }
.price-why { margin-top: 20px; padding: 20px 22px; background: #1d1d1f; border-radius: 14px; color: #d2d2d7; }
.price-why h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.price-why p { font-size: 15px; line-height: 1.75; }
.price-why strong { color: #fff; }
.price-note { font-size: 14px; color: #515154; margin-top: 16px; line-height: 1.7; padding: 0 4px; }
.price-cta { margin-top: 24px; text-align: center; }

/* 창 종류 표 */
.tbl-wrap { border-radius: 14px; border: 1px solid var(--sep-lt); background: #fff; overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; color: var(--label); }
.tbl caption { text-align: left; padding: 14px 20px; font-size: 14px; line-height: 1.6; color: #515154; caption-side: bottom; }
.tbl caption a { text-decoration: underline; text-underline-offset: 3px; }
.tbl th, .tbl td {
    padding: 14px 18px; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.55;
    letter-spacing: -0.2px; border-bottom: 0.5px solid var(--sep-lt);
}
.tbl thead th { background: var(--label); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.tbl tbody th { font-weight: 600; white-space: nowrap; }
.tbl td.num { white-space: nowrap; font-weight: 600; }

/* 후기 */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.quote-item { padding: 24px; border: 1px solid var(--sep-lt); border-radius: 12px; background: var(--gray); }
.quote-text { font-size: 16px; line-height: 1.65; color: var(--label); letter-spacing: -0.2px; word-break: keep-all; }
.quote-meta { margin-top: 14px; font-size: 14px; line-height: 1.55; color: #515154; }
.quote-meta a { text-decoration: underline; text-underline-offset: 3px; }

/* 진행 과정 */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--sep-lt); border-radius: 18px; overflow: hidden; }
.process-item { background: #fff; padding: 32px 24px; }
.process-num { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: #b5121b; margin-bottom: 14px; }
.process-title { font-size: 17px; font-weight: 600; color: var(--label); margin-bottom: 8px; letter-spacing: -0.3px; }
.process-desc { font-size: 15px; color: #515154; line-height: 1.65; letter-spacing: -0.2px; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1px; background: var(--sep-lt); border-radius: 14px; overflow: hidden; }
.faq-item { background: #fff; }
.faq-q {
    width: 100%; text-align: left; padding: 20px 24px; font-family: inherit; font-size: 16px; font-weight: 500;
    letter-spacing: -0.2px; color: var(--label); background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-chevron {
    flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--gray);
    display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.faq-chevron svg { display: block; transition: transform 0.22s; }
.faq-item.open .faq-chevron { background: var(--label); }
.faq-item.open .faq-chevron svg { transform: rotate(180deg); }
.faq-item.open .faq-chevron path { stroke: #fff; }
.faq-a { display: none; padding: 16px 24px 20px; font-size: 15px; color: #515154; line-height: 1.75; letter-spacing: -0.2px; border-top: 0.5px solid rgba(0,0,0,0.06); }
.faq-item.open .faq-a { display: block; }

/* 관련 안내 */
.rel-list { list-style: none; border-top: 1px solid var(--sep); }
.rel-list li { border-bottom: 1px solid var(--sep); }
.rel-list a { display: block; padding: 20px 0; text-decoration: none; color: #fff; }
.rel-list a:hover strong, .rel-list a:focus strong { color: var(--accent-hot); }
.rel-list a:focus { outline: none; }
.rel-list strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 4px; }
.rel-list span { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.6; }

/* 하단 신청 */
.cta-sec { background: var(--black); padding: 88px 24px; text-align: center; border-top: 1px solid var(--sep); }
.cta-title {
    font-family: 'SF Pro Display', 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    font-size: clamp(28px, 4vw, 48px); font-weight: 600; line-height: 1.12; letter-spacing: -0.28px; color: #fff; margin-bottom: 14px;
}
.cta-sub { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.72); letter-spacing: -0.3px; line-height: 1.5; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 스크롤 페이드인 */
.rv { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.rv.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
    .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sec { padding: 60px 20px; }
    .hero--offer .hero-points { flex-direction: column; }
    .answer li { grid-template-columns: 1fr; gap: 4px; }
    .price-row { padding: 16px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }
    .price-row.head { display: none; }
    .price-val { text-align: left; }
    .process-grid { grid-template-columns: 1fr; }
    .work-cap { padding: 10px 10px 12px; }
    .work-cap strong { font-size: 15px; }
    .work-cap span { font-size: 13px; }
    .cta-sec { padding: 64px 20px; }
    .cta-btns { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
    /* 표는 폰에서 카드처럼 세로로 쌓는다 */
    .tbl thead { display: none; }
    .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
    .tbl tr { padding: 14px 16px; border-bottom: 0.5px solid var(--sep-lt); }
    .tbl th, .tbl td { padding: 0; border: none; }
    .tbl td { margin-top: 2px; font-size: 14px; }
    /* 머리줄이 숨으니 칸 이름을 앞에 붙인다 */
    .tbl td[data-label]::before { content: attr(data-label); display: inline-block; min-width: 72px; margin-right: 8px; font-weight: 400; color: #515154; }
    /* 블록으로 풀면 안내문이 표 위로 올라가 첫 줄이 데이터가 아니게 된다 — PC처럼 아래에 둔다 */
    .tbl { display: flex; flex-direction: column; }
    .tbl caption { display: block; order: 2; }
}
