html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%
}

body {
    margin: 0
}

main {
    display: block
}

h1 {
    margin: .67em 0;
    font-size: 2em
}

hr {
    overflow: visible;
    height: 0;
    box-sizing: content-box
}

pre {
    font-family: monospace;
    font-size: 1em
}

a {
    background-color: transparent
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    position: relative;
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    display: table;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    color: inherit
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    padding: 0;
    box-sizing: border-box
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

[hidden] {
    display: none
}

@font-face {
    src: url(/local/templates/dentist/assets/fonts/ttnorms-200.woff2) format("woff2"), url(/local/templates/dentist/assets/fonts/ttnorms-200.woff) format("woff");
    font-family: TTNorms;
    font-weight: 200;
    font-style: normal;
    font-display: swap
}

@font-face {
    src: url(/local/templates/dentist/assets/fonts/ttnorms-400.woff2) format("woff2"), url(/local/templates/dentist/assets/fonts/ttnorms-400.woff) format("woff");
    font-family: TTNorms;
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    src: url(/local/templates/dentist/assets/fonts/ttnorms-500.woff2) format("woff2"), url(/local/templates/dentist/assets/fonts/ttnorms-500.woff) format("woff");
    font-family: TTNorms;
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    src: url(/local/templates/dentist/assets/fonts/ttnorms-700.woff2) format("woff2"), url(/local/templates/dentist/assets/fonts/ttnorms-700.woff) format("woff");
    font-family: TTNorms;
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

:root {
    --color-main: #1a1a1a;
    --color-alternate: #fff;
    --color-accent: #00c0c0;
    --color-default-background: #fff
}

*,
::after,
::before {
    box-sizing: border-box
}

* {
    scrollbar-color: var(--color-accent) var(--color-main);
    scrollbar-width: thin
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: var(--color-main)
}

::-webkit-scrollbar-thumb {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent)
}

picture {
    display: flex;
    align-items: center;
    justify-content: center
}

img {
    display: block;
    height: auto;
    max-width: 100%
}

textarea {
    resize: none
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0
}

input[type=file] {
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none
}

input[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield
}

svg {
    pointer-events: none
}

button {
    cursor: pointer
}

a {
    text-decoration: none;
    color: unset
}

a[href^="mailto:"],
a[href^="tel:"] {
    white-space: nowrap
}

b,
strong {
    font-weight: 500
}

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

[data-whatintent=mouse] :focus {
    outline: 0
}

.visually-hidden:not(:focus):not(:active),
input[type=checkbox].visually-hidden,
input[type=radio].visually-hidden {
    position: absolute;
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    overflow: hidden;
    margin: -1px;
    border: 0;
    padding: 0;
    width: 1px;
    height: 1px;
    white-space: nowrap;
    clip: rect(0 0 0 0)
}

.hide-scroll {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh
}

.container {
    margin: 0 auto;
    padding-right: 30px;
    padding-left: 30px;
    max-width: 1780px
}

.link {
    position: relative
}

.link::before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent)
}

.page__body {
    overflow-anchor: none;
    height: 100%;
    min-width: 320px;
    min-height: calc(var(--vh) * 100);
    font-family: TTNorms, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 35px;
    color: var(--color-main);
    background: var(--color-default-background)
}

.page__body::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 40;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.page__body--modal::before {
    opacity: 1
}

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

.button {
    border: none;
    border-radius: 80px;
    text-transform: uppercase;
    background-color: var(--color-alternate);
    transition: background-color .3s
}

.button:focus,
.button:hover {
    background-color: #d2ffff
}

.button--small {
    padding: 16px 32px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px
}

.button--big {
    padding: 28px 56px;
    font-weight: 700;
    font-size: 20px;
    line-height: 29px
}

.button--accent {
    color: var(--color-alternate);
    background-color: var(--color-accent)
}

.button--accent:focus,
.button--accent:hover {
    background-color: #6cdbdb
}

.title {
    margin: 0;
    font-weight: 500;
    font-size: 120px;
    line-height: 150px;
    text-transform: uppercase
}

.title--accent {
    color: var(--color-alternate)
}

.field {
    position: relative;
    display: grid
}

.field--consent .field__error {
    margin-left: 55px;
    padding-left: 0
}

.field--consent .field__error::before {
    display: none
}

.field__input {
    display: flex;
    outline: 0;
    border: 2px solid transparent;
    border-radius: 60px;
    padding: 18px 38px;
    width: 100%;
    min-height: 85px;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    color: var(--color-main);
    background-color: #f0fbfb;
    transition: color .3s, border .3s, box-shadow .3s, background-color .3s
}

.field__input::-moz-placeholder {
    color: #898989;
    -moz-transition: color .3s;
    transition: color .3s
}

.field__input::placeholder {
    color: #898989;
    transition: color .3s
}

.field__input:-webkit-autofill,
.field__input:-webkit-autofill:active,
.field__input:-webkit-autofill:focus,
.field__input:-webkit-autofill:hover {
    -webkit-text-fill-color: var(--color-main) !important;
    -webkit-transition: background-color 5000s ease-in-out 0s;
    transition: background-color 5000s ease-in-out 0s
}

.field__input:focus-within,
.field__input:hover {
    border: 2px solid #00c0c0;
    box-shadow: 0 0 16px rgba(108, 219, 219, .4)
}

.field__input--message {
    border-radius: 43px;
    scrollbar-width: none
}

.field__input--message::-webkit-scrollbar {
    width: 0;
    height: 0
}

.field__input--message::-webkit-scrollbar-thumb {
    width: 0;
    height: 0
}

.field__label--consent {
    position: relative;
    padding-left: 55px;
    font-size: 20px;
    line-height: 35px;
    cursor: pointer
}

.field__label--consent::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    border: 2px solid rgba(204, 204, 204, .6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #f4f4f4;
    transform: translateY(-50%);
    transition: background-color .3s, border .3s
}

.field__label--consent::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 11px;
    height: 8px;
    background-image: url(/local/templates/dentist/assets/images/common/field-consent.svg);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .3s
}

.field__error {
    position: relative;
    display: flex;
    align-items: center;
    padding: 2px 0;
    padding-left: 32px;
    min-height: 28px;
    font-size: 16px;
    line-height: 24px;
    color: #ef5959;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.field__error::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 24px;
    height: 24px;
    background-image: url(/local/templates/dentist/assets/images/common/error.svg);
    background-size: cover;
    transform: translateY(-50%)
}

.field input:checked~.field__label::before {
    border: 2px solid transparent;
    background-color: rgba(230, 249, 249, .6)
}

.field input:checked~.field__label::after {
    opacity: 1
}

.field--error .field__input {
    border: 2px solid #ef5959;
    color: #ef5959;
    background-color: #fff9f9
}

.field--error .field__input::-moz-placeholder {
    color: #ef5959
}

.field--error .field__input::placeholder {
    color: #ef5959
}

.field--error .field__error {
    opacity: 1
}

.field--choices {
    position: relative;
    z-index: 2;
    margin-bottom: 20px
}

.field__select {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    outline: 0;
    border: 2px solid transparent;
    border-radius: 60px;
    padding: 18px 60px 18px 38px;
    width: 100%;
    min-height: 85px;
    max-width: 560px;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px;
    color: var(--color-main);
    background-color: #f0fbfb;
    transition: color .3s, border .3s, box-shadow .3s, background-color .3s
}

.field__select:focus,
.field__select:hover {
    border: 2px solid #00c0c0;
    box-shadow: 0 0 16px rgba(108, 219, 219, .4)
}

.field__select--active {
    border: 2px solid #00c0c0;
    box-shadow: none
}

.field__select--active .field__placeholder {
    color: var(--color-main)
}

.field__placeholder {
    color: #898989;
    transition: color .3s;
    pointer-events: none
}

.field__placeholder--hidden {
    display: none
}

.field__value {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none
}

.field__value--hidden {
    display: none
}

.field__icon {
    position: absolute;
    right: 40px;
    top: 50%;
    width: 14px;
    height: 8px;
    background-size: cover;
    transform: translateY(-50%);
    pointer-events: none
}

.field__icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(/local/templates/dentist/assets/images/common/field-arrow.svg);
    background-size: cover
}

.field__options-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    border-radius: 42px;
    box-shadow: 0 0 16px rgba(108, 219, 219, .4);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.field__options-wrapper--opened {
    opacity: 1;
    pointer-events: visible
}

.field__options {
    left: 0;
    right: 0;
    top: 0;
    display: grid;
    overflow: hidden;
    border-radius: 60px 60px 42px 42px;
    padding: 100px 0 12px;
    background: #f0fbfb
}

.field__option {
    border: none;
    padding: 16px 40px;
    font-size: 24px;
    line-height: 35px;
    text-align: left;
    background-color: transparent;
    transition: background-color .3s, color .3s
}

.field__option:focus,
.field__option:hover {
    background-color: #cff2f2
}

.field__option--current {
    color: var(--color-accent)
}

.link-arrow {
    display: flex;
    align-items: center;
    justify-self: start
}

.link-arrow span {
    position: relative;
    margin-right: 12px;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    text-transform: uppercase;
    color: var(--color-accent);
    transition: color .3s
}

.link-arrow span::before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: #82ffff;
    opacity: 0;
    transition: opacity .3s
}

.link-arrow svg {
    width: 24px;
    height: 10px;
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 1px;
    transition: stroke .3s
}

.link-arrow:focus span,
.link-arrow:hover span {
    color: #14e8e8
}

.link-arrow:focus span::before,
.link-arrow:hover span::before {
    opacity: 1
}

.link-arrow:focus svg,
.link-arrow:hover svg {
    width: 24px;
    height: 10px;
    fill: none;
    stroke: #14e8e8;
    stroke-width: 1px
}

.button-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border: none;
    border-radius: 80px;
    padding: 24px;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-alternate);
    background-color: var(--color-accent);
    transition: background-color .3s
}

.button-circle:focus,
.button-circle:hover {
    background-color: #6cdbdb
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    margin: -5px -15px;
    font-size: 16px;
    line-height: 24px;
    color: #999
}

.crumbs a {
    position: relative;
    display: flex;
    margin: 5px 15px;
    color: #999;
    transition: color .3s
}

.crumbs a::before {
    content: "";
    position: absolute;
    right: -22px;
    top: 50%;
    width: 14px;
    height: 10px;
    background-image: url(/local/templates/dentist/assets/images/common/crumb-arrow.svg);
    background-size: cover;
    transform: translateY(-50%);
    pointer-events: none
}

.crumbs a:focus,
.crumbs a:hover {
    color: var(--color-accent)
}

.crumbs span {
    margin: 5px 15px
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    padding: 65px 0;
    width: 100%;
    background-color: #00c0c0;
    transition: background-color .3s, padding-top .3s, padding-bottom .3s
}

.header--home {
    background-color: transparent
}

.header--accent,
.header--accent-menu {
    padding: 32px 0;
    background-color: #00c0c0
}

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

.header__logo {
    margin-right: 54px
}

.header__menu-toggle {
    position: relative;
    display: flex;
    flex-shrink: 0;
    margin-right: 24px;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    background-color: transparent
}

.header__menu-toggle span {
    position: absolute;
    left: 6px;
    top: 50%;
    display: block;
    border-radius: 4px;
    height: 2px;
    background-color: var(--color-alternate);
    transform: translateY(-50%);
    pointer-events: none
}

.header__menu-toggle span:nth-child(1) {
    margin-top: -8px;
    width: 28px
}

.header__menu-toggle span:nth-child(2) {
    width: 20px
}

.header__menu-toggle span:nth-child(3) {
    margin-top: 8px;
    width: 28px
}

.header__menu-toggle span:nth-child(4) {
    left: 50%;
    z-index: -1;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    background-color: #16cccc;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity .3s
}

.header__menu-toggle:focus-within span:nth-child(4),
.header__menu-toggle:hover span:nth-child(4) {
    opacity: 1
}

.header__nav {
    margin-right: 42px
}

.header__contacts-wrapper {
    display: flex;
    margin-right: 24px;
    margin-left: auto
}

.header__phone {
    display: flex;
    align-items: center;
    grid-column-gap: 8px;
    margin-right: 16px;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: .05em;
    color: var(--color-alternate);
    transition: color .3s
}

.header__phone span {
    position: relative;
    margin-left: 8px
}

.header__phone span::before {
    content: "";
    position: absolute;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: #82ffff;
    opacity: 0;
    transition: opacity .3s
}

.header__phone svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: var(--color-alternate);
    stroke-width: 2px
}

.header__phone:focus-within,
.header__phone:hover {
    color: #82ffff
}

.header__phone:focus-within span::before,
.header__phone:hover span::before {
    opacity: 1
}

.header__social-list {
    display: flex;
    margin: -4px
}

.header__social-item {
    display: flex;
    align-self: center;
    margin: 4px
}

.header__social-logo {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    transition: opacity .3s
}

.header__social-logo:focus,
.header__social-logo:hover {
    opacity: .8
}

.header__modal-open {
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
    color: var(--color-main);
}

.menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -100;
    display: grid;
    overflow: auto;
    padding: 40px;
    width: 100%;
    height: calc(var(--vh) * 100);
    max-height: 100%;
    opacity: 0;
    transform: translateX(-10%);
    pointer-events: none
}

.menu--opened {
    z-index: 50;
    opacity: 1;
    transform: translateX(0);
    transition: opacity .3s, transform .3s;
    pointer-events: visible
}

.menu__container {
    position: fixed;
    top: 0;
    bottom: 0;
    display: grid;
    align-content: start;
    overflow: auto;
    padding-bottom: 20px;
    width: 100%;
    max-width: 420px;
    max-height: 100%;
    background-color: var(--color-alternate)
}

.menu__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px
}

.menu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    background-color: transparent
}

.menu__list {
    display: grid;
    margin-bottom: 8px
}

.menu__item {
    display: flex;
    background-color: var(--color-alternate)
}

.menu__link,
.menu__link2 {
    padding: 12px;
    padding: 20px;
    width: 100%;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: uppercase;
    transition: background-color .3s
}

.menu__link:focus,
.menu__link:hover,
.menu__link2:focus,
.menu__link2:hover {
    background-color: #e6f9f9
}

.menu__contacts-wrapper {
    display: flex;
    align-items: center;
    padding: 0 20px
}

.menu__modal-open {
    justify-self: start;
    margin-bottom: 24px;
    margin-left: 20px
}

.menu__phone {
    margin-right: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    transition: color .3s
}

.menu__phone:focus,
.menu__phone:hover {
    color: var(--color-accent)
}

.menu__social-list {
    display: flex;
    margin: -2px
}

.menu__social-item {
    display: flex;
    margin: 2px
}

.menu__social-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: opacity .3s
}

.menu__social-logo img {
    border-radius: 50%;
    width: 28px;
    height: 28px
}

.menu__social-logo:focus,
.menu__social-logo:hover {
    opacity: .8
}

.nav__list {
    display: flex;
    flex-wrap: wrap;
    margin: -10px
}

.nav__item {
    display: flex;
    margin: 10px
}

.nav__link {
    position: relative;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--color-alternate);
    transition: color .3s
}

.nav__link::before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background-color: #82ffff;
    opacity: 0;
    transition: opacity .3s
}

.nav__link:focus,
.nav__link:hover {
    color: #82ffff
}

.nav__link:focus::before,
.nav__link:hover::before {
    opacity: 1
}

.main {
    flex: 1 0 auto;
    overflow-x: hidden;
}

.home-preview {
    position: relative;
    padding-top: 275px;
    padding-bottom: 145px
}

.home-preview__container {
    position: relative;
    z-index: 1;
    display: grid;
    justify-content: space-between;
    grid-column-gap: 40px;
    grid-template-columns: minmax(320px, 1120px) -webkit-max-content;
    grid-template-columns: minmax(320px, 1120px) max-content
}

.home-preview__title {
    grid-column: 1/2;
    margin-bottom: 96px
}

.home-preview__wrapper {
    display: grid;
    align-content: start;
    grid-column: 1/2;
    margin-top: -218px;
    margin-left: 533px
}

.home-preview__description {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 30px
}

.home-preview__list {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1/2;
    margin: -28px
}

.home-preview__item {
    padding: 28px
}

.home-preview__background-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    pointer-events: none
}

.home-preview__background {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: grid;
    -webkit-mask-image: url(/local/templates/dentist/assets/images/common/home-preview-mask.svg);
    mask-image: url(/local/templates/dentist/assets/images/common/home-preview-mask.svg);
    -webkit-mask-size: cover;
    mask-size: cover;
    margin-bottom: 220px;
    margin-left: 350px;
    width: 3180px;
    height: 3358px;
    transform: translateX(-50%)
}

.home-preview__video {
    position: absolute;
    left: 50%;
    bottom: 0;
    justify-self: center;
    margin-left: -350px;
    width: 100vw;
    transform: translateX(-50%)
}

.service-info {
    position: relative
}

.service-info:focus-within .service-info__popup,
.service-info:hover .service-info__popup {
    z-index: 1;
    opacity: 1;
    pointer-events: visible
}

.service-info__button {
    display: flex;
    align-items: center;
    border: none;
    padding: 0;
    color: var(--color-main);
    background-color: transparent
}

.service-info__icon {
    position: relative;
    margin-right: 20px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: var(--color-main);
    pointer-events: none
}

.service-info__icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    background-color: var(--color-alternate);
    transform: translate(-50%, -50%)
}

.service-info__name {
    position: relative;
    padding-bottom: 12px;
    font-size: 30px;
    line-height: 35px;
    text-align: left;
    pointer-events: none;
    color: #1a1a1a;
}

.service-info__name::before {
    content: "";
    position: absolute;
    bottom: 6px;
    width: 100%;
    height: 1px;
    background-color: var(--color-main)
}

.service-info__popup {
    position: absolute;
    left: 88px;
    border-radius: 16px;
    padding: 36px;
    width: 640px;
    box-shadow: 0 24px 38px rgba(0, 0, 0, .04), 0 9px 46px rgba(0, 0, 0, .06), 0 11px 15px rgba(0, 0, 0, .1);
    background-color: var(--color-alternate);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.service-info__popup h3 {
    margin: 0 0 16px;
    font-weight: 600;
    font-size: 30px;
    line-height: 37px
}

.service-info__popup p {
    margin: 0;
    font-size: 24px;
    line-height: 35px
}

.service-info__popup a {
    color: #00c0c0;
    transition: color .3s
}

.service-info__popup a:focus,
.service-info__popup a:hover {
    color: #14e8e8
}

.service-info__popup--top {
    bottom: 81px
}

.service-info__popup--bottom {
    top: 81px
}

.home-about {
    position: relative;
    padding-top: 188px;
    padding-bottom: 288px;
}

.home-about__container {
    display: grid;
    justify-content: space-between;
    grid-column-gap: 40px;
    grid-template-columns: minmax(320px, 794px) auto;
}

.home-about__info-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    margin: 0 0 70px;
}

.home-about__title {
    grid-column: 1/2;
    margin-bottom: 28px;
}

.home-about__description {
    grid-column: 1/2;
    margin: 0;
    font-size: 30px;
    line-height: 45px;
    color: var(--color-alternate);
}

.home-about__figure {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 100%;
}

.home-about__image-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-mask-image: url(/local/templates/dentist/assets/images/common/home-about-mask.svg);
    mask-image: url(/local/templates/dentist/assets/images/common/home-about-mask.svg);
    margin-top: -30px;
    margin-left: -100px;
    width: 2570px;
    height: 1147px;
    transform: translate(-50%, -50%);
}

.home-about__image {
    position: absolute;
    margin-left: -320px;
}

.home-about__caption {
    position: relative;
    z-index: 1;
    align-self: end;
    justify-self: end;
    margin: 0;
    border-radius: 60px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    text-transform: uppercase;
    background-color: var(--color-alternate);
}

.home-about__wrapper {
    position: relative;
    z-index: 1;
    grid-column: 1/2;
    border-radius: 60px;
    padding: 67px 73px 52px;
    background-color: var(--color-alternate);
}

.home-about__modal-open {
    position: absolute;
    right: 0;
    top: -110px;
    z-index: 1;
    overflow: hidden;
    border: none;
    border-radius: 50%;
    padding: 0;
    width: 156px;
    height: 156px;
    background-color: transparent;
    cursor: pointer;
}

.home-about__video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

@-webkit-keyframes rot {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

@keyframes rot {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.home-about__video-text {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    z-index: 2;
    animation: 15s linear 0s normal none infinite running rot;
    animation: 15s linear 0s normal none infinite running rot;
    pointer-events: none;
}

.home-about__video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    fill: var(--color-alternate);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.home-about__info {
    display: flex;
    align-items: center;
}

.home-about__info-count {
    display: flex;
    margin: 0;
    margin-right: 27px;
    font-weight: 500;
    font-size: 150px;
    line-height: 90px;
}

.home-about__info-count span {
    align-self: start;
    margin-top: -35px;
    font-weight: 100;
    font-size: 100px;
    line-height: 90px;
}

.home-about__info-detail {
    margin: 0;
    line-height: 30px;
}

.home-about__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: -10px;
    padding-top: 55px;
}

.home-about__item {
    margin: 10px;
}

.home-about__item:nth-child(1) {
    justify-self: start;
}

.home-about__item:nth-child(2) {
    justify-self: center;
}

.home-about__item:nth-child(3) {
    justify-self: end;
}

.home-history {
    overflow: hidden;
    padding-top: 144px;
    padding-bottom: 180px
}

.home-history__title {
    margin-bottom: 87px
}

.home-history__swiper:hover {
    cursor: url(/local/templates/dentist/assets/images/common/cursor-pointer.svg), pointer
}

.home-history__list {
    position: relative;
    display: flex;
    align-items: flex-start
}

.home-history__item {
    position: relative;
    display: grid;
    flex-shrink: 0;
    grid-template-rows: -webkit-max-content 1fr -webkit-max-content;
    grid-template-rows: max-content 1fr max-content
}

.home-history__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 36px;
    z-index: -1;
    width: 100%;
    height: 2px;
    background-color: var(--color-main)
}

.home-history__date {
    position: relative;
    justify-self: start;
    margin: 0 0 42px;
    border-radius: 50px;
    padding: 20px 30px;
    font-weight: 500;
    font-size: 30px;
    line-height: 35px;
    color: var(--color-alternate);
    background-color: var(--color-main)
}

.home-history__date::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    border: 6px solid var(--color-alternate);
    border-radius: 50px;
    width: calc(100% - 4px);
    height: calc(100% - 4px)
}

.home-history__description {
    margin-bottom: 40px
}

.home-history__description p {
    margin: 0
}

.home-history__logo-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: -15px
}

.home-history__logo-item {
    margin: 15px
}

.home-services {
    padding-top: 147px;
    padding-bottom: 217px;
    background-image: url(/local/templates/dentist/assets/images/common/home-services-background.svg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat
}

.home-services__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
}

.home-services__title {
    grid-column: 1/3;
    margin-bottom: 85px
}

.home-services__list {
    display: grid;
    grid-column: 1/-1;
    grid-gap: 40px;
    grid-template-columns: repeat(3, 1fr)
}

.home-service {
    position: relative;
    overflow: hidden;
    border-radius: 60px;
    padding-bottom: 134%;
    width: 100%;
    height: 0
}

.home-service__wrapper {
    position: absolute;
    z-index: 1;
    display: grid;
    align-content: end;
    padding: 63px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s
}

.home-service__wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    z-index: -1;
    border-radius: 60px;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0, rgba(26, 26, 26, 0) 56.02%, rgba(26, 26, 26, .8) 100%)
}

.home-service__title {
    margin: 0 0 20px;
    font-weight: 700;
    font-size: 38px;
    line-height: 45px;
    color: var(--color-alternate)
}

.home-service__description {
    margin: 0;
    font-size: 24px;
    line-height: 35px;
    color: var(--color-alternate)
}

.home-service__image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%
}

.home-service__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.home-service:focus-within .home-service__wrapper,
.home-service:hover .home-service__wrapper {
    opacity: 1
}

.home-portfolio {
    overflow: hidden;
    padding-top: 150px
}

.home-portfolio__container {
    display: grid
}

.home-portfolio__title {
    margin-bottom: 80px
}

.home-portfolio__works {
    margin-bottom: 96px
}

.home-portfolio__button {
    display: none
}

.home-portfolio__button--visible {
    display: flex
}

.portfolio-works {
    display: none
}

.portfolio-works--opened {
    display: grid
}

.portfolio-works__title {
    display: flex;
    margin: 0 0 63px
}

.portfolio-works__title img {
    margin-right: 25px;
    border-radius: 50%;
    width: 87px;
    height: 87px;
    -o-object-fit: cover;
    object-fit: cover
}

.portfolio-works__title span {
    align-self: center;
    font-weight: 500;
    font-size: 40px;
    line-height: 47px
}

.portfolio-works__swiper {
    display: flex;
    max-width: 1720px
}

.portfolio-works__list {
    display: flex
}

.portfolio-work {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: column
}

.portfolio-work__preview-wrapper {
    position: relative;
    transition: opacity .3s;
    pointer-events: none
}

.portfolio-work__wrapper {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    border-radius: 60px;
    padding: 15px;
    background-color: var(--color-alternate);
    transform: translateY(-50%)
}

.portfolio-work__title {
    order: 3;
    margin: 0;
    font-weight: 400;
    font-size: 24px;
    line-height: 35px
}

.portfolio-work__avatar {
    order: 1;
    margin-right: 26px;
    width: 45px;
    height: 45px
}

.portfolio-work__avatar img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.portfolio-work__client-name {
    order: 2;
    margin: 0;
    margin-right: 20px;
    font-weight: 500;
    font-size: 24px;
    line-height: 35px
}

.portfolio-work__before-wrapper {
    position: relative;
    margin: 0;
    width: 100%
}

.portfolio-work__before-image {
    position: relative;
    margin: 0;
    padding-bottom: 46%;
    width: 100%;
    height: 0
}

.portfolio-work__before-image img {
    position: absolute;
    top: 0;
    border-radius: 60px 60px 0 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.portfolio-work__before-caption {
    position: absolute;
    left: 30px;
    top: 30px;
    border-radius: 30px;
    padding: 5px 15px;
    font-weight: 500;
    font-size: 16px;
    line-height: 35px;
    text-transform: uppercase;
    background-color: var(--color-alternate)
}

.portfolio-work__after-wrapper {
    position: relative;
    margin: 0;
    width: 100%
}

.portfolio-work__after-image {
    position: relative;
    margin: 0;
    padding-bottom: 46%;
    width: 100%;
    height: 0
}

.portfolio-work__after-image img {
    position: absolute;
    top: 0;
    border-radius: 0 0 60px 60px;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.portfolio-work__after-caption {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 1;
    border-radius: 30px;
    padding: 5px 15px;
    font-weight: 500;
    font-size: 16px;
    line-height: 35px;
    text-transform: uppercase;
    background-color: var(--color-alternate)
}

.portfolio-work__detail-wrapper {
    position: absolute;
    z-index: -1;
    display: grid;
    align-content: center;
    border-radius: 60px;
    padding: 57px;
    width: 100%;
    height: 100%;
    text-align: center;
    background: #e6f9f9;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.portfolio-work__detail-title {
    margin: 0 0 20px;
    font-weight: 500;
    font-size: 30px;
    line-height: 35px
}

.portfolio-work__detail-text {
    margin: 0
}

.home-reviews {
    margin-top: -100px;
    padding-top: 240px;
    padding-bottom: 262px;
    background-image: url(/local/templates/dentist/assets/images/common/home-reviews-background.svg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat
}

.home-reviews__container {
    display: grid
}

.home-reviews__title {
    margin-bottom: 60px
}

.home-reviews__list {
    display: grid;
    grid-gap: 40px;
    grid-template-columns: repeat(2, 1fr)
}

.home-review {
    display: grid;
    border-radius: 60px;
    padding: 68px 72px 50px;
    background-color: var(--color-alternate)
}

.home-review__blockquote {
    display: flex;
    flex-wrap: wrap;
    margin: 0
}

.home-review__image {
    position: relative;
    margin-right: 30px;
    width: 106px;
    height: 106px
}

.home-review__image::before {
    content: "";
    position: absolute;
    width: 23px;
    height: 23px;
    background-image: url(/local/templates/dentist/assets/images/common/home-reviews-avatar-decor.svg);
    background-size: cover;
    background-repeat: no-repeat
}

.home-review__image img {
    border-radius: 40px;
    width: 100%;
    height: 100%;
    background-color: #e6f9f9;
    -o-object-fit: cover;
    object-fit: cover
}

.home-review__author {
    align-self: center;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    line-height: 35px
}

.home-review__message {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 12px;
    padding-top: 28px;
    width: 100%;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7
}

.home-review__message p {
    margin: 0 0 30px
}

.home-review__link {
    align-self: end
}

.home-review:nth-child(1) .home-review__image::before,
.home-review:nth-child(13) .home-review__image::before,
.home-review:nth-child(5) .home-review__image::before,
.home-review:nth-child(9) .home-review__image::before {
    right: 0;
    top: 1px
}

.home-review:nth-child(10) .home-review__image::before,
.home-review:nth-child(14) .home-review__image::before,
.home-review:nth-child(2) .home-review__image::before,
.home-review:nth-child(6) .home-review__image::before {
    left: -6px;
    bottom: 3px
}

.home-review:nth-child(11) .home-review__image::before,
.home-review:nth-child(15) .home-review__image::before,
.home-review:nth-child(3) .home-review__image::before,
.home-review:nth-child(7) .home-review__image::before {
    left: -7px;
    top: 12px
}

.home-review:nth-child(12) .home-review__image::before,
.home-review:nth-child(16) .home-review__image::before,
.home-review:nth-child(4) .home-review__image::before,
.home-review:nth-child(8) .home-review__image::before {
    right: 11px;
    bottom: -7px
}

.home-competence {
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 185px
}

.home-competence__title {
    margin-bottom: 80px
}

.home-competence__swiper:hover {
    cursor: url(/local/templates/dentist/assets/images/common/cursor-pointer.svg), pointer
}

.home-competence__list {
    display: flex;
    width: 100%
}

.home-competence__item {
    position: relative;
    display: flex;
    flex-shrink: 0
}

.home-competence__item::before {
    content: "";
    position: absolute;
    right: -40px;
    top: 0;
    bottom: 0;
    width: 40px;
    background-color: transparent
}

.home-competence__item img {
    border-radius: 60px;
    width: 100%;
    height: auto;
    max-width: 600px;
}

.home-answers {
    padding-top: 180px;
    padding-bottom: 260px;
    background-image: url(/local/templates/dentist/assets/images/common/home-answers-background.svg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat
}

.home-answers__container {
    display: grid
}

.home-answers__title {
    margin-bottom: 55px
}

.home-answers__list {
    display: grid;
    grid-row-gap: 40px
}

.home-answers__item {
    position: relative;
    display: grid
}

.home-answers__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    border: 3px solid #00c0c0;
    border-radius: 75px;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.home-answers__item:focus-within::before,
.home-answers__item:hover::before {
    opacity: 1
}

.home-answers__button {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 75px;
    padding: 44px 44px 44px 70px;
    min-height: 150px;
    text-align: left;
    color: var(--color-main);
    background-color: var(--color-alternate)
}

.home-answers__question {
    margin-right: 26px;
    font-weight: 500;
    font-size: 40px;
    line-height: 47px;
    color: var(--colo-main);
    pointer-events: none
}

.home-answers__count {
    margin-right: 4px;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    color: var(--color-accent);
    background-color: rgba(0, 192, 192, .1);
    pointer-events: none
}

.home-answers__icon {
    position: relative;
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    background-color: var(--color-accent);
    pointer-events: none
}

.home-answers__icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2px;
    background-color: var(--color-alternate);
    transform: translate(-50%, -50%)
}

.home-answers__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    background-color: var(--color-alternate);
    transform: translate(-50%, -50%);
    transition: height .6s
}

.home-answers__info-wrapper {
    position: relative;
    margin-top: -150px;
    border-radius: 75px;
    background-color: var(--color-alternate)
}

.home-answers__info-list {
    display: grid;
    grid-row-gap: 67px
}

.home-answers__info-item {
    display: grid
}

.home-answers__info-item h3 {
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 40px;
    line-height: 47px
}

.home-answers__info-item p {
    margin: 0 0 20px
}

.home-answers__info-item a {
    color: var(--color-accent);
    transition: color .3s
}

.home-answers__info-item a:focus,
.home-answers__info-item a:hover {
    color: #14e8e8
}

.home-answers__info-item img {
    justify-self: center;
    margin: 40px 0;
    border-radius: 30px;
    display: block;
    margin: auto;
}

.home-answers__button[aria-expanded=false] {
    background-color: var(--color-alternate);
    transition: background-color .3s
}

.home-answers__button[aria-expanded=false] .home-answers__icon::after {
    height: 24px
}

.home-answers__button[aria-expanded=false]~.home-answers__info-wrapper {
    overflow: hidden;
    padding: 0;
    height: 0;
    pointer-events: none
}

.home-answers__button[aria-expanded=false]~.home-answers__info-wrapper .home-answers__info-list {
    opacity: 0;
    transition: none
}

.home-answers__button[aria-expanded=true] .home-answers__icon::after {
    height: 0
}

.home-answers__button[aria-expanded=true]~.home-answers__info-wrapper {
    position: relative;
    padding: 160px 70px 30px 70px;
    transition: height .6s, padding-top .6s, padding-bottom .6s
}

.home-answers__button[aria-expanded=true]~.home-answers__info-wrapper .home-answers__info-list {
    opacity: 1;
    transition: opacity .6s;
    transition-delay: .3s
}

.home-answers__button[aria-expanded=false] {
    transition: box-shadow .3s, background-color .3s
}

.home-answers__button[aria-expanded=false]:focus,
.home-answers__button[aria-expanded=false]:hover {
    background-color: #f0fbfb
}

.home-stay {
    margin-bottom: 166px;
    padding-top: 156px
}

.home-stay__container {
    display: grid;
    justify-content: space-between;
    grid-column-gap: 20px;
    grid-template-columns: minmax(460px, 546px) minmax(100px, 546px) minmax(320px, 546px)
}

.home-stay__title {
    align-self: start;
    justify-self: start;
    grid-column: 1/3;
    margin-bottom: 80px
}

.home-stay__contacts-wrapper {
    display: flex;
    align-items: center;
    grid-column: 1/3;
    margin-bottom: 80px
}

.home-stay__phone {
    align-self: center;
    justify-self: start;
    margin-right: 36px;
    font-size: 80px;
    line-height: 90px;
    transition: color .3s
}

.home-stay__phone:focus,
.home-stay__phone:hover {
    color: var(--color-accent)
}

.home-stay__social-list {
    display: flex;
    margin: -8px
}

.home-stay__social-item {
    margin: 8px
}

.home-stay__social-logo {
    display: flex;
    transition: opacity .3s
}

.home-stay__social-logo img {
    border-radius: 50%;
    width: 64px;
    height: 64px
}

.home-stay__social-logo:focus,
.home-stay__social-logo:hover {
    opacity: .8
}

.home-stay__list {
    display: flex;
    flex-wrap: wrap;
    align-self: end;
    justify-self: start;
    grid-column: 1/2
}

.home-stay__item:not(:nth-child(4)) {
    margin-right: 40px
}

.home-stay__logo {
    transition: opacity .3s
}

.home-stay__logo img {
    border-radius: 50%;
    width: 85px;
    height: 85px
}

.home-stay__logo:focus,
.home-stay__logo:hover {
    opacity: .8
}

.home-stay__email {
    align-self: end;
    justify-self: start;
    grid-column: 2/3;
    margin: 25px 0;
    font-size: 30px;
    line-height: 35px;
    transition: color .3s
}

.home-stay__email::before {
    transition: opacity .3s
}

.home-stay__email:focus,
.home-stay__email:hover {
    color: var(--color-accent)
}

.home-stay__email:focus::before,
.home-stay__email:hover::before {
    opacity: 0
}

.home-stay__form {
    grid-column: 3/4;
    grid-row: 1/4
}

.home-stay-form {
    display: grid;
    align-content: start
}

.home-stay-form__message {
    margin-bottom: 40px;
    min-height: 171px
}

.home-stay-form__consent {
    margin-bottom: 16px
}

.home-stay-form__submit {
    width: 100%
}

.footer {
    position: relative;
    overflow: hidden;
    padding-top: 193px;
    padding-bottom: 128px
}

.footer::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    z-index: -1;
    width: 3519px;
    height: 1186px;
    background-image: url(/local/templates/dentist/assets/images/common/footer-background.svg);
    transform: translateX(-50%)
}

.footer__container {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: repeat(3, minmax(200px, 547px));
    grid-template-rows: -webkit-max-content 1fr -webkit-max-content;
    grid-template-rows: max-content 1fr max-content
}

.footer__logo {
    align-self: start;
    justify-self: start;
    grid-column: 1/2;
    grid-row: 1/2;
    margin-bottom: 40px;
    width: 229px;
    height: 26px;
    transition: opacity .3s
}

.footer__logo:focus,
.footer__logo:hover {
    opacity: .8
}

.footer__description {
    align-self: start;
    grid-column: 1/2;
    margin-bottom: 95px;
    max-width: 400px;
    font-size: 11px;
    line-height: 20px
}

.footer__list {
    display: grid;
    align-self: start;
    justify-items: start;
    grid-column: 2/3;
    grid-row: 1/3;
    grid-row-gap: 20px;
    margin-bottom: 95px
}

.footer__item {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase
}

.footer__item a {
    position: relative;
    display: flex
}

.footer__item a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: var(--color-main);
    opacity: 0;
    transition: opacity .3s
}

.footer__item a:focus::before,
.footer__item a:hover::before {
    opacity: 1
}

.footer__contacts-wrapper {
    display: grid;
    align-self: start;
    justify-self: end;
    grid-column: 3/4;
    grid-column-gap: 16px;
    grid-row: 1/2;
    grid-template-columns: repeat(2, -webkit-max-content);
    grid-template-columns: repeat(2, max-content);
    margin-bottom: 40px
}

.footer__phone {
    display: grid;
    align-items: center;
    grid-column-gap: 8px;
    grid-template-columns: 28px -webkit-max-content;
    grid-template-columns: 28px max-content;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px
}

.footer__phone span {
    transition: color .3s
}

.footer__phone svg {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2px
}

.footer__phone:focus span,
.footer__phone:hover span {
    color: var(--color-accent)
}

.footer__social-list {
    display: grid;
    grid-auto-flow: column;
    grid-gap: 8px
}

.footer__social-item {
    display: grid
}

.footer__social-logo {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    transition: opacity .3s
}

.footer__social-logo:focus,
.footer__social-logo:hover {
    opacity: .8
}

.footer__modal-open {
    align-self: start;
    justify-self: end;
    grid-column: 3/4;
    grid-row: 2/3;
    color: var(--color-main);
    margin-bottom: 95px
}

.footer__copyright {
    justify-self: start;
    grid-column: 1/2;
    grid-row: 3/4;
    margin: 0;
    font-size: 20px;
    line-height: 30px
}

.footer__policy {
    justify-self: start;
    grid-column: 2/3;
    grid-row: 3/4;
    font-size: 20px;
    line-height: 30px;
    transition: color .3s
}

.footer__policy::before {
    transition: opacity .3s
}

.footer__policy:focus,
.footer__policy:hover {
    color: var(--color-accent)
}

.footer__policy:focus::before,
.footer__policy:hover::before {
    opacity: 0
}

.footer__developed {
    justify-self: end;
    grid-column: 3/4;
    grid-row: 3/4;
    margin: 0;
    font-size: 20px;
    line-height: 30px
}

.footer__developed a {
    display: inline-block;
    transition: color .3s
}

.footer__developed a::before {
    transition: opacity .3s
}

.footer__developed a:focus,
.footer__developed a:hover {
    color: var(--color-accent)
}

.footer__developed a:focus::before,
.footer__developed a:hover::before {
    opacity: 0
}

.modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -100;
    display: grid;
    overflow: auto;
    padding: 40px;
    width: 100%;
    height: calc(var(--vh) * 100);
    max-height: 100%;
    opacity: 0;
    transform: translateY(10%);
    pointer-events: none
}

.modal--header {
    padding: 0
}

.modal--opened {
    z-index: 50;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .3s, transform .3s;
    pointer-events: visible
}

.modal__container {
    position: relative;
    display: grid;
    align-items: center;
    justify-items: center;
    margin: auto;
    border-radius: 30px;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 24px 38px rgba(0, 0, 0, .04), 0 9px 46px rgba(0, 0, 0, .06), 0 11px 15px rgba(0, 0, 0, .1);
    background-color: var(--color-alternate)
}

.modal__container--video {
    max-width: 960px
}

.modal__close {
    position: absolute;
    right: 40px;
    top: 32px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    background-color: transparent
}

.modal__close svg {
    width: 40px;
    height: 40px;
    fill: var(--color-main);
    transition: fill .3s
}

.modal__close:focus svg,
.modal__close:hover svg {
    fill: var(--color-accent)
}

.modal__content {
    position: absolute;
    z-index: -100;
    display: none;
    overflow: hidden;
    padding: 24px 40px 40px;
    width: 100%;
    height: 0;
    max-width: 640px;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none
}

.modal__content--opened {
    position: relative;
    z-index: 0;
    display: grid;
    height: auto;
    opacity: 1;
    pointer-events: visible
}

.modal__title {
    margin: 0;
    font-weight: 600;
    font-size: 40px;
    line-height: 56px;
    color: var(--color-main)
}

.modal__wrapper {
    display: grid;
    align-items: center;
    grid-column: 1/-1;
    grid-column-gap: 20px;
    grid-template-columns: 1fr 1fr
}

.modal__submit {
    justify-self: end;
    width: 100%
}

.modal-questions__title {
    margin-bottom: 40px
}

.modal-questions {
    display: grid;
    align-content: start
}

.modal-questions__message {
    margin-bottom: 40px;
    min-height: 171px
}

.modal-questions__consent {
    margin-bottom: 16px
}

.modal-questions__submit {
    width: 100%
}

.modal-consultation__title {
    margin-bottom: 40px
}

.modal-consultation {
    display: grid;
    align-content: start
}

.modal-consultation__message {
    margin-bottom: 40px;
    min-height: 171px
}

.modal-consultation__consent {
    margin-bottom: 16px
}

.modal-consultation__submit {
    width: 100%
}

.modal-service-info__title {
    margin-bottom: 40px
}

.modal-service-info__text p {
    margin: 0;
    font-size: 24px;
    line-height: 35px
}

.modal-service-info__text a {
    color: #00c0c0;
    transition: color .3s
}

.modal-service-info__text a:focus,
.modal-service-info__text a:hover {
    color: #14e8e8
}

.modal-video {
    display: grid;
    align-items: center;
    padding: 100px 40px 40px;
    max-width: 960px
}

.video-js {
    position: relative;
    padding-bottom: 56.25% !important;
    width: 100%;
    height: 0
}

.modal-video iframe {
    position: relative;
    width: 100%;
    min-height: 500px;
}

@media (max-width:980px) {
    .modal-video iframe {
        min-height: 300px;
    }
}

.video-js .vjs-big-play-button {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important
}

.modal-success {
    display: grid
}

.modal-success__title {
    margin-bottom: 16px;
    text-align: center
}

.modal-success__text {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    text-align: center
}

.modal-success__icon {
    position: relative;
    justify-self: center;
    order: -1;
    margin-top: 40px;
    margin-bottom: 20px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background-color: var(--color-success)
}

.modal-success__icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    background-image: url(/local/templates/dentist/assets/images/common/icon-success-check.svg);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%)
}

.template {
    padding-top: 211px
}

.template__container {
    display: grid
}

.template__crumbs {
    margin-bottom: 20px
}

.template__wrapper {
    display: grid
}

.template__wrapper h1 {
    margin: 0 0 20px;
    font-weight: 500;
    font-size: 120px;
    line-height: 150px;
    text-transform: uppercase
}

.template__wrapper h3 {
    margin: 54px 0 20px;
    font-weight: 400;
    font-size: 40px;
    line-height: 47px
}

.template__wrapper p {
    margin: 0 0 20px
}

.template__wrapper a {
    color: var(--color-accent);
    transition: color .3s
}

.template__wrapper a:focus,
.template__wrapper a:hover {
    color: #14e8e8
}

.template__wrapper img {
    justify-self: center;
    margin: 40px 0;
    border-radius: 30px
}

@media (min-width:620px) {
    .button-circle {
        border-radius: 50%
    }
    .home-preview__modal-open {
        align-self: end;
        justify-self: end;
        grid-column: 2/3;
        grid-row: 1/4;
        margin-bottom: -50px;
        padding: 24px;
        width: 228px;
        height: 228px
    }
    .home-portfolio__button {
        margin-top: -23px;
        width: 336px;
        height: 336px
    }
}

@media (min-width:1025px) {
    .portfolio-work:focus-within .portfolio-work__preview-wrapper,
    .portfolio-work:hover .portfolio-work__preview-wrapper {
        z-index: -1;
        opacity: 0
    }
    .portfolio-work:focus-within .portfolio-work__detail-wrapper,
    .portfolio-work:hover .portfolio-work__detail-wrapper {
        z-index: 3;
        opacity: 1
    }
}

@media (min-width:1400px) {
    .header__menu-toggle {
        display: none
    }
}

@media (min-width:1600px) {
    .home-preview__video {
        min-width: 1920px
    }
    .home-services__item:nth-child(2) {
        margin-top: 180px
    }
    .home-services__item:nth-child(3) {
        margin-top: -386px
    }
    .home-services__item:nth-child(10),
    .home-services__item:nth-child(13),
    .home-services__item:nth-child(4),
    .home-services__item:nth-child(7) {
        margin-top: -180px
    }
    .home-services__item:nth-child(12),
    .home-services__item:nth-child(15),
    .home-services__item:nth-child(6),
    .home-services__item:nth-child(9) {
        margin-top: -566px
    }
}

@media (max-width:1799px) {
    .title {
        font-size: 100px;
        line-height: 130px
    }
    .header__logo {
        margin-right: 32px;
        max-width: 180px
    }
    .header__phone {
        font-size: 20px;
        line-height: 24px
    }
    .nav__link {
        font-size: 14px
    }
    .home-preview {
        padding-top: 275px;
        padding-bottom: 145px
    }
    .home-preview__wrapper {
        margin-top: -208px;
        margin-left: 425px
    }
    .home-preview__background {
        margin-bottom: 180px
    }
    .portfolio-work__title {
        font-size: 20px;
        line-height: 28px
    }
    .portfolio-work__avatar {
        margin-right: 20px
    }
    .portfolio-work__client-name {
        margin-right: 16px;
        font-size: 20px;
        line-height: 28px
    }
    .home-stay__phone {
        font-size: 60px;
        line-height: 70px
    }
}

@media (max-width:1779px) {
    .portfolio-works__swiper {
        max-width: calc(100vw - 60px)
    }
}

@media (max-width:1599px) {
    .button--big {
        padding: 20px 40px;
        font-size: 16px;
        line-height: 24px
    }
    .title {
        font-size: 80px;
        line-height: 100px
    }
    .field__input {
        border-radius: 30px;
        padding: 12px 24px;
        min-height: 64px;
        font-size: 16px;
        line-height: 24px
    }
    .field__label--consent {
        padding-left: 44px;
        font-size: 16px;
        line-height: 24px
    }
    .field__label--consent::before {
        width: 32px;
        height: 32px
    }
    .field__label--consent::after {
        left: 10px
    }
    .field__error {
        padding-left: 20px;
        min-height: 20px;
        font-size: 12px;
        line-height: 20px
    }
    .field__error::before {
        width: 16px;
        height: 16px
    }
    .field__select {
        border-radius: 30px;
        padding: 12px 44px 12px 24px;
        min-height: 64px;
        font-size: 16px;
        line-height: 24px
    }
    .field__options {
        border-radius: 30px;
        padding: 72px 0 12px
    }
    .field__option {
        padding: 12px 24px;
        min-height: 64px;
        font-size: 16px;
        line-height: 24px
    }
    .header {
        padding: 20px 0
    }
    .header__phone span {
        display: none
    }
    .home-preview {
        padding-top: 220px;
        padding-bottom: 115px
    }
    .home-preview__container {
        grid-column-gap: 30px
    }
    .home-preview__wrapper {
        margin-top: -195px;
        margin-left: 340px
    }
    .home-preview__background {
        margin-bottom: 80px
    }
    .service-info__icon {
        width: 32px;
        height: 32px
    }
    .service-info__icon::before {
        width: 12px;
        height: 12px
    }
    .service-info__name {
        font-size: 24px;
        line-height: 28px
    }
    .service-info__popup {
        padding: 24px;
        max-width: 480px
    }
    .service-info__popup h3 {
        margin: 0 0 12px;
        font-size: 24px;
        line-height: 32px
    }
    .service-info__popup p {
        font-size: 20px;
        line-height: 28px
    }
    .home-about {
        padding-top: 260px
    }
    .home-services__list {
        grid-gap: 30px
    }
    .home-service__wrapper {
        padding: 48px
    }
    .home-service__wrapper {
        padding: 36px
    }
    .home-service__title {
        font-size: 32px;
        line-height: 40px
    }
    .home-service__description {
        font-size: 20px;
        line-height: 28px
    }
    .portfolio-work__wrapper {
        left: 20px;
        right: 20px;
        padding: 12px
    }
    .portfolio-work__avatar {
        margin-right: 16px;
        width: 40px;
        height: 40px
    }
    .portfolio-work__before-image img {
        border-radius: 50px 50px 0 0
    }
    .portfolio-work__before-caption {
        left: 20px;
        top: 20px
    }
    .portfolio-work__after-image img {
        border-radius: 0 0 50px 50px
    }
    .portfolio-work__after-caption {
        left: 20px;
        bottom: 20px
    }
    .portfolio-work__detail-wrapper {
        border-radius: 50px
    }
    .home-review {
        padding: 48px 64px
    }
    .home-answers__question {
        font-size: 32px;
        line-height: 40px
    }
    .home-answers__count {
        font-size: 20px;
        line-height: 28px
    }
    .home-answers__info-list {
        grid-row-gap: 40px
    }
    .home-answers__info-item h3 {
        font-size: 32px;
        line-height: 40px
    }
    .home-answers__info-item p {
        font-size: 20px;
        line-height: 28px
    }
    .home-stay__container {
        grid-template-columns: 620px minmax(320px, 546px)
    }
    .home-stay__title {
        grid-column: 1/2;
        margin-bottom: 20px
    }
    .home-stay__contacts-wrapper {
        grid-column: 1/2;
        margin-bottom: 20px
    }
    .home-stay__phone {
        font-size: 40px;
        line-height: 50px
    }
    .home-stay__social-logo img {
        width: 48px;
        height: 48px
    }
    .home-stay__item:not(:nth-child(4)) {
        margin-right: 32px
    }
    .home-stay__logo img {
        width: 60px;
        height: 60px
    }
    .home-stay__email {
        align-self: center;
        grid-column: 1/2;
        grid-row: 3/4;
        margin: 0 0 20px;
        font-size: 24px;
        line-height: 32px
    }
    .home-stay__form {
        grid-column: 2/3;
        grid-row: 1/5
    }
    .home-stay-form__message {
        margin-bottom: 36px;
        min-height: 120px
    }
    .modal-questions__message {
        margin-bottom: 36px;
        min-height: 120px
    }
    .modal-consultation__message {
        margin-bottom: 36px;
        min-height: 120px
    }
    .modal-service-info__text p {
        font-size: 20px;
        line-height: 28px
    }
}

@media (max-width: 1699px) {
    .template {
        padding-top: 121px
    }
    .template__wrapper h1 {
        font-size: 100px;
        line-height: 130px
    }
    .template__wrapper h3 {
        margin: 40px 0 20px;
        font-size: 32px;
        line-height: 40px
    }
    .template__wrapper p {
        font-size: 20px;
        line-height: 28px
    }
}

@media (max-width:1399px) {
    .button--small {
        padding: 11px 27px;
        font-size: 14px;
        line-height: 18px
    }
    .title {
        font-size: 60px;
        line-height: 80px
    }
    .button-circle {
        font-size: 16px;
        line-height: 24px
    }
    .header__menu-toggle {
        order: -1
    }
    .header__nav {
        display: none
    }
    .header__phone span {
        display: block
    }
    .home-preview {
        padding-top: 180px;
        padding-bottom: 100px
    }
    .home-preview__wrapper {
        margin-top: -174px;
        margin-left: 260px
    }
    .home-preview__description {
        margin-bottom: 4px;
        font-size: 20px;
        line-height: 28px
    }
    .home-preview__background {
        margin-bottom: -20px
    }
    .service-info__popup {
        padding: 24px;
        max-width: 360px
    }
    .service-info__popup h3 {
        margin: 0 0 12px;
        font-size: 20px;
        line-height: 28px
    }
    .service-info__popup p {
        font-size: 16px;
        line-height: 24px
    }
    .home-about__container {
        grid-template-columns: minmax(320px, 620px) auto;
    }
    .home-about__description {
        max-width: 620px;
        font-size: 24px;
        line-height: 32px;
    }
    .home-about__image {
        margin-left: -400px;
    }
    .home-about__wrapper {
        border-radius: 40px;
        padding: 47px 53px 32px;
    }
    .home-about__info-count {
        font-size: 100px;
    }
    .home-about__info-count span {
        margin-top: -15px;
        font-size: 60px;
        line-height: 60px;
    }
    .home-about__info-detail {
        font-size: 16px;
        line-height: 24px;
    }
    .home-history {
        padding-top: 120px;
        padding-bottom: 120px
    }
    .home-history__title {
        margin-bottom: 60px
    }
    .home-services {
        padding-top: 120px;
        padding-bottom: 180px
    }
    .home-services__title {
        margin-bottom: 60px
    }
    .home-service {
        border-radius: 40px
    }
    .home-service__wrapper {
        padding: 24px
    }
    .home-service__wrapper::before {
        border-radius: 40px
    }
    .home-service__title {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 32px
    }
    .home-service__description {
        font-size: 16px;
        line-height: 24px
    }
    .home-portfolio {
        padding-top: 120px
    }
    .home-portfolio__title {
        margin-bottom: 60px
    }
    .home-portfolio__works {
        margin-bottom: 60px
    }
    .portfolio-works__title {
        margin: 0 0 40px
    }
    .portfolio-works__title img {
        margin-right: 20px;
        width: 60px;
        height: 60px
    }
    .portfolio-works__title span {
        font-size: 32px;
        line-height: 40px
    }
    .portfolio-work__title {
        font-size: 16px;
        line-height: 24px
    }
    .portfolio-work__avatar {
        width: 32px;
        height: 32px
    }
    .portfolio-work__client-name {
        font-size: 16px;
        line-height: 24px
    }
    .portfolio-work__before-caption {
        font-size: 12px;
        line-height: 24px
    }
    .portfolio-work__after-caption {
        font-size: 12px;
        line-height: 24px
    }
    .portfolio-work__detail-wrapper {
        padding: 40px
    }
    .portfolio-work__detail-title {
        font-size: 24px;
        line-height: 32px
    }
    .portfolio-work__detail-text {
        font-size: 20px;
        line-height: 28px
    }
    .home-reviews {
        margin-top: -40px;
        padding-top: 180px;
        padding-bottom: 202px
    }
    .home-reviews__list {
        grid-gap: 30px
    }
    .home-review {
        border-radius: 50px;
        padding: 36px 48px
    }
    .home-review__image {
        margin-right: 20px;
        width: 80px;
        height: 80px
    }
    .home-review__author {
        font-size: 24px;
        line-height: 28px
    }
    .home-review__message p {
        margin: 0 0 20px;
        font-size: 20px;
        line-height: 28px
    }
    .home-competence {
        padding-top: 80px;
        padding-bottom: 130px
    }
    .home-competence__title {
        margin-bottom: 60px
    }
    .home-competence__item img {
        border-radius: 40px
    }
    .home-answers {
        padding-top: 120px;
        padding-bottom: 160px
    }
    .home-stay {
        margin-bottom: 126px;
        padding-top: 116px
    }
    .home-stay__container {
        grid-template-columns: 480px minmax(320px, 480px)
    }
    .home-stay__phone {
        margin-right: 20px;
        font-size: 32px;
        line-height: 40px
    }
    .home-stay__social-list {
        margin: -4px
    }
    .home-stay__social-item {
        margin: 4px
    }
    .home-stay__social-logo img {
        width: 32px;
        height: 32px
    }
    .home-stay__item:not(:nth-child(4)) {
        margin-right: 24px
    }
    .footer {
        padding-top: 153px;
        padding-bottom: 88px
    }
    .footer__container {
        grid-column-gap: 30px
    }
    .footer__logo {
        margin-bottom: 32px
    }
    .footer__description {
        margin-top: 0
    }
    .footer__contacts-wrapper {
        margin-bottom: 32px
    }
    .footer__phone {
        font-size: 20px;
        line-height: 24px
    }
    .footer__phone svg {
        width: 24px;
        height: 24px
    }
    .footer__copyright {
        font-size: 16px;
        line-height: 24px
    }
    .footer__policy {
        font-size: 16px;
        line-height: 24px
    }
    .footer__developed {
        font-size: 16px;
        line-height: 24px
    }
    .modal__title {
        font-size: 32px
    }
    .modal-service-info__text p {
        font-size: 16px;
        line-height: 24px
    }
}

@media (max-width:1499px) {
    .template {
        padding-top: 110px
    }
    .template__wrapper h1 {
        font-size: 80px;
        line-height: 110px
    }
}

@media (max-width:1199px) {
    .header {
        background-color: #00c0c0
    }
    .home-preview__list {
        flex-direction: column;
        margin: -10px
    }
    .home-preview__item {
        padding: 10px
    }
    .home-preview__background {
        margin-bottom: 100px;
        margin-left: 450px
    }
    .home-preview__video {
        margin-left: -450px
    }
    .home-competence__item img {
        border-radius: 30px
    }
    .home-answers__list {
        grid-row-gap: 20px
    }
    .home-answers__item::before {
        border-radius: 60px
    }
    .home-answers__item::before {
        border-radius: 40px
    }
    .home-answers__button {
        border-radius: 60px;
        padding: 32px 32px 32px 44px;
        min-height: 120px
    }
    .home-answers__question {
        font-size: 24px;
        line-height: 32px
    }
    .home-answers__info-wrapper {
        margin-top: -126px;
        border-radius: 60px
    }
    .home-answers__info-list {
        grid-row-gap: 32px
    }
    .home-answers__info-item h3 {
        font-size: 24px;
        line-height: 32px
    }
    .home-answers__info-item p {
        font-size: 16px;
        line-height: 24px
    }
    .home-answers__info-item img {
        margin: 20px 0;
        border-radius: 20px
    }
    .home-answers__info-item h3 {
        margin-bottom: 16px;
        font-size: 20px;
        line-height: 28px
    }
    .home-answers__info-item p {
        margin-bottom: 16px
    }
    .home-answers__info-item img {
        margin: 16px 0
    }
    .home-answers__info-item h3 {
        font-size: 18px;
        line-height: 26px
    }
    .home-answers__info-item p {
        font-size: 14px;
        line-height: 20px
    }
    .home-answers__button[aria-expanded=true]~.home-answers__info-wrapper {
        position: relative;
        padding: 124px 44px 32px 44px
    }
    .template__wrapper h1 {
        font-size: 60px;
        line-height: 80px
    }
    .template__wrapper h3 {
        margin: 32px 0 20px;
        font-size: 24px;
        line-height: 32px
    }
    .template__wrapper p {
        font-size: 16px;
        line-height: 24px
    }
    .template__wrapper img {
        margin: 20px 0;
        border-radius: 20px
    }
}

@media (max-width:1024px) {
    .portfolio-work--active .portfolio-work__preview-wrapper {
        z-index: -1;
        opacity: 0
    }
    .portfolio-work--active .portfolio-work__detail-wrapper {
        z-index: 3;
        opacity: 1
    }
    .home-reviews__list {
        grid-template-columns: 1fr
    }
}

@media (max-width:1023px) {
    .service-info__popup {
        display: none
    }
    .home-services__list {
        grid-template-columns: repeat(2, 1fr)
    }
    .home-services__list {
        grid-gap: 20px
    }
    .home-service__wrapper {
        padding: 36px;
        opacity: 1
    }
    .modal::-webkit-scrollbar {
        width: 0;
        height: 0
    }
    .modal::-webkit-scrollbar-thumb {
        width: 0;
        height: 0
    }
}

@media (min-width: 920px) {
    .home-answers {
        margin: 0 -300px;
        padding-right: 300px;
        padding-left: 300px;
    }
}

@media (max-width:919px) {
    .title {
        font-size: 48px;
        line-height: 60px
    }
    .header__phone span {
        display: none
    }
    .home-preview__title {
        margin-bottom: 40px
    }
    .home-preview__wrapper {
        margin: 0 0 40px
    }
    .home-preview__description {
        margin-bottom: 8px
    }
    .home-preview__background {
        margin-bottom: 100px;
        margin-left: 550px
    }
    .home-preview__video {
        margin-left: -550px
    }
    .home-about {
        padding-top: 320px;
        padding-bottom: 240px;
    }
    .home-about__container {
        grid-template-columns: 1fr;
    }
    .home-about__description {
        max-width: 450px;
    }
    .home-about__image {
        margin-left: -500px;
    }
    .home-about__caption {
        display: none;
    }
    .home-about__info-detail {
        font-size: 24px;
        line-height: 32px;
    }
    .home-history {
        padding-top: 80px;
        padding-bottom: 80px
    }
    .home-history__description p {
        font-size: 20px;
        line-height: 28px
    }
    .home-services {
        padding-top: 120px;
        padding-bottom: 80px
    }
    .home-portfolio {
        padding-top: 80px
    }
    .portfolio-works__title {
        margin: 0 0 32px
    }
    .portfolio-works__title img {
        width: 48px;
        height: 48px
    }
    .portfolio-works__title span {
        font-size: 24px;
        line-height: 32px
    }
    .portfolio-work__before-image img {
        border-radius: 40px 40px 0 0
    }
    .portfolio-work__after-image img {
        border-radius: 0 0 40px 40px
    }
    .portfolio-work__detail-wrapper {
        border-radius: 40px
    }
    .home-reviews {
        margin-top: -140px;
        padding-top: 220px;
        padding-bottom: 80px
    }
    .home-competence {
        padding-top: 80px;
        padding-bottom: 80px
    }
    .home-answers {
        padding-top: 80px;
        padding-bottom: 80px
    }
    .home-answers {
        padding-top: 80px;
        padding-bottom: 80px
    }
    .home-answers__button {
        border-radius: 40px;
        padding: 16px 16px 16px 24px;
        min-height: 80px
    }
    .home-answers__question {
        margin-right: 16px;
        font-size: 20px;
        line-height: 28px
    }
    .home-answers__count {
        border-radius: 16px;
        padding: 8px 16px;
        font-size: 16px;
        line-height: 24px
    }
    .home-answers__icon {
        width: 40px;
        height: 40px
    }
    .home-answers__icon::before {
        width: 16px;
        height: 2px
    }
    .home-answers__info-wrapper {
        margin-top: -80px;
        border-radius: 40px
    }
    .home-answers__info-list {
        grid-row-gap: 20px
    }
    .home-answers__button[aria-expanded=false] .home-answers__icon::after {
        height: 16px
    }
    .home-answers__button[aria-expanded=true]~.home-answers__info-wrapper {
        position: relative;
        padding: 84px 24px 16px 24px
    }
    .home-stay {
        margin-bottom: 80px;
        padding-top: 80px
    }
    .home-stay__container {
        grid-template-columns: 1fr
    }
    .home-stay__title {
        margin-bottom: 40px
    }
    .home-stay__contacts-wrapper {
        margin-bottom: 40px
    }
    .home-stay__phone {
        font-size: 24px;
        line-height: 32px
    }
    .home-stay__list {
        margin: 0 0 40px
    }
    .home-stay__logo img {
        width: 48px;
        height: 48px
    }
    .home-stay__email {
        margin-bottom: 40px
    }
    .home-stay__form {
        grid-column: 1/2;
        grid-row: auto
    }
    .footer {
        padding-top: 80px;
        padding-bottom: 80px
    }
    .footer__container {
        grid-column-gap: 20px;
        grid-template-columns: 1fr -webkit-max-content;
        grid-template-columns: 1fr max-content
    }
    .footer__logo {
        margin-bottom: 20px
    }
    .footer__description {
        grid-row: 4/5;
        margin-bottom: 20px
    }
    .footer__list {
        justify-self: end;
        grid-row: 1/5;
        margin-bottom: 20px
    }
    .footer__contacts-wrapper {
        justify-self: start;
        grid-column: 1/2;
        grid-row: 2/3;
        margin-bottom: 16px
    }
    .footer__modal-open {
        justify-self: start;
        grid-column: 1/2;
        grid-row: 3/4;
        margin-bottom: 20px
    }
    .footer__copyright {
        grid-column: 1/2;
        grid-row: 6/7;
        margin-bottom: 16px
    }
    .footer__policy {
        grid-column: 1/2;
        grid-row: 5/6;
        margin-bottom: 16px
    }
    .footer__developed {
        grid-column: 2/3;
        grid-row: 5/6
    }
    .template__wrapper h1 {
        font-size: 48px;
        line-height: 64px
    }
    .template__wrapper h3 {
        margin: 24px 0 16px;
        font-size: 20px;
        line-height: 28px
    }
    .template__wrapper p {
        margin-bottom: 16px
    }
    .template__wrapper img {
        margin: 16px 0
    }
}

@media (min-width: 768px) {
    .home-about__image {
        left: 50%;
        top: 50%;
        margin-top: 400px;
        width: 3000px;
        max-width: 3000px;
        transform: translate(-50%, -50%);
    }
}

@media (max-width:767px) {
    .container {
        padding-right: 20px;
        padding-left: 20px
    }
    .header__contacts-wrapper {
        margin-right: 0
    }
    .header__phone {
        order: 1;
        margin-right: 0
    }
    .header__social-list {
        margin-right: 4px
    }
    .header__modal-open {
        display: none
    }
    .service-info__icon {
        width: 24px;
        height: 24px
    }
    .service-info__icon::before {
        width: 10px;
        height: 10px
    }
    .service-info__name {
        font-size: 20px;
        line-height: 24px
    }
    .home-about {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .home-about__info-wrapper {
        margin-top: 380px;
        margin-bottom: 40px;
        border-radius: 24px;
        padding: 20px 4px 20px 24px;
        background-color: #b5b2c3;
    }
    .home-about__title {
        margin-bottom: 20px;
    }
    .home-about__image-wrapper {
        margin-top: 0;
        margin-left: 0;
        width: 2000px;
        height: 100%;
        background-color: #b5b2c3;
    }
    .home-about__image-wrapper picture {
        position: absolute;
        left: 50%;
        top: 0;
        width: 100vw;
        height: 100%;
        min-width: 320px;
        transform: translateX(-50%);
    }
    .home-about__image {
        left: 0;
        top: 0;
        margin: 0;
        width: 100vw;
    }
    .home-history__title {
        margin-bottom: 40px
    }
    .home-history__list {
        align-content: start
    }
    .home-history__item {
        display: flex;
        flex-direction: column;
        align-content: start;
        grid-template-rows: initial
    }
    .home-history__date {
        align-self: start;
        margin: 0 0 20px;
        font-size: 24px;
        line-height: 32px
    }
    .home-history__description {
        margin-bottom: 20px
    }
    .home-services {
        background-position: 20% 0;
        background-size: auto
    }
    .home-services__title {
        margin-bottom: 40px
    }
    .home-services__list {
        grid-template-columns: 1fr
    }
    .home-service__wrapper {
        padding: 48px
    }
    .home-portfolio__title {
        margin-bottom: 40px
    }
    .home-portfolio__works {
        margin-bottom: 40px
    }
    .portfolio-works__swiper {
        max-width: calc(100vw - 40px)
    }
    .home-reviews {
        margin-top: -160px;
        padding-top: 240px;
        padding-bottom: 80px
    }
    .home-reviews__title {
        margin-bottom: 40px
    }
    .home-reviews__list {
        grid-gap: 20px
    }
    .home-competence__title {
        margin-bottom: 40px
    }
    .home-competence__item img {
        border-radius: 20px;
        max-width: calc(100vw - 40px)
    }
    .home-answers__title {
        margin-bottom: 40px
    }
    .modal__container--video .modal__close {
        top: 12px
    }
    .modal__close {
        right: 16px;
        top: 20px
    }
    .modal__close svg {
        width: 24px;
        height: 24px
    }
    .modal__content {
        padding: 24px 16px
    }
    .modal__title {
        font-size: 24px;
        line-height: 32px
    }
    .modal-questions__title {
        margin-bottom: 16px;
        padding-left: 8px
    }
    .modal-consultation__title {
        margin-bottom: 16px;
        padding-left: 8px
    }
    .modal-service-info__title {
        margin-bottom: 16px;
        padding-left: 8px
    }
    .modal-video {
        padding: 60px 16px 24px
    }
    .template__wrapper h1 {
        font-size: 36px;
        line-height: 48px
    }
    .template__wrapper h3 {
        font-weight: 500;
        font-size: 18px;
        line-height: 26px
    }
    .template__wrapper p {
        font-size: 14px;
        line-height: 20px
    }
}

@media (max-width:719px) {
    .modal {
        padding: 20px 10px
    }
    .modal__consent {
        grid-column: 1/-1;
        margin: 0 0 40px
    }
    .modal__submit {
        grid-column: 1/-1
    }
}

@media (max-width: 699px) {
    .home-about__info-wrapper {
        margin-top: 340px;
    }
}

@media (max-width:619px) {
    .header {
        padding: 4px
    }
    .header__container {
        margin: 0 -8px
    }
    .header__logo {
        margin-right: 12px;
        max-width: 135px
    }
    .header__menu-toggle {
        margin-right: 8px
    }
    .header__menu-toggle span:nth-child(4) {
        width: 48px;
        height: 48px
    }
    .header__social-logo {
        width: 28px;
        height: 28px
    }
    .home-preview {
        padding-top: 140px;
        padding-bottom: 60px
    }
    .home-preview__container {
        grid-template-columns: 1fr
    }
    .home-preview__list {
        margin-bottom: 30px
    }
    .home-preview__modal-open {
        width: 100%
    }
    .home-preview__modal-open br {
        display: none
    }
    .home-preview__background {
        margin-bottom: 140px;
        margin-left: 600px
    }
    .home-preview__video {
        margin-left: -600px
    }
    .home-about {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .home-about__info-wrapper {
        margin-top: 280px;
    }
    .home-about__info {
        flex-direction: column;
    }
    .home-about__info-count {
        align-self: start;
        margin-bottom: 20px;
    }
    .home-about__list {
        padding-top: 20px;
    }
    .home-history {
        padding-top: 60px;
        padding-bottom: 60px
    }
    .home-services {
        padding-top: 60px;
        padding-bottom: 60px
    }
    .home-portfolio {
        padding-top: 60px;
        padding-bottom: 60px
    }
    .home-portfolio__button {
        width: 100%
    }
    .home-portfolio__button br {
        display: none
    }
    .home-reviews {
        padding-top: 200px;
        padding-bottom: 80px
    }
    .home-review {
        border-radius: 40px;
        padding: 24px 36px
    }
    .home-competence {
        padding-top: 60px;
        padding-bottom: 60px
    }
    .home-answers {
        padding-top: 60px;
        padding-bottom: 60px
    }
    .home-stay {
        margin-bottom: 60px;
        padding-top: 60px
    }
    .footer {
        padding-top: 60px;
        padding-bottom: 60px
    }
    .footer__container {
        grid-template-columns: 1fr
    }
    .footer__logo {
        margin-bottom: 40px
    }
    .footer__description {
        grid-row: 5/6;
        max-width: 100%;
        font-size: 14px
    }
    .footer__list {
        justify-self: start;
        grid-column: 1/2;
        grid-row: 2/3;
        margin-bottom: 40px
    }
    .footer__contacts-wrapper {
        grid-column-gap: 12px;
        grid-row: 3/4
    }
    .footer__modal-open {
        grid-row: 4/5;
        margin-bottom: 40px
    }
    .footer__policy {
        grid-row: 7/8
    }
    .footer__developed {
        justify-self: start;
        grid-column: 1/2;
        grid-row: 8/9
    }
    .template {
        padding-top: 78px
    }
}

@media (max-width:610px) {
    .home-about__description {
        font-size: 16px;
        line-height: 24px
    }
}

@media (max-width:479px) {
    .title {
        font-size: 28px;
        line-height: 36px
    }
    .link-arrow span {
        font-size: 14px;
        line-height: 20px
    }
    .menu__container {
        padding-bottom: 12px
    }
    .menu__wrapper {
        padding: 12px
    }
    .menu__close {
        width: 24px;
        height: 24px
    }
    .menu__link,
    .menu__link2 {
        padding: 12px;
        font-size: 13px;
        line-height: 20px
    }
    .menu__contacts-wrapper {
        padding: 0 12px
    }
    .menu__modal-open {
        margin-bottom: 16px;
        margin-left: 12px
    }
    .home-preview {
        padding-top: 120px
    }
    .home-preview__title {
        margin-bottom: 20px
    }
    .home-preview__wrapper {
        margin-bottom: 20px
    }
    .home-preview__description {
        font-size: 16px;
        line-height: 24px
    }
    .home-preview__list {
        margin-bottom: 20px
    }
    .home-preview__item {
        padding: 6px
    }
    .home-preview__background {
        margin-bottom: 380px;
        margin-left: -40px;
        width: 640px;
        height: 1056px
    }
    .home-preview__video {
        margin-left: 40px;
        min-width: 480px
    }
    .service-info__icon {
        margin-right: 10px;
        width: 22px;
        height: 22px
    }
    .service-info__icon::before {
        width: 8px;
        height: 8px
    }
    .service-info__name {
        padding: 6px 0;
        font-size: 16px;
        line-height: 20px
    }
    .home-about__info-wrapper {
        margin-top: 180px;
    }
    .home-about__title {
        margin-bottom: 16px;
    }
    .home-about__description {
        font-size: 14px;
        line-height: 20px;
    }
    .home-about__wrapper {
        border-radius: 20px;
        padding: 20px;
    }
    .home-about__modal-open {
        top: -80px;
        width: 120px;
        height: 120px;
    }
    .home-about__info-count {
        margin-bottom: 12px;
        font-size: 80px;
    }
    .home-about__info-count span {
        margin-top: -15px;
        font-size: 60px;
        line-height: 60px;
    }
    .home-about__info-detail {
        font-size: 16px;
        line-height: 24px;
    }
    .home-history__date {
        padding: 16px 24px;
        font-size: 20px;
        line-height: 28px
    }
    .home-history__description p {
        font-size: 16px;
        line-height: 24px
    }
    .home-service {
        border-radius: 30px
    }
    .home-service__wrapper {
        padding: 36px
    }
    .home-service__wrapper::before {
        border-radius: 30px
    }
    .portfolio-works__title {
        margin: 0 0 20px
    }
    .portfolio-works__title img {
        margin-right: 16px;
        width: 40px;
        height: 40px
    }
    .portfolio-works__title span {
        font-size: 20px;
        line-height: 28px
    }
    .portfolio-work__before-image img {
        border-radius: 30px 30px 0 0
    }
    .portfolio-work__after-image img {
        border-radius: 0 0 30px 30px
    }
    .portfolio-work__detail-wrapper {
        border-radius: 30px;
        padding: 20px
    }
    .portfolio-work__detail-title {
        margin-bottom: 16px;
        font-size: 20px;
        line-height: 28px
    }
    .portfolio-work__detail-text {
        font-size: 16px;
        line-height: 24px
    }
    .home-review {
        border-radius: 30px;
        padding: 12px 20px 24px
    }
    .home-review__image {
        margin-bottom: 16px
    }
    .home-review__author {
        width: 100%;
        font-size: 20px;
        line-height: 28px
    }
    .home-review__message {
        padding-top: 16px
    }
    .home-review__message p {
        font-size: 16px;
        line-height: 24px
    }
    .home-answers__question {
        margin-right: 16px;
        font-size: 18px;
        line-height: 26px
    }
    .home-answers__count {
        display: none
    }
    .modal__container {
        border-radius: 16px
    }
    .modal-success {
        padding: 30px
    }
    .modal-success__text {
        font-size: 16px;
        line-height: 24px
    }
}

@media (max-width:399px) {
    .portfolio-work__wrapper {
        left: 10px;
        right: 10px;
        padding: 8px
    }
    .portfolio-work__title {
        font-size: 12px;
        line-height: 20px
    }
    .portfolio-work__avatar {
        margin-right: 8px;
        width: 24px;
        height: 24px
    }
    .portfolio-work__client-name {
        margin-right: 8px;
        font-size: 12px;
        line-height: 20px
    }
    .portfolio-work__before-image img {
        border-radius: 20px 20px 0 0
    }
    .portfolio-work__before-caption {
        left: 10px;
        top: 10px;
        border-radius: 20px;
        font-size: 10px;
        line-height: 20px
    }
    .portfolio-work__after-image img {
        border-radius: 0 0 20px 20px
    }
    .portfolio-work__after-caption {
        left: 10px;
        bottom: 10px;
        border-radius: 20px;
        font-size: 10px;
        line-height: 20px
    }
    .portfolio-work__detail-wrapper {
        border-radius: 20px
    }
}

@media (max-width:359px) {
    .button--big {
        font-size: 14px;
        line-height: 20px
    }
    .button-circle {
        font-size: 14px;
        line-height: 20px
    }
    .home-about__info-wrapper {
        margin-top: 140px;
    }
    .home-service__wrapper {
        padding: 20px
    }
    .home-answers__question {
        font-size: 16px;
        line-height: 24px
    }
    .home-answers__info-item h3 {
        font-size: 16px;
        line-height: 24px
    }
    .home-competence__item img {
        max-width: calc(100vw - 20px)
    }
}

@media (max-width: 599px) {
    .template__wrapper h1 {
        font-size: 20px;
        line-height: 28px;
    }
    .template__wrapper h3 {
        font-size: 16px;
        line-height: 24px
    }
}

@media (min-width:620px) and (max-width:767px) {
    .home-preview__modal-open {
        width: 180px;
        height: 180px
    }
}

@media (min-width:1400px) and (max-width:1599px) {
    .home-preview__video {
        min-width: 1600px
    }
}

@media (min-width:1200px) and (max-width:1399px) {
    .home-preview__video {
        min-width: 1400px
    }
}

@media (min-width:920px) and (max-width:1199px) {
    .home-preview__video {
        min-width: 950px
    }
}

@media (min-width:1024px) and (max-width:1599px) {
    .home-services__item:nth-child(2) {
        margin-top: 180px
    }
    .home-services__item:nth-child(3) {
        margin-top: -306px
    }
    .home-services__item:nth-child(10),
    .home-services__item:nth-child(13),
    .home-services__item:nth-child(4),
    .home-services__item:nth-child(7) {
        margin-top: -180px
    }
    .home-services__item:nth-child(12),
    .home-services__item:nth-child(15),
    .home-services__item:nth-child(6),
    .home-services__item:nth-child(9) {
        margin-top: -486px
    }
}

@media (min-width:620px) and (max-width:1399px) {
    .home-portfolio__button {
        margin-top: 0;
        width: 286px;
        height: 286px
    }
}

@media (min-width:620px) and (max-width:919px) {
    .home-portfolio__button {
        width: 226px;
        height: 226px
    }
}

#wait_comp_52f47d2a4f153b111bb7b963f86d0646,
#wait_comp_adf0926c2924790c5976b313c30741a8,
#wait_comp_8e0a3420d107956aeda6cfea46abf1c4 {
    display: none !important;
}