:root {
    --tq-primary: #00d4ff;
    --tq-secondary: #1e90ff;
    --tq-accent: #ffb703;
    --tq-danger: #ff4d6d;
    --tq-ok: #5cffb0;
    --tq-bg: #061018;
    --tq-ink: #e8f4ff;
    --tq-muted: #8fb0c9;
    --tq-panel: rgba(8, 28, 42, 0.88);
    --tq-line: rgba(0, 212, 255, 0.35);
    --tq-dark: #02080e;
    --tq-glow: 0 0 0 1px rgba(0, 212, 255, 0.55), 0 0 22px rgba(0, 212, 255, 0.35);
    --tq-page-w: 1140px;
    --tq-header-h: 74px;
    --tq-font-h: "Exo 2", "Trebuchet MS", sans-serif;
    --tq-font-b: "Barlow", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.tq-o-body {
    margin: 0;
    font-family: var(--tq-font-b);
    color: var(--tq-ink);
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(30, 144, 255, 0.22), transparent 60%),
        radial-gradient(900px 500px at 10% 20%, rgba(0, 212, 255, 0.12), transparent 55%),
        linear-gradient(180deg, #071521 0%, #061018 40%, #040c14 100%);
    line-height: 1.55;
    overflow-x: hidden;
}

body.tq-o-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 85%);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--tq-primary);
}

a:hover {
    color: var(--tq-accent);
}

.tq-o-wrap {
    max-width: var(--tq-page-w);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.tq-o-main {
    padding-top: var(--tq-header-h);
    min-height: 60vh;
    position: relative;
    z-index: 1;
}

.tq-c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--tq-header-h);
    background: #041018;
    border-bottom: 1px solid var(--tq-line);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.tq-c-header__row {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--tq-header-h);
}

.tq-c-header__brand {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.tq-c-header__logo {
    width: 180px;
    height: auto;
    min-height: 36px;
}

.tq-c-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: nowrap;
}

.tq-c-nav__link {
    color: #c9e7f7;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    letter-spacing: 0.02em;
}

.tq-c-nav__link:hover,
.tq-c-nav__link.tq-is-active {
    color: var(--tq-primary);
    border-bottom-color: var(--tq-primary);
}

.tq-c-header__cta {
    flex: 0 0 auto;
    margin-left: 8px;
}

.tq-c-burger {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--tq-primary);
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.tq-c-burger__bar {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--tq-primary);
}

.tq-c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0.65rem 1.2rem;
    font-family: var(--tq-font-h);
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.tq-c-btn--glow {
    background: linear-gradient(120deg, #0891b2, #0284c7 55%, #0369a1);
    color: #041018;
    box-shadow: var(--tq-glow);
    font-weight: 700;
}

.tq-c-btn--glow:hover {
    filter: brightness(1.08);
    color: #041018;
}

.tq-c-btn--ghost {
    background: transparent;
    color: var(--tq-primary);
    border-color: var(--tq-primary);
}

.tq-c-btn--ghost:hover {
    background: rgba(0, 212, 255, 0.12);
    color: #fff;
}

.tq-c-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 14, 0.7);
    z-index: 1100;
}

.tq-c-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: #031018;
    color: #e8f4ff;
    padding: 24px 20px 40px;
    overflow-y: auto;
}

.tq-c-drawer[hidden],
.tq-c-overlay[hidden],
.tq-c-cookie[hidden],
.tq-c-panel[hidden],
.tq-c-faq__a[hidden],
[data-tq-lock-cta][hidden],
.tq-c-lightbox[hidden] {
    display: none !important;
}

.tq-c-band--sortie.tq-is-armed .tq-c-sortie__stage {
    box-shadow: var(--tq-glow);
}

.tq-c-band--sortie.tq-is-armed .tq-c-sortie__stage img {
    filter: saturate(1.2) contrast(1.08);
}

.tq-c-drawer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.tq-c-drawer__label {
    font-family: var(--tq-font-h);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
    color: var(--tq-primary);
}

.tq-c-drawer__close {
    background: transparent;
    border: 1px solid var(--tq-accent);
    color: var(--tq-accent);
    font-family: var(--tq-font-h);
    padding: 0.5rem 0.9rem;
    cursor: pointer;
}

.tq-c-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tq-c-drawer__nav a {
    color: #e8f4ff;
    text-decoration: none;
    font-size: 1.25rem;
    font-family: var(--tq-font-h);
}

.tq-c-hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3rem;
    border-bottom: 1px solid var(--tq-line);
}

.tq-c-hero__sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(4, 16, 24, 0.82), rgba(6, 24, 40, 0.55)),
        url("/images/games/air-defense-preview.jpg") center / cover no-repeat;
    transform: scale(1.05);
    transition: transform 0.6s ease-out;
    z-index: 0;
}

.tq-c-hero.tq-is-armed .tq-c-hero__sky {
    transform: scale(1.12);
}

.tq-c-hero__radar {
    position: absolute;
    right: 4%;
    bottom: 8%;
    width: min(280px, 42vw);
    height: auto;
    opacity: 0.55;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

.tq-c-hero__reticule {
    position: absolute;
    width: 54px;
    height: 54px;
    border: 1px solid var(--tq-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.tq-c-hero__reticule::before,
.tq-c-hero__reticule::after {
    content: "";
    position: absolute;
    background: var(--tq-accent);
}

.tq-c-hero__reticule::before {
    left: 50%;
    top: -8px;
    bottom: -8px;
    width: 1px;
    transform: translateX(-50%);
}

.tq-c-hero__reticule::after {
    top: 50%;
    left: -8px;
    right: -8px;
    height: 1px;
    transform: translateY(-50%);
}

.tq-c-hero:hover .tq-c-hero__reticule {
    opacity: 0.85;
}

.tq-c-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
    z-index: 3;
}

.tq-c-hero__eyebrow {
    font-family: var(--tq-font-h);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--tq-ok);
    margin: 0 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.tq-c-live {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tq-danger);
    box-shadow: 0 0 10px var(--tq-danger);
    animation: tq-pulse 1.4s ease-in-out infinite;
}

.tq-c-hero__title {
    font-family: var(--tq-font-h);
    font-size: clamp(2rem, 4.2vw, 3.35rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    max-width: 16ch;
    color: #f4fbff;
    text-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.tq-c-hero__lead {
    max-width: 40rem;
    margin: 0 0 1.5rem;
    color: #d5eaf7;
}

.tq-c-hero__nums {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}

.tq-c-stat {
    background: rgba(3, 18, 28, 0.72);
    border: 1px solid var(--tq-line);
    padding: 1rem;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
}

.tq-c-stat:hover {
    box-shadow: var(--tq-glow);
}

.tq-c-stat__n {
    display: block;
    font-family: var(--tq-font-h);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    color: var(--tq-primary);
    line-height: 1;
}

.tq-c-stat__l {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--tq-muted);
}

.tq-c-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tq-c-cockpit {
    background: rgba(2, 14, 22, 0.78);
    border: 1px solid var(--tq-line);
    padding: 1rem 1.1rem 1.2rem;
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    box-shadow: inset 0 0 40px rgba(0, 212, 255, 0.08);
}

.tq-c-cockpit__label {
    margin: 0 0 0.65rem;
    font-family: var(--tq-font-h);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tq-accent);
    font-size: 0.8rem;
}

.tq-c-horizon {
    position: relative;
    height: 150px;
    overflow: hidden;
    border: 1px solid rgba(255, 183, 3, 0.45);
    margin-bottom: 1rem;
    background: #012;
}

.tq-c-horizon__sky,
.tq-c-horizon__ground {
    position: absolute;
    left: -20%;
    width: 140%;
    height: 70%;
    transition: transform 0.08s linear;
}

.tq-c-horizon__sky {
    top: 0;
    background: linear-gradient(180deg, #0b3a5c, #1a6fa5);
}

.tq-c-horizon__ground {
    bottom: 0;
    background: linear-gradient(180deg, #6b4a1e, #2a1a08);
}

.tq-c-horizon__wing {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70%;
    height: 2px;
    background: var(--tq-accent);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--tq-accent);
}

.tq-c-horizon__wing::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -7px;
    width: 14px;
    height: 14px;
    border: 2px solid var(--tq-accent);
    border-radius: 50%;
    transform: translateX(-50%);
}

.tq-c-throttle {
    display: grid;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--tq-muted);
}

.tq-c-throttle input[type="range"] {
    width: 100%;
    accent-color: var(--tq-primary);
}

.tq-c-throttle output {
    font-family: var(--tq-font-h);
    color: var(--tq-primary);
}

.tq-c-cockpit__hint {
    margin: 0.75rem 0 0;
    font-size: 0.86rem;
    color: #b7d3e6;
}

.tq-c-cockpit.tq-is-armed {
    border-color: var(--tq-ok);
    box-shadow: 0 0 0 1px rgba(92, 255, 176, 0.35), inset 0 0 40px rgba(92, 255, 176, 0.08);
}

.tq-c-band {
    padding: 3.4rem 0;
    position: relative;
}

.tq-c-band--alt {
    background: rgba(0, 30, 48, 0.45);
    border-block: 1px solid var(--tq-line);
}

.tq-c-band--sortie {
    background:
        linear-gradient(180deg, rgba(0, 40, 60, 0.55), rgba(4, 16, 24, 0.2));
}

.tq-c-band__title {
    font-family: var(--tq-font-h);
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    margin: 0 0 0.75rem;
    position: relative;
    color: #f2f9ff;
}

.tq-c-band__title::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    margin-top: 0.55rem;
    background: linear-gradient(90deg, var(--tq-primary), var(--tq-accent));
    transition: width 0.55s ease;
}

.tq-c-band.tq-is-inview .tq-c-band__title::after,
.tq-c-cta.tq-is-inview .tq-c-cta__title::after {
    width: min(180px, 40%);
}

.tq-c-band__intro {
    max-width: 42rem;
    color: var(--tq-muted);
    margin: 0 0 1.5rem;
}

.tq-c-sortie__stage {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--tq-line);
    background: #000;
    aspect-ratio: 16 / 9;
}

.tq-c-sortie__stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tq-c-sortie__stage:hover img {
    transform: scale(1.04);
}

.tq-c-crosshair {
    position: absolute;
    width: 64px;
    height: 64px;
    border: 1px solid var(--tq-danger);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.tq-c-crosshair::before,
.tq-c-crosshair::after {
    content: "";
    position: absolute;
    background: var(--tq-danger);
}

.tq-c-crosshair::before {
    left: 50%;
    top: 8px;
    bottom: 8px;
    width: 1px;
    transform: translateX(-50%);
}

.tq-c-crosshair::after {
    top: 50%;
    left: 8px;
    right: 8px;
    height: 1px;
    transform: translateY(-50%);
}

.tq-c-sortie__stage:hover .tq-c-crosshair {
    opacity: 1;
}

.tq-c-sortie__tag {
    position: absolute;
    left: 12px;
    bottom: 12px;
    margin: 0;
    padding: 0.35rem 0.65rem;
    background: rgba(2, 10, 16, 0.8);
    border: 1px solid var(--tq-ok);
    color: var(--tq-ok);
    font-family: var(--tq-font-h);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.tq-c-sortie__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0.9rem;
}

.tq-c-sortie__controls input[type="range"] {
    flex: 1;
    accent-color: var(--tq-accent);
}

.tq-c-sortie__pips {
    display: flex;
    gap: 8px;
    margin-top: 0.75rem;
}

.tq-c-sortie__pips button {
    width: 14px;
    height: 14px;
    border-radius: 2px;
    border: 1px solid var(--tq-primary);
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.tq-c-sortie__pips button.tq-is-active {
    background: var(--tq-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

.tq-c-tabs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.tq-c-tabs__tab {
    font-family: var(--tq-font-h);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--tq-line);
    background: rgba(0, 20, 32, 0.7);
    color: var(--tq-primary);
    padding: 0.55rem 0.9rem;
    cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.tq-c-tabs__tab.tq-is-active {
    background: rgba(0, 212, 255, 0.16);
    border-color: var(--tq-primary);
    color: #fff;
    box-shadow: var(--tq-glow);
}

.tq-c-panel {
    background: var(--tq-panel);
    border: 1px solid var(--tq-line);
    padding: 1.5rem;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    animation: tq-panel-in 0.35s ease;
}

.tq-c-panel__h {
    font-family: var(--tq-font-h);
    margin: 0 0 1rem;
    font-size: 1.4rem;
}

.tq-c-passport {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.tq-c-passport__icon {
    border-radius: 22%;
    border: 2px solid var(--tq-primary);
    box-shadow: var(--tq-glow);
}

.tq-c-passport__name {
    font-family: var(--tq-font-h);
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
}

.tq-c-passport__dev,
.tq-c-passport__sub {
    margin: 0 0 0.35rem;
    color: var(--tq-muted);
}

.tq-c-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.25rem;
}

.tq-c-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
}

.tq-c-table th,
.tq-c-table td {
    text-align: left;
    padding: 0.55rem 0.65rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.18);
    vertical-align: top;
}

.tq-c-table th {
    width: 28%;
    color: var(--tq-muted);
    font-weight: 500;
}

.tq-c-checklist {
    margin: 0;
    padding-left: 1.1rem;
}

.tq-c-checklist li {
    margin-bottom: 0.65rem;
}

.tq-c-faq__q {
    width: 100%;
    text-align: left;
    background: rgba(0, 18, 28, 0.9);
    border: 1px solid var(--tq-line);
    color: var(--tq-ink);
    padding: 0.85rem 1rem;
    font-family: var(--tq-font-h);
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.55rem;
}

.tq-c-faq__q[aria-expanded="true"] {
    border-color: var(--tq-primary);
    box-shadow: var(--tq-glow);
}

.tq-c-faq__a {
    padding: 0.75rem 1rem 0.25rem;
    background: rgba(0, 30, 45, 0.7);
    border: 1px solid var(--tq-line);
    border-top: 0;
}

.tq-c-verdict {
    font-size: 1.12rem;
    max-width: 46rem;
    margin: 0 0 1.25rem;
    color: #d5eaf7;
}

.tq-c-lockbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tq-c-lockbar span {
    font-family: var(--tq-font-h);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tq-accent);
}

.tq-c-cta {
    background:
        linear-gradient(120deg, rgba(2, 20, 32, 0.95), rgba(0, 50, 70, 0.9)),
        url("/images/games/air-defense-still-2.jpg") center / cover no-repeat;
    color: #fff;
    padding: 3.5rem 0;
    border-top: 1px solid var(--tq-line);
}

.tq-c-cta__title {
    font-family: var(--tq-font-h);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin: 0 0 0.75rem;
}

.tq-c-cta__title::after {
    content: "";
    display: block;
    width: 0;
    height: 3px;
    margin-top: 0.55rem;
    background: var(--tq-accent);
    transition: width 0.55s ease;
}

.tq-c-cta__text {
    margin: 0 0 1.25rem;
    color: #cfe6f5;
}

.tq-c-footer {
    background: #020b12;
    color: #b7d3e6;
    padding: 2.75rem 0 2rem;
    text-align: center;
    border-top: 1px solid var(--tq-line);
}

.tq-c-footer__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.tq-c-footer__brand {
    font-family: var(--tq-font-h);
    color: var(--tq-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

.tq-c-footer__addr,
.tq-c-footer__mail,
.tq-c-footer__note,
.tq-c-footer__copy {
    margin: 0;
    max-width: 46rem;
}

.tq-c-footer a,
.tq-c-footer__cookie {
    color: var(--tq-accent);
}

.tq-c-footer__links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    padding: 0;
    margin: 0.5rem 0;
}

.tq-c-footer__cookie {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.tq-c-footer__note {
    font-size: 0.9rem;
    color: #7fa0b8;
}

.tq-c-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #031722;
    color: #e8f4ff;
    border-top: 2px solid var(--tq-primary);
    padding: 0.85rem 1.2rem;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
}

.tq-c-cookie__text {
    margin: 0;
    font-size: 0.88rem;
}

.tq-c-cookie__text a {
    color: var(--tq-accent);
}

.tq-c-page {
    padding: 2.75rem 0 3.5rem;
}

.tq-c-page__title {
    font-family: var(--tq-font-h);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
}

.tq-c-page__lead {
    max-width: 42rem;
    color: var(--tq-muted);
    margin: 0 0 1.75rem;
}

.tq-c-page__after {
    margin-top: 1.5rem;
}

.tq-c-back {
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.tq-c-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.tq-c-gallery figure {
    margin: 0;
    background: rgba(0, 20, 32, 0.8);
    border: 1px solid var(--tq-line);
    overflow: hidden;
}

.tq-c-gallery__hit {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: crosshair;
    position: relative;
}

.tq-c-gallery__hit::after {
    content: "LOCK";
    position: absolute;
    right: 10px;
    top: 10px;
    font-family: var(--tq-font-h);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--tq-danger);
    border: 1px solid var(--tq-danger);
    padding: 0.15rem 0.4rem;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tq-c-gallery__hit:hover::after {
    opacity: 1;
}

.tq-c-gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.tq-c-gallery__hit:hover img {
    transform: scale(1.05);
    filter: saturate(1.15) contrast(1.05);
}

.tq-c-gallery figcaption {
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    color: var(--tq-muted);
}

.tq-c-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(2, 8, 14, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
}

.tq-c-lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 75vh;
    border: 1px solid var(--tq-primary);
    box-shadow: var(--tq-glow);
}

.tq-c-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: 1px solid var(--tq-accent);
    color: var(--tq-accent);
    font-family: var(--tq-font-h);
    padding: 0.45rem 0.8rem;
    cursor: pointer;
}

.tq-c-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.tq-c-card {
    background: rgba(4, 22, 34, 0.9);
    border: 1px solid var(--tq-line);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.tq-c-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tq-glow);
    color: inherit;
}

.tq-c-card__band {
    height: 8px;
    background: linear-gradient(90deg, var(--tq-primary), var(--tq-accent), var(--tq-danger));
}

.tq-c-card__body {
    padding: 1.1rem 1.15rem 1.3rem;
}

.tq-c-card__topic {
    font-family: var(--tq-font-h);
    color: var(--tq-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin: 0 0 0.4rem;
}

.tq-c-card__title {
    font-family: var(--tq-font-h);
    margin: 0 0 0.55rem;
    font-size: 1.2rem;
}

.tq-c-card__excerpt {
    margin: 0;
    color: var(--tq-muted);
    font-size: 0.95rem;
}

.tq-c-prose {
    max-width: 42rem;
}

.tq-c-prose h2 {
    font-family: var(--tq-font-h);
    margin: 2rem 0 0.75rem;
    color: #f2f9ff;
}

.tq-c-timeline {
    border-left: 2px solid var(--tq-primary);
    padding-left: 1.25rem;
    margin: 0;
    list-style: none;
}

.tq-c-timeline li {
    margin-bottom: 1.25rem;
    position: relative;
}

.tq-c-timeline li::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    background: var(--tq-accent);
    border: 2px solid var(--tq-primary);
    border-radius: 1px;
}

.tq-c-form {
    display: grid;
    gap: 12px;
    max-width: 32rem;
}

.tq-c-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 500;
}

.tq-c-form input,
.tq-c-form textarea {
    font: inherit;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--tq-line);
    background: rgba(0, 18, 28, 0.9);
    color: var(--tq-ink);
}

.tq-c-form textarea {
    min-height: 140px;
    resize: vertical;
}

.tq-c-contact-card {
    background: rgba(0, 30, 45, 0.7);
    border: 1px solid var(--tq-line);
    padding: 1.1rem 1.2rem;
    margin-bottom: 1.5rem;
}

.tq-c-maplist {
    columns: 2;
    gap: 2rem;
}

.tq-c-maplist ul {
    margin: 0 0 1.25rem;
    padding-left: 1.1rem;
    break-inside: avoid;
}

.tq-c-maplist h2 {
    font-family: var(--tq-font-h);
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    break-after: avoid;
}

@keyframes tq-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

@keyframes tq-panel-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .tq-c-nav {
        display: none;
    }

    .tq-c-header__cta {
        display: none;
    }

    .tq-c-burger {
        display: inline-block;
    }

    .tq-c-hero__grid {
        grid-template-columns: 1fr;
    }

    .tq-c-hero__radar {
        opacity: 0.28;
    }
}

@media (max-width: 720px) {
    .tq-c-header__logo {
        width: 120px;
        min-height: 28px;
    }

    .tq-c-hero {
        padding: 2.6rem 0 2.2rem;
    }

    .tq-c-hero__nums {
        grid-template-columns: 1fr;
    }

    .tq-c-hero__actions {
        flex-direction: column;
    }

    .tq-c-hero__actions .tq-c-btn {
        width: 100%;
    }

    .tq-c-passport {
        grid-template-columns: 1fr;
    }

    .tq-c-cookie {
        flex-direction: column;
        text-align: center;
    }

    .tq-c-maplist {
        columns: 1;
    }

    .tq-c-sortie__controls {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .tq-c-live,
    .tq-c-panel,
    .tq-c-band__title::after,
    .tq-c-cta__title::after,
    .tq-c-card,
    .tq-c-gallery img,
    .tq-c-hero__sky {
        animation: none !important;
        transition: none !important;
    }
}
