/* 메인 페이지(index.html) 전용 디자인 개편 스타일 — style.css 위에 덮어쓰며 body.rd 범위에서만 동작 */

html { background: #0A1828; overflow-x: clip; }

body.rd {
    --night: #0A1828;
    --night-2: #0E2136;
    --night-3: #14304B;
    --paper: #F3F5F8;
    --card: #FFFFFF;
    --ink: #0B1B2E;
    --ink-2: #33445A;
    --muted: #627387;
    --line: rgba(11, 27, 46, .09);
    --line-d: rgba(255, 255, 255, .11);
    --fg-d: #EEF3F8;
    --accent: #5DBFB0;
    --accent-soft: #A9DED6;
    --accent-deep: #23796D;
    --accent-tint: rgba(93, 191, 176, .12);
    --e-out: cubic-bezier(.16, 1, .3, 1);
    --e-q: cubic-bezier(.22, 1, .36, 1);
    --e-std: cubic-bezier(.4, 0, .2, 1);
    --f-sans: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
    --f-serif: "Noto Serif KR", serif;
    --sheet: 44px;

    font-family: var(--f-sans);
    background: var(--paper);
    color: var(--ink);
    letter-spacing: -.012em;
    word-break: keep-all;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.rd ::selection { background: rgba(93, 191, 176, .32); color: inherit; }
body.rd button, body.rd input, body.rd select, body.rd textarea { font-family: var(--f-sans); }
body.rd :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.rd .container { max-width: 1240px; padding: 0 clamp(20px, 4vw, 48px); }

/* ---------- 공통 타이포 ---------- */
.rd .section { padding: clamp(96px, 11vw, 152px) 0; position: relative; }
.rd .section-header { margin-bottom: clamp(40px, 5vw, 64px); }
.rd .section-label {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-sans); font-size: 12.5px; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--accent-deep); margin-bottom: 18px;
}
.rd .section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.rd .section-title,
.rd .section-title.big-title {
    font-family: var(--f-sans);
    font-size: clamp(30px, 4.2vw, 56px);
    font-weight: 700; line-height: 1.2; letter-spacing: -.038em;
    color: var(--ink); margin-bottom: 18px;
}
.rd .section-title .highlight,
.rd .rd-accent {
    font-family: var(--f-serif); font-style: normal; font-weight: 600;
    color: var(--accent-deep); letter-spacing: -.02em;
}
.rd .section-desc { font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 38rem; }
.rd .center .section-desc { margin-left: auto; margin-right: auto; }

/* 어두운 시트 공통 */
.rd .services, .rd .portfolio, .rd .cases-section, .rd .cert-section, .rd .cta { background: var(--night); color: var(--fg-d); }
.rd .services .section-label, .rd .portfolio .section-label, .rd .cases-section .section-label,
.rd .cert-section .section-label, .rd .cta .section-label { color: var(--accent); }
.rd .services .section-title, .rd .portfolio .section-title, .rd .cases-section .section-title,
.rd .cert-section .section-title, .rd .cta .section-title { color: #fff; }
.rd .services .rd-accent, .rd .portfolio .rd-accent, .rd .cases-section .rd-accent,
.rd .cert-section .rd-accent, .rd .cta .rd-accent,
.rd .services .highlight, .rd .cert-section .highlight { color: var(--accent-soft); }
.rd .services .section-desc, .rd .portfolio .section-desc, .rd .cases-section .section-desc,
.rd .cert-section .section-desc { color: rgba(238, 243, 248, .62) !important; }

/* 밝은 시트 공통 */
.rd .about, .rd .process, .rd .clients-section, .rd .why-us, .rd .insights { background: var(--paper); color: var(--ink); }

/* 시트가 위 섹션을 덮으며 올라오는 경계 */
.rd .about, .rd .services, .rd .process, .rd .portfolio, .rd .clients-section,
.rd .cert-section, .rd .why-us, .rd .cta {
    border-radius: var(--sheet) var(--sheet) 0 0;
    margin-top: calc(var(--sheet) * -1);
    z-index: 2;
}
.rd .services-bg, .rd .portfolio-bg, .rd .clients-bg { display: none; }

/* 등장 모션: 흐림 → 선명 + 위로 */
.js .rd [data-anim] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(5px);
    transition: opacity .9s var(--e-q), transform .9s var(--e-q), filter .9s var(--e-q);
}
.js .rd [data-anim="fade-right"] { transform: translate3d(-36px, 0, 0); }
.js .rd [data-anim="fade-left"] { transform: translate3d(36px, 0, 0); }
.js .rd [data-anim].in-view { opacity: 1; transform: none; filter: none; }

/* ---------- 버튼 ---------- */
.rd .btn { border-radius: 999px; font-weight: 600; letter-spacing: -.01em; }
.rd .btn-primary {
    background: var(--accent); color: #04201B;
    padding: 8px 8px 8px 26px; gap: 14px;
    box-shadow: 0 10px 30px rgba(93, 191, 176, .28);
}
.rd .btn-primary i {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #04201B; color: var(--accent); font-size: 14px;
    transition: transform .35s var(--e-q);
}
.rd .btn-primary:hover { background: #74CBBE; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(93, 191, 176, .38); }
.rd .btn-primary:hover i { transform: translateX(3px) rotate(-45deg); }
.rd .btn-primary:active { transform: scale(.97); }
.rd .btn-outline {
    padding: 15px 26px; color: #fff;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.rd .btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.rd .btn-lg { font-size: 16px; }

/* ---------- 헤더: 떠 있는 유리 알약 ---------- */
.rd .top-bar { display: none; }
.rd .header {
    position: fixed; top: 0; left: 0; right: 0;
    background: transparent; border: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    pointer-events: none;
}
.rd .header.scrolled { box-shadow: none; }
.rd .header .header-inner {
    pointer-events: auto;
    max-width: 1200px; height: 64px; margin: 14px auto 0;
    width: calc(100% - 28px);
    padding: 0 8px 0 22px; gap: 16px;
    background: rgba(10, 24, 40, .38);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: background .4s var(--e-std), box-shadow .4s var(--e-std), border-color .4s var(--e-std);
}
.rd .header.scrolled .header-inner {
    background: rgba(10, 24, 40, .82);
    border-color: rgba(255, 255, 255, .09);
    box-shadow: 0 12px 40px rgba(4, 12, 22, .28);
}
.rd .logo img { height: 34px; width: auto; }
.rd .nav-desktop { margin-left: auto; }
.rd .nav-desktop .nav-item > a {
    color: rgba(255, 255, 255, .78); font-size: 14.5px; font-weight: 500;
    padding: 9px 16px; border-radius: 999px;
}
.rd .nav-desktop .nav-item > a:hover,
.rd .nav-desktop .nav-item:hover > a,
.rd .nav-desktop .nav-item > a.active { color: #fff; background: rgba(255, 255, 255, .09); }
.rd .nav-desktop .dropdown {
    background: rgba(12, 28, 46, .94); border: 1px solid var(--line-d);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35); border-radius: 18px; top: calc(100% + 12px);
}
.rd .nav-desktop .dropdown li a { color: rgba(255, 255, 255, .7); }
.rd .nav-desktop .dropdown li a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.rd .header-cta {
    display: inline-flex; align-items: center; gap: 10px; flex: none;
    height: 48px; padding: 0 8px 0 20px; border-radius: 999px;
    background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600;
    transition: transform .3s var(--e-q), background .3s;
}
.rd .header-cta-arrow {
    width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center;
    background: var(--ink); color: var(--accent); font-size: 14px; transition: transform .35s var(--e-q);
}
.rd .header-cta:hover { background: #E9F6F3; }
.rd .header-cta:hover .header-cta-arrow { transform: rotate(-45deg); }
.rd .mobile-toggle span { background: #fff; }
.rd .nav-mobile { background: var(--night); border-left: 1px solid var(--line-d); }
.rd .nav-mobile .nav-item > a { color: #fff; border-color: rgba(255, 255, 255, .08); }
.rd .nav-mobile .nav-item { border-color: rgba(255, 255, 255, .08); }
.rd .nav-mobile .dropdown { background: transparent; }
.rd .nav-mobile .dropdown a { color: rgba(255, 255, 255, .62); }

/* ---------- 히어로 ---------- */
.rd .hero {
    min-height: 100vh; min-height: 100dvh; padding: 0;
    align-items: stretch; background: var(--night);
}
.rd .hero-bg-shapes, .rd .hero-scroll { display: none; }
.js .rd .hero-video-bg {
    opacity: 0; transform: scale(1.06);
    transition: opacity .8s var(--e-std), transform 2.2s var(--e-out);
}
.js .rd .hero-video-bg.is-ready { opacity: 1; transform: none; }
.rd .hero-overlay {
    background:
        linear-gradient(180deg, rgba(10, 24, 40, .62) 0%, rgba(10, 24, 40, .08) 20%, rgba(10, 24, 40, .1) 44%, rgba(10, 24, 40, .78) 62%, rgba(10, 24, 40, .96) 84%, #0A1828 100%),
        linear-gradient(90deg, rgba(10, 24, 40, .55) 0%, rgba(10, 24, 40, 0) 58%),
        rgba(8, 26, 48, .22);
}
.rd .hero-content {
    width: 100%;
    min-height: 100vh; min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "badge badge" "title title" "desc desc" "actions stats";
    align-content: end; column-gap: 40px;
    text-align: left;
    padding-top: 120px; padding-bottom: calc(var(--sheet) + clamp(24px, 4vh, 44px));
}
.rd .hero-badge {
    grid-area: badge; justify-self: start;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 12px; margin-bottom: 22px;
    font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
    color: rgba(255, 255, 255, .88);
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.rd .hero-badge-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.rd .hero-badge-dot::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 1px solid var(--accent); opacity: 0; animation: rd-ping 2.6s var(--e-out) infinite;
}
@keyframes rd-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.rd .hero h1.hero-title {
    grid-area: title;
    font-size: clamp(34px, 4.9vw, 74px); font-weight: 700;
    line-height: 1.08; letter-spacing: -.048em;
    color: #fff; margin: 0 0 20px;
    text-shadow: 0 16px 38px rgba(0, 0, 0, .32);
}
.rd .hero-line { display: block; white-space: nowrap; }
.rd .hero-accent {
    font-family: var(--f-serif); font-style: normal; font-weight: 600;
    color: var(--accent-soft); letter-spacing: -.03em;
}
.rd .bt-word { display: inline-block; }
.js .rd .hero-title .bt-word { opacity: 0; filter: blur(12px); transform: translateY(46px); }
.js .rd .hero-title.is-in .bt-word {
    animation: rd-word .9s var(--e-q) both;
    animation-delay: calc(var(--i) * 110ms + 200ms);
}
@keyframes rd-word {
    0% { opacity: 0; filter: blur(12px); transform: translateY(46px); }
    55% { opacity: .7; filter: blur(3px); transform: translateY(-4px); }
    100% { opacity: 1; filter: blur(0); transform: none; }
}
.rd .hero-desc {
    grid-area: desc;
    font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.72;
    color: rgba(255, 255, 255, .76); max-width: 40rem; margin: 0 0 30px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .42);
}
.rd .hero-actions { grid-area: actions; align-self: end; justify-content: flex-start; margin: 0; gap: 12px; }
.rd .hero-stats {
    grid-area: stats; align-self: end;
    display: grid; grid-template-columns: repeat(4, auto); gap: 0;
    margin: 0;
}
.rd .hero-stats .stat-divider, .rd .hero-stats .stat-icon { display: none; }
.rd .hero-stats .stat { text-align: left; padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .14); }
.rd .hero-stats .stat:first-child { border-left: 0; }
.rd .hero-stats .stat:last-child { padding-right: 0; }
.rd .hero-stats .stat strong {
    font-family: var(--f-sans); font-size: clamp(26px, 2.4vw, 36px);
    font-weight: 600; letter-spacing: -.035em; color: #fff; line-height: 1.1;
    font-variant-numeric: tabular-nums;
}
.rd .hero-stats .stat span { font-size: 15px; font-weight: 600; color: var(--accent); margin-left: 2px; }
.rd .hero-stats .stat p { font-size: 12.5px; color: rgba(255, 255, 255, .58); margin-top: 4px; letter-spacing: .02em; white-space: nowrap; }

/* ---------- 회사소개 ---------- */
.rd .about-tab-nav, .rd .tab-nav {
    display: flex; width: max-content; max-width: 100%;
    margin: 0 auto clamp(40px, 5vw, 64px); padding: 6px; gap: 4px;
    background: var(--card); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 8px 24px rgba(11, 27, 46, .05);
    overflow-x: auto; scrollbar-width: none;
}
.rd .about-tab-nav::-webkit-scrollbar, .rd .tab-nav::-webkit-scrollbar { display: none; }
.rd .about-tab-btn, .rd .tab-btn {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 999px; border: 0; margin: 0;
    background: transparent; color: var(--muted);
    font-size: 14.5px; font-weight: 600; cursor: pointer;
    transition: background .3s var(--e-std), color .3s var(--e-std);
}
.rd .about-tab-btn:hover, .rd .tab-btn:hover { color: var(--ink); background: rgba(11, 27, 46, .05); border-color: transparent; }
.rd .about-tab-btn.active, .rd .tab-btn.active { background: var(--ink); color: #fff; box-shadow: none; border-color: transparent; }
.rd .about-tab-btn i { color: inherit; opacity: .8; }

.rd .ceo-section {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 80px); align-items: start;
}
.rd .ceo-photo-area { width: auto; max-width: none; position: sticky; top: 110px; }
.rd .ceo-photo-frame { width: 100%; aspect-ratio: 4 / 3.4; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px rgba(11, 27, 46, .14); }
.rd .ceo-photo-img { width: 100%; height: 100%; object-fit: cover; }
.rd .ceo-photo-deco { display: none; }
.rd .ceo-photo-img { transition: transform 1.2s var(--e-out); }
.rd .ceo-photo-frame:hover .ceo-photo-img { transform: scale(1.04); }
.rd .ceo-text p { font-size: 16.5px; line-height: 1.9; color: var(--ink-2); }
.rd .ceo-text strong, .rd .ceo-signature strong { color: var(--ink); }

.rd .vision-card, .rd .timeline-card, .rd .loc-info-card, .rd .value-item, .rd .map-container {
    background: var(--card); border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 10px 30px rgba(11, 27, 46, .05);
}
.rd .vision-card { transition: transform .5s var(--e-q), box-shadow .5s var(--e-q); }
.rd .vision-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 27, 46, .1); }
.rd .map-container { overflow: hidden; }

/* ---------- 컨설팅 서비스 (어두운 시트) ---------- */
.rd .services .sv-tab-nav {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
    width: max-content; max-width: 100%; margin: 0 auto 40px; padding: 6px;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); border-radius: 30px;
}
.rd .services .sv-tab-btn {
    display: inline-flex; flex-direction: row; align-items: center; gap: 10px;
    padding: 9px 18px 9px 9px; border-radius: 999px; border: 0;
    background: transparent; color: rgba(255, 255, 255, .7);
    box-shadow: none; transform: none; min-width: 0;
    transition: background .3s var(--e-std), color .3s var(--e-std);
}
.rd .services .sv-tab-btn:hover { background: rgba(255, 255, 255, .07); color: #fff; transform: none; }
.rd .services .sv-tab-btn.active { background: #fff; color: var(--ink); box-shadow: none; }
.rd .services .sv-tab-icon {
    width: 32px; height: 32px; border-radius: 50%; font-size: 13px;
    display: inline-grid; place-items: center; margin: 0;
    background: rgba(255, 255, 255, .1); color: var(--accent);
}
.rd .services .sv-tab-btn.active .sv-tab-icon { background: var(--ink); color: var(--accent); }
.rd .services .sv-tab-label { font-size: 14.5px; font-weight: 600; color: inherit; }

.rd .services .sv-panel-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
    border: 1px solid var(--line-d); border-radius: 36px;
    padding: clamp(24px, 4vw, 52px); box-shadow: none;
}
.rd .services .sv-number { font-family: var(--f-serif); color: var(--accent-soft); background: none; -webkit-text-fill-color: currentColor; }
.rd .services .sv-detail-head h3 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.035em; }
.rd .services .sv-subtitle { color: rgba(255, 255, 255, .45); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.rd .services .sv-desc { color: rgba(255, 255, 255, .74); font-size: 16.5px; line-height: 1.85; }
.rd .services .sv-checklist h4, .rd .services .sv-side-tags h4 { color: #fff; }
.rd .services .sv-checklist h4 i { color: var(--accent); }
.rd .services .sv-check-item {
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); border-radius: 18px;
    transition: border-color .3s, background .3s, transform .4s var(--e-q);
}
.rd .services .sv-check-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(93, 191, 176, .35); transform: translateY(-2px); }
.rd .services .sv-check-item > i { color: var(--accent); }
.rd .services .sv-check-item strong { color: #fff; }
.rd .services .sv-check-item p { color: rgba(255, 255, 255, .6); }
.rd .services .sv-check-item.is-featured {
    grid-column: 1 / -1;
    background: linear-gradient(100deg, rgba(93, 191, 176, .2), rgba(93, 191, 176, .05) 70%);
    border-color: rgba(93, 191, 176, .45);
}
.rd .services .sv-check-item.is-featured strong { font-size: 1.05em; }
.rd .services .sv-check-item.is-featured strong::after {
    content: "상환 의무 없음"; margin-left: 10px; vertical-align: 2px;
    font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
    padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #04201B;
}
.rd .services .sv-keypoint {
    background: rgba(93, 191, 176, .08); border: 1px solid rgba(93, 191, 176, .22);
    border-radius: 20px;
}
.rd .services .sv-keypoint strong { color: var(--accent-soft); }
.rd .services .sv-keypoint p { color: rgba(255, 255, 255, .72); }
.rd .services .sv-keypoint-icon { background: rgba(93, 191, 176, .16); color: var(--accent); }
.rd .services .sv-stat-card {
    background: rgba(255, 255, 255, .045); border: 1px solid var(--line-d);
    border-radius: 24px; box-shadow: none; overflow: hidden;
}
.rd .services .sv-stat-header { background: rgba(255, 255, 255, .06); color: #fff; }
.rd .services .sv-stat-item strong { color: #fff; font-family: var(--f-sans); letter-spacing: -.03em; }
.rd .services .sv-stat-item strong span { color: var(--accent); }
.rd .services .sv-stat-item p { color: rgba(255, 255, 255, .55); }
.rd .services .sv-stat-row, .rd .services .sv-stat-item { border-color: var(--line-d); }
.rd .services .sv-tag-cloud span {
    background: transparent; color: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
}
.rd .services .sv-tag-cloud span:hover { border-color: var(--accent); color: #fff; }
.rd .services .sv-side-tags { background: rgba(255, 255, 255, .03); border: 1px solid var(--line-d); border-radius: 24px; }
.rd .services .sv-sidebar { background: transparent; box-shadow: none; border: 0; }

/* ---------- 프로세스: 쌓이는 카드 ---------- */
.rd .process-grid { display: block; max-width: 1080px; margin: 0 auto; }
.rd .process-arrow { display: none; }
.rd .process-card {
    position: sticky; top: 110px;
    display: grid; grid-template-columns: 1.05fr 1fr;
    max-width: none; min-height: clamp(320px, 34vw, 400px);
    margin: 0 0 28px; border-radius: 36px;
    background: var(--card); border: 1px solid var(--line);
    box-shadow: 0 -10px 40px rgba(11, 27, 46, .06), 0 20px 50px rgba(11, 27, 46, .08);
}
.rd .process-card:nth-child(1) { top: 104px; }
.rd .process-card:nth-child(3) { top: 128px; }
.rd .process-card:nth-child(5) { top: 152px; }
.rd .process-card:nth-child(7) { top: 176px; margin-bottom: 0; }
.rd .process-card:hover { transform: none; }
.js .rd .process-card[data-anim].in-view:hover { transform: none; }
.rd .process-card-img { aspect-ratio: auto; height: 100%; min-height: 240px; }
.rd .process-card-img img { transition: transform 1.4s var(--e-out); }
.rd .process-card:hover .process-card-img img { transform: scale(1.05); }
.rd .process-card-num {
    top: 22px; left: 22px; right: auto; bottom: auto;
    font-family: var(--f-sans); font-size: 13px; font-weight: 600; letter-spacing: .18em;
    padding: 8px 14px; border-radius: 999px; width: auto; height: auto;
    background: rgba(10, 24, 40, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rd .process-card-num::before { content: "STEP"; opacity: .65; margin-right: .5em; }
.rd .process-card-body {
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(28px, 4.5vw, 64px); text-align: left;
}
.rd .process-card-body h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -.04em; color: var(--ink); margin-bottom: 14px; }
.rd .process-card-body p { font-size: 17px; line-height: 1.75; color: var(--muted); }

/* ---------- 수행실적 숫자 (어두운 시트) ---------- */
.rd .portfolio { padding-bottom: clamp(56px, 7vw, 88px); }
.rd .portfolio .portfolio-num {
    background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d);
    border-radius: 28px; box-shadow: none; backdrop-filter: none;
}
.rd .portfolio .portfolio-num:hover { background: rgba(255, 255, 255, .07); transform: translateY(-6px); }
.rd .portfolio .portfolio-num strong { font-family: var(--f-sans); font-weight: 600; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.rd .portfolio .portfolio-num span { color: var(--accent); }
.rd .portfolio .portfolio-num p { color: rgba(255, 255, 255, .82); }
.rd .portfolio .portfolio-num small { color: rgba(255, 255, 255, .5); }
.rd .portfolio .ring-center { color: var(--accent); }

/* ---------- 승인 사례: 무한 흐름 (시그니처) ---------- */
.rd .cases-section { padding-top: clamp(40px, 6vw, 72px); overflow: hidden; }
.rd .cases-head {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 64px; align-items: end;
    margin-bottom: clamp(36px, 5vw, 56px);
}
.rd .cases-head .section-title { margin-bottom: 0; }
.rd .cases-head .section-desc { margin: 0 0 6px; }
.rd .case-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rd .case-track { display: flex; width: max-content; animation: rd-marquee var(--dur, 60s) linear infinite; }
.rd .case-marquee:hover .case-track, .rd .case-marquee:focus-within .case-track { animation-play-state: paused; }
@keyframes rd-marquee { to { transform: translateX(-50%); } }
.rd .case-group { display: flex; gap: 20px; padding: 0 20px 0 0; margin: 0; list-style: none; flex: none; }
.rd .case-card {
    position: relative; flex: none;
    width: clamp(232px, 21vw, 300px); aspect-ratio: 296 / 391;
    border-radius: 26px; overflow: hidden; background: var(--night-2);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
    transition: transform .6s var(--e-q);
}
.rd .case-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--e-out); }
.rd .case-card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 16, 28, .35) 0%, rgba(6, 16, 28, 0) 26%, rgba(6, 16, 28, 0) 46%, rgba(6, 16, 28, .9) 100%);
}
.rd .case-card:hover { transform: translateY(-8px); }
.rd .case-card:hover img { transform: scale(1.08); }
.rd .case-chip {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; color: #fff;
    background: rgba(10, 24, 40, .5); border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rd .case-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.rd .case-meta { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.rd .case-amount {
    display: block; font-size: clamp(24px, 2.2vw, 31px); font-weight: 700;
    letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums;
    text-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.rd .case-industry { display: block; margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .74); }
.rd .case-industry::after { content: " 승인"; color: var(--accent-soft); }

/* ---------- 고객사 계약 (밝은 시트) ---------- */
.rd .clients-section .section-label { color: var(--accent-deep); }
.rd .clients-section .section-title { color: var(--ink); }
.rd .clients-section .section-title span { color: var(--accent-deep) !important; font-family: var(--f-serif); }
.rd .clients-section .section-desc { color: var(--muted) !important; }
.rd .contract-card { border-radius: 24px; overflow: hidden; box-shadow: 0 18px 40px rgba(11, 27, 46, .1); }
.rd .contract-card img { transition: transform 1.2s var(--e-out); }
.rd .contract-card:hover img { transform: scale(1.06); }
.rd .contract-badge {
    background: rgba(10, 24, 40, .55); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rd .partner-label { color: var(--muted); letter-spacing: .14em; }
.rd .partner-scroll {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.rd .partner-track span {
    color: var(--ink-2); background: var(--card); border: 1px solid var(--line);
    border-radius: 999px; box-shadow: none;
}

/* ---------- 인증 분야: 3D 회전 캐러셀 (어두운 시트) ---------- */
.rd .cert-section { overflow: hidden; }
.rd .cert-flow { position: relative; outline: none; }
.rd .cert-stage {
    position: relative; height: clamp(360px, 42vw, 520px);
    perspective: 1400px; margin-top: 8px;
    touch-action: pan-y; user-select: none;
}
.rd .cert-stage::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 70%; height: 90%;
    transform: translate(-50%, -50%); pointer-events: none;
    background: radial-gradient(closest-side, rgba(93, 191, 176, .2), rgba(93, 191, 176, 0));
}
.rd .cert-flow .cert-card {
    position: absolute; left: 50%; top: 50%; margin: 0;
    width: clamp(210px, 22vw, 300px); aspect-ratio: 519 / 797;
    border-radius: 22px; overflow: hidden; background: #fff; cursor: pointer;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
    transform: translate(-50%, -50%) scale(.6); opacity: 0; filter: brightness(.6);
    transition: transform .8s var(--e-q), opacity .8s var(--e-q), filter .8s var(--e-q);
    will-change: transform, opacity, filter;
}
.rd .cert-flow .cert-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.rd .cert-flow .cert-card[data-pos="0"] { transform: translate(-50%, -50%); opacity: 1; filter: none; z-index: 5; cursor: default; }
.rd .cert-flow .cert-card[data-pos="1"] { transform: translate(calc(-50% + 72%), -50%) translateZ(-160px) rotateY(-30deg) scale(.86); opacity: .85; filter: brightness(.72); z-index: 4; }
.rd .cert-flow .cert-card[data-pos="-1"] { transform: translate(calc(-50% - 72%), -50%) translateZ(-160px) rotateY(30deg) scale(.86); opacity: .85; filter: brightness(.72); z-index: 4; }
.rd .cert-flow .cert-card[data-pos="2"] { transform: translate(calc(-50% + 132%), -50%) translateZ(-320px) rotateY(-42deg) scale(.72); opacity: .45; filter: brightness(.55); z-index: 3; }
.rd .cert-flow .cert-card[data-pos="-2"] { transform: translate(calc(-50% - 132%), -50%) translateZ(-320px) rotateY(42deg) scale(.72); opacity: .45; filter: brightness(.55); z-index: 3; }
.rd .cert-controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 22px; }
.rd .cert-btn {
    width: 52px; height: 52px; border-radius: 50%; flex: none; cursor: pointer;
    display: grid; place-items: center; color: #fff;
    background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .22);
    transition: background .25s, border-color .25s, transform .25s var(--e-q);
}
.rd .cert-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rd .cert-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); transform: scale(1.06); }
.rd .cert-btn:active { transform: scale(.95); }
.rd .cert-caption { min-width: 180px; text-align: center; }
.rd .cert-index { display: block; font-size: 12px; letter-spacing: .22em; color: rgba(255, 255, 255, .48); font-variant-numeric: tabular-nums; }
.rd .cert-name { display: block; margin-top: 4px; font-size: 19px; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.rd .cert-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.rd .cert-dot {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
    background: rgba(255, 255, 255, .25); transition: width .5s var(--e-q), background .3s;
}
.rd .cert-dot[aria-selected="true"] { width: 30px; background: var(--accent); }

/* ---------- 선택하는 이유 (밝은 시트) ---------- */
.rd .why-grid { counter-reset: why; }
.rd .why-card {
    position: relative; text-align: left;
    background: var(--card); border: 1px solid var(--line); border-radius: 28px;
    padding: 34px 30px 30px; box-shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 10px 30px rgba(11, 27, 46, .05);
    transition: transform .5s var(--e-q), box-shadow .5s var(--e-q), border-color .4s;
}
.rd .why-card::before {
    counter-increment: why; content: "0" counter(why);
    position: absolute; top: 28px; right: 28px;
    font-size: 13px; font-weight: 600; letter-spacing: .16em; color: rgba(11, 27, 46, .3);
}
.rd .why-card:hover { transform: translateY(-8px); border-color: rgba(93, 191, 176, .45); box-shadow: 0 30px 60px rgba(11, 27, 46, .1); }
.js .rd .why-card[data-anim].in-view:hover { transform: translateY(-8px); }
.rd .why-icon-ring {
    width: 56px; height: 56px; border-radius: 18px; margin: 0 0 22px;
    background: var(--accent-tint); color: var(--accent-deep); border: 0; box-shadow: none;
}
.rd .why-icon-ring::before, .rd .why-icon-ring::after { display: none; }
.rd .why-card h3 { font-size: 21px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.rd .why-card p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.rd .why-tag { background: var(--accent-tint); color: var(--accent-deep); border-radius: 999px; }

/* ---------- 인사이트 (밝은 시트, 이어짐) ---------- */
.rd .insights { padding-top: 0; }
.rd .insights .section-title { font-size: clamp(30px, 4.2vw, 56px); }
.rd .insight-list {
    background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
    box-shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 10px 30px rgba(11, 27, 46, .05);
}
.rd button.insight-item { padding: 22px 30px; }
.rd button.insight-item strong { color: var(--ink); font-weight: 600; font-size: 16.5px; letter-spacing: -.02em; }
.rd button.insight-item time { color: var(--muted); font-variant-numeric: tabular-nums; }
.rd button.insight-item:hover, .rd button.insight-item.open { background: #F1F7F6; }
.rd .badge { border-radius: 999px; font-weight: 600; background: var(--ink); }
.rd .badge.col { background: var(--accent-deep); }
.rd .badge.hot { background: #D9534F; }
.rd .insight-permalink { color: var(--accent-deep); }

/* ---------- 마지막 CTA (어두운 시트) ---------- */
.rd .cta {
    background:
        radial-gradient(900px 420px at 80% 0%, rgba(93, 191, 176, .12), rgba(93, 191, 176, 0) 70%),
        var(--night);
}
.rd .cta .cta-grid { grid-template-columns: 1.35fr .65fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.rd .cta .section-title { font-size: clamp(34px, 5vw, 68px); line-height: 1.14; }
.rd .cta-text p { color: rgba(255, 255, 255, .66); font-size: 17px; line-height: 1.8; max-width: 36rem; }
.rd .cta-info { flex-direction: row; flex-wrap: wrap; gap: 14px 32px; margin-top: 36px; }
.rd .cta-info-item i { background: rgba(93, 191, 176, .14); color: var(--accent); border-radius: 14px; }
.rd .cta-info-item strong { color: #fff; }
.rd .cta-info-item span { color: rgba(255, 255, 255, .62); }
.rd .cta-action { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.rd .magnet { display: inline-block; }
.rd .cta-orb {
    position: relative; width: clamp(190px, 17vw, 230px); aspect-ratio: 1; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: var(--accent); color: #04201B; text-align: center;
    font-size: clamp(18px, 1.6vw, 21px); font-weight: 700; line-height: 1.3; letter-spacing: -.03em;
    box-shadow: 0 24px 60px rgba(93, 191, 176, .32);
    transition: background .3s, box-shadow .4s var(--e-q);
}
.rd .cta-orb::before {
    content: ""; position: absolute; inset: -14px; border-radius: 50%;
    border: 1px dashed rgba(169, 222, 214, .45);
    animation: rd-spin 40s linear infinite;
}
@keyframes rd-spin { to { transform: rotate(360deg); } }
.rd .cta-orb-arrow {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: #04201B; color: var(--accent); font-size: 18px; transition: transform .4s var(--e-q);
}
.rd .cta-orb:hover { background: #74CBBE; box-shadow: 0 30px 70px rgba(93, 191, 176, .45); }
.rd .cta-orb:hover .cta-orb-arrow { transform: rotate(-45deg); }
.rd .cta-action-note { font-size: 13.5px; color: rgba(255, 255, 255, .55); letter-spacing: .01em; }

/* ---------- 푸터 ---------- */
.rd .footer { background: #071220; }

/* ---------- 반응형 ---------- */
@media (max-width: 1100px) and (min-width: 769px) {
    .rd .hero-content { grid-template-columns: 1fr; grid-template-areas: "badge" "title" "desc" "actions" "stats"; }
    .rd .hero-stats { margin-top: 28px; justify-self: start; }
    .rd .hero-stats .stat:first-child { padding-left: 0; }
}
@media (max-width: 1024px) {
    .rd .ceo-section { grid-template-columns: 1fr; }
    .rd .ceo-photo-area { position: relative; top: auto; }
    .rd .cases-head { grid-template-columns: 1fr; }
    .rd .cta .cta-grid { grid-template-columns: 1fr; }
    .rd .cta-action { align-items: flex-start; }
}
@media (max-width: 900px) {
    .rd .header-cta { height: 42px; font-size: 14px; padding: 0 6px 0 16px; }
    .rd .header-cta-arrow { width: 30px; height: 30px; }
}
@media (max-width: 768px) {
    body.rd { --sheet: 28px; }
    .rd .header .header-inner { height: 58px; margin-top: 10px; width: calc(100% - 20px); padding: 0 6px 0 18px; gap: 10px; }
    .rd .logo img { height: 28px; }
    .rd .header-cta { margin-left: auto; }
    .rd .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas: "badge" "title" "desc" "actions" "stats";
        padding-top: 96px; padding-bottom: calc(var(--sheet) + 20px);
    }
    .rd .hero-badge { margin-bottom: 14px; font-size: 12.5px; padding: 6px 12px 6px 10px; }
    .rd .hero h1.hero-title { font-size: clamp(30px, 8.6vw, 40px); margin-bottom: 14px; }
    .rd .hero-line { white-space: normal; }
    .rd .hero-desc { font-size: 14.5px; line-height: 1.65; margin-bottom: 20px; }
    .rd .hero-desc br { display: none; }
    .rd .hero-actions { flex-wrap: nowrap; }
    .rd .hero-actions .btn { flex: 1 1 0; justify-content: center; font-size: 15px; }
    .rd .hero-actions .btn-primary { padding: 6px 6px 6px 18px; justify-content: space-between; }
    .rd .hero-actions .btn-primary i { width: 36px; height: 36px; }
    .rd .hero-actions .btn-outline { padding: 13px 14px; }
    .rd .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
    .rd .hero-stats .stat { padding: 0 0 0 10px; }
    .rd .hero-stats .stat:first-child { padding-left: 0; }
    .rd .hero-stats .stat strong { font-size: 21px; }
    .rd .hero-stats .stat span { font-size: 12px; }
    .rd .hero-stats .stat p { font-size: 11px; }
    .rd .process-card { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
    .rd .process-card:nth-child(1) { top: 80px; }
    .rd .process-card:nth-child(3) { top: 94px; }
    .rd .process-card:nth-child(5) { top: 108px; }
    .rd .process-card:nth-child(7) { top: 122px; }
    .rd .process-card-img { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
    .rd .process-card-body { padding: 24px 24px 28px; }
    .rd .case-card { width: 218px; border-radius: 22px; }
    .rd .cert-flow .cert-card { width: 48vw; max-width: 240px; }
    .rd .cert-flow .cert-card[data-pos="1"] { transform: translate(calc(-50% + 58%), -50%) translateZ(-160px) rotateY(-30deg) scale(.8); }
    .rd .cert-flow .cert-card[data-pos="-1"] { transform: translate(calc(-50% - 58%), -50%) translateZ(-160px) rotateY(30deg) scale(.8); }
    .rd .cert-flow .cert-card[data-pos="2"], .rd .cert-flow .cert-card[data-pos="-2"] { opacity: 0; }
    .rd .cert-stage { height: clamp(330px, 95vw, 420px); }
    .rd .cta-info { flex-direction: column; }
    .rd .services .sv-tab-nav { border-radius: 24px; }
    .rd .services .sv-check-item.is-featured strong::after { display: inline-block; margin: 6px 0 0; }
}
@media (max-width: 560px) {
    .rd .header-cta-arrow { display: none; }
    .rd .header-cta { padding: 0 16px; }
}
@media (max-height: 760px) and (min-width: 769px) {
    .rd .hero h1.hero-title { font-size: clamp(36px, 5vw, 72px); }
    .rd .hero-stats { margin-top: 28px; }
}

/* ==========================================================
   하위 페이지(무료진단 신청·완료) — body.rd.rd-sub
   ========================================================== */
.rd-sub .header .header-inner { background: rgba(10, 24, 40, .86); border-color: rgba(255, 255, 255, .09); }
.rd-sub .header-cta-arrow i { font-size: 12px; }

/* 신청 페이지 상단 배너 */
.rd-sub .page-banner {
    background:
        radial-gradient(800px 380px at 85% 0%, rgba(93, 191, 176, .16), rgba(93, 191, 176, 0) 70%),
        var(--night);
    padding: clamp(150px, 18vw, 190px) 0 calc(var(--sheet) + 96px);
    text-align: left;
}
.rd-sub .page-banner::before { display: none; }
.rd-sub .page-banner .container { max-width: 900px; }
.rd-sub .page-banner-label {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--f-sans); font-size: 12.5px; letter-spacing: .22em; color: var(--accent); margin-bottom: 20px;
}
.rd-sub .page-banner-label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.rd-sub .page-banner h1 {
    font-size: clamp(32px, 5vw, 60px); font-weight: 700; line-height: 1.14; letter-spacing: -.045em; color: #fff;
}
.rd-sub .page-banner h1 .rd-accent { color: var(--accent-soft); }
.rd-sub .page-banner p { color: rgba(255, 255, 255, .7); font-size: 17px; line-height: 1.75; margin-top: 18px; max-width: 36rem; }

/* 신청서 카드 */
.rd-sub .diag-section {
    background: var(--paper); padding-bottom: clamp(72px, 9vw, 120px);
    border-radius: var(--sheet) var(--sheet) 0 0; margin-top: calc(var(--sheet) * -1);
    position: relative; z-index: 2;
}
.rd-sub .diag-form-wrap {
    max-width: 860px; margin: -72px auto 0; border-radius: 32px;
    padding: clamp(28px, 5vw, 60px);
    background: var(--card); border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 30px 70px rgba(11, 27, 46, .1);
}
.rd-sub .step-section { border-bottom-color: var(--line); }
.rd-sub .step-num {
    width: 40px; height: 40px; background: var(--ink); color: var(--accent);
    font-family: var(--f-sans); font-size: 14px; font-weight: 700; box-shadow: none;
}
.rd-sub .step-title { font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.rd-sub .step-subtitle { color: var(--muted); font-size: 14px; }
.rd-sub .form-group > label { color: var(--ink); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.rd-sub .form-group > label .req { color: #D9534F; }
.rd-sub .form-group input,
.rd-sub .form-group select,
.rd-sub .form-group textarea {
    min-height: 52px; padding: 14px 18px; border-radius: 14px;
    background: #F6F8FA; border: 1px solid var(--line); color: var(--ink); font-size: 15.5px;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.rd-sub .form-group input::placeholder, .rd-sub .form-group textarea::placeholder { color: #9AA7B6; }
.rd-sub .form-group input:focus,
.rd-sub .form-group select:focus,
.rd-sub .form-group textarea:focus {
    background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(93, 191, 176, .16);
}
.rd-sub .radio-group { gap: 8px; }
.rd-sub .radio-option label,
.rd-sub .check-option label {
    min-height: 46px; padding: 10px 18px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: var(--ink-2);
    font-size: 14.5px; font-weight: 500;
    transition: border-color .25s, background .25s, color .25s, transform .3s var(--e-q);
}
.rd-sub .radio-option label::before { border: 1.5px solid #C5CED8; }
.rd-sub .radio-option label:hover,
.rd-sub .check-option label:hover { border-color: rgba(93, 191, 176, .6); color: var(--ink); }
.rd-sub .radio-option input[type="radio"]:checked + label,
.rd-sub .check-option input[type="checkbox"]:checked + label {
    border-color: var(--accent); background: var(--accent-tint); color: var(--ink); font-weight: 600;
}
.rd-sub .radio-option input[type="radio"]:checked + label::before { border-color: var(--accent-deep); background: var(--accent-deep); }
.rd-sub .check-option input[type="checkbox"]:checked + label i { color: var(--accent-deep); }
.rd-sub .radio-option input:focus-visible + label,
.rd-sub .check-option input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.rd-sub .check-option label:active, .rd-sub .radio-option label:active { transform: scale(.97); }
.rd-sub .agree-item input[type="checkbox"] { accent-color: var(--accent-deep); width: 20px; height: 20px; }
.rd-sub .agree-item label { color: var(--ink-2); font-size: 15px; }
.rd-sub .badge-req { background: #D9534F; border-radius: 999px; padding: 2px 8px; }
.rd-sub .privacy-box { background: #F6F8FA; border-left: 2px solid var(--accent); border-radius: 0 14px 14px 0; color: var(--muted); }
.rd-sub .privacy-box strong { color: var(--ink); }
.rd-sub .submit-wrap { border-top-color: var(--line); }
.rd-sub .btn-submit {
    gap: 14px; padding: 8px 8px 8px 30px; border-radius: 999px;
    background: var(--accent); color: #04201B; font-size: 17px; font-weight: 700; letter-spacing: -.02em;
    box-shadow: 0 14px 36px rgba(93, 191, 176, .32);
}
.rd-sub .btn-submit i {
    width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
    background: #04201B; color: var(--accent); font-size: 15px; transition: transform .35s var(--e-q);
}
.rd-sub .btn-submit:hover { background: #74CBBE; transform: translateY(-2px); box-shadow: 0 18px 44px rgba(93, 191, 176, .42); }
.rd-sub .btn-submit:hover i { transform: rotate(-45deg); }
.rd-sub .btn-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.rd-sub .submit-note { color: var(--muted); font-size: 13.5px; }

/* 신청 완료 페이지 */
.rd-sub .complete-wrap {
    min-height: 100vh; min-height: 100dvh;
    padding: clamp(130px, 16vw, 170px) 0 clamp(72px, 9vw, 120px);
    background:
        radial-gradient(900px 460px at 50% 0%, rgba(93, 191, 176, .18), rgba(93, 191, 176, 0) 70%),
        linear-gradient(180deg, var(--night) 0, var(--night) 340px, var(--paper) 340px);
}
.rd-sub .complete-card {
    max-width: 720px; border-radius: 32px; padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
    background: var(--card); border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(11, 27, 46, .04), 0 30px 70px rgba(11, 27, 46, .12);
}
.rd-sub .check-circle {
    width: 84px; height: 84px; background: var(--accent); box-shadow: 0 16px 40px rgba(93, 191, 176, .38);
    position: relative;
}
.rd-sub .check-circle::after {
    content: ""; position: absolute; inset: -10px; border-radius: 50%;
    border: 1px dashed rgba(35, 121, 109, .35); animation: rd-spin 40s linear infinite;
}
.rd-sub .check-circle i { color: #04201B; font-size: 2.1rem; }
.rd-sub .complete-card h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.04em; color: var(--ink); line-height: 1.3; }
.rd-sub .complete-card .lead { color: var(--muted); font-size: 16px; line-height: 1.8; }
.rd-sub .docs-box { background: #F6F8FA; border: 1px solid var(--line); border-radius: 22px; }
.rd-sub .docs-box-title { color: var(--ink); font-size: 16px; }
.rd-sub .docs-box-title i, .rd-sub .docs-list-item i { color: var(--accent-deep); }
.rd-sub .docs-list-item { color: var(--ink-2); font-size: 15px; }
.rd-sub .contact-banner { background: var(--accent-tint); border: 1px solid rgba(93, 191, 176, .35); border-radius: 999px; }
.rd-sub .contact-item { color: var(--ink-2); }
.rd-sub .contact-item i { color: var(--accent-deep); }
.rd-sub .btn-home {
    gap: 12px; padding: 8px 8px 8px 26px; border-radius: 999px;
    background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(11, 27, 46, .2);
}
.rd-sub .btn-home i {
    width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center;
    background: var(--accent); color: #04201B; order: 2; font-size: 14px;
}
.rd-sub .btn-home:hover { background: var(--night-3); }

@media (max-width: 768px) {
    .rd-sub .page-banner { padding-top: 130px; }
    .rd-sub .diag-form-wrap { margin: -56px 0 0; border-radius: 24px; }
    .rd-sub .btn-submit { width: 100%; justify-content: space-between; font-size: 16px; }
    .rd-sub .contact-banner { border-radius: 20px; }
}

/* 움직임 줄이기 설정 */
@media (prefers-reduced-motion: reduce) {
    .js .rd [data-anim], .js .rd .hero-title .bt-word { opacity: 1; transform: none; filter: none; transition: none; animation: none; }
    .js .rd .hero-video-bg { opacity: 1; transform: none; transition: none; }
    .rd .case-track { animation: none; }
    .rd .case-marquee { overflow-x: auto; }
    .rd .cert-flow .cert-card, .rd .cert-dot { transition: none; }
    .rd .cta-orb::before, .rd .hero-badge-dot::after { animation: none; }
    .rd .process-card { position: relative; top: auto !important; }
}
