/* ==========================================================
   XRWorld 공통 디자인 시스템 (VR 테마)
   index.html / operation_mode.html / contacts.html 공용
   ========================================================== */

:root {
    --bg:            #070b16;
    --bg-soft:       #0c1223;
    --panel:         rgba(255, 255, 255, 0.045);
    --panel-strong:  rgba(255, 255, 255, 0.075);
    --line:          rgba(140, 170, 230, 0.18);
    --line-bright:   rgba(140, 170, 230, 0.38);

    --cyan:    #22d3ee;
    --violet:  #c084fc;
    --emerald: #34d399;
    --amber:   #fbbf24;

    --text:       #e7eefc;
    --text-muted: #93a4c4;
    --text-dim:   #6b7c9c;

    --radius:    18px;
    --radius-lg: 26px;
    --maxw:      1180px;
    --header-h:  68px;

    --font: 'Pretendard', 'Malgun Gothic', 'Apple SD Gothic Neo', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 페이지 전체에 은은하게 깔리는 네온 배경 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(720px 520px at 12% -8%,  rgba(34, 211, 238, 0.17), transparent 62%),
        radial-gradient(680px 520px at 92% 6%,   rgba(192, 132, 252, 0.16), transparent 62%),
        radial-gradient(900px 700px at 50% 108%, rgba(52, 211, 153, 0.10), transparent 62%);
}
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 160, 230, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 160, 230, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------------- 헤더 ---------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(18px, 5vw, 56px);
    background: rgba(7, 11, 22, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
}
.logo span {
    background: linear-gradient(100deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav { display: flex; align-items: center; gap: clamp(6px, 2vw, 22px); flex-wrap: wrap; }
.nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 2px;
    transition: color 0.25s;
    white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    transition: width 0.25s;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    padding: 9px 20px !important;
    border-radius: 999px;
    color: #04121a !important;
    background: linear-gradient(100deg, var(--cyan), #7ee8fa);
    font-weight: 800;
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.35);
}
.nav-cta:hover { filter: brightness(1.08); }

/* ---------------- 히어로 ---------------- */
.hero {
    position: relative;
    min-height: clamp(540px, 82vh, 780px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--header-h) + 70px) 6vw 90px;
    overflow: hidden;
}
.hero--compact { min-height: clamp(360px, 48vh, 470px); padding-bottom: 60px; }

/* 원근감 있는 그리드 바닥 (VR 공간 느낌) */
.hero-floor {
    position: absolute;
    left: -30%; right: -30%; bottom: -10px;
    height: 52%;
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 132, 252, 0.22) 1px, transparent 1px);
    background-size: 64px 64px;
    transform: perspective(340px) rotateX(64deg);
    transform-origin: bottom center;
    -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 88%);
    mask-image: linear-gradient(to top, #000 8%, transparent 88%);
    animation: floorScroll 7s linear infinite;
    pointer-events: none;
}
@keyframes floorScroll { to { background-position: 0 64px, 0 0; } }

.hero-content { position: relative; z-index: 2; max-width: 900px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 18px;
    margin-bottom: 26px;
    border-radius: 999px;
    border: 1px solid var(--line-bright);
    background: var(--panel);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--text-muted);
}
.badge .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.9rem);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -1.6px;
    margin-bottom: 22px;
}
.grad {
    background: linear-gradient(100deg, var(--cyan), var(--violet) 55%, var(--emerald));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    font-size: clamp(1rem, 2.1vw, 1.16rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ---------------- 버튼 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s;
}
.btn-primary {
    color: #04121a;
    background: linear-gradient(100deg, var(--cyan), #8b7dfc);
    box-shadow: 0 10px 34px rgba(34, 211, 238, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 42px rgba(34, 211, 238, 0.42); }
.btn-ghost {
    color: var(--text);
    background: var(--panel);
    border-color: var(--line-bright);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--panel-strong); border-color: var(--cyan); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------------- 섹션 공통 ---------------- */
.section { padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 56px); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.center { text-align: center; }

.eyebrow {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
}
.section-subtitle {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 48px;
    font-size: 1.02rem;
}

/* ---------------- 글래스 카드 ---------------- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 22px;
}
.card {
    position: relative;
    padding: 34px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    transition: transform 0.28s, border-color 0.28s, background 0.28s;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.28s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-bright); background: var(--panel-strong); }
.card:hover::before { opacity: 1; }
.card-icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.3);
    font-size: 1.25rem;
}
.card h3 { font-size: 1.16rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------------- 푸터 ---------------- */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 48px clamp(18px, 5vw, 56px);
    text-align: center;
    color: var(--text-dim);
    font-size: 0.92rem;
    background: rgba(4, 7, 14, 0.6);
}
.site-footer a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p + p { margin-top: 8px; }

/* ---------------- Unity 장면 제작 안내 (unity_scene_guide.html) ---------------- */
.guide { max-width: 900px; margin: 0 auto; padding: 40px clamp(18px, 5vw, 56px) clamp(70px, 9vw, 110px); }
.guide-flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-bottom: 44px; }
.guide-flow span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-bright); background: var(--panel); color: var(--text); font-size: 0.92rem; font-weight: 700; }
.guide-flow i { color: var(--text-dim); font-style: normal; }
.guide-step { position: relative; padding: 28px 28px 24px; margin-bottom: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
.guide-step h2 { font-size: 1.22rem; font-weight: 800; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.guide-step h2 .guide-num { color: var(--cyan); font-size: 0.85rem; letter-spacing: 1.5px; }
.guide-step p, .guide-step li { color: var(--text-muted); font-size: 0.97rem; line-height: 1.7; }
.guide-step ol, .guide-step ul { padding-left: 1.3em; margin: 8px 0; }
.guide-step li + li { margin-top: 4px; }
.guide-step b { color: var(--text); }
.guide-step code, .guide code { font-family: Consolas, 'D2Coding', monospace; font-size: 0.88em; padding: 1px 6px; border-radius: 6px; background: rgba(140, 170, 230, 0.12); color: var(--text); word-break: break-all; }
.guide-step table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 0.93rem; }
.guide-step th, .guide-step td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--text-muted); vertical-align: top; }
.guide-step th { color: var(--text); font-weight: 700; white-space: nowrap; }
.guide-table { overflow-x: auto; }
.guide-tree { margin: 10px 0; padding: 14px 16px; border-radius: 12px; background: rgba(4, 7, 14, 0.6); border: 1px solid var(--line); color: var(--text); font-family: Consolas, 'D2Coding', monospace; font-size: 0.86rem; line-height: 1.6; overflow-x: auto; }
.guide-note { margin-top: 12px; padding: 12px 16px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: rgba(251, 191, 36, 0.07); color: var(--text-muted); font-size: 0.93rem; }
.guide-note b { color: var(--amber); }
.guide-refs a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.guide-step a, .guide-note a { color: var(--cyan); font-weight: 600; }
.guide-flow + .guide-note { margin: -24px 0 24px; }
.guide-refs a:hover { text-decoration: underline; }
.guide-back { display: inline-block; margin-bottom: 26px; color: var(--cyan); text-decoration: none; font-weight: 700; }
.guide-back:hover { text-decoration: underline; }
.mode-guide-link { margin-top: 22px; }

/* ---------------- 반응형 ---------------- */
@media (max-width: 760px) {
    .site-header { height: auto; flex-direction: column; gap: 10px; padding: 12px 18px; }
    :root { --header-h: 118px; }
    .nav { justify-content: center; }
    .hero-floor { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ==========================================================
   페이지 공통 블록 (2026-09-16)
   index.html / operation_mode.html / contacts.html 이 함께 쓴다.
   페이지마다 <style> 을 두지 않고 모두 여기에 모은다.
   ========================================================== */

/* ---------------- 구성도와 펼침 설명 ---------------- */
.diagram-frame {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-bright);
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.10), rgba(192, 132, 252, 0.08));
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
    cursor: zoom-in;
    transition: transform 0.3s, box-shadow 0.3s;
}
.diagram-frame:hover { transform: translateY(-4px); box-shadow: 0 34px 80px rgba(34, 211, 238, 0.22); }
.diagram-frame img { width: 100%; border-radius: 16px; }
.diagram-hint { margin-top: 14px; font-size: 0.88rem; color: var(--text-dim); text-align: center; }

.detail-toggle { margin: 42px auto 0; display: flex; }
.detail-toggle .chev { transition: transform 0.35s; font-size: 0.8rem; }
.detail-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.detail-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s ease; }
.detail-panel.open { grid-template-rows: 1fr; }
.detail-inner { overflow: hidden; }
.detail-body { padding-top: 42px; }

/* ---------------- 단계 목록 ---------------- */
.steps { display: grid; gap: 16px; }
.step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    align-items: start;
    padding: 24px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    text-align: left;
}
.step-num {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #04121a;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
}
.step h4 { font-size: 1.08rem; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------------- 구성 요약 상자 ---------------- */
.stack {
    margin-top: 20px;
    padding: 24px 26px;
    border-radius: var(--radius);
    border: 1px dashed var(--line-bright);
    background: rgba(192, 132, 252, 0.06);
    text-align: left;
}
.stack h4 { font-size: 1.02rem; font-weight: 800; margin-bottom: 12px; color: var(--violet); }
.stack ul { list-style: none; display: grid; gap: 8px; }
.stack li { color: var(--text-muted); font-size: 0.95rem; padding-left: 20px; position: relative; }
.stack li::before { content: '▸'; position: absolute; left: 0; color: var(--violet); }
.stack b { color: var(--text); font-weight: 700; }

/* ---------------- 학습 모드 요약 (홈) ---------------- */
.mode-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.mode-chip {
    padding: 26px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: transform 0.26s, border-color 0.26s, background 0.26s;
}
.mode-chip:hover { transform: translateY(-5px); border-color: var(--amber); background: var(--panel-strong); }
.mode-chip .tag {
    font-size: 0.74rem; font-weight: 800; letter-spacing: 1.6px;
    color: var(--amber); display: block; margin-bottom: 10px;
}
.mode-chip h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.mode-chip p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------------- 이미지 확대 모달 ---------------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(3, 6, 14, 0.96);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 4vh 3vw;
    align-items: center;
    justify-content: center;
}
.modal.open { display: flex; }
.modal img {
    max-width: 96%;
    max-height: 92vh;
    border-radius: 14px;
    border: 1px solid var(--line-bright);
    box-shadow: 0 0 80px rgba(34, 211, 238, 0.25);
    animation: zoomIn 0.28s ease;
}
@keyframes zoomIn { from { transform: scale(0.86); opacity: 0; } }
.modal-close {
    position: absolute;
    top: 22px; right: 30px;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border: 1px solid var(--line-bright);
    border-radius: 50%;
    background: var(--panel);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.modal-close:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------------- 학습 모드 상세 (핵심 기능) ---------------- */
.modes-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 56px) 40px; }

.mode-section {
    display: flex;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
    margin-bottom: clamp(70px, 10vw, 120px);
}
/* 스크립트가 동작할 때만 숨겼다가 나타낸다 (JS 실패 시에도 내용이 보이도록) */
.js .mode-section { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.js .mode-section.visible { opacity: 1; transform: translateY(0); }
.mode-section:nth-of-type(even) { flex-direction: row-reverse; }

.image-container {
    flex: 1.25;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--line-bright);
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.10), rgba(192, 132, 252, 0.08));
    box-shadow: 0 26px 64px rgba(0, 0, 0, 0.55);
}
.image-container img { width: 100%; border-radius: 16px; transition: transform 0.5s ease; }
.image-container:hover img { transform: scale(1.035); }

.content-container { flex: 1; min-width: 0; }

.mode-number {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.1);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    color: var(--amber);
}
.mode-title { font-size: clamp(1.5rem, 3.2vw, 2.15rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.mode-description { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 26px; }

.feature-list { list-style: none; display: grid; gap: 14px; }
.feature-list li {
    position: relative;
    padding: 14px 18px 14px 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--panel);
    font-size: 0.98rem;
    color: var(--text-muted);
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 17px; top: 13px;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.16);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 800;
}
.feature-list b { color: var(--text); font-weight: 700; }

/* ---------------- 마무리 안내 상자 ---------------- */
.closing { padding: 20px clamp(18px, 5vw, 56px) clamp(70px, 9vw, 110px); }
.closing-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(38px, 6vw, 60px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-bright);
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.10), rgba(192, 132, 252, 0.08));
    text-align: center;
}
.closing-inner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.8px; }
.closing-inner p { color: var(--text-muted); margin-bottom: 30px; }

/* ---------------- 문의 폼 ---------------- */
.contact-layout {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 30px;
    align-items: start;
}

.contact-info {
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: var(--panel);
    text-align: left;
}
.contact-info h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.contact-info p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 26px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-item .ico {
    width: 38px; height: 38px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 11px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.3);
}
.info-item strong { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 2px; }
.info-item span { color: var(--text-muted); font-size: 0.9rem; }

.contact-form {
    padding: clamp(28px, 4vw, 42px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-bright);
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.08), rgba(192, 132, 252, 0.07));
    text-align: left;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 9px; font-weight: 700; font-size: 0.93rem; color: var(--text); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: rgba(4, 8, 18, 0.55);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: rgba(4, 8, 18, 0.8);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.13);
}
.form-group textarea { height: 160px; resize: vertical; }

.btn-send { width: 100%; padding: 16px; font-size: 1.03rem; }
.btn-send svg { width: 21px; height: 21px; fill: currentColor; }

.form-status {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 13px;
    font-size: 0.94rem;
    text-align: center;
    display: none;
    border: 1px solid transparent;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.45); color: #6ee7b7; }
.form-status.error   { background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.45); color: #fca5a5; }
.form-status.pending { background: rgba(34, 211, 238, 0.10); border-color: rgba(34, 211, 238, 0.4); color: #7dd3fc; }

/* ---------------- 반응형 (블록별) ---------------- */
@media (max-width: 880px) {
    .mode-section, .mode-section:nth-of-type(even) { flex-direction: column; }
    .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .step { grid-template-columns: 1fr; gap: 12px; }
}

/* 사업자 정보·약관 링크 (site-footer.js, 설계 6.15) */
#site-legal { margin-top: 18px; font-size: 0.8rem; line-height: 1.7; }
#site-legal .site-legal-line { color: var(--text-dim); opacity: 0.85; margin-top: 2px; }
