﻿.asoft-contact-page {
    background: radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.07), transparent 22%), radial-gradient(circle at 88% 8%, rgba(14, 165, 233, 0.07), transparent 18%), linear-gradient(180deg, #ffffff 0%, #f7fbff 48%, #ffffff 100%);
    color: var(--asoft-text);
}

/* HERO - page specific only */
.asoft-inner-hero.asoft-contact-hero {
}

.asoft-inner-hero-grid.asoft-contact-hero-grid {
    align-items: center;
    gap: 34px;
}

.asoft-inner-hero-visual.asoft-contact-hero-visual {
    display: flex;
    justify-content: center;
}

.asoft-contact-hero-content {
    position: relative;
    z-index: 1;
}

.asoft-contact-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.asoft-contact-point {
    padding: 11px 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    color: var(--asoft-text-soft);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
}

.asoft-contact-visual-card {
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
    position: relative;
}

    .asoft-contact-visual-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 36%);
        pointer-events: none;
    }

.asoft-contact-visual-top {
    display: flex;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.78);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
    z-index: 1;
}

    .asoft-contact-visual-top span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cbd5e1;
    }

.asoft-contact-visual-body {
    padding: 22px;
    position: relative;
    z-index: 1;
}

.asoft-contact-hero-media-wrap {
    margin-bottom: 18px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.88);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    aspect-ratio: 16 / 10;
}

.asoft-contact-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.asoft-contact-visual-stat {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

    .asoft-contact-visual-stat small {
        display: block;
        color: #64748b;
        margin-bottom: 10px;
        font-size: 0.84rem;
    }

    .asoft-contact-visual-stat strong {
        color: var(--asoft-primary);
        font-size: 1.1rem;
        font-weight: 900;
        line-height: 1.5;
    }

.asoft-contact-visual-list {
    display: grid;
    gap: 12px;
}

.asoft-contact-visual-item {
    height: 72px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.86);
    background: radial-gradient(circle at 18% 50%, rgba(14, 165, 233, 0.12), transparent 24%), linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(15, 23, 42, 0.04)), linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
}

.asoft-contact-visual-item-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* SECTION - page specific only */
.asoft-inner-section.asoft-contact-section {
}

.asoft-inner-section.asoft-inner-section-soft.asoft-contact-section.asoft-contact-section-soft {
}

.asoft-contact-main-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: start;
}

.asoft-contact-form-card,
.asoft-contact-side-card {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
    padding: 30px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

    .asoft-contact-form-card::before,
    .asoft-contact-side-card::before,
    .asoft-mini-faq-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 34%);
        pointer-events: none;
    }

.asoft-contact-side {
    display: grid;
    gap: 18px;
}

.asoft-contact-form-head h2,
.asoft-contact-side-card h3,
.asoft-contact-mini-faq-head h2 {
    margin: 0 0 12px;
    color: var(--asoft-primary);
    font-weight: 900;
    line-height: 1.3;
}

.asoft-contact-form-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.asoft-contact-form-head p,
.asoft-contact-side-card p {
    margin: 0;
    color: var(--asoft-text-soft);
    line-height: 1.9;
}

.asoft-contact-form-head,
.asoft-contact-side-card > * {
    position: relative;
    z-index: 1;
}

.asoft-contact-side-card-visual {
    padding-top: 22px;
}

.asoft-contact-side-card-media {
    margin: -6px -6px 18px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.88);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.07);
    aspect-ratio: 16 / 9;
    position: relative;
    z-index: 1;
}

.asoft-contact-side-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.asoft-form-alert {
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.asoft-form-alert-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.asoft-form-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.asoft-validation-summary {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    position: relative;
    z-index: 1;
}

    .asoft-validation-summary:empty {
        display: none;
    }

.asoft-contact-form {
    margin-top: 24px;
    position: relative;
    z-index: 1;
}

.asoft-contact-grid {
    display: grid;
    gap: 16px;
}

.asoft-contact-grid-2 {
    grid-template-columns: 1fr 1fr;
}

.asoft-field {
    margin-bottom: 16px;
}

    .asoft-field label {
        display: block;
        margin-bottom: 8px;
        color: var(--asoft-primary);
        font-size: 0.96rem;
        font-weight: 800;
    }

.asoft-input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--asoft-text);
    font-size: 1rem;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

    .asoft-input:focus {
        outline: none;
        border-color: rgba(14, 165, 233, 0.7);
        box-shadow: 0 0 0 0.12rem #ffffff, 0 0 0 0.28rem rgba(14, 165, 233, 0.18);
        background: #fff;
    }

    .asoft-input:hover {
        border-color: rgba(37, 99, 235, 0.18);
    }

    .asoft-input.input-validation-error {
        border-color: #fca5a5;
        background: #fffdfd;
    }

.asoft-validation {
    display: block;
    margin-top: 7px;
    color: #b91c1c;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.6;
}

.asoft-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(18px) calc(50% - 3px), calc(12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-left: 34px;
}

.asoft-textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
}

.asoft-contact-form-actions {
    margin-top: 10px;
}

.asoft-submit-btn {
    min-width: 180px;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0ea5e9 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
}

    .asoft-submit-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%);
        pointer-events: none;
    }

    .asoft-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 30px rgba(37, 99, 235, 0.24);
    }

    .asoft-submit-btn:focus {
        outline: none;
        box-shadow: 0 0 0 0.12rem #ffffff, 0 0 0 0.28rem rgba(14, 165, 233, 0.28);
    }

.asoft-contact-info-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 22px;
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 1;
}

    .asoft-contact-info-list li {
        display: grid;
        gap: 4px;
        padding: 14px 16px;
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
        border: 1px solid rgba(226, 232, 240, 0.88);
        transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    }

        .asoft-contact-info-list li:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
            border-color: rgba(37, 99, 235, 0.16);
        }

    .asoft-contact-info-list strong {
        color: var(--asoft-primary);
        font-size: 0.95rem;
        font-weight: 800;
    }

    .asoft-contact-info-list a {
        color: var(--asoft-text-soft);
        text-decoration: none;
        word-break: break-word;
    }

        .asoft-contact-info-list a:hover {
            color: var(--asoft-primary);
            text-decoration: none;
        }

.asoft-side-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.92) 100%);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: var(--asoft-primary);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.22s ease;
    position: relative;
    z-index: 1;
}

    .asoft-side-btn:hover {
        background: #eef6ff;
        color: var(--asoft-primary);
        text-decoration: none;
        border-color: rgba(37, 99, 235, 0.18);
        transform: translateY(-2px);
    }

.asoft-contact-mini-faq-head {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.asoft-contact-mini-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.asoft-mini-faq-card {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    position: relative;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    overflow: hidden;
}

    .asoft-mini-faq-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 24px 40px rgba(15, 23, 42, 0.09);
        border-color: rgba(37, 99, 235, 0.18);
    }

.asoft-mini-faq-card-media {
    margin: -6px -6px 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.88);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    aspect-ratio: 16 / 9;
    position: relative;
    z-index: 1;
}

.asoft-mini-faq-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.asoft-mini-faq-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: var(--asoft-primary);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.45;
}

.asoft-mini-faq-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--asoft-text-soft);
    line-height: 1.85;
}

/* CTA - page specific only */
.asoft-inner-cta-wrap.asoft-contact-cta-wrap {
}

.asoft-inner-cta.asoft-contact-cta {
    position: relative;
    overflow: hidden;
}

.asoft-contact-cta-visual-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.18;
    pointer-events: none;
}

.asoft-contact-cta-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.asoft-contact-cta-content {
    position: relative;
    z-index: 1;
}

@media (max-width: 1100px) {
    .asoft-contact-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .asoft-contact-grid-2,
    .asoft-contact-mini-faq-grid {
        grid-template-columns: 1fr;
    }

    .asoft-inner-hero-grid.asoft-contact-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .asoft-contact-form-card,
    .asoft-contact-side-card,
    .asoft-mini-faq-card {
        padding: 22px;
    }

    .asoft-contact-visual-body {
        padding: 18px;
    }

    .asoft-contact-visual-item {
        height: 64px;
    }

    .asoft-submit-btn {
        width: 100%;
    }

    .asoft-contact-side-card-media,
    .asoft-mini-faq-card-media,
    .asoft-contact-hero-media-wrap {
        aspect-ratio: 16 / 10;
    }
}

.asoft-hp-field {
    display: none !important;
}
.asoft-submit-btn.is-loading,
.asoft-submit-btn:disabled {
    opacity: .75;
    cursor: wait;
    pointer-events: none;
}
.asoft-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
}

.asoft-submit-btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    display: none;
    animation: asoft-spin 0.75s linear infinite;
    flex: 0 0 18px;
}

.asoft-submit-btn.is-loading,
.asoft-submit-btn:disabled {
    opacity: .88;
    cursor: wait;
    pointer-events: none;
}

@keyframes asoft-spin {
    to {
        transform: rotate(360deg);
    }
}
