:root{--bg:#071827;--panel:#0e2742;--card:rgba(15,42,74,.65);--line:#123a60;--text:#e6f7ff;--muted:#b6d7e5;--primary:#39d2ff;--accent:#6aa9ff;--radius:18px;--shadow:0 10px 30px rgba(0,0,0,.35);} 
*{box-sizing:border-box;} 
html,body{height:100%;} 
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;color:var(--text);background:radial-gradient(1400px 900px at 8% 12%,#0a2747 0%,var(--bg) 55%) fixed;display:flex;flex-direction:column;min-height:100vh;} 

header{position:sticky;top:0;z-index:50;background:linear-gradient(to bottom,rgba(7,24,39,.92),rgba(7,24,39,.65));backdrop-filter:blur(10px);border-bottom:1px solid #0f3555;} 
.nav{max-width:1200px;margin:0 auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;} 
.brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--primary);font-size:1.1rem;text-decoration:none;} 
.brand a{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;} 
.brand img{height:30px;width:auto;filter:drop-shadow(0 2px 6px rgba(57,210,255,.35));} 
.links{position:relative;display:flex;list-style:none;margin:0;padding:0;} 
.links a{color:var(--text);text-decoration:none;padding:8px 22px;border-radius:12px;border:1px solid transparent;transition:all .18s ease;} 
.links a:hover{background:#0f2a4a;border-color:#153c61;box-shadow:inset 0 0 12px rgba(57,210,255,.18);} 
.nav-underline{position:absolute;bottom:-18px;height:3px;border-radius:2px;background:var(--primary);transition:transform .35s ease,width .35s ease;} 
.btn{display:inline-block;padding:10px 14px;border-radius:12px;text-decoration:none;color:#00101d;background:linear-gradient(135deg,var(--primary),var(--accent));font-weight:700;box-shadow:var(--shadow);border:0;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;} 
.btn:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 8px 24px rgba(57,210,255,.35);} 

main{flex:1;display:flex;flex-direction:column;} 
.container{max-width:1500px;margin:0 auto;padding:28px 18px;} 
.row{display:flex;gap:18px;flex-wrap:wrap;} 

.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center;background:linear-gradient(135deg,rgba(20,50,80,.7),rgba(10,30,55,.65));border:1px solid #123a60;border-radius:24px;padding:38px;box-shadow:var(--shadow);position:relative;overflow:hidden;} 
.hero h2{font-size:clamp(1.8rem,1.2rem + 2.5vw,3rem);margin:0 0 10px;} 
.kicker{color:var(--muted);margin-bottom:18px;} 
.hero .art{border:1px solid #153c61;border-radius:20px;padding:20px;text-align:center;} 
.hero .art img{max-width:300px;width:100%;filter:drop-shadow(0 0 26px rgba(57,210,255,.35));} 

.card{background:var(--card);border:1px solid #123a60;border-radius:var(--radius);padding:18px;backdrop-filter:blur(6px);box-shadow:var(--shadow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;display:flex;flex-direction:column;justify-content:center;} 
.card:hover{transform:translateY(-4px);border-color:#2b79b8;box-shadow:0 14px 40px rgba(57,210,255,.18),var(--shadow);} 
.card h3{margin:0 0 8px;display:flex;align-items:center;gap:8px;} 
.card p{margin:0 0 10px;color:var(--muted);} 
.card a{color:var(--primary);} 

.preview{margin:0 0 12px;border-radius:14px;overflow:hidden;height:300px;width:300px;background:#0d223b;display:flex;align-items:center;justify-content:center;} 
.preview img{width:90%;height:90%;object-fit:contain;object-position:center;transition:transform .3s ease;} 
.card:hover .preview img{transform:scale(1.075);} 

.cards-wrapper{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:18px;margin-top:16px;} 
.cards-wrapper .card-link{flex:1 1 280px;max-width:320px;text-decoration:none;color:inherit;display:block;} 
.logo-icon{width:28px;height:28px;object-fit:contain;margin-right:8px;vertical-align:middle;filter:drop-shadow(0 0 6px rgba(0,220,255,.55)) drop-shadow(0 0 2px rgba(0,208,255,.9));} 

body.index-page .grid{grid-template-columns:repeat(auto-fit,minmax(280px,320px));justify-content:center;gap:22px;} 
body.index-page .card{max-width:320px;align-items:center;text-align:center;} 
body.index-page .card .preview{width:100%;height:200px;display:flex;align-items:center;justify-content:center;} 
body.index-page .card .preview img{width:auto;height:100%;object-fit:contain;} 

.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;align-items:stretch;} 
.grid .preview{display:flex;align-items:center;justify-content:center;height:200px;background:#0d223b;border-radius:14px;overflow:hidden;} 
.grid .preview img{width:auto;height:100%;object-fit:contain;} 

.contact-wrapper{display:flex;gap:32px;align-items:flex-start;justify-content:center;} 
.contact-card{flex:0 0 280px;text-align:center;padding:28px;align-self:center;} 
.contact-card p{margin-bottom:16px;} 
.contact-card .btn{color:#00101d;} 
.contacts{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:4px;} 
.contacts .card{flex:unset;max-width:none;padding:16px;border-radius:18px;} 
.contacts .card h3{margin:0 0 8px;color:var(--primary);display:flex;align-items:center;gap:8px;} 
.contacts .card h3 img{width:28px;height:28px;object-fit:contain;border-radius:6px;} 
.contacts .card .preview{margin:12px 0 0 0;border-radius:12px;overflow:hidden;height:300px;display:flex;align-items:center;justify-content:center;background:#0d223b;} 
.contacts .card .preview img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block;} 
.contacts .card h3 a{color:inherit;text-decoration:none;}
.contacts .card h3 a:hover{color:var(--primary);text-decoration:none;}
.card h3 a, .card h3 a:visited{color:inherit;text-decoration:none;}

.table{width:100%;border-collapse:collapse;border:1px solid #123a60;border-radius:14px;overflow:hidden;background:rgba(10,30,55,.55);} 
.table th,.table td{padding:10px 12px;border-bottom:1px solid #123a60;text-align:left;} 
.table th{background:#0f2a4a;color:#cfefff;} 

.empty{opacity:.75;padding:20px 10px;} 

section.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;} 
section.services .card .preview{display:flex;align-items:center;justify-content:center;background:#0d223b;border-radius:14px;overflow:hidden;width:100%;max-width:320px;height:240px;margin:0 auto 12px;} 
section.services .card .preview img{width:auto!important;height:100%!important;max-height:100%;max-width:100%;object-fit:contain;} 

footer{margin-top:auto;border-top:1px solid #0f3555;background:linear-gradient(to top,rgba(7,24,39,.92),rgba(7,24,39,.65));} 
footer .container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;padding:18px;} 

.docs-items{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:22px;margin-top:22px;} 
.docs-items .card-link{flex:1 1 300px;max-width:320px;text-decoration:none;color:inherit;display:block;} 
.docs-items .card{background:var(--card);border:1px solid #123a60;border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;text-align:center;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;} 
.docs-items .card:hover{transform:translateY(-4px);border-color:#2b79b8;box-shadow:0 14px 40px rgba(57,210,255,.18),var(--shadow);} 
.docs-items .card .preview{width:100%;height:200px;background:#0d223b;border-radius:14px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;} 
.docs-items .card .preview img{width:100%;height:100%;object-fit:contain;transition:transform .3s ease;} 
.docs-items .card:hover .preview img{transform:scale(1.05);} 
.docs-items .card h3{margin:0 0 8px;color:var(--primary);} 
.docs-items .card p{color:var(--muted);margin:0;font-size:.95rem;} 

.doc-page{display:flex;flex-direction:column;gap:22px;color:#fff;} 
.doc-page .card.full{width:100%;max-width:1000px;margin:0 auto;background:#0d223b;padding:24px;border-radius:16px;box-shadow:0 0 12px rgba(0,0,0,.4);color:#fff;} 
.doc-page .card.full h2,.doc-page .card.full h3,.doc-page .card.full p,.doc-page .card.full li{color:#fff;} 
.doc-page .doc-content{line-height:1.6;font-size:1.05em;} 
.preview-card img{display:block;max-width:80%;margin:0 auto;border-radius:12px;} 
.img-preview{display:block;margin:18px auto;width:100%;max-width:900px;border-radius:12px;} 

.text-content{color:var(--muted);line-height:1.6;} 
.card-link{color:inherit;text-decoration:none;display:block;} 
.card-link:hover{text-decoration:none;color:inherit;} 
a.btn{text-decoration:none;color:#00101d;display:inline-block;} 
a.btn:hover{text-decoration:none;} 

.section-return{margin-bottom:12px;} 

.cards-wrapper {display: flex;flex-wrap: wrap;justify-content: flex-start;gap: 18px;}
.cards-wrapper .card-link {flex: 1 1 280px;max-width: 320px;}
.cards-wrapper .card {display: flex;flex-direction: column;justify-content: space-between;align-items: center;text-align: center;background: var(--card);border: 1px solid #123a60;border-radius: var(--radius);padding: 18px;box-shadow: var(--shadow);transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;min-height: 420px;}
.cards-wrapper .card:hover {transform: translateY(-4px);border-color: #2b79b8;box-shadow: 0 14px 40px rgba(57,210,255,.18), var(--shadow);}
.cards-wrapper .card .preview {width: 100%;height: 220px;border-radius: 14px;background: #0d223b;overflow: hidden;display: flex;align-items: center;justify-content: center;margin-bottom: 12px;}
.cards-wrapper .card .preview img {width: auto;height: 100%;max-height: 100%;object-fit: contain;transition: transform .3s ease;}
.cards-wrapper .card:hover .preview img {transform: scale(1.05);}
.cards-wrapper .card h3 {margin: 0 0 8px;color: var(--primary);font-size: 1.1rem;}
.cards-wrapper .card p {color: var(--muted);font-size: 0.95rem;margin: 0;flex-grow: 1;display: flex;align-items: center;justify-content: center;}


.card.full{width:100%;max-width:1100px;margin:0 auto;} 
.img-preview{display:block;width:100%;max-width:1000px;height:auto;border-radius:12px;margin:12px auto;} 

.doc-content{color:var(--muted);line-height:1.6;font-size:1rem;} 
.doc-content a{color:var(--primary);text-decoration:underline;} 

/* responsive tweaks */
@media (max-width:900px){.hero{grid-template-columns:1fr;}.contacts{grid-template-columns:1fr;}.cards-wrapper{justify-content:center;}.preview{width:100%;height:220px;}.contacts .card .preview{height:200px;}} 
