* {
    margin: 0;
    padding: 0;
    font-family: Inter, 'fa-brands-400', 'fa-regular-400';
    scroll-behavior: smooth;
    box-sizing: border-box;
	scroll-margin-top: 80px;
}

/*Цвета на странице*/
:root {
    /*Основной фон, текст на темном фоне*/
    --one-color: #FFFFFF;
    /*Альтернативный фон*/
    --alternative-background-color: rgb(255, 250, 240, 0.5);
    /*Акцент, основной цвет*/
    --accent-color: #140F0B;
    /*Дополнительный цвет*/
    --additional-color: #1C1C1C;
    /*Вторичный текст*/
    --alternative-additional-color: #474A51;
    /*Альтернативный цвет*/
    --alternative-color: #FFFAF0;
    /*hover*/
    --hower-color: #A52019;
    /*Первый цвет кнопки*/
    --button-color: #FF4040;
    /*Второй цвет кнопки*/
    --button-two-color: #FF7518;
    /*whatsapp*/
    --whatsapp-color: #25d366;
    /*vk*/
    --vk-color: #0077ff;
    /*Цвет инстаграм*/
    --instagram-color: radial-gradient(circle farthest-corner at 35% 90%, #fec564, transparent 50%),
        radial-gradient(circle farthest-corner at 0 140%, #fec564, transparent 50%),
        radial-gradient(ellipse farthest-corner at 0 -25%, #5258cf, transparent 50%),
        radial-gradient(ellipse farthest-corner at 20% -50%, #5258cf, transparent 50%),
        radial-gradient(ellipse farthest-corner at 100% 0, #893dc2, transparent 50%),
        radial-gradient(ellipse farthest-corner at 60% -20%, #893dc2, transparent 50%),
        radial-gradient(ellipse farthest-corner at 100% 100%, #d9317a, transparent),
        linear-gradient(#6559ca, #bc318f 30%, #e33f5f 50%, #f77638 70%, #fec66d 100%);
}

/*Минимальная ширина страницы и цвет текста*/
body {
    min-width: 320px;
    color: var(--accent-color);
}

/*Шрифт для заголовков*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Oswald;
    text-transform: uppercase;
}

/*Шрифт для символьных значков соц. сетей*/
.fa-brands {
    font-family: 'fa-brands-400';
    font-weight: 400;
}

.fa-regular {
    font-family: 'fa-regular-400';
    font-weight: 400;
}

.fa-instagram:before {
    content: "\f16d";
    background: var(--instagram-color);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-vkontakte:before {
    content: "\f189";
    color: var(--vk-color);
}

.fa-whatsapp:before {
    content: "\f232";
    color: var(--whatsapp-color);
}

.fa-address:before {
    content: "\f3da";
    background: linear-gradient(135deg, var(--vk-color), var(--whatsapp-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fa-post:before {
    content: "\f0e0";
    color: var(--alternative-color);
}

.hover:hover {
    filter: brightness(1.2);
}

/*Шапка, меню*/
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: var(--one-color);
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 16px;
}

.menu-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: clamp(10px, 2vw, 20px);
}

.logo {
    padding: 0 10px 0 0;
    text-decoration: none;
}

.logo a {
    text-decoration: none;
    color: var(--accent-color);
}

.logo a:hover {
    color: var(--hower-color);
}

.menu-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: bold;

    white-space: nowrap;
}

.menu-links a:hover {
    color: var(--hower-color);
}

/*Скрываем чекбокс*/
#menu-toggle {
    display: none;
}

/*Бургер кнопка (три линии)*/
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: left;
}

/*Смена на бургер меню в мобильных версиях*/
@media (max-width: 800px) {
    .menu-links {
        position: absolute;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        top: -500px;
        background: var(--alternative-color);
        padding: 30px 20px;
        right: 0;
        opacity: 0;
        transition: all 0.5s ease;

    }

    .burger {
        display: flex;
    }

    /*Когда чекбокс отмечен - показываем мкню*/
    #menu-toggle:checked+.burger+.menu-links {
        top: 60px;
        opacity: 1;
    }
}

/*Анимация кнопки бургер при нажатии*/
#menu-toggle:checked+.burger span:nth-child(1) {
    transform: rotate(45deg);
}

#menu-toggle:checked+.burger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked+.burger span:nth-child(3) {
    transform: rotate(-45deg);
}

/*Часть с контентом*/
.main {
    width: 100%;
    margin: 0 auto;
}

/*Анимация текста "главное" при загрузке страницы*/
.container-hero h1,
.container-hero h2,
.container-hero h3,
.container-hero p {
    opacity: 0;
    transform: translateY(30px);
    animation: appearUp 0.8s ease-out forwards;
}

.container-hero h1 {
    animation-delay: 0.2s;
}

.container-hero h2 {
    animation-delay: 0.3s;
}

.container-hero h3 {
    animation-delay: 0.4s;
}

.container-hero p {
    animation-delay: 0.4s;
}

@keyframes appearUp {
    to {
        opacity: 1;
        transform: translate(0);
    }
}

/*Секция главное*/
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    background: var(--accent-color);
    color: var(--alternative-color);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    padding: 20px;
    gap: 20px;
}

/*Градиент дышаший*/
.container-gradient {
    height: 1px;
}

.background-gradient {
    margin-top: -17%;
    width: 500px;
    height: 230px;
    background: var(--hower-color);
    filter: blur(120px);
    opacity: .75;
    animation: begin-anim 10s ease-out infinite;
    animation-delay: 2s;
}

@keyframes begin-anim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(2);
    }

    100% {
        transform: scale(1);
    }
}

/*Заголовки главное*/
.container-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    z-index: 1;
    gap: 40px;
    margin: 100px 0 0 0;
}

/*Кнопка заказа*/
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    width: 280px;
    height: 65px;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--button-color), var(--button-two-color));
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--alternative-color);
    border-radius: 50px;
    transition: ease-in-out .3s;
    cursor: pointer;
    margin: 60px 0 100px 0;
}

@media (max-width: 800px) {
    .container-hero {
        margin: 20px 0 0 0;
        gap: 30px;
    }

    .button {
        margin: 20px 0 40px 0;
    }
}

.button:hover {
    filter: brightness(1.2);
    transform: translateY(-4px);
    color: var(--one-color);
}

/*Секция услуг*/
.services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 60px 20px;
    width: 100%;
    gap: 40px;
    background: linear-gradient(135deg, var(--alternative-background-color), var(--one-color), var(--alternative-background-color), var(--one-color), var(--alternative-background-color));
}

.about {
    width: 100%;
    max-width: 1200px;
    color: var(--additional-color);
    text-align: justify;
    line-height: 1.5;
    text-indent: 30px;
}

.align {
    text-align: center;
    font-weight: bold;
}

.container-services {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    width: 100%;
    max-width: 1200px;
    grid-template-columns: repeat(auto-fit, minmax(0, 300px));
    justify-content: center;
    gap: 25px;
}

.service {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: var(--one-color);
    padding: 25px 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    gap: 20px;
}

.service h2 {
    text-align: center;
    margin-bottom: 30px;
}

.service:hover {
    transform: translateY(-5px);
}

.service-number {
    width: 100%;
    font-weight: bold;
    color: var(--hower-color);
    margin-bottom: 10px;
    text-align: center;
}

.service img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    pointer-events: none;
    padding: 0 5px;
}


/*Секция шагов изготовления*/
.timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 60px 20px;
    width: 100%;
    gap: 40px;
    background: linear-gradient(135deg, var(--one-color), var(--alternative-background-color), var(--one-color), var(--alternative-background-color), var(--one-color));
}

.container-timeline {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
    padding: 20px 0;
}

.step {
    display: flex;
    gap: 20px;
}

.card {
    width: 45%;
    padding: 12px;
    background: var(--one-color);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 10px;
    font-family: Inter;
    text-transform: none;
    color: var(--additional-color);
}

.card p {
    color: var(--alternative-additional-color);
    line-height: 1.5;
    text-align: justify;
}

.step:nth-child(odd) {
    justify-content: flex-start;
    align-items: center;
}

.step:nth-child(even) {
    justify-content: flex-end;
    align-items: center;
}

/* кружки с номерами */
.circle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hower-color);
    color: var(--one-color);
    font-weight: bold;
    font-size: 16px;
    animation: pulse 3s infinite;
}

.step:nth-child(1) .circle {
    animation-delay: 0s;
}

.step:nth-child(2) .circle {
    animation-delay: 0.5s;
}

.step:nth-child(3) .circle {
    animation-delay: 1s;
}

.step:nth-child(4) .circle {
    animation-delay: 1.5s;
}

@keyframes pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        background: var(--button-color);
        transform: translateX(-50%) scale(1.1);
    }
}

/* линия между кружками */
.container-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--hower-color);
    transform: translateX(-50%);
    z-index: 0;
    border-radius: 2px;
}

@media (max-width: 800px) {
    .step:nth-child(odd) {
        justify-content: center;
        align-items: center;
    }

    .step:nth-child(even) {
        justify-content: center;
        align-items: center;
    }

    .card {
        width: 100%;
    }

    .circle {
        position: relative;
        left: 20px;
        transform: translateX(0);
    }

    .container-timeline::before {
        left: 20px;
    }
}

/*Секция portfolio*/
.portfolio {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 60px 20px;
    gap: 40px;
    background: linear-gradient(135deg, var(--alternative-background-color), var(--one-color), var(--alternative-background-color), var(--one-color), var(--alternative-background-color));
}

.carousel {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    padding: 25px 0 25px 0;
}

.track {
    display: flex;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(.22, .61, .36, 1);
}

.slide {
    flex: 0 0 33.333%;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 0.4s, opacity 0.4s;
}

.slide img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    pointer-events: none;
    padding: 0 5px;
}

/* активный центр */
.slide.active {
    transform: scale(1.1);
    opacity: 1;
}

.slide:not(.active) {
    opacity: 0.6;
}

/* стрелки */
.arrow {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--one-color);
    font-size: 26px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}

/* точки */
.dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #666;
    display: inline-block;
    margin: 4px;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
}

.dot.active {
    background: var(--one-color);
    transform: scale(1.4);
    border: 1px solid var(--accent-color);
}

/* адаптив */
@media (max-width: 800px) {
    .slide {
        flex: 0 0 100%;
        padding: 5px;
    }

    .slide.active {
        transform: scale(1);
    }
}

/*Секция FAQ*/
.faq {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 60px 20px;
    gap: 40px;
}

.faq h2 {
    text-align: center;
    flex-wrap: wrap;
}

/*Шрифт пояснения секции*/
.subtitle {
    font-family: Inter;
    text-transform: none;
}

/*Контейнер для вопросов секции*/
.container-faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    gap: 20px;
}

/*Стрелка*/
.faq-item {
    border-bottom: 1px solid var(--accent-color);
}

/*Вопросы пункты*/
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
}

.faq-question h3 {
    text-transform: none;
    font-family: Inter;
    padding: 0 16px 0 0;
}

/*Ответы*/
.faq-answer {
    overflow: hidden;
    max-height: 0;
    transform-origin: top;
    opacity: 0;
    transition: 0.4s ease;
    text-align: left;
    line-height: 1.5;
}

.faq-answer p {
    color: var(--alternative-additional-color);
    padding: 16px;
}

.faq-item input {
    display: none;
}

/*Анимация ответов*/
.faq-item input:checked+.faq-question+.faq-answer {
    max-height: 1200px;
    opacity: 1;
}

/*Анимация стрелки*/
.faq-icon {
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.faq-item input:checked+.faq-question .faq-icon {
    transform: rotate(-135deg);
}

/*Секция контакты*/
.contacts {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 60px 20px;
    gap: 40px;
    background-color: var(--alternative-color);
    border-radius: 1000px 1000px 0px 0px;
}

.container-contacts {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/*Колонки контакты*/
.container-contacts-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    list-style: none;
}

.container-contacts-column h3 {
    color: var(--alternative-additional-color);
}

.container-contacts-column a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--accent-color);
}

.container-contacts-column a:hover {
    color: var(--hower-color);
}

/*Контакты преобразуется в столбик*/
@media (max-width: 800px) {
    .container-contacts {
        flex-direction: column;
    }

    .container-contacts-column h3 {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/*Секция подвал*/
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 60px 20px 20px 20px;
    background: var(--accent-color);
    color: var(--one-color);
}

/*Контейнер для колонок подвала*/
.container-footer {
    position: relative;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    gap: 20px;
}

/*Колонки подвала*/
.container-footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
    padding: 20px;
    list-style: none;
}

.container-footer-column h1 {
    color: var(--text-tree-color);
}

.container-footer-column h3 {
    color: var(--alternative-color);
}

.container-footer-column a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--one-color);
}

.container-footer-column a:hover {
    color: var(--hower-color);
}

/*Разделительная полоса (от колонок)*/
.border-column {
    border-right: 2px solid var(--alternative-color);
}

/*Подвал преобразуется в столбик*/
@media (max-width: 800px) {
    .container-footer {
        flex-direction: column;

    }

    .border-column {
        border-right: none;
        border-bottom: 2px solid var(--alternative-color);
    }

    .container-footer-column {
        text-align: center;
    }
}

.container-footer-column-button {
    display: flex;
    flex-direction: column;
    text-align: left;
    list-style: none;
}

/*Кнопка заказа в подвале*/
.button-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 200px;
    height: 55px;
    padding: 16px 25px;
    background: linear-gradient(135deg, var(--button-color), var(--button-two-color));
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--alternative-color);
    border-radius: 50px;
    transition: ease-in-out .3s;
    cursor: pointer;
}

.button-footer:hover {
    filter: brightness(1.2);
    transform: translateY(-4px);
    color: var(--one-color);
}

/*Водяной знак*/
.watermark {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1200px;
}

.letter {
    display: flex;
    flex: 1 1 0;
    color: var(--additional-color);
    justify-content: center;
    align-items: center;
    font-family: Oswald;
    font-weight: bold;
    font-size: clamp(60px, 10vw, 120px);
    text-transform: uppercase;
    user-select: none;
    opacity: 0.38;
    line-height: 1
}