:root {
    --red: #ed1c24;
    --header: #292828;
    --footer: #191c1f;
    --white: #ffffff;
    --header-height: 123px;
    --container: 1170px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #111;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--white);
    background: #111;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.content-seven {
    width: 58.333333%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--header);
    box-shadow: 0 1px 0 rgba(255,255,255,.015);
}

.header-inner {
    width: min(calc(100% - 48px), 1000px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 72px;
}

.brand {
    flex: 0 0 205px;
    display: block;
    line-height: 0;
}

.brand img {
    width: 205px;
    height: auto;
    display: block;
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
}

.main-nav a {
    position: relative;
    padding: 48px 0 43px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 32px;
    width: 0;
    height: 2px;
    background: var(--red);
    transform: translateX(-50%);
    transition: width .2s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.section {
    position: relative;
    isolation: isolate;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    scroll-margin-top: var(--header-height);
}

.section-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0,0,0,.52);
}

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

.hero {
    min-height: calc(100vh - var(--header-height));
    background-image: url("../images/welcome.jpg");
}

.hero .section-content {
    padding-top: 132px;
    padding-bottom: 55px;
}

.about {
    background-image: url("../images/natalya_pyagay.jpg");
}

.about .section-content,
.services .section-content,
.contacts .section-content {
    padding-top: 145px;
    padding-bottom: 145px;
}

.services {
    background-image: url("../images/price_services.jpg");
}

.contacts {
    background-image: url("../images/fenix_salon.jpg");
}

.eyebrow {
    position: relative;
    padding-left: 82px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 64px;
    height: 2px;
    background: #fff;
}

.hero h1,
.section h2 {
    margin: 22px 0 26px;
    color: var(--red);
    font-size: 86px;
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.hero-divider {
    width: 100%;
    height: 2px;
    margin: 34px 0 40px;
    background: #fff;
}

.hero-quote {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 20px;
    font-weight: 600;
}

.quote-icon {
    width: 47px;
    height: 47px;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
}

.section-subtitle {
    margin-bottom: 43px;
    font-size: 18px;
}

.about-text {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.82;
}

.about-text p {
    margin: 0 0 38px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.price-list {
    width: 100%;
}

.price-row {
    display: flex;
    align-items: baseline;
    width: 100%;
    min-height: 50px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.price-name,
.price-value {
    flex: 0 0 auto;
}

.price-dots {
    flex: 1 1 auto;
    min-width: 28px;
    margin: 0 12px 5px;
    border-bottom: 2px dotted rgba(255,255,255,.78);
}

.price-value {
    min-width: 98px;
    text-align: left;
    white-space: nowrap;
}

.podology-title {
    margin-top: 36px;
}

.contact-info {
    margin-bottom: 52px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.contact-info p {
    margin: 0 0 16px;
}

.contact-info a:hover,
.accent-link {
    color: var(--red);
}

.map-wrap {
    width: 100%;
    overflow: hidden;
    background: #222;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    min-height: 450px;
}

.site-footer {
    padding: 24px 0;
    background: var(--footer);
    color: var(--red);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .42em;
    text-transform: uppercase;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 20px;
    z-index: 1100;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 2px;
    background: rgba(45,45,45,.94);
    color: #fff;
    font: 700 22px/38px Arial, sans-serif;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, background .2s ease;
}

.back-to-top:hover {
    background: var(--red);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1100px) {
    :root {
        --header-height: 100px;
    }

    .header-inner {
        width: min(calc(100% - 40px), 900px);
        gap: 45px;
    }

    .brand,
    .brand img {
        width: 190px;
        flex-basis: 190px;
    }

    .main-nav a {
        padding-top: 38px;
        padding-bottom: 35px;
        font-size: 13px;
    }

    .main-nav a::after {
        bottom: 25px;
    }

    .hero h1,
    .section h2 {
        font-size: 68px;
    }

    .hero .section-content {
        padding-top: 115px;
    }
}

@media (max-width: 800px) {
    :root {
        --header-height: 82px;
    }

    .container {
        width: min(calc(100% - 34px), var(--container));
    }

    .content-seven {
        width: 100%;
    }

    .site-header {
        height: var(--header-height);
    }

    .header-inner {
        width: calc(100% - 34px);
        justify-content: space-between;
        gap: 20px;
    }

    .brand,
    .brand img {
        width: 170px;
        flex-basis: 170px;
    }

    .menu-toggle {
        display: block;
        width: 42px;
        height: 42px;
        padding: 9px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        margin: 5px 0;
        background: #fff;
        transition: transform .2s ease, opacity .2s ease;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 17px 14px;
        background: rgba(41,40,40,.99);
        border-top: 1px solid rgba(255,255,255,.06);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 8px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none;
    }

    .section {
        background-attachment: scroll;
        background-position: center center;
    }

    .hero {
        min-height: calc(100svh - var(--header-height));
    }

    .hero .section-content,
    .about .section-content,
    .services .section-content,
    .contacts .section-content {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .hero h1,
    .section h2 {
        font-size: clamp(42px, 11vw, 58px);
        line-height: 1.08;
    }

    .eyebrow {
        padding-left: 56px;
        font-size: 14px;
    }

    .eyebrow::before {
        width: 42px;
    }

    .hero-divider {
        margin: 28px 0 30px;
    }

    .hero-quote {
        font-size: 16px;
    }

    .quote-icon {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }

    .section-subtitle {
        margin-bottom: 34px;
    }

    .about-text,
    .contact-info {
        font-size: 14px;
        line-height: 1.75;
    }

    .price-row {
        min-height: 48px;
        font-size: 14px;
    }

    .price-value {
        min-width: 86px;
        text-align: right;
    }

    .map-wrap iframe {
        height: 390px;
        min-height: 390px;
    }

    .site-footer {
        padding: 22px 12px;
        font-size: 11px;
        letter-spacing: .24em;
    }
}

@media (max-width: 520px) {
    .hero h1 br:nth-of-type(2) {
        display: none;
    }

    .price-row {
        align-items: flex-end;
    }

    .price-name {
        max-width: 68%;
    }

    .price-dots {
        margin-left: 8px;
        margin-right: 8px;
    }

    .price-value {
        min-width: auto;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}
