/* Contact page — all-ling.com/contact */

body#contact {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #f9fafb;
}

body#contact #header {
    background-color: #fff;
}

body#contact #header:before {
    background-color: #ececec;
}

body#contact #header .menu_box .dep1 > a > span,
body#contact #header.scroll .menu_box .dep1 > a > span {
    color: #111;
}

body#contact #header .member_btn ul li a,
body#contact #header.scroll .member_btn ul li a {
    color: #979b9b;
}

body#contact #header .member_btn ul li:before {
    background: #c6c6c6;
    opacity: 1;
}

body#contact #header .menu_btn span {
    background-color: #111;
}

.al-contact {
    padding-top: 100px;
}

.al-contact-hero {
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    padding: 56px 24px;
}

.al-contact-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.al-contact-badge {
    display: inline-block;
    background: #E8F5E9;
    color: #73B854;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.al-contact-hero h1 {
    font-size: 36px;
    font-weight: 900;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}

.al-contact-hero h1 .hl {
    display: inline-block;
    margin-top: 12px;
    color: #73B854;
}

.al-contact-hero p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.75;
    max-width: 36rem;
    margin: 0;
}

.al-contact-features {
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
    padding: 40px 24px;
}

.al-contact-features-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.al-contact-feature {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
}

.al-contact-feature .ic {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-contact-feature .ic.green { background: #f0fdf4; color: #73B854; }
.al-contact-feature .ic.blue { background: #eff6ff; color: #3b82f6; }
.al-contact-feature .ic.yellow { background: #fefce8; color: #eab308; }

.al-contact-feature .ic svg {
    width: 20px;
    height: 20px;
}

.al-contact-feature h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}

.al-contact-feature p {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

.al-contact-form-wrap {
    padding: 56px 24px 80px;
}

.al-contact-form-box {
    max-width: 672px;
    margin: 0 auto;
    background: #fff;
    border-radius: 32px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 32px 24px;
}

.al-contact-form-head h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
}

.al-contact-form-head p {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 32px;
}

.al-contact-form .field {
    margin-bottom: 20px;
}

.al-contact-form .field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.al-contact-form .req {
    color: #f87171;
}

.al-contact-input {
    width: 100%;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}

.al-contact-input:focus {
    border-color: #73B854;
}

.al-contact-input::placeholder {
    color: #9ca3af;
}

textarea.al-contact-input {
    resize: none;
    min-height: 120px;
}

.al-contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.al-inquiry-types {
    background: #f3f4f6;
    padding: 4px;
    border-radius: 16px;
    display: flex;
    gap: 0;
}

.al-inquiry-types .type-item {
    flex: 1;
}

.al-inquiry-types input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.al-inquiry-types label {
    display: block;
    text-align: center;
    padding: 10px 8px;
    border-radius: 14px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.al-inquiry-types input:checked + label {
    background: #9CE558;
    color: #111827;
    font-weight: 700;
}

.al-gmv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.al-gmv-option {
    cursor: pointer;
}

.al-gmv-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.al-gmv-label {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    transition: all 0.2s;
}

.al-gmv-option input:checked + .al-gmv-label {
    background: #9CE558;
    color: #111827;
    font-weight: 700;
    border-color: #9CE558;
}

.al-gmv-option:hover .al-gmv-label {
    border-color: #73B854;
}

.al-privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.al-privacy-check input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #73B854;
    flex-shrink: 0;
}

.al-privacy-check span {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
}

.al-privacy-open {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #111827;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.al-contact-submit {
    width: 100%;
    background: #9CE558;
    color: #111827;
    font-weight: 700;
    font-size: 15px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    margin-top: 8px;
}

.al-contact-submit:hover:not(:disabled) {
    background: #84cc16;
}

.al-contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.al-contact-alert {
    display: none;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.al-contact-alert.show {
    display: block;
}

.al-contact-alert.success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.al-contact-alert.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.al-privacy-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.al-privacy-modal.show {
    display: flex;
}

.al-privacy-modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 512px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 24px 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.al-privacy-modal-box h2 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px;
}

.al-privacy-modal-box p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.75;
    margin: 0 0 16px;
}

.al-privacy-modal-close {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.al-privacy-modal-close:hover {
    background: #1f2937;
}

@media (min-width: 768px) {
    .al-contact-hero h1 {
        font-size: 48px;
    }

    .al-contact-features-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .al-contact-form-box {
        padding: 40px;
    }

    .al-contact-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .al-gmv-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .al-contact {
        padding-top: 80px;
    }
}
