/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* Hero */
.contact-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.contact-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 107, 0, 0.2);
    color: #FF6B00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 8px 20px;
    border-radius: 9999px;
    margin-bottom: 32px;
}

.contact-title {
    font-size: 52px;
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #111;
    margin-bottom: 20px;
}

.contact-title .accent {
    color: #FF6B00;
}

.contact-subtitle {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.6;
}

/* Layout */
.contact-form-section {
    padding: 40px 0 120px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

/* Info Side */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 120px;
}

.info-card {
    background: #fafafa;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    padding: 28px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.info-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}

.info-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Form Card */
.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group .required {
    color: #FF6B00;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #111;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FF6B00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
}

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

/* Checkbox */
.checkbox-group {
    margin-bottom: 32px;
}

.checkbox-group.error .checkmark {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.checkbox-group.error .checkbox-text {
    color: #ef4444;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    background: #fafafa;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #FF6B00;
    border-color: #FF6B00;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.checkbox-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
    transition: color 0.2s ease;
}

/* Submit Button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #FF6B00 0%, #FFA500 100%);
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.25);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 0, 0.35);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Success State */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 40px;
    animation: fadeInUp 0.5s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #FF6B00, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
    font-weight: 700;
}

.form-success h3 {
    font-size: 28px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 28px;
    max-width: 400px;
}

.back-home-link {
    color: #FF6B00;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.back-home-link:hover {
    opacity: 0.8;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .contact-title {
        font-size: 34px !important;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-info-side {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .info-card {
        min-width: 220px;
        flex-shrink: 0;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
