:root {
    --background-color: #fff;

    --text-color: #444;
    --text-color-hover: #A25A5B;
    --text-inverse-color: #fff;

    --border-color: #f0c5c2;

    --services-bg: #fff5f4;

    --primary-color: #D7AA6B;
    --primary-color-hover: rgb(239, 198, 141);
    --secondary-color: #a25a5b;
    --tertiary-color: #D48990;

    --nav-space: 24px;
    --max-width: 1000px;

    --mobile-menu-padding: 16px;
}

/* RESET */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* HTML, BODY */

html {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    padding: 0;
    font-size: 16;
}

body {
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* GENERAL */

.visible-on-desktop-only {
    display: none;
}

@media (min-width: 500px) {
    .visible-on-desktop-only {
        display: block;
    }
}

@font-face {
    font-family: 'Kasepi Sans';
    src: url('../assets/Kasepi Sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.content {
    width: 85%;
    max-width: var(--max-width);
    padding: 60px 0;
    margin: 0 auto;
}

.content--no-top-padding {
    padding-top: 0;
}

.content--centered {
    text-align: center;
}

.title {
    font-size: 32px;
    margin-bottom: 50px;
    font-family: 'Kasepi Sans';
}

@media (min-width: 750px) {
    .title {
        font-size: 40px;
    }
}

.title::before {
    content: "";
    height: 4px;
    background-color: var(--primary-color);
    width: 150px;
    display: block;
}

.title--secondary::before {
    background-color: var(--border-color);
}

.title--no-line::before {
    display: none;
}

.title--centered {
    text-align: center;
}

.title--centered::before {
    margin: 0 auto;
}

.title--small-margin {
    margin-bottom: 25px;
}

.promo {
    text-align: center;
}

.promo__link {
    color: var(--primary-color);
    text-decoration: underline;
}

.promo__link--uppercase {
    text-transform: uppercase;
}

.promo__link:hover {
    filter: brightness(80%);
}

/* BUTTONS */

.button {
    display: inline-flex;
    color: var(--text-color);
    text-decoration: none;
    background: var(--primary-color);
    color: var(--text-inverse-color);
    padding: 0 20px;
    border-radius: 50px;
    text-transform: uppercase;
    white-space: nowrap;
    height: 60px;
    align-items: center;
    gap: 8px;
    text-align: center;
    justify-content: center;
    font-weight: bold;
    flex-wrap: nowrap;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--primary-color-hover);
}

.button--tertiary {
    background: var(--background-color);
    color: var(--tertiary-color);
    border: 3px solid var(--tertiary-color);
    text-decoration: none;
}

.button--tertiary:hover {
    background: var(--tertiary-color);
    color: var(--background-color);
}

.button--tertiary:hover .button__text {
    text-decoration: none;
}

.button__icon {
    font-size: 24px;
}

.button--wide {
    padding: 0 50px;
}

.button__text {
    text-align: center;
}

.button--inverse {
    background: var(--background-color);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
    text-decoration: none;
}

.button--inverse:hover {
    background: var(--primary-color);
    color: var(--background-color);
}

.button--inverse:hover .button__text {
    text-decoration: none;
}

/* NAV */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;

    background: #fff;
    color: var(--text-color);
}

.nav__bar {
    /* On mobile menu button has padding, so we need to remove it */
    padding: 10px calc(var(--nav-space) - var(--mobile-menu-padding)) 10px var(--nav-space);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

@media (min-width: 750px) {
    .nav__bar {
        justify-content: space-between;
        padding: 10px var(--nav-space);
    }
}

.nav-click {
    padding: var(--mobile-menu-padding);
}

.nav-click__icon {
    font-size: 22px;
}

.nav-click__label {
    font-size: 14px;
    text-transform: uppercase;
}

.nav-click__action {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-click__action--open {
    display: flex;
}

.nav-click--active .nav-click__action--open {
    display: none;
}

.nav-click__action--close {
    display: none;
}

.nav-click--active .nav-click__action--close {
    display: flex;
}

.nav__menu {
    max-height: calc(100vh - 80px);
    padding: 10px var(--nav-space);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    box-shadow: 0 4px 8px -4px rgba(0, 0, 0, 0.4);
}

.nav__menu>* {
    display: flex !important;
    justify-content: center;
}

.nav__menu--visible {
    display: block;
}

@media (min-width: 750px) {

    .nav__menu,
    .nav-click {
        display: none;
    }
}

.nav__menu__title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

body,
html {
    scroll-padding-top: 80px;
}

.logo {
    margin-right: var(--nav-space);
    height: 50px;
    margin-top: 4px;
}

@media (min-width: 750px) {
    .logo {
        height: 55px;
    }
}

.links {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    text-transform: uppercase;
}

.link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
}

.link,
.nav__bar-button {
    display: none;
}

.link--mobile {
    display: inline-flex;
    padding: 16px 30px;
}

.submenu {
    display: none;
    position: relative;
}

.submenu__title {
    display: block;
}

.submenu__links {
    background-color: var(--background-color);
    padding: 10px 0;
    margin-left: -10px;
    border-radius: 10px;
    z-index: 1;
}

.submenu__link {
    display: block;
    padding: 10px;
    color: var(--color-text);
    text-wrap: nowrap;
    margin: 0 !important;
}

@media (min-width: 750px) {
    .submenu {
        display: block;
    }

    .submenu__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
    }

    .submenu:hover .submenu__links {
        display: block;
    }

    .link {
        margin-right: 30px;
        display: inline-block;
    }

    .nav__bar-button {
        display: flex;
    }

    .link--mobile {
        display: none;
    }
}

@media (min-width: 850px) {
    .link {
        margin-right: 55px;
    }
}

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

.nav__phone {
    font-size: 12px;
    text-transform: uppercase;
}

@media (min-width: 440px) {
    .nav__phone {
        font-size: 1rem;
    }
}

/* HOME */

.home {
    background-image: url(../assets/header_mobile.png);
    background-size: auto 400px;
    background-position: top center;
    background-repeat: no-repeat;
    margin: 0;
    padding-top: 290px;
}

@media (min-width: 750px) {
    .home {
        background-image: url(../assets/header_desktop.png);
        min-height: 600px;
        padding: 60px 0 100px 0;
        background-position: bottom center;
        background-size: contain;
    }
}

.home__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (min-width: 750px) {
    .home__content {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }
}

.home__buttons {
    display: grid;
    grid-gap: 15px;
}

@media (min-width: 750px) {
    .home__buttons {
        display: flex;
        justify-content: center;
    }
}

.home__title {
    line-height: 1em;
    font-size: 40px;
}

@media (min-width: 750px) {
    .home__title {
        font-size: 60px;
    }
}

.home__subtitle {
    font-size: 14px;
    margin-bottom: 50px;
    text-transform: uppercase;
    text-align: center;
}

@media (min-width: 750px) {
    .home__subtitle {
        font-size: 16px;
        text-align: left;
    }
}

/* ABOUT US */

.about-us__content {
    display: block;
}

@media (min-width: 900px) {
    .about-us__content {
        display: flex;
        flex-direction: row-reverse;
        flex-wrap: wrap-reverse;
        align-items: center;
        gap: 60px;
    }
}

.about-us__title {
    margin-bottom: 20px;
}

.about-us__text-wrapper {
    margin-bottom: 50px;
}

.about-us__text:not(:last-child) {
    margin-bottom: 10px;
}

.about-us__buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.about-us__social-buttons {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 900px) {

    .about-us__buttons,
    .about-us__social-buttons {
        justify-content: flex-start;
    }
}

.about-us__button {
    font-weight: bold;
}

.about-us__right {
    flex: 3;
}

.about-us__left {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}


@media (min-width: 900px) {
    .about-us__left {
        justify-content: flex-end;
        margin-bottom: 0;
    }
}

.mirror {
    width: 100%;
    border-radius: 500px;
    border: 5px solid var(--primary-color);
    object-fit: cover;
    aspect-ratio: 1/1;
    max-width: 400px;
}

.mirror--mobile {
    display: block;
}

.mirror--desktop {
    display: none;
}

@media (min-width: 900px) {
    .mirror {
        width: 300px;
        height: 600px;
    }

    .mirror--mobile {
        display: none;
    }

    .mirror--desktop {
        display: block;
    }
}

/* REVIEW */

.reviews {
    display: flex;
    flex-direction: row;
    gap: 40px;
    overflow-x: auto;
}

.review {
    flex: 1;
    min-width: 220px;
}

.review__content {
    background: #f9f9f9;
    padding: 70px 20px 20px 20px;
    border-radius: 16px;
    position: relative;
}

.review__content::before {
    content: '"';
    position: absolute;
    font-size: 90px;
    color: var(--primary-color);
    top: 0;
    font-family: 'Kasepi Sans';
}

.review:not(:nth-child(2n)) {
    margin-top: 40px;
}

.review__text {
    text-align: center;
    font-weight: 500;
}

.review__author {
    margin-top: 20px;
    text-align: center;
}

/* SALON */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery__target--hidden {
    display: none;
}

@media (min-width: 750px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery__image {
    border-radius: 16px;
    object-fit: cover;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1/1;
}

.salon__promo {
    font-weight: bold;
    margin-top: 32px;
}

/* SERVICES */

.services {
    background: var(--services-bg);
}

.services__columns {
    gap: 100px;
    display: flex;
}

.services__column {
    flex: 1;
}

.services__column--2 {
    display: none;
}

@media (min-width: 750px) {
    .services__column--2 {
        display: block;
    }
}

.services__item {
    flex: 1;
}

.services__item:not(:first-child) {
    margin-top: 50px;
}

.services__section-title {
    margin-bottom: 20px;
    font-size: 24px;
}

.section__title {
    flex: 1;
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.section__title-link {
    text-decoration: none;
    font-size: 14px;
    text-decoration: underline;
    color: var(--text-color-hover);
    font-weight: 500;
    text-wrap: nowrap;
}

.section__title-link:hover {
    color: var(--color-text);
}

.product {
    margin-top: 35px;
}

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

.product__title {
    color: var(--secondary-color);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
}

.product__dots {
    flex: 1;
    margin: 0 8px;
}

.product__price {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 5px;
    font-size: 20px;
}

.product__time {
    color: var(--secondary-color);
    font-size: 14px;
    white-space: nowrap;
}

.product__note {
    color: #6f6f6f;
    font-size: 15px;
    margin-top: 5px;
}

.product__description {
    margin-top: 10px;
}

.services__bottom_action {
    text-align: center;
    margin-top: 60px;
}

/* CONTACT */

.contact__title {
    margin-bottom: 60px;
}

.contact__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
}

.contact__column:first-child {
    flex: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.contact__column:last-child {
    flex: 3;
    display: flex;
    align-items: center;
}

.prolink {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 32px;
}

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

.prolink__icon {
    font-size: 32px;
    width: 70px;
}

.prolink__column {
    text-align: left;
}

.prolink__title,
.phone-link {
    font-weight: bold;
}

.prolink__title--link,
.phone-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.prolink__title--link:hover,
.phone-link:hover {
    text-decoration: underline;
    filter: brightness(80%);
}

.prolink__note {}

.contact__map {
    width: 100%;
    min-width: 300px;
}

/* PRODUCT DETAIL */

.product-detail {
    display: flex;
    flex-direction: column-reverse;
    gap: 60px;
    position: relative;
}

.product-detail:not(:first-child) {
    margin-top: 120px;
}

@media (min-width: 850px) {
    .product-detail {
        flex-direction: row;
    }

    .product-detail:nth-child(2n) {
        flex-direction: row-reverse;
    }
}

.product-detail__image {
    flex: 1;
    aspect-ratio: 1/1;
    align-self: flex-start;
    position: sticky;
    top: 80px;
}

.product-detail__content {
    flex: 1;
    text-align: left;
}

.product-detail__description,
.product-detail__subtitle,
.product-detail__button {
    margin-top: 25px;
}

.product-detail__subtitle {
    font-family: 'Kasepi Sans';
    font-size: 24px;
}

.product-detail__list {
    margin-left: 30px;
    list-style-type: disc;
}

.product-detail__list,
.product-detail__description--under-subtitle {
    margin-top: 5px;

}

/* FAQ */

.faq__columns {
    gap: 25px;
    display: flex;
}

.faq__column {
    flex: 1;
    gap: 25px;
}

.faq__column--2 {
    display: none;
}

@media (min-width: 750px) {
    .faq__column--2 {
        display: block;
    }
}

.faq__item {
    flex: 1;
}

.faq__item:not(:first-child) {
    margin-top: 25px;
}


/* ACCORDION */

.accordion {
    position: relative;
    background: #f9f9f9;
    /* padding: 14px; */
    border-radius: 16px;
}

.accordion input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
}

.accordion input:checked ~ .accordion__content {
    max-height: 1000px;
}

.accordion__label {
    display: flex;
    cursor: pointer;
    align-items: center;
}

.accordion__label {
    justify-content: space-between;
    padding: 16px;
    font-weight: 600;
}

.accordion__label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    margin-left: 20px;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
}

.accordion input:checked+.accordion__label::after {
    transform: rotate(270deg) translateY(-0.5rem);
}

.accordion__content p {
    margin: 0;
    padding: 1rem;
}

/* Arrow animation */
.accordion input:not(:checked)+.accordion__label:hover::after {
    animation: bounce .5s infinite;
}

@keyframes bounce {
    25% {
        transform: rotate(90deg) translate(.25rem);
    }

    75% {
        transform: rotate(90deg) translate(-.25rem);
    }
}