/* =====================================================
   استایل‌های صفحه تماس با ما
   سروهاست - sarvhost.com
   ===================================================== */

/* ===== هدر تماس ===== */
.header-contact {
    background: linear-gradient(135deg, #1A237E 0%, #283593 50%, #3949AB 100%);
    min-height: auto;
    padding-bottom: 80px;
}

.hero-contact {
    padding: 60px 0 40px;
}

.hero-content-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content-center h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    margin-bottom: 40px;
}

/* آمار هیرو */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-num);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

/* =====================================================
   کارت‌های تماس
   ===================================================== */
.section-contact-methods {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 35px 30px;
    text-align: center;
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(26, 35, 126, 0.15);
    border-color: var(--primary);
}

/* کارت اصلی (تلگرام) */
.contact-card.primary {
    border: 3px solid #0088cc;
    background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
}

.contact-card.primary:hover {
    border-color: #0088cc;
    box-shadow: 0 25px 60px rgba(0, 136, 204, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* آیکون‌ها */
.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.card-icon svg {
    width: 40px;
    height: 40px;
}

.card-icon.telegram {
    background: linear-gradient(135deg, #0088cc, #00a0dc);
    color: #fff;
}

.card-icon.ticket {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.card-icon.phone {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.card-icon.mobile {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
}

/* بج */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* متن */
.contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.contact-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    min-height: 50px;
}

/* دکمه‌ها */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.contact-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #00a0dc);
    color: #fff;
}

.contact-btn.telegram:hover {
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.3);
    transform: translateY(-2px);
}

.contact-btn.ticket {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}

.contact-btn.ticket:hover {
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.3);
    transform: translateY(-2px);
}

.contact-btn.phone {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
}

.contact-btn.phone:hover {
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

.contact-btn.mobile {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.contact-btn.mobile:hover {
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.contact-btn:hover .btn-arrow {
    transform: translateX(-5px);
}

.phone-number {
    font-family: var(--font-num);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* تگ‌های ویژگی */
.feature-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* وضعیت آنلاین */
.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #059669;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* =====================================================
   راهنمای تماس
   ===================================================== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.guide-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 35, 126, 0.1);
    border-color: var(--primary);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.guide-card h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.guide-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.guide-recommend {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.recommend-label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.recommend-method {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.recommend-method.telegram {
    background: #e0f2fe;
    color: #0088cc;
}

.recommend-method.ticket {
    background: var(--light);
    color: var(--primary-dark);
}

.recommend-method.mobile {
    background: #fef3c7;
    color: #d97706;
}

/* =====================================================
   ساعات کاری
   ===================================================== */
.hours-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    padding: 50px;
    color: #fff;
}

.hours-content {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.hours-icon {
    font-size: 3rem;
}

.hours-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.hours-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hour-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
}

.hour-day {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.hour-time {
    display: block;
    font-family: var(--font-num);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 12px;
}

.hour-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.hour-badge.active {
    background: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* =====================================================
   FAQ
   ===================================================== */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(57, 73, 171, 0.1);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 5px 25px rgba(57, 73, 171, 0.15);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: right;
    gap: 15px;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--light);
    border-radius: 50%;
    padding: 6px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #475569;
    line-height: 1.9;
    font-size: 1rem;
    margin: 0;
}

/* =====================================================
   CTA
   ===================================================== */
.section-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 50%, var(--primary) 100%);
    position: relative;
}

.cta-box {
    text-align: center;
    padding: 20px 0;
}

.cta-box h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* =====================================================
   ریسپانسیو
   ===================================================== */

/* تبلت بزرگ */
@media (max-width: 1200px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-card.primary {
        grid-column: span 2;
    }
}

/* تبلت */
@media (max-width: 1024px) {
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* موبایل */
@media (max-width: 768px) {
    .hero-content-center h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-num {
        font-size: 1.4rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card.primary {
        grid-column: span 1;
    }
    
    .contact-card {
        padding: 30px 25px;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-box {
        padding: 35px 25px;
    }
    
    .hours-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-box h2 {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .section-contact-methods {
        margin-top: -40px;
    }
    
    .card-icon {
        width: 65px;
        height: 65px;
    }
    
    .card-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .contact-card h3 {
        font-size: 1.15rem;
    }
    
    .phone-number {
        font-size: 1rem;
    }
    
    .guide-recommend {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =====================================================
   انیمیشن‌ها
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

.guide-card {
    animation: fadeInUp 0.5s ease forwards;
}

.guide-card:nth-child(1) { animation-delay: 0.1s; }
.guide-card:nth-child(2) { animation-delay: 0.15s; }
.guide-card:nth-child(3) { animation-delay: 0.2s; }
.guide-card:nth-child(4) { animation-delay: 0.25s; }
.guide-card:nth-child(5) { animation-delay: 0.3s; }
.guide-card:nth-child(6) { animation-delay: 0.35s; }