@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@600;700&family=Roboto+Mono:wght@400;500&display=swap');

:root {
    --color-main: #143654;   /* Dark Blue */
    --color-accent: #1CB4A6; /* Teal */
    --color-text: #2C2C2C;
    --color-bg-light: #F5F7FA;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background: #fff;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-main);
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
header {
    background: #fff;
    border-bottom: 2px solid var(--color-accent);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 55px; /* Размер SVG лого */
    width: auto;
    display: block;
}

/* Разделитель и лого Сколково */
.sk-part {
    /*border-left: 1px solid #ccc;*/
    padding-left: 15px;
    height: 40px;
    display: flex;
    align-items: center;
}

.sk-part img {
    height: 35px; /* Подстройка под размер лого Сколково */
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--color-accent);
}

/* --- HERO --- */
.hero {
    background-color: var(--color-main);
    background-image: url('ess-pattern.png'); /* Векторный паттерн */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    position: relative;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* --- PRODUCTS GRID --- */
.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 5px solid var(--color-accent);
    padding-left: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
}

.card h3 { margin-top: 5px; }

.card-tag {
    font-family: 'Roboto Mono';
    font-size: 11px;
    color: var(--color-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    color: var(--color-main);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    width: fit-content;
}

.btn:hover {
    border-bottom-color: var(--color-main);
}

/* --- PAGE LAYOUT --- */
.product-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 50px;
    margin-bottom: 150px;
}

/* Docs Box Styling (Стиль чипа) */
.docs-box {
    background: var(--color-bg-light);
    padding: 30px;
    border-radius: 24px;
    border: 2px solid var(--color-main);
    position: relative;
}

/* Ушки рамки */
.docs-box::before,
.docs-box::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border: 2px solid var(--color-main);
    border-radius: 999px;
    background: #fff;
}
.docs-box::before { top: -14px; left: 40px; }
.docs-box::after { bottom: -14px; right: 40px; }

.docs-box h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
    display: inline-block;
    font-size: 18px;
}

.doc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: var(--color-text);
}
.doc-link:hover { color: var(--color-accent); }
.doc-link:last-child { border-bottom: none; }

.doc-icon {
    background: var(--color-main);
    color: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    font-family: 'Roboto Mono';
    font-size: 10px;
}

/* --- FOOTER --- */
footer {
    background: var(--color-text);
    color: #fff;
    /*padding: 50px 0;*/
    margin-top: auto;
}