* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: "Jost", sans-serif;
    color: #e8e8e8;
    background-color: #181818;
}

body {
    min-width: 0;
    background-color: #181818;
    line-height: 1.55;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

header {
    padding: 0.9rem 1rem;
    border-bottom: 0.1rem solid #2f2f2f;
    background-color: #202020;
}

.main_nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
}

.main_nav a {
    color: #f2b94b;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.main_nav > a:first-child {
    justify-self: start;
}

.main_nav > a:last-child {
    justify-self: end;
}

.main_nav a:hover,
.main_nav a:focus-visible {
    color: #ffd36a;
}

.logo_link {
    grid-column: 2;
}

.main_nav img {
    display: block;
    width: 4.8rem;
    height: 6.5rem;
    object-fit: contain;
}

h1,
h2,
h3 {
    color: #f2b94b;
    line-height: 1.2;
}

main {
    width: 100%;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 34rem;
    overflow: hidden;
    background-color: #111;
}

.hero_swiper {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
}

.hero_swiper .swiper-wrapper,
.hero_swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero_swiper .swiper-slide {
    overflow: hidden;
}

.hero_swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
}

.hero_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.86) 0%, rgba(8, 8, 8, 0.67) 42%, rgba(8, 8, 8, 0.43) 72%, rgba(8, 8, 8, 0.5) 100%),
        linear-gradient(0deg, rgba(8, 8, 8, 0.25), rgba(8, 8, 8, 0.25));
    pointer-events: none;
}

.hero_content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(100% - 2rem, 75rem);
    min-height: 34rem;
    margin: 0 auto;
    padding: 4.5rem 0 5rem;
    text-align: center;
}

.hero h1 {
    max-width: 46rem;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(2.35rem, 8vw, 4.2rem);
    text-shadow: 0 0.15rem 1.5rem rgba(0, 0, 0, 0.45);
}

.hero_lead {
    max-width: 42rem;
    margin: 1.15rem auto 0;
    color: #f0f0f0;
    font-size: 1.25rem;
    text-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.45);
}

.hero_area {
    max-width: 48rem;
    margin: 0.8rem auto 0;
    color: #d7d7d7;
    font-size: 1rem;
    text-shadow: 0 0.1rem 1rem rgba(0, 0, 0, 0.45);
}

.hero_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.7rem;
}

.hero_wrapper a,
.projects_actions a,
.projects_actions button {
    display: inline-block;
    padding: 0.9rem 1.2rem;
    border: 0.15rem solid #b98534;
    color: #f2b94b;
    background-color: rgba(24, 24, 24, 0.76);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
    backdrop-filter: blur(0.15rem);
}

.hero_wrapper a:first-child {
    color: #181818;
    background-color: #f2b94b;
}

.hero_wrapper a:hover,
.hero_wrapper a:focus-visible,
.projects_actions a:hover,
.projects_actions a:focus-visible,
.projects_actions button:hover,
.projects_actions button:focus-visible {
    border-color: #ffd36a;
    color: #181818;
    background-color: #ffd36a;
}

.hero_swiper .swiper-button-prev,
.hero_swiper .swiper-button-next {
    z-index: 3;
    color: rgba(242, 185, 75, 0.86);
    transform: scale(0.78);
}

.hero_swiper .swiper-pagination {
    z-index: 3;
    bottom: 1rem;
}

.hero_swiper .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: rgba(255, 255, 255, 0.75);
    opacity: 1;
}

.hero_swiper .swiper-pagination-bullet-active {
    background-color: #f2b94b;
}

.offer_text_image button {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.projects,
.info,
.offer_text,
.rating,
.process,
.contact_section {
    width: min(100% - 2rem, 75rem);
    margin: 0 auto;
}

.projects {
    width: 100%;
    max-width: none;
    padding: 5rem 1rem;
    background-color: #202020;
    text-align: center;
}

.projects > h2,
.info > h2,
.rating > h2,
.process > h2,
.contact_section > h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
}

.projects > p {
    max-width: 44rem;
    margin: 0.9rem auto 0;
    color: #bdbdbd;
}

.projects_swiper {
    width: min(100%, 78rem);
    margin: 2.3rem auto 0;
    overflow: hidden;
}

.projects_swiper .swiper-slide {
    height: auto;
    cursor: zoom-in;
}

.projects_swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 17rem;
    object-fit: cover;
}

.projects_swiper .swiper-button-prev,
.projects_swiper .swiper-button-next,
.reviews_swiper .swiper-button-prev,
.reviews_swiper .swiper-button-next {
    color: #f2b94b;
}

.projects_swiper .swiper-pagination,
.reviews_swiper .swiper-pagination {
    position: static;
    margin-top: 1.4rem;
}

.projects_swiper .swiper-pagination-bullet,
.reviews_swiper .swiper-pagination-bullet {
    background-color: #c0c0c0;
}

.projects_swiper .swiper-pagination-bullet-active,
.reviews_swiper .swiper-pagination-bullet-active {
    background-color: #f2b94b;
}

.projects_actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.7rem;
}

.info {
    display: grid;
    gap: 3.2rem;
    padding: 6rem 0;
    text-align: center;
}

.info > h2 {
    margin-bottom: -0.4rem;
}

.wrapper {
    display: grid;
    grid-template-rows: 5.8rem minmax(4rem, auto) auto;
    align-items: start;
}

.wrapper img {
    width: 5.4rem;
    height: 5.4rem;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.wrapper h3 {
    display: flex;
    align-items: start;
    justify-content: center;
    margin: 0;
    padding: 0 0.5rem;
    font-size: 1.35rem;
}

.wrapper p {
    max-width: 23rem;
    margin: 0.85rem auto 0;
    color: #bdbdbd;
    font-size: 1rem;
}

.offer_text {
    display: grid;
    gap: 2.6rem;
    padding: 5.5rem 0;
    align-items: center;
}

.offer_text_image img {
    display: block;
    width: 100%;
    height: clamp(19rem, 65vw, 28rem);
    object-fit: cover;
}

.offer_text_content h2 {
    font-size: clamp(2rem, 6vw, 2.7rem);
}

.offer_text_content p {
    margin-top: 1rem;
    color: #c4c4c4;
    line-height: 1.75;
}

.rating {
    padding: 5.5rem 0;
    text-align: center;
}

.rating_summary {
    margin: 1.2rem 0 1.6rem;
}

.stars,
.review_stars {
    color: #f2b94b;
    letter-spacing: 0.12em;
}

.stars {
    font-size: 2rem;
}

.rating_summary p {
    margin-top: 0.35rem;
    font-size: 1.1rem;
}

.reviews_empty {
    margin: 0 auto 1.4rem;
    color: #bdbdbd;
}

.reviews_swiper {
    width: min(100%, 72rem);
    padding: 0.5rem 2.7rem 0;
}

.review_card {
    height: auto;
    padding: 1.4rem;
    border: 0.1rem solid #3a3a3a;
    background-color: #202020;
    text-align: left;
}

.review_stars {
    margin-bottom: 0.8rem;
}

.review_content {
    color: #e2e2e2;
    line-height: 1.65;
}

.review_meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.6rem;
    margin-top: 1.1rem;
    color: #a9a9a9;
}

.review_meta strong {
    color: #f2b94b;
}

.rating_link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #e3ad4f;
}

.process {
    padding: 5.5rem 0;
}

.process > h2 {
    margin-bottom: 3rem;
    text-align: center;
}

.process_grid {
    display: grid;
    gap: 3rem;
}

.process_item {
    text-align: center;
}

.process_item img {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.process_item h3 {
    min-height: 3.2rem;
    font-size: 1.2rem;
}

.process_item p {
    max-width: 20rem;
    margin: 0.65rem auto 0;
    color: #bdbdbd;
}

.contact_section {
    padding: 5.5rem 0 1rem;
}

.contact_section > h2 {
    text-align: center;
}

.contact_intro {
    max-width: 43rem;
    margin: 1rem auto 3rem;
    color: #bdbdbd;
    text-align: center;
}

.contact_layout {
    display: grid;
    gap: 3rem;
}

address {
    display: grid;
    gap: 1.1rem;
    align-content: start;
    font-style: normal;
}

.address_wrapper {
    padding-bottom: 0.8rem;
}

address a {
    color: #e3ad4f;
    font-size: 1.1rem;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.form h2 {
    margin-bottom: 1.4rem;
    font-size: 1.8rem;
}

.form form {
    display: grid;
    gap: 1.2rem;
}

.form_grid {
    display: grid;
    gap: 1rem;
}

.form_grid > div {
    display: grid;
    gap: 0.4rem;
}

.form label {
    color: #cf9b43;
    font-weight: 600;
}

.form label span {
    color: #8f8f8f;
    font-size: 0.85rem;
    font-weight: 400;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 0.8rem;
    border: 0.1rem solid #6e552e;
    outline: none;
    color: #e8e8e8;
    background-color: #202020;
    transition: 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: #f2b94b;
    background-color: #242424;
}

.form textarea {
    min-height: 9rem;
    resize: vertical;
}

.form input[type="file"] {
    padding: 0.7rem;
}

.full_field {
    grid-column: 1 / -1;
}

.field_help,
.privacy_short {
    color: #9f9f9f;
    font-size: 0.9rem;
    line-height: 1.55;
}

.form button {
    justify-self: start;
    padding: 0.85rem 1.2rem;
    border: 0.15rem solid #b98534;
    color: #f2b94b;
    background-color: transparent;
    font-weight: 700;
    cursor: pointer;
}

.form button:hover,
.form button:focus-visible {
    border-color: #ffd36a;
    color: #181818;
    background-color: #ffd36a;
}

.form_status {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border: 0.1rem solid #6e552e;
}

.privacy_short a {
    color: #e3ad4f;
}

.honeypot {
    position: absolute;
    left: -9999rem;
    width: 0;
    height: 0;
    overflow: hidden;
}

footer {
    margin-top: 5rem;
    padding: 2.2rem 1rem;
    border-top: 0.1rem solid #2f2f2f;
    background-color: #202020;
}

.footer_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    max-width: 75rem;
    margin: 0 auto;
}

.footer_wrapper img {
    width: 4.5rem;
    height: 6rem;
    object-fit: contain;
}

footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.4rem;
}

footer a {
    color: #e3ad4f;
    text-decoration: none;
}

.copyright {
    margin-top: 1.6rem;
    color: #bdbdbd;
    text-align: center;
}

body.image_lightbox_open {
    overflow: hidden;
}

.image_lightbox {
    display: none;
}

.image_lightbox.open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 4rem 3.5rem 2rem;
    background-color: rgba(24, 24, 24, 0.98);
}

.image_lightbox img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    object-fit: contain;
}

.image_lightbox_close,
.image_lightbox_prev,
.image_lightbox_next {
    position: fixed;
    z-index: 10000;
    border: 0.125rem solid #b98534;
    color: #f2b94b;
    background-color: #181818;
    cursor: pointer;
    touch-action: manipulation;
}

.image_lightbox_close {
    top: max(1rem, env(safe-area-inset-top));
    right: 1rem;
    padding: 0.65rem 0.9rem;
}

.image_lightbox_prev,
.image_lightbox_next {
    top: 50%;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    transform: translateY(-50%);
}

.image_lightbox_prev {
    left: 0.4rem;
}

.image_lightbox_next {
    right: 0.4rem;
}

@media (min-width: 768px) {
    .hero,
    .hero_content {
        min-height: 39rem;
    }

    .hero_content {
        align-items: flex-start;
        padding: 5.5rem 0;
        text-align: left;
    }

    .hero h1,
    .hero_lead,
    .hero_area {
        margin-left: 0;
        margin-right: 0;
    }

    .hero_wrapper {
        justify-content: flex-start;
    }


    header {
        padding: 1rem 2rem;
    }

    .main_nav a {
        font-size: 1.25rem;
    }

    .main_nav img {
        width: 5.6rem;
        height: 7.7rem;
    }

    .projects_swiper .swiper-slide img {
        height: 19rem;
    }

    .info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.3rem;
        padding: 7rem 0;
    }

    .info > h2 {
        grid-column: 1 / -1;
    }

    .offer_text {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 4rem;
        padding: 6.5rem 0;
    }

    .offer_text_image img {
        height: 26rem;
    }

    .process_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem 2rem;
    }

    .contact_layout {
        grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.4fr);
        gap: 4rem;
    }

    .form_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer_wrapper {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .hero,
    .hero_content {
        min-height: min(72vh, 48rem);
    }

    .hero_content {
        padding: 6.5rem 0;
    }

    .hero h1 {
        max-width: 50rem;
    }

    .hero_lead {
        font-size: 1.3rem;
    }


    .main_nav img {
        width: 6.2rem;
        height: 8.4rem;
    }

    .hero {
        gap: 5rem;
        padding: 7rem 0;
    }

    .projects {
        padding-top: 6.5rem;
        padding-bottom: 6.5rem;
    }

    .projects_swiper .swiper-slide img {
        height: 20rem;
    }

    .process_grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 2rem;
    }

    .process_item h3 {
        min-height: 3.4rem;
    }
}
