.licenses-page {
    color: #0a1c4a;
    background: #fff;
}

.licenses-hero {
    padding: 60px 0 120px;
    background: #fff;
}

.licenses-breadcrumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 60px;
    color: #000;
    font-family: "Inter Tight", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.licenses-breadcrumbs a {
    color: inherit;
    opacity: 0.5;
    text-decoration: none;
}

.licenses-breadcrumbs span:last-child {
    opacity: 1;
}

.licenses-hero__heading {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.licenses-hero__heading h1 {
    flex: 0 1 561px;
    margin: 0;
    color: #0a1c4a;
    font-family: "Inter Tight", sans-serif;
    font-size: 50px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.02em;
}

.licenses-hero__heading p {
    flex: 0 1 650px;
    margin: 0;
    max-width: 650px;
    color: #363636;
    font-family: "Inter Tight", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.licenses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 20px;
    align-items: flex-start;
    align-content: flex-start;
}

.licenses-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: calc((100% - 60px) / 4);
    max-width: 330px;
}

.licenses-card__preview {
    position: relative;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 330 / 364;
    background: #fff;
    clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
    text-decoration: none;
}

.licenses-card__preview::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 40px;
    height: 40px;
    pointer-events: none;
    background: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.licenses-card__preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.96);
}

.licenses-card__preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 28, 74, 0.1);
    transition: background 0.25s ease;
}

.licenses-card__zoom {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.02em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.licenses-card__zoom img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: none;
}

.licenses-card__preview:hover::after,
.licenses-card__preview:focus-visible::after {
    background: rgba(10, 28, 74, 0.55);
}

.licenses-card__preview:hover .licenses-card__zoom,
.licenses-card__preview:focus-visible .licenses-card__zoom {
    opacity: 1;
}

.licenses-card__info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    box-sizing: border-box;
    width: 100%;
    padding-right: 40px;
}

.licenses-card__info h2 {
    margin: 0;
    color: #0a1c4a;
    font-family: "Inter Tight", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.licenses-card__download {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #0a1c4a;
    font-family: "Inter Tight", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 0.985;
    letter-spacing: -0.02em;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.licenses-card__download:hover {
    opacity: 1;
}

.licenses-card__download-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    border: 0.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 1000px;
}

.licenses-card__download-icon img {
    display: block;
    width: 17px;
    height: 17px;
}

.licenses-request.industrial-request h2 {
    max-width: 700px;
}

.licenses-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(10, 28, 74, 0.85);
}

.licenses-lightbox[hidden] {
    display: none;
}

.licenses-lightbox img {
    max-width: min(900px, 100%);
    max-height: 90vh;
    object-fit: contain;
    background: #fff;
}

.licenses-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .licenses-card {
        width: calc((100% - 20px) / 2);
        max-width: none;
    }
}

@media (max-width: 820px) {
    .licenses-hero {
        padding: 28px 0 48px;
    }

    .licenses-breadcrumbs {
        margin-bottom: 24px;
        font-size: 13px;
    }

    .licenses-hero__heading {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        margin-bottom: 32px;
    }

    .licenses-hero__heading h1 {
        flex: none;
        font-size: 32px;
        letter-spacing: 0.02em;
    }

    .licenses-hero__heading p {
        flex: none;
        max-width: none;
        font-size: 15px;
    }

    .licenses-grid {
        gap: 36px 0;
    }

    .licenses-card {
        width: 100%;
    }

    .licenses-card__preview {
        clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
    }

    .licenses-card__preview::before {
        width: 32px;
        height: 32px;
    }

    .licenses-card__info {
        padding-right: 0;
    }

    .licenses-card__info h2 {
        font-size: 18px;
    }

    .licenses-request.industrial-request h2 {
        max-width: none;
        font-size: 28px;
    }
}
