:root {
    --blue:#0878c9;
    --blue2:#2bb7ee;
    --cyan:#dff6ff;
    --dark:#0e2746;
    --text:#263a52;
    --muted:#657890;
    --bg:#eef9ff;
    --white:#fff;
    --line:#cfeaf8;
    --shadow:0 18px 45px rgba(14,39,70,.12);
    --radius:24px;
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    font-family:Manrope,Inter,"Segoe UI",Arial,sans-serif;
    color:var(--text);
    background:linear-gradient(180deg,#dff6ff 0%,#f7fdff 34%,#fff 62%,#eaf8ff 100%);
    line-height:1.68;
    font-size:16px;
    letter-spacing:-.01em;
}

a {
    color:inherit;
    text-decoration:none
}

img {
    max-width:100%
}

.container {
    width:min(1280px,calc(100% - 36px));
    margin:0 auto
}

.topbar {
    background:linear-gradient(90deg,#075fa4,#15a9e8);
    color:white;
    font-size:14px;
    font-weight:650
}

.topbar .container {
    display:flex;
    gap:18px;
    justify-content:flex-end;
    align-items:center;
    padding:8px 0;
    white-space:nowrap
}

.header {
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,255,255,.9);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(8,120,201,.12);
    box-shadow:0 10px 30px rgba(14,39,70,.05)
}

.nav {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:10px 0;
    min-height:78px
}

.logo {
    display:flex;
    align-items:center;
    flex:0 0 auto;
    min-width:210px;
    max-width:270px
}

.logo img {
    height:62px;
    width:auto;
    max-width:270px;
    object-fit:contain;
    display:block
}

.menu {
    display:flex;
    gap:4px;
    align-items:center;
    flex-wrap:nowrap;
    white-space:nowrap;
    flex:1 1 auto;
    justify-content:center;
    min-width:0
}

.menu a {
    padding:9px 10px;
    border-radius:999px;
    color:#183b5f;
    font-weight:800;
    font-size:15px;
    line-height:1;
    transition:.2s
}

.menu a:hover,.menu a.active {
    background:#e4f7ff;
    color:#006dbd
}

.contact-buttons {
    display:flex;
    gap:8px;
    align-items:center;
    flex:0 0 auto;
    white-space:nowrap
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:999px;
    padding:12px 17px;
    font-weight:900;
    border:1px solid transparent;
    transition:.22s;
    line-height:1.1;
    white-space:nowrap
}

.btn-primary {
    background:linear-gradient(135deg,var(--blue),var(--blue2));
    color:white;
    box-shadow:0 12px 24px rgba(8,120,201,.24)
}

.btn-light,.btn-ghost {
    background:#fff;
    color:var(--blue);
    border-color:#cdebf8
}

.btn-bus {
    background:linear-gradient(135deg,#0e2746,#0878c9);
    color:#fff;
    box-shadow:0 12px 24px rgba(14,39,70,.18)
}

.btn:hover {
    transform:translateY(-2px);
    box-shadow:0 16px 30px rgba(8,120,201,.18)
}

.mobile-note {
    display:none
}

.hero {
    position:relative;
    overflow:hidden;
    padding:86px 0 74px;
    background:radial-gradient(circle at 88% 8%,rgba(43,183,238,.24),transparent 36%)
}

.hero:before {
    content:"";
    position:absolute;
    right:-110px;
    top:-170px;
    width:560px;
    height:560px;
    background:radial-gradient(circle,rgba(43,183,238,.34),transparent 68%);
    border-radius:50%
}

.hero:after {
    content:"";
    position:absolute;
    left:-120px;
    bottom:-180px;
    width:480px;
    height:480px;
    background:radial-gradient(circle,rgba(255,255,255,.75),transparent 68%);
    border-radius:50%
}

.hero-grid {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1.02fr .98fr;
    gap:48px;
    align-items:center
}

.eyebrow {
    display:inline-flex;
    padding:8px 14px;
    border-radius:999px;
    background:#fff;
    color:#0675bd;
    font-weight:900;
    border:1px solid var(--line);
    box-shadow:0 8px 28px rgba(16,35,63,.06);
    letter-spacing:.01em
}

h1 {
    font-size:clamp(40px,5.2vw,68px);
    line-height:1.02;
    margin:22px 0;
    color:var(--dark);
    letter-spacing:-.055em;
    font-weight:900
}

h2 {
    font-size:clamp(30px,3.5vw,46px);
    line-height:1.12;
    margin:0 0 18px;
    color:var(--dark);
    letter-spacing:-.04em;
    font-weight:900
}

h3 {
    font-size:22px;
    color:var(--dark);
    margin:0 0 10px;
    font-weight:900;
    letter-spacing:-.025em
}

.lead {
    font-size:20px;
    color:#3f5874;
    max-width:720px;
    font-weight:500
}

.hero-actions {
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px
}

.hero-card {
    background:rgba(255,255,255,.76);
    border:1px solid rgba(255,255,255,.9);
    border-radius:34px;
    box-shadow:var(--shadow);
    padding:26px;
    backdrop-filter:blur(12px)
}

.hero-card img {
    width:100%;
    border-radius:24px;
    display:block
}

.product-hero {
    padding:18px 18px 20px;
    background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(227,248,255,.8))
}

.product-hero>img {
    filter:drop-shadow(0 24px 34px rgba(14,39,70,.22));
    border-radius:26px
}

.stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    margin-top:16px
}

.stat {
    padding:16px;
    border-radius:18px;
    background:#f2fbff;
    border:1px solid var(--line);
    font-size:14px;
    font-weight:700
}

.stat b {
    display:block;
    color:var(--blue);
    font-size:26px;
    line-height:1
}

.section {
    padding:76px 0
}

.section.alt {
    background:rgba(255,255,255,.58)
}

.section-head {
    display:flex;
    justify-content:space-between;
    gap:24px;
    align-items:end;
    margin-bottom:30px
}

.section-head p {
    max-width:680px;
    color:var(--muted);
    margin:0;
    font-weight:550
}

.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}

.card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:28px;
    box-shadow:0 12px 34px rgba(16,35,63,.07);
    min-height:210px;
    transition:.22s
}

.card:hover,.partner:hover {
    transform:translateY(-4px);
    box-shadow:0 20px 46px rgba(16,35,63,.12)
}

.icon {
    width:54px;
    height:54px;
    border-radius:17px;
    background:linear-gradient(135deg,#e4f8ff,#fff);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    margin-bottom:16px;
    border:1px solid #d9effa;
    color:var(--blue)
}

.icon svg {
    width:28px;
    height:28px;
    display:block;
    stroke:currentColor;
    fill:none;
    stroke-width:2;
    stroke-linecap:round;
    stroke-linejoin:round
}

.card ul {
    padding-left:20px;
    margin:12px 0 0
}

.partners {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}

.partner {
    background:linear-gradient(180deg,#fff,#f4fbff);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:24px;
    box-shadow:0 12px 34px rgba(16,35,63,.07);
    transition:.22s
}

.partner-img {
    height:190px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:14px;
    border-radius:20px;
    background:#f5fbff;
    overflow:hidden;
    border:1px solid #e0f1fa
}

.partner-img img {
    max-height:170px;
    object-fit:contain
}

.partner-img.logo-panel img {
    max-height:150px
}

.partner .name {
    font-size:28px;
    font-weight:900;
    color:var(--blue);
    margin-bottom:12px;
    letter-spacing:-.035em
}

.software {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px
}

.software-card {
    overflow:hidden;
    padding:0
}

.software-card>img {
    width:100%;
    height:230px;
    object-fit:cover;
    display:block;
    border-bottom:1px solid var(--line)
}

.software-card .icon,.software-card h3,.software-card p {
    margin-left:26px;
    margin-right:26px
}

.software-card .icon {
    margin-top:24px
}

.software-card p {
    padding-bottom:28px
}

.wide {
    grid-column:span 2
}

.page-hero {
    padding:66px 0;
    background:linear-gradient(135deg,#dff5ff,#fff)
}

.content {
    background:#fff;
    border:1px solid var(--line);
    border-radius:28px;
    padding:36px;
    box-shadow:var(--shadow)
}

.content p {
    margin-top:0
}

.list-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px
}

.list-box {
    padding:22px;
    border-radius:20px;
    background:#f3fbff;
    border:1px solid var(--line)
}

.contacts-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px
}

.contact-card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:28px;
    box-shadow:0 12px 34px rgba(16,35,63,.07)
}

.footer {
    background:#10233f;
    color:#d9e9f5;
    padding:46px 0 24px
}

.footer-grid {
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:28px
}

.footer a {
    color:#eaf7ff
}

.copyright {
    border-top:1px solid rgba(255,255,255,.14);
    margin-top:28px;
    padding-top:18px;
    color:#aac0d5;
    font-size:14px
}

@media(max-width:1180px) {
    .logo {
        min-width:180px;
        max-width:220px
    }

    .logo img {
        height:54px;
        max-width:220px
    }

    .menu a {
        font-size:14px;
        padding:9px 8px
    }

    .btn {
        padding:11px 13px;
        font-size:14px
    }

    .nav {
        gap:10px
    }

}

@media(max-width:980px) {
    .topbar .container {
        justify-content:center;
        flex-wrap:wrap
    }

    .nav {
        align-items:flex-start;
        flex-wrap:wrap
    }

    .logo {
        max-width:240px
    }

    .menu {
        order:3;
        width:100%;
        justify-content:center;
        overflow-x:auto;
        padding:6px 0 2px
    }

    .contact-buttons {
        margin-left:auto
    }

    .hero-grid,.contacts-grid,.software {
        grid-template-columns:1fr
    }

    .cards,.partners {
        grid-template-columns:1fr 1fr
    }

    .wide {
        grid-column:auto
    }

    .section-head {
        display:block
    }

    .footer-grid {
        grid-template-columns:1fr
    }

}

@media(max-width:620px) {
    .container {
        width:min(100% - 24px,1280px)
    }

    .hero {
        padding:50px 0
    }

    .cards,.partners,.list-grid,.stats {
        grid-template-columns:1fr
    }

    .contact-buttons {
        display:none
    }

    .menu {
        display:none
    }

    .mobile-note {
        display:block;
        color:#58708d;
        font-size:13px;
        width:100%;
        text-align:center
    }

    .logo img {
        height:48px
    }

    h1 {
        font-size:38px
    }

    .content {
        padding:22px
    }

    .section {
        padding:48px 0
    }

    .software-card>img {
        height:190px
    }

}

/* v3 additions */
.equipment-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}

.equipment-card {
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:0 12px 34px rgba(16,35,63,.07);
    overflow:hidden;
    transition:.22s
}

.equipment-card:hover {
    transform:translateY(-4px);
    box-shadow:0 20px 46px rgba(16,35,63,.12)
}

.equipment-card .equipment-img {
    height:240px;
    background:#f7fcff;
    border-bottom:1px solid var(--line);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px
}

.equipment-card .equipment-img img {
    max-height:210px;
    width:100%;
    object-fit:contain
}

.equipment-card .equipment-body {
    padding:24px
}

.equipment-card .tag {
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:6px 11px;
    background:#e7f8ff;
    color:#0675bd;
    font-weight:900;
    font-size:13px;
    margin-bottom:12px
}

.equipment-card p {
    margin-top:0
}

.equipment-card ul {
    padding-left:20px;
    margin:12px 0 0
}

.full-width-card {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:.9fr 1.1fr
}

.full-width-card .equipment-img {
    height:auto;
    min-height:280px
}

.contact-person {
    padding:14px 16px;
    background:#f3fbff;
    border:1px solid var(--line);
    border-radius:18px;
    margin:10px 0
}

.contact-person b {
    display:block;
    color:var(--dark)
}

@media(max-width:980px) {
    .equipment-grid {
        grid-template-columns:1fr 1fr
    }

    .full-width-card {
        grid-template-columns:1fr
    }

}

@media(max-width:620px) {
    .equipment-grid {
        grid-template-columns:1fr
    }

    .equipment-card .equipment-img {
        height:210px
    }

}

/* v4 fixes */
.contact-buttons {
    margin-left:24px
}

.menu {
    padding-right:14px
}

.software-card>a.software-logo-link, .software-logo-link {
    display:flex;
    align-items:center;
    justify-content:center;
    height:230px;
    background:#fff;
    border-bottom:1px solid var(--line)
}

.software-card>a.software-logo-link img, .software-card>img {
    object-fit:contain;
    padding:34px;
    background:#fff
}

.software-card h3 a {
    color:var(--blue);
    text-decoration:none
}

.software-card h3 a:hover {
    text-decoration:underline
}

@media(max-width:1180px) {
    .contact-buttons {
        margin-left:16px
    }

    .menu {
        padding-right:10px
    }

}

/* v5 refinements */
.logo {
    min-width:250px;
    max-width:340px
}

.logo img {
    height:76px;
    max-width:340px
}

.contact-buttons {
    margin-left:38px;
    gap:10px
}

.menu {
    padding-right:24px
}

.icon-image {
    padding:8px;
    background:#fff
}

.icon-image img {
    max-width:36px;
    max-height:36px;
    object-fit:contain;
    display:block
}

.software-card>a.software-logo-link {
    height:230px;
    background:#f7fcff
}

.software-card>a.software-logo-link img {
    width:100%;
    height:100%;
    object-fit:cover;
    padding:0;
    background:#f7fcff
}

.contact-list {
    display:grid;
    gap:12px;
    margin-top:12px
}

.map-card {
    margin-top:18px;
    overflow:hidden;
    padding:0
}

.map-card h3 {
    padding:22px 24px 0;
    margin:0 0 12px
}

.map-frame {
    width:100%;
    height:360px;
    border:0;
    display:block;
    border-radius:0 0 24px 24px
}

@media(max-width:1180px) {
    .logo {
        min-width:210px;
        max-width:270px
    }

    .logo img {
        height:62px;
        max-width:270px
    }

    .contact-buttons {
        margin-left:20px
    }

    .menu {
        padding-right:12px
    }

}

@media(max-width:620px) {
    .logo img {
        height:54px
    }

    .map-frame {
        height:300px
    }

}
