html, body {
    /*font-family: 'Roboto', sans-serif;*/
    margin: 0;
    padding: 0;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-height: 100vh;
    justify-content: space-between;
    background: var(--background-color);
    position: relative;
}
img, video, svg {
    max-width: 100%;
}
*{
    text-wrap-style: pretty;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /*outline: 1px solid #000;*/

}
html {
    scroll-behavior: smooth;
}
button {
    cursor: pointer;
}

:root{
    /* Шрифты ----------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------*/
    --condens: "Bootshaus", sans-serif;
    --pfb: "PFBaselinePro-Bold", sans-serif;
    --pfb-regular: "PFBaselinePro-Regular", sans-serif;
    /* -----------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------- Шрифты*/

    /* Скругления ------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------*/
    --radius-s: 5px;
    --radius-m: ;
    --radius-l: ;
    /* ------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------- Скругления*/

    /* Кнопки ----------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------*/
    --border-button: var(--radius-s);
    --background-button: #88D55D;
    --button-shadow-bottom: 0px 2px 0px 0px rgb(82, 135, 51);
    --button-shadow-bottom-hover: 0px 1px 0px 0px rgba(0, 101, 54, 0.90);
    --button-background-hover: ;
    /* -----------------------------------------------------------------------------------------------------------------
    ------------------------------------------------------------------------------------------------------------- Кнопки*/
    --background-color: #1e1e1e;
    --background-card: #2c2c2c;
    --background-button-footer: #343434;
    --background-menu-mobile: rgba(43, 43, 43, 0.8);
    --gap-flex: 15px;
    --color-accent: #A7FF76;
}

/* Базовые стили для мобильных (вне медиа-запроса) */
.container {
    max-width: 1280px; /* Максимальная ширина */
    width: 100%; /* На маленьких экранах занимает всю ширину */
    margin: 0 auto; /* Центрирование */
    padding: 0 5px; /* Отступы по бокам */
    box-sizing: border-box;
}

.hidden {
    display: none;
}

.inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
.color-accent {
    color: var(--color-accent);
}
.flex {
    display: flex;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-gap {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(10px, var(--gap-flex), 20px);
}

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

.flex-space-between {
    justify-content: space-between;
}

.width-100 {
    width: 100%;
}

.height-6_5 {
    height: 7rem;
    justify-content: space-between;
}

.card-con {
    background: var(--background-card);
    border-radius: var(--radius-s);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-flex);
}
.footer-copyright {
    font-size: 12px;
    font-weight: 400;
    color: rgb(255 255 255 / 60%);
    font-family: "Inter", sans-serif;
    text-decoration: none;
}
.card-link {
    text-decoration: none;
}


/*Окно с cookies*/
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: #f8d7da;
    color: #721c24;
    z-index: 9999;
    text-align: center;
}
/*Окно с cookies*/

/*Выбор языка сайта*/
.language-dropdown {
    position: relative;
    display: flex;
    cursor: pointer;
    width: 28px;
    top: 0;
    bottom: 0;
    margin: auto;
    flex-direction: column;
    gap: 5px;
}

.current-language {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.language-con {
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 4px;
    background: var(--background-card);
    border-radius: 6px;
    height: fit-content;
    border: 1px solid rgb(255 255 255 / 10%);
}
.language-con:hover {
    background: #232323;
}
.language-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
}

.language-icon {
    position: absolute;
    bottom: 0;
}

.flag-icon {
    width: 100%;
    height: 100%;
    object-fit: fill;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 3px;
}

.arrow {
    position: relative;
    width: 100%;
    height: 100%;
}

.language-options {
    position: relative;
    top: 120%;
    right: 0;
    z-index: 999;
    min-width: 28px;
    border-radius: 3px;

}

.language-option {
    display: flex;
    align-items: center;
}

/*Выбор языка сайта*/

/*Кнопки*/
.button span{
    display: none;
}
.button-icon {
    width: 20px;
    height: 20px;
}
.button {
    background: var(--background-button);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    outline: 0;
    border: none;
    box-shadow: var(--button-shadow-bottom);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border-radius: var(--radius-s);
    text-decoration: none;
}
.button:hover {
    box-shadow: var(--button-shadow-bottom-hover);
}
.button-menu {
    width: 44px;
    height: 36px;
}
.button-action {
    width: 100%;
    height: 45px;
    color: #1C1C1C;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}
/*Кнопки*/

.header {
    padding-block: 10px !important;
}
.logo-top {
    width: 76px;
    height: 36px;
}

/*Футер*/
.copyright {
    gap: var(--gap-flex);
}
.footer-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-decoration-line: underline;
}
.inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contact_button {
    background: var(--background-button-footer);
    width: 40px;
    height: 40px;
    outline: 0;
    border-radius: 5px;
    border: none;
    transition: all 0.2s ease;
}
.footer-contact_button:hover {
    background: #1e1e1e;
    outline: 1px solid rgba(255, 255, 255, 0.1);
}
.menu-mobile {
    position: relative;
    width: 100%;
    bottom: 0;
    margin: 5px auto 5px;
    padding-inline: 5px;
    z-index: 99;
}
.menu-mobile__inner {
    background: var(--background-menu-mobile);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    backdrop-filter: blur(5px);
}
.menu-mobile.fixed {
    position: fixed;
}
.menu-mobile.relative {
    position: relative;
}
.has-children.relative.open {
    background: hsl(0deg 1% 21% / 40%);
    border-radius: 5px;
    backdrop-filter: blur(5px);
}
.menu-wrapper {
    position: fixed;
    bottom: -503px;
    width: 100%;
    transition: all 0.3s ease-in-out;
    z-index: -20;
}
.menu-wrapper.open {
    bottom: 77px;
    z-index: 999;
}
.menu-footer .home-link {
    border-radius: 5px;
    margin-bottom: 20px;
    justify-content: flex-start;
    align-items: self-end;
    gap: 20px;
    font-family: 'Inter', sans-serif;
    background: hsl(0deg 1% 21% / 40%);
    backdrop-filter: blur(5px);
}
.menu-footer > li:first-child {
    border-bottom: none;
}
.menu-mobile__inner a,
.menu-mobile__inner button{
    background: transparent;
    outline: 0;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: space-between;
    max-width: 80px;
    text-align: center;
    text-decoration: none;
}

.main-con {
    min-height: 60vh;
    margin-top: 20px;
}
.menu-mobile__title {
    font-size: 11px;
    color: rgb(255 255 255 / 90%);
    margin-top: 3px;
}
/*Футер*/
.relative {
    position: relative;
}
.menu-desc {
    display: none;
}
.menu-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.menu-footer,
.menu-footer .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.menu-footer > li {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
}
.menu-footer li a {
    display: flex;
    padding: 10px 0 10px 8px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    width: 100%;
    transition: background 0.2s;
    background: transparent;
    max-width: 100%;
    align-items: center;
    flex-direction: row;
}
.menu-footer li a.has-children {
    position: relative;
    padding-right: 24px;
}
.menu-footer li .arrow {
    margin-left: auto;
    width: 9px;
    height: 5px;
    display: flex;
    vertical-align: middle;
    transition: transform 0.25s cubic-bezier(0.3,0.5,0.4,1);
}
.menu-footer li.open > a.has-children .arrow {
    transform: rotate(180deg);
}
.menu-footer .submenu {
    display: none;
    padding-left: 10px;
}
.menu-footer li.open > .submenu {
    display: flex;
}
.menu-footer li:not(:has(.submenu)) .arrow {
    display: none;
}
.language-dropdown img {
    filter: brightness(0.7);
}
.language-dropdown img:hover {
    filter: brightness(1);
}
.main__title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    margin-top: 60px;
}
.main__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 400;
    line-height: clamp(20px, 4vw, 24px);
    text-align: left;
    margin-top: 25px;
    text-wrap-style: balance;
}
.main__section_title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 15px;
}
.main__section_subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 400;
    line-height: clamp(20px, 4vw, 24px);
    text-align: left;
    margin-bottom: 5px;
    max-width: 100%;
}
.main__right {
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main__right .main__img {
    width: 100%;
    max-width: clamp(280px, 35vw, 500px);
    height: auto;
}
.main__btn {
    width: 100%;
    height: 45px;
    color: rgb(255 255 255 / 90%);
    font-size: 16px;
    font-weight: 400;
}
.main__btn__desc {
    display: none;
}
#main {
    padding-bottom: 30px;
    padding-top: clamp(0px, 4vw, 60px);
}
.card__services_container {
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: clamp(7px, 2.7vw, 10px);
    background: #272727;
}
.card__services_header {
    background: var(--background-card);
    border-radius: clamp(6px, 1.8vw, 10px);
    padding: clamp(10px, 4vw, 20px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}
.card__services_header_title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.card__services_header_subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 400;
}
.card__services_services_container img {
    width: clamp(50px, 15vw, 215px);
    height: auto;
}
.card__services_header_title_container {
    width: 82%;
    align-items: flex-start;
}
.card__services_header_expand {
    position: absolute;
    right: 0;
    bottom: -9px;
    cursor: pointer;
}
.card__services_header_expand:hover {
    circle {
        filter: brightness(0.9);
    }
}
.card__services_header_expand {
    position: absolute;
    right: 0;
    bottom: -9px;
    cursor: pointer;
    width: 55px;
    height: 38px;
}
.card__services_content {
    display: none;
    grid-template-columns: repeat(1, 1fr);
    gap: clamp(15px, 1.2vw, 20px);
    height: 0;
    overflow: hidden;
}
.card__services_content.open {
    display: grid;
    max-height: fit-content;
    padding: 8px;
    height: fit-content;
}
.card__services_content_item {
    padding: 10px;
    border-radius: clamp(6px, 1.8vw, 10px);
    background: var(--background-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(20px, 5vw, 40px);
    justify-content: space-between;
}
.card-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(20px, 4vw, 32px);
    font-weight: 600;
    line-height: 24px;
    text-align: left;
    margin-top: clamp(20px, 3vw, 40px);
    margin-bottom: clamp(5px, 2vw, 20px);
    text-transform: uppercase;
}
.card-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 300;
    text-align: center;
}
.card__services_content_item .card__icon {
    width: clamp(74px, 11vw, 174px);
    height: auto;
}
.card__bottom {
    margin-top: clamp();
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card__bottom__price {
    padding: 5px 10px;
    max-width: fit-content;
    background: rgb(30, 30, 30);
    border-radius: 7px;
    color: rgb(255 255 255 / 90%);
    font-size: clamp(20px, 4vw, 24px);
    font-weight: 500;
}
.card__bottom_icon {
    width: clamp(30px, 4vw, 50px);
    height: auto;
    min-width: 30px;
    min-height: 31px;
}
.section__title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(20px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: clamp(15px, 2vw, 20px);
}
.section__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 400;
    margin-bottom: clamp(15px, 4vw, 40px);
}
.terms__content {
    margin-top: clamp(15px, 4vw, 20px);
    margin-bottom: clamp(20px, 4vw, 40px);
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 300;
}
.terms__title {
    font-size: clamp(16px, 4vw, 28px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    text-transform: uppercase;
}
.terms__item {
    background: var(--background-card);
    padding: clamp(10px, 4vw, 20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(5px, 1.6vw, 10px);
    position: relative;
    overflow: hidden;
}
.terms__container {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(15px, 4vw, 20px);
}
.terms__bottom {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}
.dogovor .terms__bottom {
    margin-bottom: clamp(-25px, 4vw, -30px);
}
.dogovor {
    width: 100%;
}
.step_pay {
    width: 100%;
}
.guarantee {
    width: 100%;
}
.help-me {
    width: 100%;
}
.terms__bottom img {
    width: clamp(100px, 14vw, 260px);
}
.dogovor .terms__bottom img {
    width: 100%;
}
#terms, #steps-work {
    margin-top: 40px;
    margin-bottom: 40px;
}
.steps-work__item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(5px, 1vw, 10px);
    background: rgb(44, 44, 44);
    padding: clamp(10px, 4vw, 20px);
}
.steps-work__title_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}
.steps-work__title_container svg {
    width: clamp(45px, 4vw, 60px);
    height: auto;
}
.steps-work__title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    text-transform: uppercase;
    width: 70%;
}
.steps-work__content {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 300;
    margin-top: clamp(15px, 2vw, 35px);
}
.steps-work__container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: clamp(10px, 2vw, 20px);
}
.steps-work__button_bottom, .steps-work__button {
    margin-top: clamp(15px, 4vw, 20px);
}
#portfolio, #order, #article {
    margin-bottom: 40px;
    border-radius: clamp(7px, 2.7vw, 10px);
    background: #272727;
    overflow: hidden;
}
.card__portfolio_content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: clamp(15px, 1.2vw, 20px);
    overflow: hidden;
    padding: 8px;
}
.share-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 8px;
}
.share-btn {
    background: #5ebd3e;
    border: none;
    border-radius: 6px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
}
.share-links {
    display: flex;
    gap: 5px;
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s, opacity 0.3s;
    margin-left: 5px;
    align-items: center;
}
.share-wrapper.open .share-btn {
    background: #3a8221;
    border: 1px solid rgb(255 255 255 / 50%);
}
.share-wrapper.open .share-links {
    max-width: 200px;
    opacity: 1;
}
.share-links a {
    background: #232323;
    color: #fff;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
}
#sendForm {
    max-width: 97%;
    margin: 0 auto;
    background: var(--background-card);
    padding: clamp(10px, 4vw, 20px);
    border-radius: clamp(5px, 2vw, 10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.send-form {
    position: fixed;
    background: rgb(24 24 24 / 20%);
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -10;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(38, 38, 38, 0.5);
}
.send-form.open {
    display: flex;
    opacity: 1;
    z-index: 999;
}
.send-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}
.send-field { display: flex; flex-direction: column; }
label { font-weight: 500; margin-bottom: 6px; color: #fff; }
input[type="text"], input[type="email"] {
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 7px;
    padding: 9px 14px;
    background: #1d1d1d6e;
    color: rgb(255 255 255 / 90%);
    font-size: 16px;
    height: 45px;
}
input[type="text"]:focus, input[type="email"]:focus {
    outline: 0;
    border-color: rgba(255, 255, 255, 0.4);
}
.send-btn {
    background: linear-gradient(90deg, #16db5a 20%, #12b65b 100%);
    color: #fff;
    padding: 14px 0;
    border-radius: 9px;
    font-size: 1.14rem;
    border: none;
    margin-top: 6px;
    cursor: pointer;
    transition: box-shadow .2s;
}
.send-btn:hover { box-shadow: 0 0 0 3px #16db5a44; }
.form-errors {
    color: #c33f3f;
    margin-bottom: 8px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
}
ul.errorlist {
    list-style: none;
}
.contact-methods {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}
.contact-radio-label {
    margin: 0;
}
.contact-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 10px 10px;
    background: #262626;
    transition: border-color .18s, box-shadow .18s;
    font-size: 14px;
    max-height: 35px;
}
.contact-radio-label input[type="radio"] {
    margin-right: 6px;
    accent-color: #16db5a;
}
.contact-radio-label:hover, .contact-radio-label:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
}
.send-field .errorlist {
    color: #ff6666;
    font-size: 0.95em;
    margin: 0 0 5px 0;
    padding: 0;
    list-style: none;
}
.send-form-close {
    width: 30px;
    height: 30px;
    background: transparent;
    outline: 0;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
}
.send-form-close:hover {
    border-color: rgba(255, 255, 255, 0.3);
}
#sendForm {
    position: relative;
}

.brief__title {
    font-size: clamp(16px, 4vw, 28px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}
.brief__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.brief-form-container {
    margin-top: clamp(40px, 4vw, 60px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: clamp(40px, 4vw, 60px);
    background: rgb(39, 39, 39);
    border-radius: clamp(5px, 4vw, 10px);
    padding: clamp(10px, 2vw, 20px);
}
.brief-form-container button.button.button-action {
    margin-top: clamp(40px, 4vw, 60px);
}
.brief-grid { display: flex; flex-wrap: wrap; gap: 16px;}
.brief-field { flex: 1 1 100px;gap: 5px; min-width: 250px; display: flex; flex-direction: column; color: #fff; position: relative;}
label { font-weight: 600; margin-bottom: 4px;}
input, textarea, select {
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 7px;
    padding: 9px 14px;
    background: #1d1d1d6e;
    color: rgb(255 255 255 / 90%);
    outline: 0;
    max-width: 100%;
    max-height: 500px;
    min-height: 35px;
    height: 35px;
    width: 100%;
    &:focus {
        border: 1px solid rgba(255, 255, 255, 0.4);
    }
    }
.help-text { color: #bdbdbd; font-size: 0.95em; }
.field-error { color: #ff6666; font-size: 0.95em; }
.form-errors { color: #ff3333; margin-bottom: 8px; }
.contact-methods {
    display: flex;
    gap: 16px;
    margin: 0 0 0 0;
}
.contact-radio-label input[type="radio"] {
    margin-right: 8px;
    accent-color: #18ca53;
    margin-bottom: 0;
    max-width: 15px;
    width: 15px;
    max-height: 15px;
    height: 15px;
}
.contact-radio-label img {
    margin-right: 6px;
}
.contact-radio-label:hover, .contact-radio-label:focus-within {
    border-color: #18ca53;
    box-shadow: 0 0 0 2px #18ca5340;
}
.send-field {
    font-size: 14px;
}
.image_container {
    width: 100%;
    height: min-content;
    position: relative;
}
.card__portfolio_items .image_container img {
    width: 100%;
    max-height: clamp(130px, 17vw, 190px);
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: clamp(6px, 1.8vw, 11px);
    position: relative;
    z-index: 2;
}
.image_overlay {
    border-radius: clamp(6px, 1.8vw, 10px);
    background: rgb(39 39 39);
    width: 100%;
    height: 100%;
    padding-bottom: 4px;
    position: absolute;
    top: 0;
    z-index: 1;
}
.article_title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 700;
    text-transform: uppercase;
    margin: 30px 0 5px;
}
.article_tags {
    color: rgb(255, 255, 255);
    font-size: clamp(13px, 4vw, 16px);
    font-weight: 400;
    margin-bottom: 10px;
}
span.article_content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(14px, 4vw, 17px);
    font-weight: 300;
    margin-bottom: 15px;
}
.article_button {
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    height: 45px;
    min-height: 45px;
    padding-inline: clamp(20px, 6vw, 40px);
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(13px, 4vw, 18px);
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    max-width: fit-content;
    align-self: flex-end;
}
.article_button:hover {
    background: #1e1e1e;
}
.share-links a:hover {
    background: #1e1e1e;
}
.share-links a.ok svg {
    max-width: 13px;
}
.share-links a.fb svg {
    max-width: 10px;
}
.share-links a.vk svg {
    max-width: 20px;
}
.article_footer {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: auto;
}
.card__portfolio_items_container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
.card__portfolio_items {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(9px, 1.8vw, 12px);
    background: rgb(44, 44, 44);
}
.article_container {
    padding: clamp(10px, 4vw, 20px);
    padding-top: 0;
    height: -webkit-fill-available;
}
span.article_content {
    display: flex;
    flex-direction: column;
    height: -webkit-fill-available;
}
.brief-field label {
    font-size: clamp(16px, 3vw, 18px);
}
.brief-field input {
    height: 35px;
}
.brief-form-container .contact-radio-label {
    padding: 0 10px;
}


.custom-select-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.custom-select {
  display: none;
}
.cs-display {
    background: #1e1e1e;
    color: #fff;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 7px;
    padding: 10px 16px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    text-align: left;
}
.cs-display.open,
.cs-display:focus {
  border-color: #16db5a;
  box-shadow: 0 0 0 2px #16db5a44;
}
.cs-dropdown {
  position: absolute;
  z-index: 100;
  left: 0; right: 0;
  background: #1e1e1e;
  border-radius: 7px;
  margin-top: 2px;
  display: none;
    top: 100%;
    overflow: hidden;
}
.cs-dropdown.open {
  display: block;
}
.cs-option {
  padding: 9px 16px;
  cursor: pointer;
  color: #fff;
  transition: background 0.13s;
}
.cs-option.selected, .cs-option:hover {
    background: rgb(0 169 90);
    color: rgb(255 255 255 / 90%);
}
.cs-option.disabled {
  color: #8c8c8c;
  cursor: default;
  background: transparent;
}
.cs-arrow {
  float: right;
  margin-left: 14px;
  transition: transform 0.18s;
}
.cs-display.open .cs-arrow {
  transform: rotate(180deg);
}
.brief-grid__row {
    background: rgb(44, 44, 44);
    padding: clamp(10px, 4vw, 20px);
    border-radius: clamp(5px, 1.6vw, 10px);
    width: 100%;
    align-items: flex-start;
}
.brief-field.more textarea {
    max-width: 79vw;
}
.custom-file-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.brief-form-container button.button.button-action {
    max-width: fit-content;
    padding-inline: clamp(20px, 4vw, 50px);
    align-self: center;
}
.file-btn {
    display: inline-block;
    background: var(--background-button);
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0;
    transition: box-shadow .15s;
    width: 50px;
    height: 50px;
}
.file-btn:hover {
    box-shadow: 0 0 0 3px #16db5a33;
}
.file-btn svg {
    width: 30px;
    height: 30px;
    path {
        fill: rgba(255, 255, 255, 0.9);
    }
}
.file-names {
    display: block;
    margin-top: 6px;
    color: #a2ffd8;
    font-size: 0.97em;
    min-height: 1.5em;
    word-break: break-all;
}
.order__inner-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
    z-index: 3;
}
.order__inner {
    padding: clamp(10px, 2vw, 20px);
    justify-content: space-between;
    position: relative;
}
.order__inner-title .card__services_header_title {
    margin: 0;
}
.order__inner-title .main__btn__desc {
    margin: 0;
}
.order__img {
    width: auto;
    height: auto;
    z-index: 2;
}

.order__inner_back {
    position: absolute;
    right: 0;
    z-index: 1;
    bottom: -100px;
    width: 100%;
    height: 100%;
}
#order {
    max-height: 385px;
}
.article-card-img {
    width: 100%;
    height: auto;
    border-radius: clamp(5px, 2vw, 10px);
    max-height: 200px;
    background-size: cover;
    object-fit: cover;
    background-position: center;
}
.article-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 4vw, 20px);
}
.article-card-content .article_title {
    margin: 0;
}
.article-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(5px, 1vw, 10px);
    background: rgb(44, 44, 44);
    padding: clamp(10px, 4vw, 20px);
    margin-bottom: 15px;
}
.button.button-action.inter.article {
    width: fit-content;
    padding-inline: clamp(20px, 4vw, 40px);
}
#order {
    max-height: 345px;
}
button.button.main__btn__desc.form {
    display: flex;
    min-height: 45px;
    font-size: clamp(16px, 3vw, 18px);
    color: #1C1C1C;
    font-family: 'Inter';
}
.article__button_container {
    justify-content: space-around;
    margin-bottom: 20px;
}
.review_card_author_avatar {
    width: clamp(30px, 4vw, 50px);
    height: auto;
    border-radius: 100%;
    border: 1px solid rgb(255 255 255 / 10%);
    min-width: clamp(30px, 4vw, 50px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(30px, 4vw, 50px);
    background: rgb(240 248 255 / 80%);
    font-weight: 600;
}
.review_card_title {
    font-size: clamp(14px, 2vw, 16px);
    color: rgb(255 255 255 / 90%);
}
.review_card_author__smile {
    padding: 4px;
    border-radius: 100%;
    border: 1px solid rgb(255 255 255 / 10%);
}
.review_card_author__name {
    font-size: 16px;
    color: rgb(255 255 255 / 90%);
    font-weight: 600;
}
.review_card_author__date {
    color: rgb(255 255 255 / 50%);
    font-size: 11px;
}
.review_card_body__review {
    font-size: clamp(14px, 2vw, 16px);
    color: rgb(255 255 255 / 90%);
    font-weight: 300;
}
.review_card_body {
    align-items: start;
    gap: 10px;
}
.review_card_author__button {
    margin-left: auto;
}
.reviews {
    gap: clamp(15px, 3vw, 20px);
    margin-block: clamp(20px, 4vw, 40px);
}
.review_card {
    border: 1px solid rgb(255 255 255 / 10%);
    padding: clamp(5px, 1vw, 10px);
    margin: clamp(5px, 1vw, 10px);
    border-radius: clamp(5px, 1vw, 8px);
    background: #2C2C2C;
}
.article_tags {
    color: rgb(255, 255, 255);
    font-size: clamp(13px, 4vw, 16px);
    font-weight: 400;
    margin-bottom: 10px;
    padding: 7px 20px 7px 20px;
    border-radius: 6px;
    background: rgb(30, 30, 30);
    gap: 5px;
    align-self: flex-start;
}
.main-con-audit {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}
.menu-audit {
    position: absolute;
    z-index: 999;
    min-height: 100vh;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100vw;
    background: #1C1C1C;
    justify-content: space-between;
    padding-block: 50px;
    align-items: stretch;
    width: 100vw;
}
.menu-audit__button {
    background: transparent;
    outline: 0;
    border: none;
    position: absolute;
    right: 10px;
}
nav.flex-column.menu-audit.hidden-menu .menu-audit__button {
    right: -32px;
}
.container-audit {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
}
.hidden-menu {
    position: absolute;
    top: 0;
    left: -100vw;
}
.hidden-icon {
    display: none;
}
.base-con-audit {
    width: 100%;
    margin-top: 40px;
}
.language-wrapper__audit {
    margin-left: auto !important;
    margin-right: auto !important;
}
.main-menu__audit {
    padding-inline: 30px;
    list-style: none;
    gap: 20px;
}
.menu-audit__link {
    background: #272727;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 45px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    color: rgb(255 255 255 / 90%);
    gap: 20px;
    transition: all 0.2s ease-in-out;
    outline: none;
    border: none;
}
.menu-audit__link:hover {
    background: #353535;
    color: #EB1D25;
}
.menu-logout.menu-audit__link {
    flex-direction: row-reverse;
    justify-content: space-between;
    color: #EB1D25;
}
.menu-audit__item.active .menu-audit__link svg { color: #EB1D25; }
.menu-audit__item.active .menu-audit__link { color: #EB1D25; }
.audit-page {
    background: #232323;
}
.title-container {
    padding: 10px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgb(255 255 255 / 90%);
    font-size: 24px;
    font-weight: 600;
    background-image: linear-gradient(90deg, #1C1C1C, #1c1c1c4d);
}
.button-contacts {
    width: fit-content;
    padding-inline: 40px;
}
.contacts__item a {
    color: rgba(255, 255, 255, 0.9);
}
.card {
    padding: 20px;
    background: #2D2D2D;
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 12px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    gap: 8px;
    height: 400px;
}

.card__site_name {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: underline;
}
.card__form {
    position: absolute;
    top: 0;
    background: #272727;
    width: 100%;
    height: 100%;
    right: -100%;
    padding: 20px;
    transition: all 0.1s ease-in-out;
}
.card__form_active {
    right: 0;
}
.audit__mode-options label {
    flex-direction: row-reverse;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 10px 20px;
    cursor: pointer;
    background: #1c1c1c;
    border-radius: 12px;
}
.audit__mode-options label input {
    width: 20px;
    height: 20px;
}
.form_radio_btn {
    display: inline-block;
}
.form_radio_btn input[type=radio] {
    display: none;
}
.form_radio_btn label {
    display: inline-block;
    cursor: pointer;
    padding: 15px 15px;
    border-radius: var(--radius-s);
    user-select: none;
    background: #1c1c1c;
    transition: background 0.2s, color 0.2s;
    margin: 0;
}

/* Checked */
.form_radio_btn input[type=radio]:checked + label {
    background: var(--background-button);
    color: #1C1C1C;
}

/* Hover */
.form_radio_btn label:hover {
    color: #1C1C1C;
    background: var(--background-button);
}

/* Disabled */
.form_radio_btn input[type=radio]:disabled + label {
    background: #efefef;
    color: #aaa;
    border-color: #ccc;
}
.card__audit_form_button {
    margin-top: auto;
    font-weight: 600;
}
.audit__mode-options {
    margin-top: 40px;
}
.card__button_menu, .card__button_menu-close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 99;
    cursor: pointer;
}
.card__last_audit {
    font-size: 16px;
    font-weight: 600;
    color: rgb(255 255 255 / 90%);
}
.card__site_url {
    font-size: 14px;
    color: rgb(255 255 255 / 50%);
    font-style: italic;
}
.audit_score_plot__img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    max-height: 150px;
}
.card__last_audit_container {
    color: rgba(255, 255, 255, 0.90);
}
.card__button {
    margin-top: auto;
    width: fit-content;
    padding-inline: 40px;
    align-self: flex-end;
}
.title-audit-button {
    width: fit-content;
    padding-inline: 40px;
}
.card__audit_form_site_button {
    width: fit-content;
    padding-inline: 20px;
}
.form_radio_btn_site {
    display: inline-block;
}

.form_radio_btn_site input[type=radio] {
    display: none;
}

.form_radio_btn_site label {
    display: inline-block;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: var(--radius-s);
    user-select: none;
    background: #1c1c1c;
    transition: background 0.2s, color 0.2s;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Checked */
.form_radio_btn_site input[type=radio]:checked + label {
    background: var(--background-button);
    color: #1C1C1C;
}

/* Hover */
.form_radio_btn_site label:hover {
    color: #1C1C1C;
    background: var(--background-button);
}

/* Disabled */
.form_radio_btn_site input[type=radio]:disabled + label {
    background: #efefef;
    color: #aaa;
    border-color: #ccc;
}
.site__audit_button_site {
    width: fit-content;
    padding-inline: 20px;
}
.site-form {
    gap: 20px;
}
.back-link {
    color: rgb(255 255 255 / 90%);
    font-size: 18px;
    padding-bottom: 10px;
    display: block;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: auto;
    gap: 20px;
    margin-top: 40px;
}




/* 1) Планшеты */
@media screen and (min-width: 768px) {
    .container {
        padding: 0 40px; /* Больше отступов на планшетах */
    }
    .button span {
        display: block;
    }
    .button-icon {
        display: none;
    }
    .menu-mobile {
        padding: 0 40px;
    }
    .flex-row.copyright {
        justify-content: flex-start;
    }
    .footer-copyright {
        max-width: 210px;
    }
    .brief-field.more textarea {
        max-width: 57vw;
    }
    .flex-column.flex-gap.height-6_5.contact-footer {
        flex-direction: row;
        width: 100%;
        flex-wrap: nowrap;
        align-items: end;
        height: 3rem;
    }
    .footer .button.button-action {
        width: 230px;
    }
    .footer .flex-row.flex-align {
        flex-direction: column;
    }
    .footer .contacts-footer.flex-gap.flex-column {
        flex-direction: row;
        margin-top: 20px;
    }
    .button-menu {
        width: fit-content;
        padding-inline: 40px;
        color: #1C1C1C;
        font-size: 16px;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        height: 45px;
    }
    .language-wrapper {
        margin-right: 6rem;
    }
    .menu-desc {
        display: none;
    }
    #main {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    .main__btn.button.inter {
        display: none;
    }
    .main__left {
        width: 60%;
    }
    .main__section_subtitle {
        max-width: 80%;
    }
    .card__services_header {
        padding: 20px;
    }
    .dogovor {
        width: 57%;
    }
    .step_pay {
        width: 40%;
    }
    .guarantee {
        width: 40%;
    }
    .helpme {
        width: 57%;
    }
    .terms__container {
        justify-content: space-between;
    }
    .steps-work__container {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-work__title {
        width: 80%;
    }
    .steps-work__button {
        margin-top: auto;
    }
    .button.button-action.portfolio {
        width: fit-content;
        padding-inline: 40px;
        margin: auto;
        margin-block: 20px;
    }
    .card__portfolio_items_container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .order__inner-title {
        width: 40%;
    }
    .article-card-img {
        width: clamp(200px, 29vw, 420px);
    }
    .article-card-content {
        width: 60%;
    }
    .order__img {
        width: 360px;
    }
    #order {
        max-height: 250px;
    }
    .order__inner_back {
        bottom: -320px;
        width: 300%;
        height: 300%;
        right: -21%;
    }
    .menu-audit {
        position: absolute;
    }
    .menu-audit {
        flex-basis: 80vw;
        width: 80vw;
    }
    .hidden-menu {
        left: -80vw;
    }
    .menu-audit__button {
        right: -32px;
    }




}

/* 2) Десктопы */
@media screen and (min-width: 1024px) {
    .container {
        padding: 0 60px;
    }
    .menu-mobile {
        display: none;
    }
    .menu-desc {
        display: block;
    }
    .footer {
        margin-bottom: 20px;
    }
    .card-con.footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }
    .footer .flex-row.flex-align {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
    }
    .flex-column.flex-gap.height-6_5.contact-footer {
        width: 78%;
    }
    .footer .contacts-footer.flex-gap.flex-column {
        margin-top: 0;
    }
    .footer-contact_button {
        width: 45px;
        height: 45px;
    }
    .home-link {
        width: 45px;
        display: flex;
        align-items: center !important;
        justify-content: center;
        background: var(--background-card);
        height: 35px;
        border-radius: 5px;
        border: 1px solid rgb(255 255 255 / 10%);
        transition: all 0.2s ease;
    }
    .home-link:hover {
        background: #232323;
    }
    .menu, .submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 13px;
    }
    .menu > li {
        display: flex;
        position: relative;
        height: 30px;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        padding-inline: 3px;
    }
    .menu li ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--background-card);
        z-index: 10;
        min-width: 170px;
        width: max-content;
        flex-direction: column;
        gap: 2px;
        padding: 5px;
        border: 1px solid rgb(255 255 255 / 10%);
        border-radius: 5px;
    }
    .menu li:hover > ul,
    .menu li:focus-within > ul {
        display: block;
    }
    .menu li ul li {
        display: flex;
        align-self: flex-start;
    }
    .menu li ul li a {
        padding: 8px 10px;
        border-radius: 3px;
        font-size: 14px;
        width: 100%;
    }
    .menu li ul li a:hover {
        background: #272727;
    }
    /* Добавляем стрелку к ссылке с подменю */
    .has-children {
        position: relative;
    }
    .has-children .arrow {
        display: flex;
        vertical-align: middle;
        margin-left: 4px;
        width: 9px;
        height: 5px;
        background-size: contain;
        background-repeat: no-repeat;
        transition: transform 0.25s cubic-bezier(0.3,0.5,0.4,1);
    }
    /* Поворот стрелки при открытии подменю */
    .menu li:hover > a.has-children .arrow,
    .menu li:focus-within > a.has-children .arrow {
        transform: rotate(180deg);
    }
    .menu a {
        color: rgb(255 255 255 / 80%);
        font-family: 'Inter', sans-serif;
        text-decoration: none;
        display: flex;
        align-items: baseline;
    }
    .parent {
        font-size: 14px;
    }
    .language-wrapper {
        width: 35px;
        height: 35px;
        margin: 0;
        order: 1;
        margin-left: auto;
        margin-right: 60px;
    }
    .logo-con {
        order: 0;
        margin: auto;
    }
    .button-menu {
        order: 3;
    }
    #main {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    #main .main__btn {
        display: none;
    }
    .main__btn__desc {
        display: flex;
        width: 250px;
        height: 45px;
        color: #1C1C1C;
        font-size: 16px;
        font-weight: 500;
        margin-top: 40px;
    }
    .main__left {
        width: 60%;
        display: flex;
        flex-direction: column;
        height: 24rem;
    }
    .main__title {
        margin-top: 0;
        margin-bottom: 40px;
    }
    .main__subtitle {
        margin-top: 10px;
    }
    .card__services_header_title_container {
        width: 70%;
    }
    .card__services_header_expand {
        width: 70px;
        height: 48px;
    }
    .card__services_content {
        padding: 15px;
        grid-template-columns: repeat(2, 1fr);
    }
    .terms__container {
        grid-template-columns: 60% auto;
        margin-bottom: 40px;
    }
    #sendForm {
        max-width: 450px;
    }
    .order__img {
        width: 400px;
    }
    #order {
        max-height: 280px;
    }

    .hidden-menu {
        position: absolute;
    }
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
        margin-top: 40px;
    }
    .menu-audit {
        position: relative;
    }
    .menu-audit {
        flex-basis: 400px;
        width: 100%;
    }
    .hidden-menu {
        left: -400px;
        position: absolute;
        width: 400px;
    }






}

/* 3) Очень большие экраны */
@media screen and (min-width: 1290px) {
    .card-con.footer-inner {
        flex-direction: row;
        padding: 20px 25px;
        align-items: center;
    }
    .footer .flex-row.flex-align {
        width: 73%;
        gap: 50px;
        justify-content: flex-end;
        align-items: center;
    }
    .card-con.footer-inner {
        align-items: center;
    }
    .logo-top {
        width: 105px;
        height: 45px;
    }
    .flex-column.flex-gap.height-6_5.contact-footer {
        width: fit-content;
        align-items: center;
    }
    .inner {
        text-wrap-mode: nowrap;
    }
    .footer-copyright {
        font-size: 14px;
    }
    .footer-link {
        font-size: 16px;
    }
    .footer-copyright {
        max-width: 280px;
    }
    .main__left {
        height: 30rem;
    }
    .dogovor {
        width: 58%;
    }
    .helpme {
        width: 58%;
    }
    .steps-work__container {
        grid-template-columns: repeat(3, 1fr);
    }





}



