@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.defense3 {
    --d3-blue: #005AAD;
    --d3-blue-2: #0063BE;
    --d3-blue-3: #2E7DC5;
    --d3-blue-light: rgba(136, 191, 242, 0.63);
    --d3-yellow: #FFD72F;
    --d3-ink: #000;
    --d3-ink-2: #122C34;
    --d3-muted: #475569;
    --d3-muted-2: #64748B;
    --d3-line: #E2E8F0;
    --d3-bg-2: #F8FAFC;
    --d3-bg-3: #F2F9FD;
    --d3-gray: #D9D9D9;

    color: var(--d3-ink);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding-top: 24px;
}

.defense3 .crumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--d3-ink);
    flex-wrap: wrap;
}
.defense3 .crumbs a { color: inherit; text-decoration: none; }
.defense3 .crumbs a:hover { color: var(--d3-blue); }
.defense3 .crumbs .sep { opacity: 0.6; }

.defense3 .hero { margin-top: 48px; }
.defense3 .hero h1 {
    margin: 0;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--d3-ink-2);
}
.defense3 .hero h1 .bi {
    display: block;
    font-weight: 700;
    color: var(--d3-blue);
    margin-top: 6px;
}
.defense3 .hero .lead {
    margin-top: 30px;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: var(--d3-muted);
    max-width: 680px;
}

.defense3 .pills {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.defense3 .pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--d3-bg-2);
    border-radius: 12px;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.25);
    padding: 12px 20px;
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: var(--d3-ink-2);
}
.defense3 .pill .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--d3-yellow);
    flex: none;
}

.defense3 .sec-head {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    margin: 128px 0 0;
}
.defense3 .sec-head .line { height: 0; border-top: 1px solid var(--d3-yellow); }
.defense3 .sec-head .label {
    font-weight: 700;
    font-size: 20px;
    color: var(--d3-ink-2);
    text-align: center;
    white-space: nowrap;
}
.defense3 .sec-head.upper .label { text-transform: uppercase; }

.defense3 .news-wrap {
    margin-top: 48px;
    position: relative;
    padding: 0 48px;
}
.defense3 .news-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 0 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--d3-blue) transparent;
    cursor: grab;
    user-select: none;
}
.defense3 .news-scroll.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}
.defense3 .news-scroll .card img,
.defense3 .news-scroll .card { -webkit-user-drag: none; }
.defense3 .news-scroll::-webkit-scrollbar { height: 6px; }
.defense3 .news-scroll::-webkit-scrollbar-thumb { background: var(--d3-blue); border-radius: 3px; }
.defense3 .news-scroll::-webkit-scrollbar-track { background: transparent; }
.defense3 .news-scroll .card {
    flex: 0 0 280px;
    width: 280px;
    background: #fff;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--d3-line);
    box-sizing: border-box;
    scroll-snap-align: start;
    transition: box-shadow .25s, transform .25s;
}
.defense3 .news-scroll .card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}
.defense3 .news-scroll .photo {
    width: 100%;
    height: 155px;
    background: var(--d3-gray) center/cover no-repeat;
    flex: none;
}
.defense3 .news-scroll .body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.defense3 .news-scroll h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--d3-ink-2);
    min-height: 51px;
}
.defense3 .news-scroll .date {
    font-weight: 300;
    font-size: 10px;
    color: var(--d3-ink);
    letter-spacing: 0.05em;
}
.defense3 .news-prev,
.defense3 .news-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--d3-line);
    background: #fff;
    color: var(--d3-blue);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, border-color .2s;
}
.defense3 .news-prev { left: 0; }
.defense3 .news-next { right: 0; }
.defense3 .news-prev:hover,
.defense3 .news-next:hover {
    background: var(--d3-blue);
    color: #fff;
    border-color: var(--d3-blue);
}

.defense3 .btn-yellow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--d3-yellow);
    color: var(--d3-ink);
    padding: 10px 24px;
    font-weight: 300;
    font-size: 12px;
    line-height: 1;
    width: fit-content;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.defense3 .btn-yellow::after { content: "→"; font-size: 14px; }
.defense3 .btn-yellow:hover { background: var(--d3-blue); color: #fff; }

.defense3 .btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--d3-blue);
    color: #fff;
    padding: 8px 24px;
    font-weight: 300;
    font-size: 12px;
    line-height: 1;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: filter .2s;
}
.defense3 .btn-blue:hover { filter: brightness(1.1); color: #fff; }
.defense3 .news-all { display: flex; justify-content: flex-end; margin-top: 24px; }

.defense3 .work {
    margin-top: 64px;
    padding: 0 134px;
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.defense3 .work p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--d3-muted);
}
.defense3 .work p.first { font-weight: 500; }
.defense3 .work .more-content { display: none; flex-direction: column; gap: 17px; }
.defense3 .work.is-open .more-content { display: flex; }

.defense3 .work .contacts {
    display: none;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--d3-line);
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.defense3 .work.contacts-open .contacts { display: grid; }
.defense3 .work .contact h6 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--d3-ink-2);
    border-bottom: 2px solid var(--d3-yellow);
    padding-bottom: 6px;
    display: inline-block;
}
.defense3 .work .contact p {
    margin: 8px 0;
    font-size: 13px;
    color: var(--d3-muted);
}
.defense3 .work .contact .row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--d3-blue);
    margin-top: 4px;
}

.defense3 .link-blue {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--d3-blue);
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    text-decoration: none;
    width: fit-content;
}
.defense3 .link-blue:hover { text-decoration: underline; }
.defense3 .link-blue::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--d3-blue);
    border-bottom: 1.5px solid var(--d3-blue);
    transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 4px;
    transition: transform .25s;
}
.defense3 .link-blue.is-open::after { transform: rotate(-135deg); margin-bottom: -2px; }
.defense3 .work .links { display: flex; flex-direction: column; gap: 17px; margin-top: 16px; }

.defense3 .vyx {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.defense3 .vyx .card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 0 0 1px var(--d3-line);
    transition: border-color .25s, transform .25s;
}
.defense3 .vyx .card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 0 0 1px var(--d3-blue); }
.defense3 .vyx h3 {
    margin: 0;
    font-size: 18px;
    color: var(--d3-blue);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}
.defense3 .vyx p {
    margin: 0;
    font-size: 14px;
    color: var(--d3-muted-2);
    text-align: justify;
    line-height: 1.5;
    flex: 1;
}
.defense3 .vyx a {
    color: var(--d3-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.defense3 .vyx a:hover { text-decoration: underline; }
.defense3 .vyx a::after { content: "→"; }

.defense3 .strat {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
}
.defense3 .strat .card,
.defense3 .strat .more {
    width: 260px;
    max-width: 100%;
}
.defense3 .strat .card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.defense3 .strat .thumb {
    aspect-ratio: 260/346.6;
    border-radius: 12px;
    background: var(--d3-blue-2) center/cover no-repeat;
    border: 1px solid var(--d3-line);
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
}
.defense3 .strat .card:hover .thumb { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0, 90, 173, 0.18); }
.defense3 .strat .caption {
    font-size: 12px;
    line-height: 1.3;
    color: var(--d3-ink-2);
    font-weight: 700;
}
.defense3 .strat .more {
    aspect-ratio: 260/346.6;
    border-radius: 12px;
    background: var(--d3-bg-3);
    border: 2px dashed rgba(0, 90, 173, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    color: var(--d3-blue);
    transition: background .25s, border-color .25s;
}
.defense3 .strat .more:hover { background: #D9E7F4; border-color: rgba(0, 90, 173, 0.4); }
.defense3 .strat .more .circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--d3-blue);
    font-size: 22px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.defense3 .strat .more .label {
    font-size: 10px;
    color: var(--d3-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
    padding: 0 16px;
}

.defense3 .net {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.defense3 .net-card {
    aspect-ratio: 1;
    border-radius: 16px;
    background: #fff;
    border: 2px solid var(--d3-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12% 8% 8%;
    gap: 8%;
    text-decoration: none;
    color: var(--d3-ink-2);
    box-sizing: border-box;
    transition: border-color .35s, transform .35s, box-shadow .35s;
}
.defense3 .net-card:hover {
    border-color: var(--d3-yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}
.defense3 .net-card .logo {
    width: 60%;
    aspect-ratio: 1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    flex: none;
}
.defense3 .net-card .name {
    font-size: 9px;
    letter-spacing: 0.02em;
    color: var(--d3-ink-2);
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
}

.defense3 .partners {
    margin-top: 80px;
    background: var(--d3-bg-2);
    padding: 60px 24px;
}
.defense3 .partners-inner {
    max-width: 1152px;
    margin: 0 auto;
}
.defense3 .partners .sec-head { margin: 0; }
.defense3 .partners .sec-head .line { border-top: 1px solid var(--d3-blue-light); }
.defense3 .partners .sec-head .label {
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.4em;
    color: var(--d3-blue-3);
    text-transform: uppercase;
}
.defense3 .partners .row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: center;
    justify-items: center;
    gap: 32px;
    margin-top: 48px;
}
.defense3 .partners a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    max-width: 100%;
    transition: opacity .35s, filter .35s, transform .35s;
    opacity: 0.55;
    filter: grayscale(1);
}
.defense3 .partners a:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.15);
}
.defense3 .partners img {
    max-height: 48px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1200px) {
    .defense3 .net { grid-template-columns: repeat(4, 1fr); }
    .defense3 .partners { padding: 50px 24px; }
    .defense3 .partners .row { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .defense3 .work { padding: 0 24px; }
}

@media (max-width: 768px) {
    .defense3 .hero { margin-top: 24px; }
    .defense3 .hero h1 { font-size: 32px; }
    .defense3 .hero .lead { font-size: 16px; }
    .defense3 .sec-head { margin-top: 80px; gap: 16px; }
    .defense3 .sec-head .label { font-size: 16px; white-space: normal; }
    .defense3 .vyx { grid-template-columns: 1fr; }
    .defense3 .net { grid-template-columns: repeat(3, 1fr); }
    .defense3 .work { padding: 0; }
    .defense3 .work .contacts { grid-template-columns: 1fr; gap: 24px; }
    .defense3 .partners { padding: 40px 16px; }
    .defense3 .partners .row { grid-template-columns: repeat(2, 1fr); }
    .defense3 .partners .sec-head .label { font-size: 16px; letter-spacing: 0.2em; }
    .defense3 .news-wrap { padding: 0 32px; }
}

@media (max-width: 480px) {
    .defense3 .net { grid-template-columns: repeat(2, 1fr); }
}
