/* 新联系我们页面样式 */
.new-contact-us {
    width: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 上半部分：浅色背景 */
.contact-top-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-top-content {
    padding: 80px 0;
    text-align: left;
    position: relative;
    z-index: 2;
}

.contact-main-title {
    font-size: 40px;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-main-title .accent {
    color: #e74c3c;
    animation: rotate 3s linear infinite;
    display: inline-block;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.contact-sub-title {
    font-size: 32px;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    line-height: 1.1;
}

.contact-description {
    font-size: 18px;
    color: #4a4a4a;
    max-width: 500px;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* 背景装饰 */
.background-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.concentric-arcs {
    position: absolute;
    bottom: -100px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 117, 125, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.concentric-arcs::before {
    content: '';
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(108, 117, 125, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.concentric-arcs::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(108, 117, 125, 0.04) 0%, transparent 70%);
    border-radius: 50%;
}

/* 下半部分：深色背景 */
.contact-bottom-section {
    background: #000000;
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.contact-bottom-content {
    padding: 80px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* 左侧联系信息 */
.contact-info-column {
    color: white;
}

.contact-info-header {
    margin-bottom: 40px;
}
.wpcf7-form-control-wrap {
    width: 100%;
}

.info-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.info-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.decorative-lines {
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        rgba(255, 255, 255, 0.3) 0px,
        rgba(255, 255, 255, 0.3) 8px,
        transparent 8px,
        transparent 16px
    );
    margin: 20px 0;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 8px;
}

.contact-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.phone-number {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0;
    color: white;
}

.address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 30px;
}

.qr-code-container {
    margin-top: 30px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-accent {
    color: #e74c3c;
    font-size: 1.5rem;
    font-weight: bold;
}

/* 右侧表单 */
.contact-form-column {
    color: white;
}

.contact-form-wrapper {
    width: 100%;
}

/* Contact Form 7 样式覆盖 */
.contact-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form-wrapper .wpcf7-form p {
    margin: 0;
    position: relative;
}

.contact-form-wrapper .wpcf7-form label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.contact-form-wrapper .wpcf7-form label .required {
    color: #e74c3c;
    margin-left: 4px;
}

.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 0;
    color: white;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact-form-wrapper .wpcf7-form input[type="text"]::placeholder,
.contact-form-wrapper .wpcf7-form input[type="email"]::placeholder,
.contact-form-wrapper .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-wrapper .wpcf7-form input[type="text"]:focus,
.contact-form-wrapper .wpcf7-form input[type="email"]:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
    outline: none;
    border-bottom-color: #e74c3c;
}

.contact-form-wrapper .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* 提交按钮 */
.contact-form-wrapper .wpcf7-submit {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contact-form-wrapper .wpcf7-submit:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 太阳花装饰 */
.sunburst-decoration {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: rotate(45deg);
    animation: rotate 8s linear infinite;
    z-index: 3;
}

.sunburst-decoration::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.sunburst-decoration::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* SVG星形装饰样式 */
.star-icon {
    animation: starRotate 3s linear infinite;
    transform-origin: center;
    width: 24px;
    height: 24px;
    display: inline-block;
}

.star-icon svg {
    animation: starRotate 3s linear infinite;
    transform-origin: center;
}

.sunburst-svg {
    position: absolute;
    top: -50px;
    left: -50px;
    animation: rotate 8s linear infinite;
    transform-origin: center;
}

.sunburst-petal {
    animation: rotate 8s linear infinite;
    transform-origin: center;
}

@keyframes starRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .contact-bottom-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-main-title {
        font-size: 36px;
    }
    
    .contact-sub-title {
        font-size: 28px;
    }
    
    .contact-description {
        font-size: 17px;
    }
    
    .info-title {
        font-size: 2rem;
    }
    
    .info-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-top-content,
    .contact-bottom-content {
        padding: 60px 20px;
    }
    
    .contact-main-title {
        font-size: 32px;
    }
    
    .contact-sub-title {
        font-size: 24px;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    .info-title {
        font-size: 1.8rem;
    }
    
    .info-subtitle {
        font-size: 1.3rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-main-title {
        font-size: 28px;
    }
    
    .contact-sub-title {
        font-size: 22px;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    .info-title {
        font-size: 1.6rem;
    }
    
    .info-subtitle {
        font-size: 1.2rem;
    }
    
    .phone-number {
        font-size: 1.3rem;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
}

/* 错误提示样式 */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
}

.contact-form-wrapper .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.contact-form-wrapper .wpcf7 form.sent .wpcf7-response-output {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: #28a745;
    color: #28a745;
}

.contact-form-wrapper .wpcf7 form.failed .wpcf7-response-output {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    color: #dc3545;
} 

/* 单选按钮组样式 - 服务类别选择 */
.contact-form-wrapper .wpcf7-form .radio-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.contact-form-wrapper .wpcf7-form .radio-btn .wpcf7-list-item {
    margin: 0 !important;
}

.contact-form-wrapper .wpcf7-form .radio-btn .wpcf7-list-item input[type="radio"] {
    display: none;
}

.contact-form-wrapper .wpcf7-form .radio-btn .wpcf7-list-item-label {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: transparent;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    font-weight: normal;
    min-width: 80px;
    text-align: center;
}

.contact-form-wrapper .wpcf7-form .radio-btn .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: white !important;
}

.contact-form-wrapper .wpcf7-form .radio-btn .wpcf7-list-item-label:hover {
    background: rgba(231, 76, 60, 0.8);
    border-color: #e74c3c;
}

/* 兼容不同的Contact Form 7结构 */
.contact-form-wrapper .wpcf7-form input[type="radio"]:checked + label,
.contact-form-wrapper .wpcf7-form input[type="radio"]:checked ~ label,
.contact-form-wrapper .wpcf7-form input[type="radio"]:checked + .wpcf7-list-item-label {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: white !important;
}

/* 响应式调整单选按钮 */
@media (max-width: 768px) {
    .contact-form-wrapper .wpcf7-form .radio-btn {
        justify-content: center;
    }
} 