/* ===== BASE ===== */

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family:'Inter', 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%;
}

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

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

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

/* banner */
.header-banner-center {
    justify-self: center;
}

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

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

/* ===== MENU ===== */

.top-fixed {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-menu {
    position: sticky;
    top: 77px;
    z-index: 1000;
}

/* menu layout */
.top-menu ul {
    display: flex;
    gap: 10px;
    padding: 10px 0;
}

.top-menu li {
    position: relative;
}

/* menu links */
.top-menu a {
    position: relative;
    display: block;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

/* hover animation */
.top-menu a:hover {
    transform: translateY(-3px);
}

/* underline animation */
.top-menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.top-menu a:hover::after,
.top-menu .selected > a::after {
    width: 100%;
}

/* ===== CONTENT ===== */

.content {
    flex: 1;
    padding: 40px 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;
}