/* ===== 코어젠(COREGEN PC REPAIR) 컴퓨터수리 페이지 전용 스타일 (/repair) ===== */
/* 데이터복구(코어디움) 블루 테마와 분리된 블랙 + 골드 테마 */

:root { --rp-gold: #F5B800; --rp-gold-l: #FFD84D; --rp-gold-d: #E9A800; --rp-night: #0A0A0E; --rp-card: #17171D; --rp-line: rgba(255,255,255,.1); }

.rp { font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif; background: var(--rp-night); color: #fff; }
.rp ::selection { background: var(--rp-gold); color: #000; }

/* 공통 섹션 타이포 (style.css 의 블루 값을 덮어씀) */
.rp .sec-eyebrow { color: var(--rp-gold); }
.rp .sec-title { color: #fff; }
.rp .sec-desc { color: rgba(255,255,255,.68); }
.rp-sec { position: relative; }
.rp-sec-alt { background: #0F0F14; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }

/* 텍스트 그라데이션 */
.rp-goldtxt { background: linear-gradient(180deg, #FFE27A 0%, #F5B800 55%, #E09A00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rp-silver { background: linear-gradient(180deg, #FFFFFF 0%, #C9CED6 55%, #8E949E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.rp-logo-word { letter-spacing: -0.01em; font-style: italic; }

/* 버튼 */
.rp-btn-gold { background: linear-gradient(135deg, #FFD84D 0%, #F5B800 55%, #E09A00 100%); color: #14100A; box-shadow: 0 6px 20px rgba(245,184,0,.28); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
@media (hover: hover) { .rp-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(245,184,0,.42); filter: brightness(1.05); } }
.rp-btn-ghost { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.04); transition: background .2s ease, border-color .2s ease, color .2s ease; }
@media (hover: hover) { .rp-btn-ghost:hover { background: rgba(245,184,0,.12); border-color: var(--rp-gold); color: var(--rp-gold-l); } }
.rp-bar-gold { background: linear-gradient(135deg, #FFD84D, #F5B800); color: #14100A; }

/* 헤더 */
.rp-header.site-header { background: linear-gradient(180deg, rgba(10,10,14,.85), rgba(10,10,14,0)); }
.rp-header.site-header.header-shrink, .rp-header.site-header.is-solid { background: rgba(10,10,14,.96); border-bottom: 1px solid rgba(245,184,0,.18); box-shadow: 0 4px 18px rgba(0,0,0,.45); }
.rp-cross { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border: 1px solid rgba(245,184,0,.4); border-radius: 999px; color: var(--rp-gold-l); font-size: 12.5px; font-weight: 700; transition: background .2s; }
@media (hover: hover) { .rp-cross:hover { background: rgba(245,184,0,.14); } }
.rp .mobile-menu-link { color: rgba(255,255,255,.9); }

/* 히어로 */
.rp-hero { min-height: 640px; }
.rp-hero-bg { background: #0A0A0E url('/static/img/repair-hero.jpg') center right / cover no-repeat; }
.rp-hero-shade { background: linear-gradient(90deg, rgba(10,10,14,.94) 0%, rgba(10,10,14,.82) 38%, rgba(10,10,14,.35) 70%, rgba(10,10,14,.15) 100%), linear-gradient(0deg, #0A0A0E 0%, rgba(10,10,14,0) 22%); }
.rp-hero-inner { min-height: 640px; padding-top: 120px; padding-bottom: 96px; }
@media (max-width: 767px) {
  .rp-hero, .rp-hero-inner { min-height: 0; }
  .rp-hero-bg { background-image: url('/static/img/repair-hero-m.jpg'); background-position: 70% top; background-size: cover; }
  .rp-hero-shade { background: linear-gradient(180deg, rgba(10,10,14,.55) 0%, rgba(10,10,14,.82) 38%, rgba(10,10,14,.96) 100%); }
  .rp-hero-inner { padding-top: 110px; padding-bottom: 72px; }
}
.rp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--rp-gold-l); background: rgba(245,184,0,.1); border: 1px solid rgba(245,184,0,.35); }

/* 핵심 4가지 */
.rp-keys { background: #14141A; border: 1px solid rgba(245,184,0,.28); border-radius: 18px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.rp-keys li { border-right: 1px solid var(--rp-line); border-bottom: 1px solid var(--rp-line); }
.rp-keys li:nth-child(2n) { border-right: 0; }
@media (min-width: 1024px) { .rp-keys li { border-bottom: 0; border-right: 1px solid var(--rp-line); } .rp-keys li:nth-child(2n) { border-right: 1px solid var(--rp-line); } .rp-keys li:last-child { border-right: 0; } }
.rp-keys li:nth-last-child(-n+2) { border-bottom: 0; }
.rp-keys i { color: var(--rp-gold); font-size: 20px; }
.rp-key-t { margin-top: 8px; font-weight: 800; font-size: 14.5px; color: #fff; }
.rp-key-d { margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }
@media (min-width: 768px) { .rp-key-t { font-size: 16px; } .rp-key-d { font-size: 13px; } }

/* 수리 가능 기기 카드 */
.rp-device { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 18px 16px; border-radius: 16px; background: var(--rp-card); border: 1px solid var(--rp-line); color: #fff; cursor: pointer; transition: border-color .2s, background .2s, transform .25s, box-shadow .25s; }
@media (hover: hover) { .rp-device:hover { border-color: rgba(245,184,0,.6); background: #1C1C24; box-shadow: 0 12px 30px rgba(245,184,0,.12); } }
.rp-device:focus-visible { outline: 2px solid var(--rp-gold); outline-offset: 2px; }
.rp-device-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--rp-gold); background: rgba(245,184,0,.1); border: 1px solid rgba(245,184,0,.28); margin-bottom: 6px; }
.rp-device strong { font-size: 16px; font-weight: 800; }
.rp-device small { font-size: 12px; color: rgba(255,255,255,.58); line-height: 1.5; }
.rp-device-go { margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--rp-gold); }
.rp-device-go i { font-size: 10px; margin-left: 3px; transition: transform .2s; }
@media (hover: hover) { .rp-device:hover .rp-device-go i { transform: translateX(3px); } }

/* 브랜드 로고 타일 (로고는 흰 배경 PNG → 흰 카드) */
.rp-brand { display: flex; align-items: center; justify-content: center; height: 76px; padding: 12px 14px; background: #F3F4F7; border-radius: 12px; border: 1px solid rgba(255,255,255,.06); transition: transform .25s, box-shadow .25s; }
.rp-brand img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 768px) { .rp-brand { height: 88px; padding: 14px 18px; } }
@media (hover: hover) { .rp-brand:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(245,184,0,.2); } }

/* 수리 분야 카드 */
.rp-card { display: flex; flex-direction: column; padding: 24px 22px; border-radius: 18px; background: var(--rp-card); border: 1px solid var(--rp-line); }
@media (hover: hover) { .rp-card:hover { border-color: rgba(245,184,0,.45); box-shadow: 0 14px 34px rgba(245,184,0,.1); } }
.rp-no { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: rgba(245,184,0,.7); }
.rp-icon { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #14100A; font-size: 20px; background: linear-gradient(135deg, #FFD84D, #E9A800); }
.rp-tag { font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.78); padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }

/* WHY */
.rp-why { display: flex; gap: 16px; align-items: flex-start; padding: 18px 18px; border-radius: 16px; background: var(--rp-card); border: 1px solid var(--rp-line); }
.rp-why-no { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #14100A; background: linear-gradient(135deg, #FFD84D, #E9A800); }

/* 가격표 */
.rp-price { border-radius: 18px; overflow: hidden; background: var(--rp-card); border: 1px solid rgba(245,184,0,.3); box-shadow: 0 14px 40px rgba(0,0,0,.4); }
.rp-price-head { padding: 14px 20px; font-weight: 800; font-size: 14px; color: #14100A; background: linear-gradient(135deg, #FFD84D, #F5B800); }
.rp-price-head i { margin-right: 6px; }
.rp-price-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--rp-line); }
.rp-price-row:first-child { border-top: 0; }
.rp-price-name { min-width: 0; }
.rp-price-name strong { display: block; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.45; }
.rp-price-name small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.5; }
.rp-price-val { flex: 0 0 auto; text-align: right; font-weight: 800; font-size: 15px; color: var(--rp-gold-l); white-space: nowrap; }
.rp-free { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--rp-gold); color: #14100A; font-size: 13px; font-weight: 800; }
.rp-price-row.is-free { background: rgba(245,184,0,.07); }
@media (min-width: 768px) { .rp-price-name strong { font-size: 16px; } .rp-price-val { font-size: 17px; } .rp-price-row { padding: 18px 26px; } }
@media (max-width: 479px) { .rp-price-val { white-space: normal; font-size: 13.5px; max-width: 42%; } }
.rp-note { padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px dashed rgba(245,184,0,.35); font-size: 12.5px; color: rgba(255,255,255,.82); line-height: 1.7; }
.rp-note i { color: var(--rp-gold); margin-right: 4px; }

/* 진행 절차 */
.rp-step { padding: 20px 18px; border-radius: 16px; background: var(--rp-card); border: 1px solid var(--rp-line); border-top: 3px solid var(--rp-gold); }
.rp-step-no { display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--rp-gold); }
.rp-step h3 { margin-top: 8px; font-size: 16.5px; font-weight: 800; color: #fff; }
.rp-step p { margin-top: 8px; font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.65); }

/* 후기 섹션 배경 */
.rp .rv-dark { background: var(--rp-night); }
.rp .rv-dark .sec-title { color: #fff; }

/* FAQ */
.rp-faq { border-radius: 14px; background: var(--rp-card); border: 1px solid var(--rp-line); overflow: hidden; }
.rp-faq .faq-btn { color: #fff; }
.rp-faq.faq-open { border-color: rgba(245,184,0,.5); }

/* 접수 폼 */
.rp-contact { background: radial-gradient(900px 400px at 85% 0%, rgba(245,184,0,.1), transparent 60%), var(--rp-night); }
.rp-form { border-radius: 20px; background: var(--rp-card); border: 1px solid rgba(245,184,0,.28); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.rp-form input:focus, .rp-form select:focus, .rp-form textarea:focus { outline: none; border-color: var(--rp-gold); box-shadow: 0 0 0 3px rgba(245,184,0,.2); }
.rp-form select option { background: #14141A; color: #fff; }
.rp-form input[type="checkbox"] { accent-color: var(--rp-gold); width: 16px; height: 16px; }

/* 푸터 (코어젠 전용) */
.rp-footer { background: #07070A; border-top: 1px solid rgba(245,184,0,.22); color: #fff; }
.rp .footer-info dt { color: rgba(255,255,255,.4); }
.rp .footer-info dd { color: rgba(255,255,255,.75); }

/* FAB */
.rp-fab-item { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: #17171D; border: 1px solid rgba(245,184,0,.3); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.rp-fab-ic { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }

/* 모바일: 기기 카드가 홀수(5개)라 마지막 카드를 가로 전체로 */
@media (max-width: 767px) { #devices .grid > .rp-device:last-child:nth-child(odd) { grid-column: span 2; } }
@media (min-width: 768px) and (max-width: 1023px) { #devices .grid > .rp-device:last-child:nth-child(3n+2) { grid-column: span 1; } }

/* ---------- PC수리 장비 ---------- */
.rp-eq { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--rp-card); border: 1px solid var(--rp-line); transition: border-color .2s, box-shadow .25s; }
@media (hover: hover) { .rp-eq:hover { border-color: rgba(245,184,0,.45); box-shadow: 0 14px 34px rgba(245,184,0,.1); } }
.rp-eq-img { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.rp-eq-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rp-eq-no { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: #111; background: var(--rp-gold); padding: 3px 9px; border-radius: 999px; }
.rp-eq-tag { position: absolute; bottom: 10px; right: 10px; font-size: 11.5px; font-weight: 700; color: #fff; background: rgba(10,10,14,.82); border: 1px solid rgba(245,184,0,.5); padding: 3px 10px; border-radius: 999px; }
.rp-eq-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.rp-eq-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: linear-gradient(135deg, rgba(245,184,0,.12), rgba(245,184,0,.03)); border: 1px solid rgba(245,184,0,.35); color: #fff; font-size: 15px; line-height: 1.6; }
.rp-eq-cta span { color: rgba(255,255,255,.65); font-size: 13.5px; }
@media (min-width: 768px) { .rp-eq-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 22px 28px; } }
