:root {
    --accent: #276ba7;
    --accent-soft: #3a7ab8;
    --accent-rgb: 39, 107, 167;
    --bg: #f7f8fa;
    --surface: #ffffff;
    --border: rgba(15, 23, 42, .08);
    --ink: #1f2937;
    --muted: #6b7280;
    --radius: 1rem;
}

.item {
  opacity: 0;
  animation: fadeInUp .8s cubic-bezier(.2, .7, .3, 1) forwards;
  animation-delay: calc(var(--i) * .2s);
}
.row.item{box-shadow: 0 20px 44px -20px rgba(15, 23, 42, .15);}
.titled{border-right:2px solid #276ba7}

.rtb iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.ml-get{max-width:60px; cursor:pointer;}
a.h2:hover{color:#779aba}


html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
::selection {
    background: rgba(var(--accent-rgb), .2);
}
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.brand-name {
    color: var(--accent);
}

/* Навигация */
.site-nav {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: #0d1117;
    font-size: 1.1rem;
}
.site-nav .navbar-brand {
    color: var(--ink);
}
.site-nav .navbar-brand:hover {
    color: var(--ink);
}
.site-nav .navbar-nav .nav-link {
    color: var(--muted);
    font-weight: 500;
    border-radius: .5rem;
    padding: .5rem .95rem;
}
.site-nav .navbar-nav .nav-link:hover {
    color: var(--ink);
}
.site-nav .navbar-nav .nav-link.active {
    color: var(--accent);
    background: rgba(var(--accent-rgb), .08);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px circle at 15% 0%, rgba(var(--accent-rgb), .1), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
    border-bottom: 1px solid var(--border);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #111827;
}
.hero .lead {
    color: var(--muted);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: .5rem;
    background: rgba(var(--accent-rgb), .08);
    border: 1px solid rgba(var(--accent-rgb), .3);
    color: var(--accent);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.section-label {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent);
}

/* Карточки */
.card-direction,
.demo-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.card-direction {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card-direction:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-rgb), .4);
    box-shadow: 0 20px 44px -20px rgba(15, 23, 42, .25);
}
.icon-chip {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(var(--accent-rgb), .1);
    border: 1px solid rgba(var(--accent-rgb), .25);
    color: var(--accent);
    font-size: 1.7rem;
    margin: 0 auto;
}
.card-direction h3 {
    color: #111827;
}
.card-direction .card-text {
    color: var(--muted);
}
.card-direction .badge {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid var(--border);
    font-weight: 500;
    padding: .4em .85em;
    border-radius: .5rem;
    opacity: .5;
    transition: opacity .25s ease;
}
.card-direction .badge:nth-child(1) { transition-delay: 210ms; }
.card-direction .badge:nth-child(2) { transition-delay: 140ms; }
.card-direction .badge:nth-child(3) { transition-delay: 70ms; }
.card-direction .badge:nth-child(4) { transition-delay: 0ms; }
.card-direction:hover .badge {
    opacity: 1;
    transition-delay: 0ms;
}
.card-direction:hover .badge:nth-child(1) { transition-delay: 0ms; }
.card-direction:hover .badge:nth-child(2) { transition-delay: 70ms; }
.card-direction:hover .badge:nth-child(3) { transition-delay: 140ms; }
.card-direction:hover .badge:nth-child(4) { transition-delay: 210ms; }
.demo-card .card-text {
    color: var(--muted);
}

.layered .card-body{background:var(--bs-body-bg); border-radius: 16px;}
.layered{background:rgba(var(--accent-rgb), .1)}
.shotlink{ display: block; background: rgba(var(--accent-rgb), .08) !important; color: var(--accent); text-decoration: none;}
.shotlink:hover{background: rgba(var(--accent-rgb), .04) !important}
a.h3, a.h2{color: var(--accent);}



/* Анимация появления */
.col-direction {
    opacity: 0;
    animation: fadeInUp .6s cubic-bezier(.2, .7, .3, 1) forwards;
}
.col-direction:nth-child(1) { animation-delay: 0ms; }
.col-direction:nth-child(2) { animation-delay: 150ms; }
.col-direction:nth-child(3) { animation-delay: 300ms; }
.col-direction:nth-child(4) { animation-delay: 450ms; }
@media (prefers-reduced-motion: reduce) {
    .col-direction {
        animation: none;
        opacity: 1;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Футер */
.site-footer {
    background: #0a0e14;
    border-top: 1px solid rgba(39, 107, 167, .45);
    color: #c9d1d9;
}
.site-footer .footer-link {
    color: #c9d1d9;
    text-decoration: none;
    font-weight: 500;
}
.site-footer .footer-link:hover {
    color: var(--accent);
}
