/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: url('../images/hero-construction.jpg') center/cover no-repeat;
    padding-top: 80px;
    margin-top: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 20, 46, 0.95) 0%, rgba(15, 52, 96, 0.85) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    max-width: 750px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    color: var(--primary);
    font-size: 0.75rem;
}

.breadcrumb span {
    color: var(--primary);
    font-weight: 600;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info-section {
    padding: 80px 0 0;
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-info-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(246, 199, 68, 0.15);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.contact-info-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-info-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3px;
}

/* ===== CONTACT MAIN SECTION ===== */
.contact-main {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

.section-header.text-right {
    text-align: right;
}

.section-header.text-right .section-subtitle::before,
.section-header.text-right .section-subtitle::after {
    display: none;
}

.section-header.text-right p {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 15px;
    line-height: 1.9;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.required {
    color: #ef4444;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition);
    pointer-events: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 48px 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.input-wrapper textarea {
    padding-top: 18px;
    resize: vertical;
    min-height: 140px;
}

.textarea-wrapper i {
    top: 22px;
    transform: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(246, 199, 68, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper select:focus + i,
.input-wrapper textarea:focus + i,
.input-wrapper:focus-within i {
    color: var(--primary);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.error-message {
    display: block;
    font-size: 0.82rem;
    color: #ef4444;
    margin-top: 6px;
    min-height: 18px;
}

.input-wrapper.error input,
.input-wrapper.error select,
.input-wrapper.error textarea {
    border-color: #ef4444;
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--text-light);
    position: relative;
    padding-right: 30px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    right: 0;
}

.checkmark {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 5px;
    transition: var(--transition);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.05rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* Form Success Message */
.form-success {
    display: none;
    background: #FFF7DF;
    border: 1px solid #F3DEA0;
    color: #73510A;
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s ease;
}

.form-success.show {
    display: flex;
}

.form-success i {
    font-size: 1.5rem;
    color: #F6C744;
}

.form-success p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MAP SIDE ===== */
.contact-map-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: 100px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    height: 320px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-social-box {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.contact-social-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.linkedin { background: #0077b5; }
.social-link.telegram { background: #0088cc; }
.social-link.whatsapp { background: #25d366; }

.contact-quick-info {
    background: var(--dark);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quick-info-item i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.quick-info-item strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.quick-info-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===== FAQ SECTION - صفحه تماس ===== */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.contact-faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-centered {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* آیتم اصلی */
.faq-item {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    background: #fffdf8;
    box-shadow: 0 8px 30px rgba(246, 199, 68, 0.12);
}

/* دکمه سوال */
.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--dark);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

/* آیکون فلش */
.faq-question i {
    color: var(--primary);
    transition: transform 0.4s ease;
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--white);
}

/* پاسخ - حالت بسته */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

/* پاسخ - حالت باز */
.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 22px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 2;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.93rem;
    }

    .faq-question i {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .faq-answer p {
        padding: 0 18px 18px;
        font-size: 0.9rem;
    }
}

