/* Realty Ad Styles */
.realty-ad-container {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.realty-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.realty-hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https: //novostroykitula.ru/wp-content/themes/root/images/novostroyki_image/reklamanovostroy.webp') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.realty-hero-content {
    position: relative;
    z-index: 1;
}

.realty-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.realty-subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.realty-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 20px 30px;
    border-radius: 8px;
    min-width: 150px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 50px 0 30px;
    color: #2c3e50;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #3498db;
    margin: 15px auto;
    border-radius: 2px;
}

.offer-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: #555;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid #3498db;
}

.pricing-card.highlighted {
    border-top-color: #e74c3c;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
    color: #3498db;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #777;
}

.features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.features li:before {
    content: '✓';
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.discount-badge {
    background: #f39c12;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Animations */
@keyframes pop-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.animate-pop-in {
    animation: pop-in 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

.card-pop {
    opacity: 0;
    animation: pop-in 0.6s 0.3s ease-out forwards;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .realty-title {
        font-size: 2rem;
    }

    .realty-subtitle {
        font-size: 1.1rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 15px 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }

    .pricing-card.highlighted {
        transform: none;
    }
}

@media (max-width: 480px) {
    .realty-hero {
        padding: 40px 15px;
    }

    .realty-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-item {
        min-width: 100px;
        padding: 10px 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}