/* Trojanowski Group Web — V1.2 Corporate & Products */

.main-nav {
    flex-wrap: wrap;
}

/* The current official PNG includes black pixels around the white mark.
   In dark mode, screen blending makes black pixels adopt the header
   background while preserving the white logo details. */
html[data-theme="dark"] .brand-logo {
    mix-blend-mode: screen;
}

.latest-updates {
    border-top: 1px solid var(--line);
}

.update-list {
    border-top: 1px solid var(--line);
}

.update-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.update-row time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .03em;
}

.update-copy {
    display: grid;
    gap: 5px;
}

.update-copy strong {
    font-size: 15px;
    font-weight: 680;
}

.update-copy span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 10px;
    font-weight: 760;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.section-dark .status-pill {
    border-color: var(--line-dark);
    background: rgba(255, 255, 255, .055);
    color: #fff;
}

.product-catalog {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    gap: 18px;
}

.catalog-card {
    min-height: 430px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255,255,255,.04) inset;
}

.catalog-card.primary {
    min-height: 500px;
    background: var(--surface-dark);
    color: #fff;
    border-color: transparent;
}

.catalog-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.catalog-name {
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 720;
    letter-spacing: -.055em;
    line-height: .98;
}

.catalog-card:not(.primary) .catalog-name {
    font-size: clamp(28px, 3vw, 40px);
}

.catalog-description {
    max-width: 640px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.75;
}

.catalog-card:not(.primary) .catalog-description {
    color: var(--muted);
}

.catalog-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.catalog-meta-item {
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.16);
}

.catalog-card:not(.primary) .catalog-meta-item {
    border-color: var(--line);
}

.catalog-meta-item span,
.catalog-meta-item strong {
    display: block;
}

.catalog-meta-item span {
    margin-bottom: 5px;
    color: rgba(255,255,255,.5);
    font-size: 10px;
    font-weight: 720;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.catalog-card:not(.primary) .catalog-meta-item span {
    color: var(--muted);
}

.catalog-meta-item strong {
    font-size: 13px;
    font-weight: 650;
}

.catalog-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-card.primary .button-secondary {
    border-color: rgba(255,255,255,.22);
    color: #fff;
    background: rgba(255,255,255,.04);
}

.catalog-card.primary .button-secondary:hover {
    background: rgba(255,255,255,.09);
}

.support-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.support-card,
.contact-card {
    min-height: 250px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.support-card h3,
.contact-card h3 {
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 670;
    letter-spacing: -.025em;
}

.support-card p,
.contact-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    opacity: .68;
}

.contact-note {
    max-width: 760px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 70px;
}

.legal-toc {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 4px;
}

.legal-toc a {
    padding: 9px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 620;
    text-decoration: none;
}

.legal-toc a:hover {
    color: var(--text);
}

.legal-content {
    display: grid;
    gap: 0;
}

.legal-section {
    padding: 0 0 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 120px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    margin-bottom: 18px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 690;
    letter-spacing: -.04em;
}

.legal-section h3 {
    margin: 26px 0 9px;
    font-size: 17px;
    font-weight: 680;
}

.legal-section p,
.legal-section li {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.legal-section ul {
    margin: 12px 0 0 18px;
}

.footer-legal {
    margin-top: 26px;
    padding-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    border-top: 1px solid var(--line);
}

.footer-legal a {
    color: var(--muted);
    font-size: 11px;
    font-weight: 620;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--text);
}

html[data-theme="dark"] .update-list,
html[data-theme="dark"] .update-row,
html[data-theme="dark"] .catalog-card,
html[data-theme="dark"] .support-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .contact-note,
html[data-theme="dark"] .legal-section,
html[data-theme="dark"] .footer-legal {
    border-color: var(--line);
}

html[data-theme="dark"] .catalog-card:not(.primary),
html[data-theme="dark"] .support-card,
html[data-theme="dark"] .contact-card {
    background: var(--surface);
}

@media (max-width: 1050px) {
    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .product-catalog {
        grid-template-columns: 1fr;
    }

    .catalog-card.primary,
    .catalog-card {
        min-height: 390px;
    }
}

@media (max-width: 820px) {
    .update-row {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .update-row .status-pill {
        grid-column: 2;
        justify-self: start;
    }

    .support-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .legal-toc {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-bottom: 22px;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 720px) {
    .main-nav {
        flex-wrap: nowrap;
    }

    .catalog-card {
        padding: 26px;
    }

    .catalog-meta {
        grid-template-columns: 1fr;
    }

    .catalog-meta-item {
        display: grid;
        grid-template-columns: 110px 1fr;
        gap: 14px;
    }

    .catalog-meta-item span {
        margin: 0;
    }
}

@media (max-width: 560px) {
    .update-row {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .update-row .status-pill {
        grid-column: 1;
    }

    .legal-toc {
        grid-template-columns: 1fr;
    }
}

/* Responsive and branding polish — August 2026 */
.brand-logo {
    border-radius: 11px;
    mix-blend-mode: multiply;
    box-shadow:
        0 0 0 1px rgba(17, 18, 20, .035),
        0 5px 14px rgba(17, 18, 20, .045);
    transition: filter .28s ease, transform .22s ease, opacity .22s ease,
        border-radius .22s ease, box-shadow .28s ease;
}

html[data-theme="dark"] .brand-logo {
    mix-blend-mode: screen;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .055),
        0 6px 16px rgba(0, 0, 0, .16);
}

.brand:hover .brand-logo {
    border-radius: 13px;
}

.catalog-card,
.support-card,
.contact-card,
.contact-note,
.legal-content,
.update-copy,
.footer-shell {
    min-width: 0;
}

.catalog-description,
.support-card p,
.contact-card p,
.contact-note,
.legal-section p,
.legal-section li,
.update-copy span {
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .nav-shell {
        gap: 10px;
    }

    .header-tools {
        gap: 6px;
    }

    .hero-grid {
        gap: 42px;
    }

    .hero-panel {
        width: 100%;
        max-width: 680px;
        justify-self: center;
    }

    .product-catalog,
    .support-grid,
    .contact-grid {
        gap: 14px;
    }
}

@media (max-width: 720px) {
    .nav-shell {
        width: min(calc(100% - 20px), var(--max-width));
        gap: 7px;
    }

    .brand {
        gap: 8px;
    }

    .brand-logo {
        height: 40px;
        max-width: 62px;
        border-radius: 10px;
        box-shadow:
            0 0 0 1px rgba(17, 18, 20, .03),
            0 4px 11px rgba(17, 18, 20, .04);
    }

    html[data-theme="dark"] .brand-logo {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, .05),
            0 4px 12px rgba(0, 0, 0, .14);
    }

    .header-tools {
        margin-left: auto;
        gap: 4px;
    }

    .language-picker {
        width: 54px;
        min-width: 54px;
        height: 34px;
        padding-left: 9px;
        padding-right: 20px;
        font-size: 11px;
        background-position:
            calc(100% - 12px) 14px,
            calc(100% - 8px) 14px;
    }

    .header-tool {
        width: 34px;
        height: 34px;
    }

    .menu-toggle {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding: 116px 16px 64px;
    }

    .hero-title,
    .hero-title.compact {
        max-width: 100%;
        font-size: clamp(44px, 14vw, 64px);
        line-height: .97;
    }

    .hero-copy {
        margin-top: 22px;
        font-size: 16px;
        line-height: 1.62;
    }

    .actions {
        margin-top: 28px;
        gap: 9px;
    }

    .button {
        min-height: 48px;
        padding-inline: 18px;
    }

    .hero-panel {
        min-height: 350px;
        padding: 21px;
        border-radius: 22px;
    }

    .panel-top {
        align-items: flex-start;
        gap: 12px;
    }

    .panel-label,
    .panel-status {
        font-size: 10px;
    }

    .flight-route {
        padding: 20px 0 14px;
    }

    .route-line {
        margin: 19px 0;
        gap: 10px;
    }

    .route-plane {
        width: 19px;
        height: 19px;
    }

    .airport-code {
        font-size: clamp(34px, 12vw, 46px);
    }

    .airport-name {
        font-size: 11px;
    }

    .panel-metrics {
        padding-top: 17px;
        gap: 8px;
    }

    .metric strong {
        font-size: 16px;
    }

    .metric span {
        font-size: 9.5px;
        line-height: 1.35;
    }

    .section {
        padding: 72px 16px;
    }

    .section-heading {
        margin-bottom: 36px;
        gap: 18px;
    }

    .section-title {
        font-size: clamp(36px, 12vw, 54px);
        line-height: 1.02;
    }

    .section-intro {
        font-size: 15px;
        line-height: 1.65;
    }

    .card,
    .support-card,
    .contact-card {
        min-height: 230px;
        padding: 23px;
    }

    .card h3 {
        font-size: 27px;
    }

    .product-copy,
    .product-visual {
        min-height: 360px;
        padding: 24px;
        border-radius: 20px;
    }

    .product-wordmark {
        font-size: clamp(42px, 15vw, 62px);
    }

    .phone {
        width: min(225px, 78vw);
        border-radius: 38px;
    }

    .catalog-card,
    .catalog-card.primary {
        min-height: auto;
        padding: 24px;
        gap: 32px;
        border-radius: 20px;
    }

    .catalog-head {
        gap: 12px;
    }

    .catalog-name,
    .catalog-card:not(.primary) .catalog-name {
        font-size: clamp(31px, 11vw, 45px);
    }

    .catalog-description {
        font-size: 15px;
        line-height: 1.68;
    }

    .catalog-actions {
        gap: 8px;
    }

    .catalog-actions .button {
        flex: 1 1 100%;
    }

    .update-row {
        padding: 18px 0;
    }

    .contact-note {
        padding: 19px;
    }

    .legal-layout {
        gap: 28px;
    }

    .legal-section {
        margin-bottom: 36px;
        padding-bottom: 36px;
    }

    .legal-section h2 {
        font-size: clamp(27px, 9vw, 36px);
    }

    .callout {
        padding: 24px;
        border-radius: 20px;
    }

    .site-footer {
        padding: 50px 16px 28px;
    }

    .footer-top {
        gap: 32px;
    }

    .footer-bottom {
        margin-top: 38px;
    }
}

@media (max-width: 520px) {
    .brand-logo {
        height: 36px;
        max-width: 55px;
        border-radius: 9px;
    }

    .language-picker {
        width: 50px;
        min-width: 50px;
    }

    .header-tool {
        width: 32px;
        height: 32px;
    }

    .menu-toggle {
        width: 32px;
        height: 32px;
    }

    .main-nav {
        padding: 26px 18px;
    }

    .main-nav a {
        padding: 17px 0;
        font-size: 20px;
    }

    .hero {
        padding-top: 104px;
    }

    .hero-panel {
        min-height: 330px;
        padding: 18px;
    }

    .panel-top {
        flex-wrap: wrap;
    }

    .panel-status {
        max-width: 58%;
        text-align: right;
        line-height: 1.35;
    }

    .panel-status::before {
        flex: 0 0 auto;
    }

    .route-cities {
        gap: 8px;
    }

    .panel-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .metric {
        min-width: 0;
    }

    .metric strong,
    .metric span {
        overflow-wrap: anywhere;
    }

    .section {
        padding-block: 64px;
    }

    .card,
    .support-card,
    .contact-card {
        min-height: 210px;
        padding: 21px;
    }

    .catalog-meta-item {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .update-row {
        gap: 7px;
    }

    .footer-nav {
        gap: 10px;
    }

    .footer-legal {
        gap: 9px 18px;
    }

    .cart-drawer {
        padding: 18px;
    }
}

@media (max-width: 380px) {
    .nav-shell {
        width: min(calc(100% - 14px), var(--max-width));
    }

    .brand-logo {
        height: 33px;
        max-width: 49px;
    }

    .language-picker {
        width: 47px;
        min-width: 47px;
        padding-left: 8px;
        padding-right: 17px;
        font-size: 10px;
    }

    .header-tool {
        width: 30px;
        height: 30px;
    }

    .menu-toggle {
        width: 30px;
        height: 30px;
    }

    .hero-title,
    .hero-title.compact {
        font-size: 42px;
    }

    .hero-panel {
        padding: 16px;
    }

    .airport-code {
        font-size: 33px;
    }

    .panel-status {
        max-width: 62%;
    }
}
