﻿@font-face {
    font-family: 'peyda';
    src: url('../font/peyda-black[@mimvid].ttf') format('truetype');
}
@font-face {
    font-family: 'Peyda-Medium';
    src: url('../font/Peyda-Medium.ttf') format('truetype');
}
/* هدر و قهرمان */
.contac-hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
}

@media (max-width:980px) {
    .contac-hero {
        grid-template-columns: 1fr;
        padding-top: 32px
    }

    .contac-form-card {
        order: -1
    }
}

/* فرم ساده و مینیمال */
.contac-form-card {
    border-radius: 12px;
    padding: 28px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.contac-form-title {
    font-size: 20px;
    margin: 0 0 18px;
    color: #1a56db;
    font-weight: 700;
    font-family: peyda;
}

.contac-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width:640px) {
    .contac-grid-2 {
        grid-template-columns: 1fr
    }
}

.contac-field {
    display: block;
    padding: 7px
}

.contac-input, .contac-select, .contac-textarea {
    width: 100%;
    border: 1px solid #c3ddfd;
    outline: none;
    color: #333;
    background: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
    font-family: peyda;
}

    .contac-input:focus, .contac-select:focus, .contac-textarea:focus {
        border-color: #3f83f8;
        box-shadow: 0 0 0 3px rgba(63,131,248,.15);
    }

.contac-textarea {
    min-height: 120px;
    resize: vertical
}

.contac-btn {
    display: inline-block;
    background: #1c64f2;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background .2s ease, transform .1s ease;
    font-family: Peyda;
}

    .contac-btn:hover {
        background: #1552c0;
        transform: translateY(-1px)
    }

/* متن و تیتر سمت راست */
.contac-hero-copy h1 {
    font-size: clamp(28px,3.6vw,46px);
    line-height: 1.2;
    margin: 0 0 10px;
    font-weight: 900;
    background: linear-gradient(180deg,#fff,#bcd7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 40px rgba(63,131,248,.35);
}

.contac-type-line {
    display: inline-block;
    border-left: 3px solid #bcd7ff;
    padding-left: 10px;
    color: black;
    white-space: nowrap;
    font-family: peyda;
}

.contac-hero-copy p {
    color: #000000;
    margin: 12px 0 24px;
    font-size: 16px;
    font-family: Peyda-Medium;
}

.contac-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    font-family: Peyda-Medium;
}

.contac-badge {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(63,131,248,.18);
    border: 1px solid rgba(140,176,255,.4);
    color: darkblue;
    font-family: peyda;
}

.contac-subtitle {
    color: darkblue;
    font-weight: 500;
    font-family: peyda;
}

/* FAQ با پس‌زمینه ثابت */
.contac-faq {
    position: relative;
    isolation: isolate;
    /*    background: url('image/map.svg') center/cover fixed no-repeat;*/
    background-image: url('../image/map.svg');
}

.contac-head {
    text-align: center;
    margin-bottom: 26px
}

    .contac-head h2 {
        margin: 0 0 8px;
        font-size: clamp(24px,3vw,36px);
        font-weight: 900;
        background: linear-gradient(180deg,#fff,#cfe3ff);
        -webkit-background-clip: text;
        color: black;
        text-shadow: 0 10px 40px rgba(82,135,255,.4);
        font-family: peyda
    }

    .contac-head p {
        color: black;
        font-family: peyda;
    }

.contac-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 12px
}

    .contac-accordion details {
        background: rgba(255,255,255,.05);
        backdrop-filter: blur(8px) saturate(140%);
        border: 1px solid rgba(129,166,255,.28);
        border-radius: 16px;
        padding: 14px 16px;
        position: relative;
        overflow: hidden;
        transition: transform .2s ease, box-shadow .25s ease;
    }

        .contac-accordion details[open] {
            box-shadow: 0 10px 30px rgba(28,100,242,.35);
            transform: translateY(-1px)
        }

    .contac-accordion summary {
        list-style: none;
        cursor: pointer;
        font-weight: 700;
        color: darkblue;
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: peyda;
    }

        .contac-accordion summary::-webkit-details-marker {
            display: none
        }

.contac-chev {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(63,131,248,.18);
    border: 1px solid rgba(140,176,255,.35);
    transition: transform .3s ease
}

.contac-accordion details[open] .contac-chev {
    transform: rotate(90deg)
}

.contac-answer {
    color: black;
    margin-top: 10px;
    line-height: 1.9;
    font-family: Peyda-Medium;
}

/* راه‌های ارتباطی سه‌بعدی */
.contac-contact-ways {
    padding-block: 72px
}

.contac-ways-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

@media (max-width:980px) {
    .contac-ways-grid {
        grid-template-columns: 1fr
    }
}

.contac-way {
    perspective: 1200px
}

.contac-way-card {
    position: relative;
    transform-style: preserve-3d;
    background: linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
    border: 1px solid rgba(140,176,255,.28);
    border-radius: 22px;
    padding: 26px;
    min-height: 160px;
    box-shadow: 0 10px 30px rgba(28,100,242,.35);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, filter .3s ease;
}

    .contac-way-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        border-radius: 24px;
        z-index: -1;
        background: conic-gradient(from 90deg, transparent, #3f83f8, transparent 30%);
        filter: blur(12px);
        opacity: .6;
        transition: opacity .3s ease;
    }

.contac-way:hover .contac-way-card {
    transform: rotateX(10deg) rotateY(-12deg) translateY(-4px);
    box-shadow: 0 30px 60px rgba(28,100,242,.45);
    filter: saturate(120%);
}

    .contac-way:hover .contac-way-card::before {
        opacity: 1
    }

.contac-way h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-family: peyda;
    color: darkblue;
}

}

.contac-way p {
    margin: 0;
    color: #cfe0ff
}

.contac-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(63,131,248,.2);
    border: 1px solid rgba(140,176,255,.35);
    margin-bottom: 10px
}

/* کانتینر و سکشن */
.contac-container {
    width: min(1200px,92%);
    margin-inline: auto
}

.contac-section {
    padding: 64px 0;
    margin-top: -50px;
}
