/* About page — content width matches site: var(--content-max-width) */

.about-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.about-hero-section {
    position: relative;
    width: 100%;
    min-height: 341px;
    padding: 120px 0 56px;
    border-bottom: 1px solid #e2e2ec;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.about-hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(0deg, rgba(37, 38, 145, 0.25) 0%, rgba(37, 38, 145, 0.25) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(225deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%),
        url("../images/about-hero.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.about-hero-label {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
}

.about-hero-title {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    color: #fff;
}

.about-hero-lead {
    max-width: 672px;
    padding-top: 4px;
}

.about-hero-lead p {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 29.25px;
    color: rgba(255, 255, 255, 0.5);
}

.about-profile-section {
    width: 100%;
    padding: 56px 0;
    background: #f6f6fa;
    display: flex;
    justify-content: center;
}

.about-profile-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 40px 48px;
    align-items: start;
}

.about-profile-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 1.5px;
}

.about-profile-title {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #151525;
}

.about-profile-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-profile-text p {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #717188;
}

.about-profile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 14px 24px;
    background: #fff;
    border: 1px solid #e2e2ec;
    border-radius: 99px;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #000;
}

.about-profile-cta img {
    display: block;
    flex-shrink: 0;
}

.about-profile-stats {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-content: start;
}

.about-profile-stat {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e2ec;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.about-profile-stat-value {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    color: #252691;
}

.about-profile-stat-label {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #717188;
}

.about-dealer-section {
    width: 100%;
    padding: 56px 0;
    background: #fff;
    display: flex;
    justify-content: center;
}

.about-dealer-section + .about-dealer-section {
    padding-top: 0;
}

.about-dealer-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    align-items: center;
    gap: 48px;
}

.about-dealer-container--image-left .about-dealer-media {
    order: -1;
}

.about-dealer-header {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 100%;
}

.about-dealer-label {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #252691;
}

.about-dealer-title {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #151525;
}

.about-dealer-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 4px;
}

.about-dealer-text p {
    margin: 0;
    padding-top: 4px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #717188;
}

.about-dealer-text p:first-child {
    padding-top: 0;
}

.about-dealer-text p + p {
    padding-top: 8px;
}

.about-dealer-media {
    margin: 0;
    flex: 0 0 488px;
    width: 488px;
    max-width: 100%;
}

.about-dealer-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 444px;
    object-fit: cover;
    border-radius: 14px;
    background: #eaeaf2;
}

.about-why-section {
    width: 100%;
    padding: 56px 0;
    background: #f6f6fa;
    display: flex;
    justify-content: center;
}

.about-why-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.about-why-title {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #151525;
}

.about-why-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-why-card {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e2ec;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.about-why-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 18px;
    background: #f0f0f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-why-card__icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.about-why-card__title {
    margin: 0;
    padding-top: 4px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #151525;
}

.about-why-card__text {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: #717188;
}

.about-directions-section {
    width: 100%;
    padding: 56px 0;
    background: #f6f6fa;
    display: flex;
    justify-content: center;
}

.about-directions-container {
    width: 100%;
    max-width: var(--content-max-width);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.about-directions-title {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #151525;
}

.about-directions-items {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-directions-item {
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e2ec;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.about-directions-num {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    color: #a0a0ba;
}

.about-directions-item-title {
    margin: 0;
    padding-top: 4px;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #151525;
}

.about-directions-item-text {
    margin: 0;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 22.75px;
    color: #717188;
}

.about-documents-section {
    width: 100%;
    padding: 56px 0;
    background: #fff;
    display: flex;
    justify-content: center;
    overflow-x: clip;
}

.about-documents-container {
    width: 100%;
    max-width: var(--content-max-width);
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.about-documents-title {
    margin: 0;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #151525;
}

.about-documents-items {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
}

.about-documents-item {
    margin: 0;
    min-height: 0;
    aspect-ratio: 305 / 458;
    min-width: 0;
}

.about-documents-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    border-radius: 4px;
    background-color: #f0f0f5;
    overflow: hidden;
}

.about-documents-link:hover {
    opacity: 0.92;
}

.about-documents-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper base styles override */
.about-documents-swiper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    box-sizing: border-box;
}

.about-documents-track {
    width: 100%;
    min-width: 0;
}

.about-documents-track--active {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.about-documents-track--active::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.about-documents-items.swiper-wrapper {
    box-sizing: border-box;
}

.about-documents-items--scroll {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
}

.about-documents-items--scroll .about-documents-item {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.about-documents-item.swiper-slide {
    height: auto;
}

.about-documents-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    margin: 0;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(7, 7, 9, 0.58);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.about-documents-swiper--has-nav .about-documents-nav {
    display: flex;
}

.about-documents-nav--prev {
    left: 12px;
}

.about-documents-nav--next {
    right: 12px;
}

.about-documents-nav::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.about-documents-nav--prev::before {
    transform: rotate(45deg);
    margin-left: 3px;
}

.about-documents-nav--next::before {
    transform: rotate(-135deg);
    margin-right: 3px;
}

.about-documents-nav:hover {
    background: rgba(21, 21, 37, 0.78);
}

.about-documents-nav.is-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}


/* About responsive system (matches Home approach) */
.about-hero-inner,
.about-profile-container,
.about-dealer-container,
.about-why-container,
.about-directions-container,
.about-documents-container {
    box-sizing: border-box;
}

.about-hero-title,
.about-profile-title,
.about-dealer-title,
.about-why-title,
.about-directions-title,
.about-documents-title,
.about-profile-text p,
.about-dealer-text p,
.about-why-card__text,
.about-directions-item-text,
.about-profile-stat-label {
    overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
    .about-profile-container,
    .about-dealer-container {
        gap: 32px;
    }

    .about-directions-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .about-hero-inner,
    .about-profile-container,
    .about-dealer-container,
    .about-why-container,
    .about-directions-container,
    .about-documents-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .about-profile-container {
        grid-template-columns: 1fr;
    }

    /* Profile stats: 1000–700 => 4 columns */
    .about-profile-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .about-dealer-container {
        align-items: flex-start;
        min-width: 0;
    }

    .about-dealer-media {
        flex: 0 0 420px;
        width: 420px;
    }

    .about-dealer-media img {
        height: 360px;
    }

    .about-directions-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {
    .about-hero-section {
        min-height: 300px;
        padding-top: 112px;
        padding-bottom: 48px;
    }

    .about-hero-title {
        font-size: 42px;
        line-height: 1.12;
    }

    .about-hero-lead p {
        font-size: 16px;
        line-height: 1.55;
    }

    .about-profile-section,
    .about-dealer-section,
    .about-why-section,
    .about-directions-section,
    .about-documents-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

@media (max-width: 700px) {
    .about-hero-inner,
    .about-profile-container,
    .about-dealer-container,
    .about-why-container,
    .about-directions-container,
    .about-documents-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-profile-stats {
        /* Profile stats: 700- => 2 columns */
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-directions-items {
        grid-template-columns: 1fr;
    }

    /* Dealer: stack starts at 700px */
    .about-dealer-container {
        flex-direction: column;
        align-items: stretch;
    }

    .about-dealer-media {
        width: 100%;
        flex-basis: auto;
    }

    .about-dealer-container--image-left .about-dealer-media {
        order: initial;
    }

    .about-dealer-media img {
        height: 320px;
        max-height: none;
    }
}

@media (max-width: 600px) {
    .about-hero-title {
        font-size: 34px;
    }

    .about-profile-title,
    .about-dealer-title,
    .about-why-title,
    .about-directions-title,
    .about-documents-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .about-profile-stat {
        padding: 20px;
    }

    .about-why-grid {
        grid-template-columns: 1fr;
    }

    .about-dealer-media img {
        height: 300px;
    }

    .about-directions-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-hero-inner,
    .about-profile-container,
    .about-dealer-container,
    .about-why-container,
    .about-directions-container,
    .about-documents-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .about-hero-section {
        min-height: 272px;
        padding-top: 104px;
        padding-bottom: 40px;
    }

    .about-hero-title {
        font-size: 30px;
    }

    .about-hero-lead p,
    .about-profile-text p,
    .about-dealer-text p {
        font-size: 15px;
        line-height: 1.5;
    }

    .about-profile-cta {
        width: 100%;
    }

    .about-dealer-media img {
        height: 240px;
    }
}