/* A2 Consulting — adaptations mobile */

html {
    -webkit-text-size-adjust: 100%;
}

img,
video,
iframe,
embed,
object,
svg {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
}

@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
    }

    iframe {
        width: 100%;
    }

    .header-logo-support {
        padding-top: 14px !important;
        padding-bottom: 10px !important;
    }

    .header-logo-support .logo {
        text-align: left;
    }

    .brand-logo {
        max-width: 100%;
        align-items: center;
    }

    .brand-logo__mark,
    .header-logo-support .logo img {
        height: 40px !important;
        max-height: 40px !important;
        flex-shrink: 0;
    }

    .brand-logo__text {
        font-size: 13px;
        white-space: normal;
    }

    .brand-logo__slogan {
        font-size: 9px;
        white-space: normal;
    }

    .support-button {
        float: none !important;
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 12px;
    }

    .support-button .support,
    .support-button .button {
        float: none !important;
        margin: 0 !important;
    }

    .support-button .button .main-btn {
        width: auto;
        min-width: 160px;
        margin: 0;
    }

    .navigation .navbar {
        padding: 8px 0;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 100%;
    }

    .navigation .navbar-toggler {
        width: auto;
        height: auto;
        margin: 8px 0;
        padding: 8px 10px;
        border: 1px solid rgba(1, 104, 163, 0.25);
        border-radius: 10px;
        background: #fff;
        z-index: 2;
    }

    .navigation .navbar .navbar-toggler .icon-bar {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        margin: 5px 0 !important;
        background-color: #0168a3 !important;
    }

    .navigation .navbar-collapse,
    .navigation .navbar-collapse.collapsing,
    .navigation .navbar-collapse.collapse.show {
        flex-basis: 100% !important;
        width: 100% !important;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        background: #fff;
        border-radius: 12px;
        margin: 10px 0 8px;
        padding: 8px 16px 12px;
        box-shadow: 0 10px 30px rgba(1, 104, 163, 0.1);
    }

    .navigation .navbar .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .navigation .navbar .navbar-nav li {
        display: block;
        float: none !important;
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #eef3f8;
    }

    .navigation .navbar .navbar-nav li:last-child {
        border-bottom: 0;
    }

    .navigation .navbar .navbar-nav li a {
        display: block !important;
        width: 100%;
        padding: 12px 4px !important;
        font-size: 15px;
        line-height: 1.3;
    }

    .right-icon ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 4px;
        margin: 0;
        padding-top: 4px;
    }

    .right-icon ul li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        font-size: 18px;
    }

    .slider-cont h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
        word-break: break-word;
    }

    .slider-cont p {
        font-size: 15px;
    }

    .slider-cont ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .slider-cont ul li {
        width: 100%;
        margin: 0 0 10px !important;
    }

    .slider-cont .main-btn,
    .products-btn,
    .category-text .main-btn {
        text-align: center;
    }

    .products-btn {
        text-align: left !important;
        padding-bottom: 10px !important;
    }

    .page-banner-cont h2 {
        font-size: 26px !important;
        line-height: 1.3;
        word-break: break-word;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

    .main-btn,
    .main-btn-2,
    a.main-btn,
    button.main-btn,
    .btn-add-cart {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        min-height: 48px;
        padding: 12px 18px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        text-align: center;
        box-sizing: border-box;
        margin: 0 0 10px;
        float: none !important;
    }

    .shop-content .btn-add-cart,
    .add-to-cart-form,
    .add-to-cart-form .btn-add-cart {
        width: 100% !important;
        min-width: 0 !important;
    }

    .add-to-cart-form--qty {
        flex-direction: column;
        align-items: stretch;
    }

    .qty-field {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .shop-top-search,
    .courses-top-search,
    .courses-toolbar {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch !important;
        overflow: visible !important;
        float: none !important;
        width: 100%;
    }

    .courses-toolbar__meta {
        padding-bottom: 0;
    }

    .courses-toolbar__filters,
    .courses-toolbar__field,
    .courses-filter-select {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }

    .courses-filter-chips {
        justify-content: flex-start;
    }

    .shop-top-search .shop-select,
    .courses-search,
    .courses-top-search .nav,
    .shop-bar {
        float: none !important;
        width: 100%;
    }

    .shop-select .nice-select,
    .courses-search .nice-select,
    .shop-select select,
    .courses-search select,
    .nice-select {
        width: 100% !important;
        float: none !important;
        max-width: 100%;
    }

    .singel-course .cont h4,
    .singel-publication .cont h6,
    .shop-content h3,
    .corses-singel-left .title h3 {
        word-break: break-word;
    }

    .singel-course .course-teacher {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .singel-course .course-teacher .admin {
        margin-left: auto;
        float: none !important;
    }

    .singel-event-list {
        display: block !important;
        padding: 16px !important;
    }

    .singel-event-list .event-thum,
    .singel-event-list .event-cont {
        width: 100% !important;
        float: none !important;
    }

    .singel-event-list .event-thum img {
        width: 100%;
        margin-bottom: 12px;
        border-radius: 10px;
    }

    .corses-singel-left,
    .corses-singel-right,
    .shop-content,
    .events-left,
    .events-right,
    .blog-cont,
    .teachers-right,
    .contact-from,
    .contact-address {
        padding: 20px !important;
    }

    .course-terms ul {
        display: block;
        padding: 0;
        margin: 0;
    }

    .course-terms ul li {
        width: 100% !important;
        margin: 0 0 16px !important;
        display: block;
    }

    .course-features .main-btn,
    .form-singel .main-btn {
        width: 100%;
    }

    .form-singel input,
    .form-singel textarea,
    .form-singel select,
    .singel-form input,
    .singel-form textarea,
    .main-form input,
    .main-form textarea {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .You-makelike .singel-makelike {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .You-makelike .singel-makelike .image,
    .You-makelike .singel-makelike .cont {
        float: none !important;
        width: auto !important;
    }

    .You-makelike .singel-makelike .image img {
        width: 72px;
        height: 72px;
        object-fit: cover;
        border-radius: 8px;
    }

    .footer-link ul {
        width: 100% !important;
        float: none !important;
        margin-bottom: 8px;
    }

    .apply-cont {
        padding: 30px 20px !important;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination li a,
    .pagination li span {
        min-width: 40px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .product-price__amount,
    .singel-publication .cont .name .product-price__amount {
        white-space: normal;
    }

    .search-box .serach-form form {
        width: 90%;
        max-width: 100%;
        display: flex;
        gap: 8px;
    }

    .search-box .serach-form input {
        width: 100% !important;
        font-size: 16px !important;
    }

    .search-box .serach-form button {
        min-width: 48px;
        min-height: 48px;
    }

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .shop-destails img,
    .corses-singel-image img,
    .blog-thum img,
    .events-left img {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }

    .home-category-card {
        display: flex;
        flex-direction: column;
        min-height: 0;
        margin-bottom: 16px;
    }

    .pt-90,
    .pt-120 {
        padding-top: 50px !important;
    }

    .pb-90,
    .pb-120 {
        padding-bottom: 50px !important;
    }
}

@media (max-width: 767.98px) {
    .support-button {
        display: none !important;
    }

    .cart-table-wrap {
        display: none;
    }

    .cart-cards {
        display: grid;
        gap: 14px;
    }

    .cart-card {
        background: #fff;
        border-radius: 14px;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(1, 104, 163, 0.08);
    }

    .cart-card h3 {
        font-size: 16px;
        margin: 0 0 8px;
        color: #0168a3;
        word-break: break-word;
    }

    .cart-card__meta,
    .cart-card__row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        font-size: 14px;
        margin-top: 8px;
    }

    .cart-card input[type="number"] {
        width: 72px;
        min-height: 44px;
        border: 1px solid #e4ebf3;
        border-radius: 10px;
        text-align: center;
        font-size: 16px;
    }

    .cart-card .btn {
        min-height: 44px;
        width: 100%;
        margin-top: 10px;
    }

    .cart-actions,
    .cart-empty {
        text-align: center;
        padding-top: 8px;
    }

    .cart-empty {
        background: #fff;
        border-radius: 14px;
        padding: 28px 18px;
    }

    .cart-actions h4 {
        margin: 16px 0;
        word-break: break-word;
    }

    .checkout-box {
        padding: 18px !important;
        margin-bottom: 18px;
    }

    .checkout-recap {
        padding-left: 0;
        list-style: none;
    }

    .checkout-recap li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 0;
        border-bottom: 1px solid #eef3f8;
    }

    .checkout-recap li strong {
        float: none !important;
    }

    .home-category-card {
        margin-bottom: 12px;
    }

    .section-title h2,
    .about-cont,
    .event-title h3 {
        text-align: left;
        word-break: break-word;
    }

    #page-banner .page-hero {
        padding: 36px 22px 32px !important;
        min-height: 180px !important;
        border-radius: 20px;
    }

    #slider-part .hero-banner {
        padding: 88px 22px 52px !important;
        min-height: 420px !important;
        border-radius: 20px;
    }

    input,
    select,
    textarea,
    button {
        font-size: 16px !important;
        max-width: 100%;
    }

    .product-card .image img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .feature ul li .singel-feature .icon,
    .feature ul li .singel-feature .cont {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
    }

    .back-to-top {
        right: 12px;
        bottom: 12px;
        width: 42px;
        height: 42px;
        line-height: 42px;
    }

    .copyright {
        text-align: center !important;
    }
}

@media (min-width: 768px) {
    .cart-cards {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .slider-cont h1 {
        font-size: 24px !important;
    }

    .product-price--lg .product-price__amount {
        font-size: 24px;
    }

    .singel-course .thum .price span {
        font-size: 11px;
        padding: 8px 10px;
        white-space: normal;
        max-width: 70%;
    }

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Bannières modernes (accueil + pages internes) */
.hero-banner,
.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}

.hero-banner__media,
.page-hero__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: a2-banner-zoom 20s ease-out forwards;
}

.hero-banner__overlay,
.page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-banner__overlay {
    background:
        linear-gradient(108deg, rgba(2, 32, 58, 0.9) 0%, rgba(1, 88, 140, 0.68) 48%, rgba(2, 32, 58, 0.28) 100%),
        linear-gradient(to top, rgba(2, 24, 48, 0.4), transparent 42%);
}

.page-hero__overlay {
    background:
        linear-gradient(100deg, rgba(2, 32, 58, 0.92) 0%, rgba(1, 88, 140, 0.72) 55%, rgba(2, 32, 58, 0.38) 100%);
}

.hero-banner__glow {
    position: absolute;
    z-index: 1;
    width: min(48vw, 460px);
    height: min(48vw, 460px);
    right: -6%;
    top: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 174, 98, 0.38), transparent 68%);
    pointer-events: none;
}

.hero-banner .container,
.page-hero-wrap > .container {
    position: relative;
    z-index: 2;
}

.hero-wrap,
.page-hero-wrap,
#page-banner.page-hero-wrap {
    padding: 28px 0 8px !important;
    background: transparent;
}

.hero-banner {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 560px;
    padding: 140px 56px 80px;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    border-radius: 28px;
    box-shadow: 0 28px 64px rgba(1, 40, 70, 0.22);
}

.hero-banner__panel {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-banner__eyebrow,
.page-hero__nav .breadcrumb {
    margin: 0 0 16px;
}

.hero-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ebae62;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero-banner__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #ebae62;
}

.hero-banner h1,
.page-hero h1 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.hero-banner h1 {
    font-size: clamp(2rem, 4.4vw, 3.55rem);
}

.page-hero h1 {
    font-size: clamp(1.7rem, 3.4vw, 2.85rem);
    padding-bottom: 0;
}

.hero-banner__lead,
.page-hero__lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 500;
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 0 28px;
}

.hero-banner__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-banner__actions .main-btn {
    margin: 0;
}

.hero-banner__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    color: #fff !important;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-banner__ghost:hover,
.hero-banner__ghost:focus {
    background: rgba(235, 174, 98, 0.2);
    border-color: #ebae62;
    color: #fff !important;
    text-decoration: none;
}

.page-hero {
    display: flex;
    align-items: flex-end;
    min-height: 240px;
    padding: 48px 48px 44px;
    border-radius: 28px;
    box-shadow: 0 28px 64px rgba(1, 40, 70, 0.22);
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.page-hero__nav .breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 6px 14px;
    margin-bottom: 14px;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a,
.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.page-hero .breadcrumb-item.active {
    color: #ebae62;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    padding-right: 6px;
}

.page-hero::after,
.hero-banner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    z-index: 3;
    background: linear-gradient(90deg, #0168a3 0%, #ebae62 50%, #0168a3 100%);
}

.hero-banner::after,
.page-hero::after {
    border-radius: 0 0 28px 28px;
}

@keyframes a2-banner-zoom {
    to {
        transform: scale(1.14);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-banner__media,
    .page-hero__media {
        animation: none;
        transform: none;
    }
}

@media (max-width: 991.98px) {
    .hero-wrap,
    .page-hero-wrap,
    #page-banner.page-hero-wrap {
        padding: 12px 0 4px !important;
    }

    .hero-banner {
        min-height: 420px;
        padding: 88px 22px 52px;
        align-items: flex-end;
        border-radius: 20px;
    }

    .hero-banner::after,
    .page-hero::after {
        border-radius: 0 0 20px 20px;
    }

    .hero-banner__glow {
        opacity: 0.55;
        top: auto;
        bottom: -20%;
    }

    .page-hero {
        min-height: 180px;
        padding: 36px 22px 32px;
        border-radius: 20px;
    }

    .hero-banner__actions .main-btn,
    .hero-banner__ghost {
        width: 100%;
        max-width: 100%;
    }
}

.shop-destails {
    padding: 28px 32px 40px;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.06);
}

.shop-destails .shop-left {
    padding-right: 20px;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-gallery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.product-gallery__shot {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
    border: 1px solid rgba(1, 104, 163, 0.1);
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
    text-decoration: none;
    color: inherit;
    aspect-ratio: 1 / 1;
}

.product-gallery__shot:hover,
.product-gallery__shot:focus {
    text-decoration: none;
    border-color: rgba(1, 104, 163, 0.35);
    box-shadow: 0 16px 36px rgba(1, 104, 163, 0.14);
}

.product-gallery__frame {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-gallery__shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
    transition: transform 0.4s ease;
}

.product-gallery__shot.is-detail img {
    object-fit: cover;
    object-position: center 28%;
    padding: 0;
    transform: scale(1.28);
}

.product-gallery__shot:hover img {
    transform: scale(1.05);
}

.product-gallery__shot.is-detail:hover img {
    transform: scale(1.38);
}

.product-gallery__caption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(1, 104, 163, 0.94);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(1, 104, 163, 0.25);
}

.product-gallery__hint {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .shop-destails {
        padding: 18px 16px 28px;
    }

    .shop-destails .shop-left {
        padding-right: 0;
    }

    .product-gallery__grid {
        gap: 10px;
    }

    .product-gallery__shot img {
        padding: 12px;
    }
}

.share-bar {
    margin: 18px 0 8px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 16px;
}

.share-bar__label {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0168a3;
}

.share-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.share-bar__btn:hover,
.share-bar__btn:focus {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
}

.share-bar__btn--facebook { background: #1877f2; }
.share-bar__btn--instagram { background: #e1306c; }
.share-bar__btn--whatsapp { background: #25d366; }
.share-bar__btn--twitter { background: #111827; }
.share-bar__btn--linkedin { background: #0a66c2; }
.share-bar__btn--copy { background: #0168a3; }
.share-bar__btn--native { background: #ebae62; color: #1d2025; }

.share-bar__btn--native:hover,
.share-bar__btn--native:focus {
    color: #1d2025;
}

.share-bar__feedback {
    margin: 10px 0 0;
    font-size: 13px;
    color: #0d6e5c;
}

@media (max-width: 575.98px) {
    .share-bar__btn span {
        display: none;
    }

    .share-bar__btn {
        width: 40px;
        justify-content: center;
        padding: 0;
    }
}

.trust-section {
    padding: 88px 0 96px;
}

.trust-section--quotes {
    background:
        radial-gradient(1200px 280px at 10% -10%, rgba(1, 104, 163, 0.12), transparent 60%),
        linear-gradient(180deg, #f4f8fb 0%, #eef4f9 100%);
}

.trust-section--partners {
    background: transparent;
    color: #fff;
}

.partners-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 56px 40px 48px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 18%, rgba(235, 174, 98, 0.32), transparent 42%),
        linear-gradient(135deg, #0168a3 0%, #0a5688 55%, #024a76 100%);
    box-shadow: 0 28px 64px rgba(1, 40, 70, 0.22);
}

.trust-section__intro {
    max-width: 640px;
    margin-bottom: 40px;
}

.trust-section__intro--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.trust-section__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ebae62;
}

.trust-section h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
    color: #123047;
}

.trust-section--partners h2 {
    color: #fff;
}

.trust-section__lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #5b6b78;
}

.trust-section--partners .trust-section__lead {
    color: rgba(255, 255, 255, 0.72);
}

.quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 22px;
}

.quote-card {
    position: relative;
    padding: 32px 28px 28px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(18, 48, 71, 0.08);
    overflow: hidden;
}

.quote-card--featured {
    grid-row: span 2;
    background: linear-gradient(165deg, #0168a3 0%, #0a4d78 100%);
    color: #fff;
    box-shadow: 0 24px 50px rgba(1, 104, 163, 0.28);
}

.quote-card__mark {
    position: absolute;
    top: 4px;
    right: 18px;
    font-size: 92px;
    line-height: 1;
    color: rgba(1, 104, 163, 0.1);
    font-family: Georgia, serif;
    pointer-events: none;
}

.quote-card--featured .quote-card__mark {
    color: rgba(255, 255, 255, 0.14);
}

.quote-card__stars {
    margin-bottom: 14px;
    color: #ebae62;
    letter-spacing: 2px;
}

.quote-card__text {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.7;
    color: #2c3a45;
}

.quote-card--featured .quote-card__text {
    color: #fff;
    font-size: 20px;
}

.quote-card__person {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-card__person img,
.quote-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.quote-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f2f8;
    color: #0168a3;
    font-weight: 700;
    font-size: 14px;
}

.quote-card--featured .quote-card__avatar {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.quote-card__person strong {
    display: block;
    font-size: 15px;
    color: #123047;
}

.quote-card--featured .quote-card__person strong {
    color: #fff;
}

.quote-card__person span {
    display: block;
    font-size: 13px;
    color: #7a8894;
}

.quote-card--featured .quote-card__person span {
    color: rgba(255, 255, 255, 0.75);
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.partner-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    max-width: calc(50% - 8px);
    min-height: 132px;
    padding: 22px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

a.partner-chip:hover,
a.partner-chip:focus {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(235, 174, 98, 0.45);
    color: #fff;
    text-decoration: none;
}

.partner-chip img {
    max-width: 120px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.35);
    margin-bottom: 10px;
}

a.partner-chip:hover img {
    filter: none;
}

.partner-chip__mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ebae62, #f4c98a);
    color: #123047;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.partner-chip__name {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    opacity: 0.92;
}

@media (max-width: 991.98px) {
    .quote-grid {
        grid-template-columns: 1fr 1fr;
    }

    .quote-card--featured {
        grid-row: auto;
    }

    .partners-panel {
        padding: 40px 24px 32px;
        border-radius: 20px;
    }
}

@media (max-width: 575.98px) {
    .trust-section {
        padding: 64px 0 72px;
    }

    .trust-section h2 {
        font-size: 26px;
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .partner-chip {
        width: 100%;
        max-width: 100%;
    }
}

.courses-pagination {
    display: flex;
    justify-content: center;
}

.courses-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.courses-pagination .pagination .page-item {
    margin: 0 5px;
}

.courses-pagination .pagination .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    color: #0168a3;
    background: #fff;
    border: 2px solid #d5dde4;
    border-radius: 8px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.courses-pagination .pagination .page-item.active .page-link,
.courses-pagination .pagination .page-item .page-link:hover,
.courses-pagination .pagination .page-item .page-link:focus {
    background-color: #ebae62;
    border-color: #ebae62;
    color: #fff;
    box-shadow: none;
}

.courses-pagination .pagination .page-item.disabled .page-link {
    color: #9aa7b2;
    background: #f3f6f8;
    border-color: #e4eaef;
    pointer-events: none;
}

.course-stars {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
}

.course-stars--compact {
    margin: 6px 0 10px;
}

.course-stars__icons {
    color: #ebae62;
    letter-spacing: 1px;
    font-size: 14px;
    line-height: 1;
}

.course-stars--compact .course-stars__icons {
    font-size: 13px;
}

.course-stars__meta {
    font-size: 13px;
    font-weight: 600;
    color: #24486e;
}

.course-stars__meta span {
    font-weight: 500;
    color: #7a8894;
}

.course-stars__meta--empty {
    color: #7a8894;
    font-weight: 500;
}

.course-rate-box {
    margin-top: 28px;
    padding: 22px 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(1, 104, 163, 0.08);
}

.course-rate-box__label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0168a3;
}

.star-rate {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef2f5;
}

.star-rate__prompt {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #24486e;
}

.star-rate__row {
    display: inline-flex;
    gap: 4px;
}

.star-rate__btn {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d5dde4;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rate__btn.is-on {
    color: #ebae62;
}

.star-rate__row:hover .star-rate__btn {
    color: #ebae62;
}

.star-rate__row:hover .star-rate__btn:hover ~ .star-rate__btn {
    color: #d5dde4;
}

.star-rate__btn:hover {
    transform: scale(1.08);
}

.course-rate-box__ok {
    margin: 12px 0 0;
    color: #0d6e5c;
    font-size: 14px;
    font-weight: 600;
}

.course-rate-box__error {
    margin: 12px 0 0;
    color: #c0392b;
    font-size: 14px;
}

.checkout-pay-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 100%;
    margin: 0;
    padding: 16px 14px;
    border: 1px solid #dfe8ef;
    border-radius: 12px;
    background: #f8fbfd;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.checkout-pay-card:hover,
.checkout-pay-card:has(input:checked) {
    border-color: #2b7a78;
    background: #fff;
    box-shadow: 0 8px 22px rgba(43, 122, 120, .12);
}

.checkout-pay-card input {
    margin-right: 8px;
}

.checkout-pay-card__title {
    font-weight: 700;
    color: #1c3d5a;
}

.checkout-pay-card__hint {
    font-size: 13px;
    color: #5b6f82;
    line-height: 1.4;
}

.checkout-pay-card--sm {
    min-height: 0;
    padding: 12px;
}

.software-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(28, 61, 90, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.software-card__media img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.software-card__body {
    padding: 22px 22px 26px;
    flex: 1;
}

.software-card__name {
    margin: 0 0 6px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #2b7a78;
    text-transform: none;
}

.software-card__body h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #1c3d5a;
}

.software-card__mods,
.software-detail__mods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.software-card__mods li,
.software-detail__mods li {
    position: relative;
    padding: 6px 0 6px 18px;
    color: #3d5366;
}

.software-card__mods li::before,
.software-detail__mods li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ebae62;
}

.software-detail__image {
    width: 100%;
    border-radius: 16px;
}

.software-detail__panel {
    background: #fff;
    border-radius: 20px;
    padding: 26px 26px 32px;
    box-shadow: 0 12px 32px rgba(28, 61, 90, .08);
}

.software-detail__name {
    margin: 22px 0 4px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #2b7a78;
}

.software-detail__panel h3 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #1c3d5a;
}

.software-detail__lead {
    font-size: 17px;
    color: #3d5366;
    margin-bottom: 0;
}

.software-detail__aside {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 12px 32px rgba(28, 61, 90, .08);
    position: sticky;
    top: 24px;
}

.software-demo {
    margin-top: 32px;
    padding: 22px;
    border-radius: 18px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2b7a78, #ebae62) border-box;
    border: 1px solid transparent;
    box-shadow: 0 10px 28px rgba(28, 61, 90, .08);
}

.software-demo__kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #2b7a78;
}

.software-demo__head h4,
.software-detail__aside h4 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #1c3d5a;
}

.software-demo__head p,
.software-detail__aside p {
    margin: 0 0 16px;
    color: #3d5366;
}

.software-demo__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 54px;
    margin-bottom: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #1c3d5a;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(28, 61, 90, .22);
}

.software-demo__cta span {
    font-weight: 700;
}

.software-demo__cta small {
    opacity: .78;
    font-size: 12px;
}

.software-demo__cta:hover {
    background: #2b7a78;
}

.software-demo__creds {
    display: grid;
    gap: 10px;
}

.software-demo__row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f4f7fa;
}

.software-demo__label {
    font-size: 12px;
    font-weight: 700;
    color: #6a7d8e;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.software-demo__row code {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    color: #1c3d5a;
    background: transparent;
    padding: 0;
}

.software-demo__row code.is-hidden {
    filter: blur(5px);
    user-select: none;
}

.software-demo__copy,
.software-demo__toggle {
    border: 0;
    background: #fff;
    color: #1c3d5a;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(28, 61, 90, .08);
}

.software-demo__copy.is-copied {
    background: #2b7a78;
    color: #fff;
}

.software-demo__note {
    margin: 12px 0 0;
    font-size: 13px;
    color: #6a7d8e;
}

@media (max-width: 575px) {
    .software-detail__panel {
        padding: 18px;
    }

    .software-demo__row {
        grid-template-columns: 1fr auto auto;
    }

    .software-demo__label {
        grid-column: 1 / -1;
    }
}

.software-detail__aside .main-btn-2 {
    display: inline-block;
}

.software-media {
    display: grid;
    gap: 16px;
}

.software-media h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.software-media__video,
.software-media__shots {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (min-width: 768px) {
    .software-media:has(.software-media__video):has(.software-media__shots) {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 18px;
    }
}

.software-video,
.software-shots {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: none;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #0f2438;
    box-shadow: 0 8px 18px rgba(28, 61, 90, .1);
}

.software-shots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 6px;
    background: #e8eef3;
}

.software-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.software-shots__item {
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    overflow: hidden;
    cursor: zoom-in;
    min-height: 0;
}

.software-shots__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-card--home .software-card__media img {
    height: 160px;
}

.software-card--home .software-card__body {
    padding: 16px 18px 20px;
}

.software-card--home .software-card__body h3 {
    font-size: 18px;
}

.software-shots-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 28, 44, .88);
    padding: 24px;
}

.software-shots-overlay[hidden] {
    display: none !important;
}

.software-shots-overlay img {
    max-width: min(1100px, 100%);
    max-height: 88vh;
    border-radius: 12px;
}

.software-shots-overlay__close {
    position: absolute;
    top: 16px;
    right: 20px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}

