/* ===== BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Manrope', Arial, sans-serif;
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* ===== TYPOGRAPHY ===== */

h1 {
    font-size: 28px;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.content ul {
    padding-left: 20px;
    list-style: disc;
}

a {
    text-decoration: none;
}

/* ===== LAYOUT ===== */

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== HEADER ===== */

.header {
    position: relative;
    height: 120px;
    overflow: hidden;
}

/* background */
.header-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* header content grid */
.header-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.header-inner > * {
    min-width: 0;
}

/* logo */
.logo {
    justify-self: start;
    align-self: center;
    max-width: 100%;
    overflow: hidden;
}

.logo img {
    height: auto;
    
    max-height: 41px;
    width: 100%;
    object-fit: contain;
}

/* banner */
.header-banner-center {
    height: 100%;
    display: flex;
    align-items: center;
    justify-self: center;
    overflow: hidden;
}

.header-banner-center img {
    max-height: 100%;
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* phones */
.phones {
    justify-self: end;
    text-align: right;
    max-width: 100%;
    font-variant-numeric: tabular-nums;
    overflow: hidden;
    line-height: 1.2;
    font-size: 18px;
}

/* ===== MENU ===== */
/* ===== MAIN LAYOUT ===== */

.main-layout {
    display: grid;
    flex: 1;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== SIDEBAR ===== */

.sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

/* sidebar menu */
.sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar a {
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

/* hover */
.sidebar a:hover {
    transform: translateX(5px);
}

/* active */
.sidebar .selected > a {
    font-weight: 600;
}
/* ===== CONTENT ===== */

.content {
    display: flex;
}
.content .container {
    flex: 1;
    margin: 0;
    
}

/* documents */
.documents {
    margin-top: 20px;
}

.doc-list li {
    margin-bottom: 10px;
}

.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.pdf-link:hover {
    text-decoration: underline;
}

.pdf-icon {
    width: 20px;
    height: 20px;
}

/* ===== FOOTER ===== */

.footer {
    
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.phones-footer {
    padding-top: 10px;
	font-variant-numeric: tabular-nums;
    text-align: right;
}