:root {
    --page-bg: #fff;
    --panel-text: #1f1f23;
    --muted-header: #6b697c;
    --link-color: #304da1;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url(/images/bg-dekor.png) no-repeat center center fixed;
    background-size: cover;
    font-family: "Figtree", Arial, Helvetica, sans-serif;
    color: var(--panel-text);
}

.frame {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.content {
    position: relative;
    padding: 10px 26px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.content > * {
    position: relative;
    z-index: 1;
}

.service-header h1 {
    margin: 0;
    font-size: 37px;
    line-height: 1;
    font-weight: 700;
    color: #000;
    letter-spacing: -0.02em;
}

.details {
    margin-top: 14px;
    margin-left: 4px;
    width: 100%;
    border-collapse: collapse;
}

.details tr {
    height: 45px;
}

.details th,
.details td {
    text-align: left;
    vertical-align: top;
    font-size: 22px;
    line-height: 1.2;
    color: #202024;
}

.details th {
    width: 180px;
    font-weight: 700;
    padding-right: 18px;
    white-space: nowrap;
}

.details td {
    font-weight: 400;
}

.details a {
    color: var(--link-color);
    text-decoration: underline;
}

.details a:hover {
    text-decoration-thickness: 0.13em;
}

.footer {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: auto;
    padding-bottom: 20px;
}

.logo {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 200px;
    height: auto;
    display: block;
}

.footer-text {
    margin: 0;
    font-size: 22px;
    line-height: 1.24;
    color: var(--link-color);
    max-width: calc(100% - 240px);
}

@media (max-width: 768px) {
    .frame {
        width: 100%;
        min-height: 100vh;
        height: auto;
    }

    .content {
        padding: 10px 14px 24px;
    }

    .service-header h1 {
        font-size: 28px;
    }

    .details th,
    .details td {
        font-size: 18px;
    }

    .details th {
        width: 128px;
    }

    .footer {
        margin-top: auto;
        gap: 16px;
    }

    .logo {
        flex-basis: 84px;
    }

    .logo img {
        width: 84px;
    }

    .footer-text {
        font-size: 18px;
    }
}
