.wangshifu-calculator {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    max-width: 700px;
    margin: 20px auto;
}

.calculator-header {
    text-align: center;
    margin-bottom: 25px;
}

.calculator-header h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
}

.calculator-header p {
    color: #666;
    font-size: 14px;
}

.calc-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.calc-form .form-group {
    flex: 1;
}

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

.calc-form input,
.calc-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.calc-form input:focus,
.calc-form select:focus {
    outline: none;
    border-color: #0059a9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,89,169,0.1);
}

.btn-calc {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #0059a9, #0078d4);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,89,169,0.35);
}

.calc-result {
    margin-top: 25px;
    background: linear-gradient(135deg, #f8f9ff, #fff);
    border: 2px solid #e8f0fe;
    border-radius: 12px;
    overflow: hidden;
}

.result-header {
    background: linear-gradient(135deg, #0059a9, #0078d4);
    padding: 15px 20px;
    text-align: center;
}

.result-header h3 {
    color: #fff;
    margin: 0;
    font-size: 18px;
}

.result-body {
    padding: 25px;
}

.price-main {
    text-align: center;
    margin-bottom: 20px;
}

.price-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.price-value {
    display: block;
    font-size: 42px;
    font-weight: bold;
    color: #0059a9;
}

.price-detail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.detail-item span:first-child {
    color: #666;
    font-size: 13px;
}

.detail-item span:last-child {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.unit-info {
    text-align: center;
    padding: 12px;
    background: #f5f7fa;
    border-radius: 6px;
}

.unit-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.result-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    text-align: center;
}

.btn-book {
    display: inline-block;
    padding: 12px 40px;
    background: #ff6b00;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background: #e55d00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,0,0.3);
}

.note {
    margin-top: 12px;
    font-size: 12px;
    color: #999;
}

.wangshifu-cases {
    padding: 20px 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.08);
}

.case-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ccc;
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,89,169,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.btn-view {
    padding: 10px 28px;
    background: #fff;
    color: #0059a9;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #0059a9;
    color: #fff;
}

.case-content {
    padding: 18px;
}

.case-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.case-meta span {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    background: #f5f7fa;
    padding: 4px 10px;
    border-radius: 4px;
}

.case-meta i {
    color: #0059a9;
    margin-right: 4px;
}

.case-excerpt {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

.no-cases {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-cases i {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.wangshifu-booking {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 35px;
    max-width: 650px;
    margin: 20px auto;
}

.booking-header {
    text-align: center;
    margin-bottom: 25px;
}

.booking-header h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
}

.booking-header p {
    color: #666;
    font-size: 14px;
}

.booking-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.booking-form .form-group {
    flex: 1;
}

.booking-form .form-group.full-width {
    width: 100%;
}

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

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.booking-form textarea {
    resize: vertical;
    min-height: 100px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #0059a9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,89,169,0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40,167,69,0.35);
}

.booking-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
}

.wangshifu-reviews {
    padding: 20px 0;
}

.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}

.reviews-header h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 8px;
}

.reviews-header p {
    color: #666;
    font-size: 14px;
}

.reviews-list {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border-left: 4px solid #0059a9;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.customer-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.project-type {
    font-size: 13px;
    color: #888;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating .la-star {
    font-size: 18px;
    color: #ddd;
}

.review-rating .la-star.active {
    color: #ffc107;
}

.review-content {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 12px;
}

.review-date {
    font-size: 12px;
    color: #aaa;
    text-align: right;
}

.review-form-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.review-form-wrapper h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
}

.review-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.review-form .form-group {
    flex: 1;
}

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

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 26px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #ffc107;
}

.btn-submit-review {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0059a9, #0078d4);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,89,169,0.35);
}

.no-reviews {
    text-align: center;
    padding: 40px;
    color: #999;
}

@media (max-width: 767px) {
    .wangshifu-calculator,
    .wangshifu-booking {
        padding: 20px;
        margin: 15px;
    }
    
    .calc-form .form-row,
    .booking-form .form-row,
    .review-form .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .price-value {
        font-size: 32px;
    }
    
    .price-detail {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-wrap: wrap;
    }
    
    .review-rating {
        width: 100%;
        margin-top: 10px;
    }
}
