@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@400;700&family=Alegreya:ital,wght@1,400;1,500&family=Finlandica:wght@500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-sizing: border-box;
    vertical-align: baseline;
}

html,
body {
    height: 100%;
    width: 100%;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Alegreya Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 27px;
}

h1,
h2,
h3 {
    font-family: "Finlandica", sans-serif;
    font-optical-sizing: auto;
}

h1 {
    font-size: 85px;
    font-weight: 600;
    letter-spacing: .15em;
    line-height: 81px;
}

h2 {
    max-width: 840px;
    margin-bottom: 36px;
    margin-left: -.05em;
    font-size: 43px;
    font-weight: 600;
    line-height: 45px;
}

h3 {
    margin-bottom: 9px;
    font-size: 24px;
    font-weight: 500;
}

h4 {
    margin-bottom: 9px;
    font-size: 24px;
    font-weight: 700;
}

.h-center {
    margin-right: auto;
    margin-left: auto;
}

p {
    max-width: 840px;
    margin-bottom: 18px;
}

p:last-child {
    margin-bottom: 0;
}

p + ul {
    margin-top: -.5em;
}

ul {
    padding-left: 1.5em;
}

li {
    margin-bottom: .5em;
    list-style: none;
}

.large-italic {
    margin-right: auto;
    margin-left: auto;
    font-family: "Alegreya", serif;
    font-optical-sizing: auto;
    font-style: italic;
    font-size: 24px;
}

.caps {
    margin-right: -.1em;
    font-size: .9em;
    letter-spacing: .1em;
}

img,
svg {
    display: block;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.img-radius {
    border-radius: 8px;
}

.hr {
    width: 100%;
    height: 1px;
    background-color: #e9e9f0;
}

a,
a:visited {
    color: #000;
    border-bottom: 1px solid  #ccc;
    border-color: rgba(0, 0, 0, .2);
    text-decoration: none;
}

a:hover {
    color: #d04000;
    border-color: #f8e2d9;
    border-color: rgba(208, 64, 0, .2);
}

a.index-link {
    border: 0;
}

b {
    font-weight: 700;
}

/* Main */
.section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section_bg-grey {
    background: #ecefee;
}

.section__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    min-height: 100%;
    margin: 0 auto;
}

.section__content:before,
.section__content:after,
.columns:before,
.columns:after {
    display: block;
    height: 0;
    clear: both;
    content: '';
    font-size: 0;
    line-height: 0;
    visibility: hidden;
}

.header {
    padding-top: 18px;
}

/* poster */
.poster {
    height: 100vh;
    padding: 18px 0 63px;
    background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/poster_scale_200.jpg);
    background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/poster_scale_1600.jpg);
    background-size: cover;
    background-position: center right 40%;
    background-repeat: no-repeat;
}

.logo {
    position: relative;
    width: 205px;
    height: 70px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
    z-index: 2;
}

.logo_white {
    background-image: url(../img/logo-w.svg);
}

.logo_black {
    background-image: url(../img/logo-b.svg);
}

.poster-info {
    position: absolute;
    bottom: 0;
    z-index: 3;
    max-width: 750px;
    padding-right: 20px;
    color: #fff;
}

.poster-title {
    margin-bottom: 18px;
    margin-left: -.075em;
}

.poster-text {
    font-size: 24px;
    line-height: 27px;
}

/* Columns */
.section_columns {
    padding-top: 90px;
}

.columns {
    position: relative;
    margin-right: -40px;
}

.columns-group,
.columns__col1,
.columns__col2,
.columns__col3 {
    position: relative;
    float: left;
}

.columns__col1 {
    width: 25%;
}

.columns-group,
.columns__col2 {
    width: 50%;
}

.columns__col3 {
    width: 75%;
}

.columns__col1,
.columns__col2,
.columns__col3 {
    padding-right: 40px;
    padding-bottom: 45px;
}

/* icons */
.icon {
    height: 120px;
    margin: 0 auto 27px;
}

.icon_num {
    width: 120px;
}

/* attention */
.attention {
    padding: 90px 0 45px;
    text-align: center;
}

.attention-sign {
    margin: 0 auto 18px;
}

/* services */
.services {
    padding-top: 90px;
}

/* documents */
.documents {
    padding-top: 90px;
}

/* discount */
.discount {
    padding: 90px 0 45px;
}

.room {
    margin-bottom: 27px;
}

.button {
    display: inline-block;
    height: 45px;
    padding: 0 18px;
    text-decoration: none;
    font-size: 24px;
    line-height: 45px;
    border: none;
    border-radius: 3px;
    background-color: #5f9860;
}

.button,
.button:visited {
    color: #fff;
}

.button:hover,
.button:focus {
    box-shadow: inset 0 0 100px rgba(0, 0, 0, .16);
    color: #fff;
}

/* steps */
.steps {
    padding-top: 90px;
}

/*FAQ*/
.faq {
    padding: 90px 0 45px;
}

.faq__item {
    max-width: 860px;
    margin-bottom: 36px;
}

.faq__item:last-child {
    margin-bottom: 0;
}

.faq__question {
    margin-bottom: 9px;
    font-family: "Alegreya", serif;
    font-optical-sizing: auto;
    font-size: 24px;
    font-style: italic;
    font-weight: 500;
}

/* reviews */
.reviews {
    padding: 90px 0 13px;
}

/* contacts */
.contacts {
    padding-top: 90px;
}

.map {
    position: relative;
    border: 0;
    overflow: hidden;
}

/* footer */
.footer {
    padding: 54px 0 27px;
    font-size: 16px;
}

/* Unopened CSS Modal */
.cssmodal {
    display: flex;
    position: fixed;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    opacity: 0;
    -webkit-transition: top 0s .5s, opacity .5s 0s;
    transition: top 0s .5s, opacity .5s 0s;
    z-index: 9999;
}

/* Opened CSS Modal */
.cssmodal:target {
    top: 0;
    opacity: 1;
    -webkit-transition: none;
    transition: none;
}

/* CSS Modal content */
.cssmodal figure {
    width: 90%;
    max-width: 700px;
    position: relative;
    padding-top: 0;
    opacity: 0;
    background-color: white;
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
    z-index: 9999;
}

/* Dialog modal style */
.cssmodal.dialog figure {
    background: white;
}

/* CSS Modal content when opened */
.cssmodal:target figure {
    opacity: 1;
}

/* style for small x link inside dialog modal */
.cssmodal.dialog .smallclose {
    text-decoration: none;
    position: absolute;
    right: 9px;
    top: 9px;
    z-index: 99999999;
}

.control {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    line-height: 100px;
    left: 0;
    top: 0;
    cursor: pointer;
    overflow: hidden;
}

.control:after,
.control:before {
    background: #000;
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    height: 2px;
    width: 24px;
}

.control:before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.control:after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* veil that covers page when CSS Modal is open */
.cssmodal .veil {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, .4);
    content: "";
    cursor: default;
    visibility: hidden;
    -webkit-transition: all .5s;
    transition: all .5s;
}

/* veil style when CSS Modal is open */
.cssmodal:target .veil {
    visibility: visible;
}








.about {
    padding-top: 90px;
}


table {
    width: auto;
    margin-bottom: 18px;
    border-spacing: 0;
    border-collapse: collapse;
}

th, td {
    text-align: left;
    vertical-align: top;
}

th:first-child, td:first-child {
    padding-right: 1.5em;
}

th {
    border-bottom: 1px solid #e9e9f0;
}

sup {
    position: relative;
    top: -7px;
    font-size: 14px;
}










@media (max-width:960px) {
    .poster-title {
        font-size: 65px;
        line-height: 63px;
    }

    .columns-group {
        width: 100%;
    }

}

@media (max-width:575px) {
    .poster {
        padding-bottom: 36px;
    }

    .poster-title {
        font-size: 43px;
        line-height: 45px;
    }

    .columns__col1,
    .columns__col2,
    .columns__col3 {
        width: 100%;
    }

    .about .columns__col1 {
        padding-bottom: 0;
    }

    .about .columns__col3 {
        padding-bottom: 36px;
    }

}

@media (max-width:374px) {
    .poster {
        padding-bottom: 27px;
    }

    .poster-title {
        font-size: 24px;
        line-height: 27px;
    }

    .poster-text {
        font-size: 20px;
    }

}