/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #000;
    overflow-x: hidden;
}

:root {
    --page-max: 1200px;
    --page-gutter: 24px;
}

/* ===== Header (from index.html) ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-container {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 20px var(--page-gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #666;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 12px;
    background: #000;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    cursor: default;
    border: none;
}

site-footer:not(:defined) {
    display: none;
}

/* ===== Inquiry Page ===== */
.inquiry-main {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: #fafafa;
}

.inquiry-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 var(--page-gutter);
}

.inquiry-header {
    text-align: center;
    margin-bottom: 40px;
}

.inquiry-header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.inquiry-header p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* Form */
.form-group {
    margin-bottom: 24px;
}

.form-group > label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    color: #111;
}

.required {
    color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #d32f2f;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-msg {
    display: block;
    font-size: 13px;
    color: #d32f2f;
    margin-top: 6px;
    min-height: 0;
}

/* Radio group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-label:hover {
    border-color: #999;
    background: #f9f9f9;
}

.radio-label input[type="radio"] {
    margin-top: 3px;
    accent-color: #000;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked ~ span {
    font-weight: 600;
}

.enter-path-text-wrap {
    margin-top: 12px;
}

.is-hidden {
    display: none;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #000;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

/* Submit */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-top: 16px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success */
.inquiry-success {
    text-align: center;
    padding: 60px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.inquiry-success h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.inquiry-success p {
    font-size: 16px;
    color: #555;
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.back-link:hover {
    transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    :root {
        --page-gutter: 20px;
    }

    .header-container {
        padding: 16px var(--page-gutter);
    }

    .nav-menu {
        gap: 24px;
        font-size: 14px;
    }

    .header-cta {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    :root {
        --page-gutter: 16px;
    }

    .header-container {
        padding: 14px var(--page-gutter);
    }

    .logo img {
        height: 40px;
    }

    .nav-menu {
        display: none;
    }

    .header-cta {
        font-size: 12px;
        padding: 10px 18px;
    }

    .inquiry-main {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .inquiry-header h1 {
        font-size: 24px;
    }

    .inquiry-header p {
        font-size: 14px;
    }

    .radio-label {
        font-size: 14px;
        padding: 10px 12px;
    }
}
