/* Motor Ladies Training – glass form + gallery */

@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/Iranyekan.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.mlt {
    direction: rtl;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 48px 4vw 64px;
    box-sizing: border-box;
    font-family: 'IranYekan', Tahoma, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #e8edf5;
    background: transparent;
}
.mlt *, .mlt *::before, .mlt *::after { box-sizing: border-box; }

.mlt__layout {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Frosted glass form panel */
.mlt__panel {
    padding: 36px 32px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    display: flex;
    flex-direction: column;
}

.mlt__head { margin-bottom: 24px; }

.mlt__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: #fdba74;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.28);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.mlt__badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.mlt__title {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 900;
    color: #f8fafc;
    line-height: 1.3;
}
.mlt__lead {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: #94a3b8;
}

.mlt__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    margin-bottom: 16px;
}
.mlt__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.mlt__field--full { grid-column: 1 / -1; }
.mlt__field label {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
}
.mlt__field input,
.mlt__field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.mlt__field input::placeholder,
.mlt__field textarea::placeholder { color: rgba(148, 163, 184, 0.65); }
.mlt__field input:focus,
.mlt__field textarea:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.65);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}
.mlt__field textarea { min-height: 72px; resize: vertical; }

.mlt__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(234, 88, 12, 0.35);
    transition: transform .2s, box-shadow .2s;
}
.mlt__btn svg { transition: transform .2s; }
.mlt__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(234, 88, 12, 0.45);
}
.mlt__btn:hover svg { transform: translateX(-4px); }
.mlt__btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.mlt__msg {
    margin-bottom: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}
.mlt__msg.is-ok {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}
.mlt__msg.is-err {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.mlt__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}
.mlt__foot i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #475569;
    display: inline-block;
}

/* Gallery side */
.mlt__visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 480px;
    background: #0a0c12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.mlt__slides { position: absolute; inset: 0; }
.mlt__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease;
}
.mlt__slide.is-on {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease, transform 8s ease-out;
}

.mlt__visual-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(7, 9, 15, .55) 0%, transparent 45%);
    pointer-events: none;
}

.mlt__dots {
    position: absolute;
    z-index: 3;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}
.mlt__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    padding: 0;
    transition: .25s;
}
.mlt__dot.is-on {
    background: #f97316;
    width: 22px;
    border-radius: 8px;
    box-shadow: 0 0 12px rgba(249, 115, 22, .5);
}

.mlt__visual-tag {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    font-size: 11px;
    font-weight: 800;
    color: #fdba74;
    background: rgba(7, 9, 15, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 999px;
}

@media (max-width: 860px) {
    .mlt__layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .mlt__visual {
        min-height: 280px;
        order: -1;
    }
}

@media (max-width: 520px) {
    .mlt { padding: 28px 4vw 40px; }
    .mlt__panel { padding: 24px 18px 20px; border-radius: 20px; }
    .mlt__grid { grid-template-columns: 1fr; }
    .mlt__visual { min-height: 220px; border-radius: 20px; }
}
