/**
 * TicketBNK DEV — 발권 시스템 독립 페이지
 */
.ts-page {
    --ts-gap: clamp(4.5rem, 8vw, 6.5rem);
    --ts-accent: #1d4ed8;
    background: #f8fafc;
    color: #0f172a;
}

.ts-page .page-container,
.ts-page .container {
    width: min(calc(100% - 48px), 1440px);
    margin-inline: auto;
}

/* Section 1 — Hero */
.ts-hero {
    padding: calc(var(--header-h, 72px) + 44px) 0 44px;
    background:
        radial-gradient(circle at 82% 12%, rgba(99, 132, 255, 0.14), transparent 34%),
        linear-gradient(160deg, #ffffff 0%, #f4f7ff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.ts-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(44px, 4.5vw, 68px);
    align-items: center;
    min-height: 500px;
}
@media (min-width: 1280px) {
    .ts-hero-inner {
        grid-template-columns: minmax(460px, 0.95fr) minmax(580px, 1.05fr);
    }
}
.ts-breadcrumb {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.84rem;
}
.ts-breadcrumb a { color: inherit; text-decoration: none; }
.ts-breadcrumb a:hover { color: var(--ts-accent); }
.ts-eyebrow {
    margin: 0 0 0.85rem;
    color: var(--ts-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.ts-hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 3.4vw, 3.25rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
    word-break: keep-all;
}
.ts-hero-lead {
    margin: 1.25rem 0 0;
    max-width: 36em;
    color: #475569;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.75;
    word-break: keep-all;
}
.ts-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* Integrated flow stage — density corrected */
.ts-hero-visual {
    position: relative;
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.ts-hero-stage {
    position: relative;
    width: min(100%, 650px);
    min-height: 450px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 18px;
    border-radius: 26px;
    background: rgba(239, 245, 255, 0.92);
    border: 1px solid rgba(70, 110, 190, 0.14);
    box-shadow: 0 22px 56px rgba(43, 71, 120, 0.11);
    box-sizing: border-box;
}
.ts-hero-stage__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 0 8px;
    align-items: stretch;
    min-height: 340px;
}
.ts-hero-stage__connector {
    display: grid;
    place-items: center;
    align-self: center;
    width: 100%;
    height: 28px;
}
.ts-hero-stage__connector i {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    position: relative;
    background-image: repeating-linear-gradient(
        90deg,
        #1d4ed8 0 6px,
        transparent 6px 12px
    );
    animation: ts-hero-dash 2.4s linear infinite;
}
.ts-hero-stage__connector i::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #1d4ed8;
    transform: translateY(-50%);
}
@keyframes ts-hero-dash {
    from { background-position: 0 0; }
    to { background-position: 12px 0; }
}
.ts-hero-stage__step {
    position: relative;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 8px;
    padding: 16px 14px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(65, 105, 180, 0.1);
    box-sizing: border-box;
    isolation: isolate;
    min-height: 340px;
}
.ts-hero-stage__head {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.ts-hero-stage__num {
    color: var(--ts-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.ts-hero-stage__head h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.ts-hero-stage__summary {
    margin: 0;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    word-break: keep-all;
}

/* Card-internal vertical flow */
.ts-hero-stage__visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
}
.ts-hero-stage__visual--issue,
.ts-hero-stage__visual--verify,
.ts-hero-stage__visual--ops {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.ts-hero-stage__item {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    width: auto;
    max-width: 100%;
}
.ts-hero-stage__item figcaption {
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 700;
    text-align: center;
    word-break: keep-all;
    line-height: 1.2;
    max-width: 100%;
}
.ts-hero-stage__frame {
    display: grid;
    place-items: center;
    width: auto;
    max-width: 100%;
    border-radius: 12px;
    box-sizing: border-box;
}
.ts-hero-stage__frame:not(.ts-hero-stage__frame--cutout):not(.ts-hero-stage__frame--ui) {
    padding: 4px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.ts-hero-stage__frame--cutout {
    filter: drop-shadow(0 8px 12px rgba(15, 23, 42, 0.1));
}
.ts-hero-stage__frame--ui {
    width: auto;
    max-width: 100%;
    padding: 3px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}
.ts-hero-stage__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}
.ts-hero-stage__img--counter {
    width: clamp(105px, 9vw, 125px);
    border-radius: 8px;
}
.ts-hero-stage__img--kiosk {
    width: auto;
    height: clamp(150px, 12vw, 185px);
}
.ts-hero-stage__img--ticket {
    width: clamp(82px, 7vw, 98px);
    height: auto;
}
.ts-hero-stage__img--pda {
    width: auto;
    height: clamp(145px, 12vw, 175px);
    border-radius: 10px;
}
.ts-hero-stage__img--gate {
    width: clamp(125px, 10vw, 150px);
    height: auto;
}
.ts-hero-stage__or {
    flex-shrink: 0;
    margin: 0;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(100, 116, 139, 0.28);
    background: rgba(248, 250, 252, 0.95);
    color: #64748b;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.ts-hero-stage__v-arrow {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}
.ts-hero-stage__item--screen {
    width: auto;
    max-width: 100%;
}
.ts-hero-stage__screen {
    position: relative;
    display: block;
    width: clamp(135px, 11vw, 155px);
    margin-inline: auto;
    overflow: hidden;
    border-radius: 8px;
    background: #0b1220;
}
.ts-hero-stage__screen img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    opacity: 0.94;
}
.ts-hero-stage__dev {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
    display: grid;
    gap: 0.05rem;
    max-width: 68%;
    padding: 3px 5px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
}
.ts-hero-stage__dev strong {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    color: #0f172a;
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.ts-hero-stage__dev strong i {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: #f59e0b;
}
.ts-hero-stage__dev span {
    color: #64748b;
    font-size: 0.48rem;
    line-height: 1.2;
    word-break: keep-all;
}

.ts-hero-stage__net {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    min-height: 78px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(65, 105, 180, 0.1);
}
.ts-hero-stage__net-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
    flex: 1 1 0;
}
.ts-hero-stage__net-item img {
    display: block;
    width: auto;
    max-width: 44px;
    max-height: 28px;
    object-fit: contain;
}
.ts-hero-stage__net-item span {
    color: #475569;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    word-break: keep-all;
    line-height: 1.2;
}
.ts-hero-stage__net-sep {
    color: #64748b;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    width: 1.2rem;
    text-align: center;
}
.ts-hero-stage__net-mobile {
    display: none;
    margin: 0;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    word-break: keep-all;
}

@media (prefers-reduced-motion: reduce) {
    .ts-hero-stage__connector i {
        animation: none;
    }
}

/* Shared section chrome */
.ts-section {
    padding: var(--ts-gap) 0;
}
.ts-section--alt {
    background: #ffffff;
}
.ts-section-head {
    max-width: 42rem;
    margin-bottom: 2rem;
}
.ts-section-head h2 {
    margin: 0.35rem 0 0;
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    letter-spacing: -0.03em;
    word-break: keep-all;
}
.ts-section-head p {
    margin: 0.85rem 0 0;
    color: #64748b;
    line-height: 1.7;
    word-break: keep-all;
}

/* Section 2 — customer flow stage (reuse ticket-flow modules) */
.ts-flow-wrap {
    width: 100%;
}
.ts-page .tf-stage--five,
.ts-page .tf-network-section {
    display: block;
}
.ts-page .tf-flow-board {
    min-height: 460px;
    height: clamp(460px, 32vw, 520px);
    max-height: 520px;
}
.ts-page .tf-network-section {
    padding: 0;
    background: transparent;
}
.ts-page .tf-network-wide {
    width: 100%;
}

/* Section 3 — step details */
.ts-step-grid {
    display: grid;
    gap: 1rem;
}
.ts-step-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) minmax(180px, 240px);
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.ts-step-card__num {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: #fff;
    background: #1d4ed8;
    font-weight: 800;
}
.ts-step-card:nth-child(2) .ts-step-card__num { background: #16a34a; }
.ts-step-card:nth-child(3) .ts-step-card__num { background: #4f46e5; }
.ts-step-card:nth-child(4) .ts-step-card__num { background: #7c3aed; }
.ts-step-card:nth-child(5) .ts-step-card__num { background: #db2777; }
.ts-step-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
}
.ts-step-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}
.ts-step-card ul {
    margin: 0.7rem 0 0;
    padding-left: 1.1rem;
    color: #334155;
    font-size: 0.92rem;
}
.ts-step-card__media {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}
.ts-step-card__media img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: contain;
}

/* STEP05 — Gate Control Software glass preview */
.ts-step-card--gate-preview {
    grid-template-columns: 88px minmax(0, 1.05fr) minmax(280px, 420px);
    align-items: stretch;
}
.ts-gate-sw-preview {
    position: relative;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}
.ts-gate-sw-preview__badge {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 3;
    display: grid;
    gap: 0.12rem;
    max-width: 168px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.ts-gate-sw-preview__badge strong {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0f172a;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}
.ts-gate-sw-preview__badge strong i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}
.ts-gate-sw-preview__badge em {
    color: #1e293b;
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
}
.ts-gate-sw-preview__badge span {
    color: #64748b;
    font-size: 0.66rem;
    line-height: 1.35;
    word-break: keep-all;
}
.ts-gate-sw-preview__device {
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.ts-gate-sw-preview__chrome {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 28px;
    padding: 0.35rem 0.65rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(248, 250, 252, 0.95);
}
.ts-gate-sw-preview__chrome i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}
.ts-gate-sw-preview__chrome i:nth-child(1) { background: #f87171; }
.ts-gate-sw-preview__chrome i:nth-child(2) { background: #fbbf24; }
.ts-gate-sw-preview__chrome i:nth-child(3) { background: #34d399; }
.ts-gate-sw-preview__chrome span {
    margin-left: 0.35rem;
    color: #64748b;
    font-size: 0.6rem;
    font-weight: 600;
}
.ts-gate-sw-preview__screen {
    position: relative;
    overflow: hidden;
    background: #0b1220;
}
.ts-gate-sw-preview__screen img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 160px;
    max-height: 220px;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.01);
    transform-origin: center top;
    transition: transform 0.35s ease;
}
.ts-gate-sw-preview__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(96, 165, 250, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%);
    mix-blend-mode: screen;
}
.ts-gate-sw-preview__reflection {
    display: block;
    width: 86%;
    height: 12px;
    margin: 8px auto 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.16), transparent 70%);
    filter: blur(3px);
}
.ts-gate-sw-preview:hover .ts-gate-sw-preview__device {
    transform: scale(1.02);
    box-shadow:
        0 22px 44px rgba(37, 99, 235, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 10px 18px rgba(37, 99, 235, 0.1));
}
.ts-gate-sw-preview:hover .ts-gate-sw-preview__screen img {
    transform: scale(1.03);
}

/* Section 4 — data flow split */
.ts-data-lanes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.ts-data-lane {
    padding: 1.4rem 1.35rem;
    border-radius: 18px;
    color: #eaf2ff;
    background: linear-gradient(145deg, #0c1b31, #071223 70%, #101533);
    box-shadow: 0 18px 40px rgba(10, 23, 47, 0.16);
}
.ts-data-lane h3 {
    margin: 0 0 1rem;
    font-size: 1rem;
}
.ts-data-chain {
    display: grid;
    gap: 0.55rem;
}
.ts-data-node {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(120, 161, 226, 0.16);
    border-radius: 12px;
    background: rgba(17, 36, 65, 0.58);
}
.ts-data-node strong { display: block; font-size: 0.92rem; }
.ts-data-node span { color: #9fb0c8; font-size: 0.78rem; }
.ts-data-arrow {
    color: #56a5ff;
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* Section 5 — operator flow */
.ts-ops-flow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}
.ts-ops-step {
    position: relative;
    min-height: 140px;
    padding: 1rem 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #fff;
    text-align: center;
}
.ts-ops-step span {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    color: #fff;
    background: var(--ts-accent);
    font-size: 0.78rem;
    font-weight: 800;
}
.ts-ops-step strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.35;
    word-break: keep-all;
}
.ts-ops-visual {
    margin: 1.5rem 0 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.ts-ops-visual img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: top center;
}

/* Section 6 — related products */
.ts-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
.ts-product-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ts-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}
.ts-product-card img {
    display: block;
    width: 100%;
    height: 110px;
    object-fit: contain;
    margin-bottom: 0.85rem;
}
.ts-product-card[href="mobile-validator.html"] img {
    object-fit: contain;
    object-position: center top;
}
.ts-product-card strong {
    margin-top: auto;
    font-size: 0.95rem;
}
.ts-product-card span {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.82rem;
}

/* Section 7 — industries */
.ts-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}
.ts-industry-item {
    padding: 1.1rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    font-weight: 700;
    color: inherit;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, transform 0.2s;
}
a.ts-industry-item:hover {
    border-color: rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}
.ts-guide-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
.ts-guide-list a {
    display: block;
    padding: 0.95rem 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}
.ts-guide-list a:hover {
    border-color: rgba(37, 99, 235, 0.45);
}
.ts-guide-cta {
    margin-top: 1.5rem;
}
@media (max-width: 720px) {
    .ts-guide-list { grid-template-columns: 1fr; }
}

/* Section 8 — CTA */
.ts-cta {
    padding: var(--ts-gap) 0 calc(var(--ts-gap) + 1rem);
    background: linear-gradient(145deg, #0f172a, #1e3a8a);
    color: #fff;
    text-align: center;
}
.ts-cta h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    letter-spacing: -0.03em;
    word-break: keep-all;
}
.ts-cta p {
    margin: 0.9rem auto 0;
    max-width: 34em;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}
.ts-cta .btn {
    margin-top: 1.6rem;
}

@media (max-width: 1100px) {
    .ts-data-lanes {
        grid-template-columns: 1fr;
    }
    .ts-ops-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ts-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ts-step-card,
    .ts-step-card--gate-preview {
        grid-template-columns: 64px 1fr;
    }
    .ts-step-card__media { grid-column: 1 / -1; }
    .ts-gate-sw-preview__screen img {
        max-height: 260px;
        object-fit: cover;
        object-position: center center;
    }
}

/* Tablet: keep 2-col hero when possible, shrink stage */
@media (max-width: 1100px) {
    .ts-hero-inner {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: clamp(28px, 3.5vw, 40px);
        min-height: 0;
    }
    .ts-hero-stage {
        width: min(100%, 580px);
        min-height: 0;
        padding: 14px;
        gap: 10px;
    }
    .ts-hero-stage__steps {
        grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 20px minmax(0, 1fr);
        gap: 0 6px;
        min-height: 300px;
    }
    .ts-hero-stage__step {
        padding: 12px 10px;
        gap: 6px;
        min-height: 300px;
    }
    .ts-hero-stage__visual { min-height: 220px; gap: 8px; }
    .ts-hero-stage__summary { font-size: 0.7rem; }
    .ts-hero-stage__img--counter { width: clamp(95px, 12vw, 112px); }
    .ts-hero-stage__img--kiosk { height: clamp(130px, 16vw, 160px); }
    .ts-hero-stage__img--ticket { width: clamp(72px, 9vw, 88px); }
    .ts-hero-stage__img--pda { height: clamp(125px, 15vw, 150px); }
    .ts-hero-stage__img--gate { width: clamp(110px, 14vw, 130px); }
    .ts-hero-stage__screen { width: clamp(118px, 15vw, 135px); }
    .ts-hero-stage__net { min-height: 70px; padding: 10px 12px; }
    .ts-hero-stage__net-item span { font-size: 0.68rem; }
}

@media (max-width: 900px) {
    .ts-hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 1.5rem;
    }
    .ts-hero-stage {
        width: min(100%, 600px);
        margin-inline: auto;
    }
}

@media (max-width: 767px) {
    .ts-page .page-container,
    .ts-page .container {
        width: min(calc(100% - 1.5rem), 680px);
    }
    .ts-hero {
        padding: calc(var(--header-h, 72px) + 28px) 0 36px;
    }
    .ts-hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 1.25rem;
    }
    .ts-hero-stage {
        width: 100%;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }
    .ts-hero-stage__steps {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        min-height: 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .ts-hero-stage__connector { display: none; }
    .ts-hero-stage__step {
        flex: 0 0 min(84vw, 300px);
        min-height: 380px;
        scroll-snap-align: start;
        padding: 16px 14px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(65, 105, 180, 0.12);
        box-shadow: 0 10px 24px rgba(43, 71, 120, 0.08);
    }
    .ts-hero-stage__visual { min-height: 280px; }
    .ts-hero-stage__net { display: none; }
    .ts-hero-stage__net-mobile { display: block; }
    .ts-ops-flow,
    .ts-product-grid,
    .ts-industry-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ts-step-card,
    .ts-step-card--gate-preview {
        grid-template-columns: 1fr;
    }
    .ts-gate-sw-preview__screen img {
        max-height: 200px;
        object-position: center center;
    }
    .ts-gate-sw-preview__badge {
        max-width: 148px;
        padding: 8px 10px;
    }
}

@media (max-width: 520px) {
    .ts-ops-flow,
    .ts-product-grid,
    .ts-industry-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ts-product-card,
    .ts-gate-sw-preview__device,
    .ts-gate-sw-preview__screen img {
        transition: none;
    }
    .ts-gate-sw-preview:hover .ts-gate-sw-preview__device,
    .ts-gate-sw-preview:hover .ts-gate-sw-preview__screen img {
        transform: none;
        filter: none;
    }
}
