.reviews-main {
    padding-top: 100px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.page-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.review-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.review-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.review-service {
    color: #666;
    font-size: 0.9rem;
}

.review-rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    color: #ffd700;
    font-size: 1.2rem;
}

.star.empty {
    color: #ddd;
}

.review-text {
    color: #444;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
    text-align: right;
}

.add-review {
    background: var(--light-color);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.add-review-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.add-review h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.add-review p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.review-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.rating {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.rating input {
    display: none;
}

.rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.rating input:checked ~ label,
.rating label:hover {
    color: #ffd700;
}

.rating input:checked ~ label ~ label {
    color: #ddd;
}

.contact-cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Fredoka One', cursive;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .reviews-main {
        padding-top: 80px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .add-review {
        padding: 2rem 1.5rem;
        margin: 0 1rem 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-cta {
        padding: 2rem 1.5rem;
        margin: 0 1rem 3rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.captcha-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.captcha-image-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.captcha-image-container img {
    max-width: 200px;
    height: 80px;
    object-fit: contain;
}

.captcha-container input[type="number"] {
    flex: 1;
    min-width: 100px;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.captcha-container input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

#refreshCaptcha {
    padding: 0.75rem;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .captcha-question {
        min-width: auto;
    }
    
    .captcha-container input[type="number"] {
        flex: none;
    }
}