/* ============================================================================
   联系我们页面样式 - 暗金轻奢风格
   前缀: ct-
   ============================================================================ */

/* 横幅 */
.ct-banner {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #1a1f2e 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ct-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.ct-banner-content {
    position: relative;
    z-index: 1;
}
.ct-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E6EDF3;
    margin-bottom: 12px;
}
.ct-banner-desc {
    font-size: 1.1rem;
    color: #8B949E;
    max-width: 500px;
    margin: 0 auto;
}

/* 联系方式卡片 */
.ct-info-section {
    padding: 60px 0 40px;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}
.ct-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.ct-info-card {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.ct-info-card:hover {
    border-color: #C9A96E;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.1);
}
.ct-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(201, 169, 110, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: #C9A96E;
}
.ct-info-title {
    font-size: 0.95rem;
    color: #8B949E;
    margin-bottom: 8px;
    font-weight: 500;
}
.ct-info-value {
    font-size: 1.1rem;
    color: #E6EDF3;
    font-weight: 600;
    margin-bottom: 4px;
}
.ct-info-desc {
    font-size: 0.8rem;
    color: #6E7681;
}

/* 留言表单 */
.ct-form-section {
    padding: 40px 0 60px;
}
.ct-form-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 16px;
    padding: 36px;
}
.ct-form-header {
    text-align: center;
    margin-bottom: 28px;
}
.ct-form-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E6EDF3;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ct-form-header h2 i {
    color: #C9A96E;
}
.ct-form-header p {
    font-size: 0.9rem;
    color: #8B949E;
}
.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ct-form-group {
    margin-bottom: 18px;
}
.ct-label {
    display: block;
    font-size: 0.9rem;
    color: #E6EDF3;
    margin-bottom: 6px;
    font-weight: 500;
}
.ct-required {
    color: #f85149;
}
.ct-input {
    width: 100%;
    padding: 10px 14px;
    background: #0D1117;
    border: 1px solid #30363D;
    border-radius: 8px;
    color: #E6EDF3;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.ct-input:focus {
    border-color: #C9A96E;
}
.ct-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238B949E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}
.ct-textarea {
    width: 100%;
    padding: 10px 14px;
    background: #0D1117;
    border: 1px solid #30363D;
    border-radius: 8px;
    color: #E6EDF3;
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}
.ct-textarea:focus {
    border-color: #C9A96E;
}
.ct-submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 4px;
}

/* FAQ */
.ct-faq-section {
    padding: 40px 0 80px;
}
.ct-faq-header {
    text-align: center;
    margin-bottom: 28px;
}
.ct-faq-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E6EDF3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ct-faq-header h2 i {
    color: #C9A96E;
}
.ct-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ct-faq-item {
    background: #161B22;
    border: 1px solid #30363D;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.ct-faq-item:hover {
    border-color: #C9A96E;
}
.ct-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #E6EDF3;
    font-weight: 500;
    transition: color 0.2s;
    user-select: none;
}
.ct-faq-question:hover {
    color: #C9A96E;
}
.ct-faq-question i {
    color: #8B949E;
    transition: transform 0.3s;
    font-size: 0.8rem;
}
.ct-faq-item.active .ct-faq-question i {
    transform: rotate(180deg);
    color: #C9A96E;
}
.ct-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.ct-faq-item.active .ct-faq-answer {
    max-height: 300px;
}
.ct-faq-answer p {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: #8B949E;
    line-height: 1.7;
}

/* 响应式 */
@media (max-width: 768px) {
    .ct-banner-title { font-size: 1.8rem; }
    .ct-info-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ct-form-row { grid-template-columns: 1fr; }
    .ct-form-wrapper { padding: 24px 18px; }
}
@media (max-width: 480px) {
    .ct-info-grid { grid-template-columns: 1fr; }
}
