﻿@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&display=swap');
/* امپراطوری برق */
/* ==========================================================
   صفحه «درباره ما / تماس با ما» — تم قرمز تیره و طوسی
   (بر اساس ساختار صفحه تماس با ما الکتروچمنی، رنگ‌بندی هم‌رنگ با Register.css صفحه ورود)
   ========================================================== */

.ac-page {
    --ac-navy-950: #4d0c13;
    --ac-navy-900: #611019;
    --ac-navy-800: #611019;
    --ac-navy-700: #7a1220;
    --ac-gold-600: #611019;
    --ac-gold-500: #7a1220;
    --ac-gold-400: #9aa0aa;
    --ac-gold-100: #eef0f2;
    --ac-paper: #ffffff;
    --ac-mist: #f5f5f6;
    --ac-ink: #23262b;
    --ac-ink-soft: #82868f;
    --ac-line: #e6e6e8;
    --ac-danger: #d64545;
    --ac-danger-bg: #fdecec;
    --ac-radius-xl: 28px;
    --ac-radius-lg: 22px;
    --ac-radius-md: 16px;
    --ac-shadow: 0 30px 60px -25px rgba(77,12,19,.35), 0 10px 25px -12px rgba(77,12,19,.15);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    color: var(--ac-ink);
    background: var(--ac-mist);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

    .ac-page * {
        box-sizing: border-box;
    }

/* ---------- هیرو / تیتر بالای صفحه ---------- */
.ac-hero {
    position: relative;
    background: radial-gradient(circle at 12% 20%, rgba(255,255,255,.10), transparent 45%), radial-gradient(circle at 90% 80%, rgba(95,102,114,.08), transparent 50%), linear-gradient(150deg, var(--ac-navy-950), var(--ac-navy-700) 70%);
    padding: 70px 24px 110px;
    text-align: center;
    overflow: hidden;
}

    .ac-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 700' preserveAspectRatio='none'%3E%3Cpath d='M-20 90 C 60 40, 110 40, 170 100 C 230 160, 280 160, 340 100 C 380 60, 410 55, 430 75' fill='none' stroke='rgba(255,255,255,0.16)' stroke-width='7' stroke-linecap='round'/%3E%3Cpath d='M-20 190 C 60 130, 120 130, 180 200 C 240 270, 290 270, 350 200 C 390 155, 410 150, 430 170' fill='none' stroke='rgba(255,255,255,0.12)' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M-20 470 C 60 420, 110 420, 170 480 C 230 540, 280 540, 340 480 C 380 440, 410 435, 430 455' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M-20 580 C 60 530, 120 530, 180 600 C 240 670, 290 670, 350 600 C 390 555, 410 550, 430 570' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: repeat-x;
        background-size: auto 100%;
        background-position: right top;
        pointer-events: none;
    }

.ac-hero-kicker {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ac-gold-400);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

    .ac-hero-kicker::before,
    .ac-hero-kicker::after {
        content: "";
        width: 26px;
        height: 1px;
        background: var(--ac-gold-400);
    }

.ac-hero h1 {
    position: relative;
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    letter-spacing: .5px;
}

.ac-hero p {
    position: relative;
    max-width: 520px;
    margin: 14px auto 0;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    line-height: 1.9;
}

@media (max-width:640px) {
    .ac-hero {
        padding: 52px 18px 100px;
    }

        .ac-hero h1 {
            font-size: 26px;
        }
}

/* ---------- کانتینر اصلی ---------- */
.ac-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* ---------- کارت «درباره ما» ---------- */
.ac-about-card {
    position: relative;
    background: var(--ac-paper);
    border-radius: var(--ac-radius-xl);
    box-shadow: var(--ac-shadow);
    margin-top: -70px;
    padding: 44px 40px;
    border-top: 5px solid var(--ac-gold-500);
}

.ac-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ac-gold-600);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

    .ac-section-label::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--ac-gold-500);
    }

.ac-about-body {
    color: var(--ac-ink);
    font-size: 15px;
    line-height: 2.1;
}

    .ac-about-body p {
        margin: 0 0 12px;
    }

    .ac-about-body:empty::before {
        content: "به‌زودی متن معرفی مجموعه در این بخش قرار می‌گیرد.";
        color: var(--ac-ink-soft);
        font-size: 14px;
    }

@media (max-width:640px) {
    .ac-about-card {
        padding: 34px 22px;
        margin-top: -56px;
    }
}

/* ---------- گرید اطلاعات تماس + فرم ---------- */
.ac-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 26px;
    margin-top: 26px;
    align-items: stretch;
}

@media (max-width:900px) {
    .ac-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- کارت اطلاعات تماس (قرمز تیره) ---------- */
.ac-info-card {
    position: relative;
    background: linear-gradient(160deg, var(--ac-navy-900), var(--ac-navy-700));
    border-radius: var(--ac-radius-lg);
    padding: 38px 32px;
    color: var(--ac-gold-100);
    overflow: hidden;
    box-shadow: var(--ac-shadow);
}

    .ac-info-card::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%);
        bottom: -80px;
        left: -60px;
    }

    .ac-info-card .ac-section-label {
        color: var(--ac-gold-400);
    }

.ac-info-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    position: relative;
}

.ac-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(238,240,242,.12);
}

    .ac-info-item:last-child {
        border-bottom: none;
    }

.ac-info-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(154,160,170,.16);
    border: 1px solid rgba(154,160,170,.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .ac-info-icon svg {
        width: 18px;
        height: 18px;
        stroke: var(--ac-gold-400);
        fill: none;
        stroke-width: 1.7;
    }

.ac-info-text {
    padding-top: 2px;
}

    .ac-info-text b {
        display: block;
        font-size: 12.5px;
        font-weight: 600;
        color: rgba(238,240,242,.55);
        margin-bottom: 4px;
    }

    .ac-info-text span {
        font-size: 14.5px;
        font-weight: 500;
        color: #fff;
        word-break: break-word;
    }

/* ---------- کارت فرم تماس (سفید) ---------- */
.ac-form-card {
    position: relative;
    background: var(--ac-paper);
    border-radius: var(--ac-radius-lg);
    padding: 38px 34px;
    box-shadow: var(--ac-shadow);
}

.ac-form-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--ac-navy-900);
    margin: 0 0 6px;
}

.ac-form-sub {
    font-size: 13px;
    color: var(--ac-ink-soft);
    margin: 0 0 24px;
}

.ac-validation {
    margin-bottom: 16px;
}

    .ac-validation ul {
        margin: 0;
        padding: 10px 16px;
        list-style: none;
        background: var(--ac-danger-bg);
        border: 1px solid rgba(214,69,69,.25);
        border-radius: var(--ac-radius-md);
        color: var(--ac-danger);
        font-size: 13px;
    }

    .ac-validation:empty {
        display: none;
    }

.ac-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width:520px) {
    .ac-row {
        grid-template-columns: 1fr;
    }
}

.ac-field {
    position: relative;
}

    .ac-field input,
    .ac-field textarea {
        width: 100%;
        border-radius: var(--ac-radius-md);
        border: 1.5px solid var(--ac-line);
        background: var(--ac-mist);
        padding: 14px 16px;
        font-family: 'Vazirmatn', Tahoma, sans-serif;
        font-size: 14.5px;
        color: var(--ac-ink);
        text-align: right;
        transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    }

    .ac-field input {
        height: 50px;
    }

    .ac-field textarea {
        min-height: 120px;
        resize: vertical;
        line-height: 1.8;
    }

        .ac-field input::placeholder,
        .ac-field textarea::placeholder {
            color: var(--ac-ink-soft);
        }

        .ac-field input:focus,
        .ac-field textarea:focus {
            outline: none;
            border-color: var(--ac-gold-500);
            background: var(--ac-paper);
            box-shadow: 0 0 0 4px rgba(122,18,32,.13);
        }

.ac-field-full {
    margin-bottom: 22px;
}

.ac-submit-row {
    display: flex;
    justify-content: flex-end;
}

.ac-btn-send {
    min-width: 150px;
    height: 52px;
    padding: 0 28px;
    border: none;
    border-radius: var(--ac-radius-md);
    background: linear-gradient(135deg, var(--ac-navy-800), var(--ac-navy-950));
    color: var(--ac-gold-100);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 26px -12px rgba(77,12,19,.55);
    transition: transform .18s ease, box-shadow .18s ease;
}

    .ac-btn-send::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.16) 50%, transparent 75%);
        opacity: 0;
        transition: opacity .25s ease;
        pointer-events: none;
    }

    .ac-btn-send:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 40px -14px rgba(77,12,19,.6), 0 10px 22px -8px rgba(95,102,114,.3);
    }

        .ac-btn-send:hover::after {
            opacity: 1;
        }

    .ac-btn-send:active {
        transform: translateY(0);
    }

@media (max-width:640px) {
    .ac-form-card {
        padding: 28px 20px;
    }

    .ac-submit-row {
        justify-content: stretch;
    }

    .ac-btn-send {
        width: 100%;
    }
}
