.licenses-page-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: clamp(2.75rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 5rem);
}

.licenses {
    color: #111827;
    font-family: 'Poppins', sans-serif;
}

.licenses-kicker {
    margin-bottom: .75rem;
    color: #ff9300;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.licenses-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 1.6vw, 1.5rem);
}

.licenses-intro {
    align-self: center;
    min-width: 0;
    padding-right: clamp(.5rem, 2vw, 2rem);
}

.licenses-intro h2,
.licenses-documents-heading h2 {
    margin: 0;
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    line-height: 1.12;
}

.licenses-intro h2 {
    max-width: 15ch;
    font-size: clamp(2.2rem, 3.2vw, 3.4rem);
}

.licenses-intro h2 span { color: #ff9300; }

.licenses-description {
    max-width: 44ch;
    margin: 1.25rem 0 1.5rem;
    color: #4b5563;
    font-size: clamp(.94rem, 1.2vw, 1.05rem);
    line-height: 1.75;
}

.licenses-company-data {
    display: grid;
    gap: .75rem;
    padding: .25rem 0 .25rem 1rem;
    border-left: 3px solid #ff9300;
}

.licenses-company-data small {
    display: block;
    margin-bottom: .25rem;
    color: #667085;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.licenses-company-data strong {
    display: block;
    line-height: 1.4;
}

.licenses-ruc strong { color: #e87500; font-size: 1.5rem; letter-spacing: .025em; }
.licenses-company-name strong { font-size: .75rem; }

.licenses-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    min-height: 3.2rem;
    margin-top: 1.5rem;
    padding: .75rem 1.5rem;
    border-radius: .75rem;
    background: #ff9300;
    box-shadow: 0 5px 12px rgb(17 24 39 / 12%);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

.licenses-primary-action:hover,
.licenses-primary-action:focus-visible {
    background: #df7900;
    box-shadow: 0 6px 16px rgb(17 24 39 / 16%);
    color: #fff;
}

.licenses-note {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    max-width: 43ch;
    margin: 1.4rem 0 0;
    color: #667085;
    font-size: .78rem;
    line-height: 1.55;
}

.licenses-note i { flex: none; color: #111827; font-size: 1.4rem; }

.licenses-featured-document,
.licenses-source-card,
.license-document-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 9px 30px rgb(16 24 32 / 7%);
    color: inherit;
    text-decoration: none;
    transition: box-shadow 180ms ease;
}

button.licenses-featured-document,
button.license-document-card {
    width: 100%;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.licenses-featured-document:hover,
.licenses-source-card:hover,
.license-document-card:hover {
    box-shadow: 0 12px 32px rgb(16 24 32 / 10%);
}

.licenses-featured-document:focus-visible,
.licenses-source-card:focus-visible,
.license-document-card:focus-visible,
.licenses-primary-action:focus-visible {
    outline: 3px solid #ff9300;
    outline-offset: 3px;
}

.licenses-featured-document {
    display: flex;
    flex-direction: column;
    padding: clamp(1rem, 2vw, 2rem);
}

.licenses-featured-preview {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 22rem;
}

.licenses-featured-preview img {
    display: block;
    width: 100%;
    max-height: 26rem;
    object-fit: contain;
    filter: drop-shadow(5px 12px 12px rgb(16 24 32 / 14%));
    transform: rotate(-3deg);
}

.licenses-featured-caption,
.license-document-footer {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.licenses-featured-caption > span,
.license-document-footer > span { flex: 1; min-width: 0; }

.licenses-featured-caption > i:first-child {
    display: grid;
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 50%;
    background: #ff9300;
    color: #fff;
}

.licenses-featured-caption strong,
.license-document-footer strong {
    display: block;
    font-size: .93rem;
    font-weight: 700;
    line-height: 1.35;
}

.licenses-featured-caption small,
.license-document-footer small {
    display: block;
    margin-top: .25rem;
    color: #737c8c;
    font-size: .73rem;
    line-height: 1.45;
}

.licenses-open-icon {
    display: grid;
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: .5rem;
    background: #e87500;
    color: #fff;
    font-size: 1rem;
}

.licenses-sources {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: .8rem;
}

.licenses-sources h3 { margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.licenses-sources-description { margin: -.4rem 0 .25rem; color: #667085; font-size: .78rem; line-height: 1.55; }

.licenses-source-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem;
}

.licenses-source-icon { flex: none; color: #111827; font-size: 1.35rem; }
.licenses-source-card > span { flex: 1; min-width: 0; }
.licenses-source-card strong { display: block; font-size: .88rem; font-weight: 700; line-height: 1.35; }
.licenses-source-card small { display: block; margin-top: .3rem; color: #667085; font-size: .72rem; line-height: 1.5; }
.licenses-source-card em { display: block; margin-top: .55rem; color: #e87500; font-size: .75rem; font-style: normal; font-weight: 700; }

.licenses-scenic {
    display: block;
    width: 100%;
    min-height: 10rem;
    flex: 1;
    border-radius: 1.15rem;
    object-fit: cover;
}

.licenses-documents-heading {
    margin: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
}

.licenses-documents-heading h2 { font-size: clamp(2rem, 3vw, 3rem); }
.licenses-document-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.license-document-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2rem, 5vw, 6rem);
    min-height: 20rem;
    padding: clamp(1.5rem, 3.2vw, 3rem);
    border: 0;
    border-radius: 0;
    background: #f8f8f8;
    box-shadow: none;
}
.license-document-card:nth-child(even) { background: #fff; }
.license-document-card:nth-child(even) .license-document-preview { order: 2; }
.license-document-card:nth-child(even) .license-document-footer { order: 1; }
.license-document-card:hover { box-shadow: none; }

.license-document-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 17rem;
    overflow: hidden;
    padding: 0;
    background: transparent;
}

.license-document-preview img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.license-document-footer { min-height: 0; padding: 0; }
.license-document-footer strong { font-family: 'Anton', sans-serif; font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 400; line-height: 1.2; }
.license-document-footer small { max-width: 40ch; margin-top: .65rem; color: #4b5563; font-size: clamp(.9rem, 1.05vw, 1rem); line-height: 1.55; }
.license-document-footer em { display: block; margin-top: .9rem; color: #e87500; font-size: .9rem; font-style: normal; font-weight: 700; }
.license-document-footer .licenses-open-icon { display: none; }

@media (max-width: 1100px) {
    .licenses-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .licenses-intro { grid-column: 1 / -1; padding-right: 0; }
    .licenses-intro h2, .licenses-description { max-width: 60ch; }
}

@media (max-width: 700px) {
    .licenses-overview, .licenses-document-grid { grid-template-columns: 1fr; }
    .licenses-intro { grid-column: auto; }
    .licenses-featured-preview { min-height: 17rem; }
    .licenses-featured-preview img { max-height: 20rem; }
    .licenses-scenic { height: 12rem; flex: none; }
    .license-document-card { grid-template-columns: 1fr; gap: 1rem; min-height: 0; padding: 1.5rem; }
    .license-document-card:nth-child(even) .license-document-preview,
    .license-document-card:nth-child(even) .license-document-footer { order: initial; }
    .license-document-preview { height: 13rem; }
}
