:root {
    --colot-black: #000;
    --color-white: #fff;

    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New";

    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;

    --radius-3xl: 1.5rem;
    --blur-md: 12px;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --color-border: hsl(var(--border));

    --accent: #79553D;
    --accent-secondary: #755C48;

    --bg-main: #F5F5F5;
    --bg-card: #FFFFFF;

    --text-main: #2B2B2B;
    --text-secondary: #6B6B6B;

    --border: #b6b6b66c;
    --hover: #f8ecd9;

    --dark-bg: #1E1E1E;
    --dark-card: #2A2A2A;
    --dark-text: #EAEAEA;

    --header-bg: #ffffffa9;
    --header-text: #2B2B2B;
    --header-border: #E0E0E0;
    --header-hover: #79553D;
}

body {
    background-color: var(--bg-main);
    background-color: #efe7de;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif !important;
    height: 100%;
    line-height: 1.5
}

body.dark {
    color: var(--color-white);
    background-color: #1E1E1E;
    --header-bg: #1E1E1E;
    --header-text: #EAEAEA;
    --header-border: #333333;

}


h1 {
    font-weight: 900;
    font-size: 72px;
    font-family: 'Montserrat', sans-serif;
    padding-top: 0;
}

h2 {
    font-weight: bold;
    font-size: 56px;
    margin: 20px;
}

h3 {
    font-size: 38px;
    color: #79553D;
    margin: 0;
}

h4 {
    color: #ad886f;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: lighter;
    letter-spacing: 5px;
    margin: 0;
}

p {
    font-size: 16px;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: var(--color-white);
}


header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    z-index: 5;

}




nav {
    display: flex;
    gap: 30px;
    align-items: center;
}



.container {
    padding: 0 50px 0 50px;
}


#btnColorBg {
    border: solid 1px;
    border-radius: 20px;
    border-color: #00000000;
    padding: 10px;

}

.btn {
    padding: 15px;
    border-radius: 25px;
    margin-right: 15px;
    margin-top: 20px;
    color: #ffffff;
    cursor: pointer;
    text-align: center;

}

#btnAdvice {
    border: 1px #ffffff solid;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 14px;
    color: var(--color-white)s;
}


#btnAdvice:hover {
    background-color: #fff;
    color: #000;
}


.btnProjects {
    background-color: var(--accent);
    border: none;
    transition: all 0.3s ease;
    color: #fff;
}

.btnProjects:hover {
    background: #6a523f;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);

}

.buttons {
    padding: 45px 0;
}



.logo {
    font-size: var(--text-xl);
}


.head_nav {
    color: var(--color-black);
    transition: background-color 0.3s ease;
}

.head_nav:hover {
    color: var(--accent);
}



.section__main {
    text-align: center;
    min-height: 100vh;
    display: grid;
    align-items: center;
    justify-content: center;


}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.801),
            rgba(0, 0, 0, 0.568),
            rgba(0, 0, 0, 0.842));
    background-image: url("./images/fon.png");

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-position: center;


}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
}

.hero-overlay.light {

    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0.1),
            rgba(0, 0, 0, 0.25));

}

.section__contact {
    display: grid;
    justify-content: center;
    padding: 25vh 0;
}

.section__project {
    padding: 80px 0;
}

.section__about-us {
    display: flex;
    justify-content: space-between;
    gap: 150px;
    padding: 80px 0;
}


.section__about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.card {
    min-width: 250px;
    min-height: 150px;
    display: grid;
    align-content: center;
    text-align: center;
    border: 1px solid;
    border-color: var(--border);
    border-radius: 15px;
}

/*карточки*/
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.work-card {
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: white;
    transition: 0.4s;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

body.dark .work-card {
    background-color: var(--dark-card);

}

body.dark .work-card p {
    color: var(--dark-text);
}

.work-image {
    position: relative;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: 0.6s;
    display: block;
}

.img-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.work-card:hover .img-hover {
    opacity: 1;
}

.work-card:hover .img-default {
    opacity: 0;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.226);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: 0.3s;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-info {
    padding: 24px;
}

.work-title {
    font-size: 20px;
    font-weight: 600;
}

.work-desc {
    margin-top: 8px;
    font-size: 14px;
}

body.dark .work-desc {
    color: var(--colot-black);
}

/* Модальное окно*/
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 1000;
}

body.dark .modal-content {
    background-color: #444;
}

body.dark .modal-content p {
    color: var(--dark-text);
}


.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: white;
    max-width: 900px;
    width: 90%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    text-align: center;
    /* Центрируем изображение */
    padding: 20px;/
}

.modal-image {

    max-width: 900px;
    /* 90% от ширины экрана */
    max-height: 400px;
    /* 80% от высоты экрана */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    /* Делаем блочным элементом для корректного центрирования */
    margin: 0 auto;
    text-align: center;
    /* Центрируем изображение */
    padding: 20px;
    border-radius: 35px;
}


.modal-info {
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 0px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.modal-content {
    transform: scale(0.9);
    transition: 0.4s;
}

.modal.active .modal-content {
    transform: scale(1);
}

.filters {
    padding: 25px 0 30px 0;
}

.btnProject {
    padding: 15px 20px;
    border-radius: 20px;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
    margin-right: 20px;
    border: 1px solid #000;
}

body.dark .btnProject {
    color: var(--color-white);
    border: 1px solid #ffffff;
}

.btnProject:hover {
    background-color: #000;
    color: #fff;
}

.btnProject:focus {
    background-color: var(--accent);
    color: #fff;
}

.btnContacts {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/*Бургер*/

/* Бургер-меню */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* Адаптив для мобилки */
@media screen and (max-width: 768px) {
  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 60px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  header nav.active {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .head_nav {
    font-size: 1.2rem;
  }
}


/*Модалка для номера телефона*/

.modal__contact {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);

    display: none;
    align-items: center;
    justify-content: center;
}

.modal__contact.active {
    display: flex;
}

.modal-content-num {
    background: white;
    padding: 30px;
    border-radius: 12px;
}

.modal__contact.active {
    display: flex;
}

.modal__contact-title {
    font-size: 30px;

}

/*Форма отправки*/

.contact-forms {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.contact-info-text {
    color: #424242;
    margin-left: 20px;
    padding-bottom: 8px;
}

body.dark .contact-info-text {
    color: #bbbbbb;
}

ul {
    list-style-type: none;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 15px;
    border: 1px solid #cbb9ad;
    background-color: #FFFFFF;
    border-radius: 8px;
    font-size: 16px;
}

body.dark .contact-form input,
body.dark .contact-form textarea,
body.dark .contact-form select {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.contact-form-btn {
    padding: 15px;
    border: 1px solid #cbb9ad;
    border-radius: 8px;
    font-size: 16px;
    background-color: var(--accent);
    transition: all 0.3s ease;
    color: #fff;
}

.contact-form-btn:hover {
    background: #6a523f;
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18);

}

.note {
    color: #6e6e6e;
    text-align: center;
    position: static;
}


/*Калькулятор*/














.calculator-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.calc-header {
    text-align: center;
    margin-bottom: 40px;
}



.calc-header p {
    font-size: 16px;
    color: #777;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.calculator-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
}

.calc-top-bar {
    background: #1e1e1e;
    padding: 24px 36px 20px;
    color: #fff;
    text-align: center;
}

.calc-top-bar h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.step-indicator {
    font-size: 13px;
    color: #aaa;
    display: block;
    margin-bottom: 14px;
}

.progress-bar {
    background: #444;
    border-radius: 10px;
    height: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #9b7b4f;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.calc-body {
    padding: 36px 36px 28px;
}

.step {
    display: none;
    animation: slideIn 0.35s ease;
}

.step.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideBack {
    from {
        opacity: 0;
        transform: translateX(-24px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step.back-anim {
    animation: slideBack 0.35s ease;
}

.step-question {
    font-size: 20px;
    font-weight: 700;
    color: #1e1e1e;
    text-align: center;
    margin-bottom: 8px;
}

.step-hint {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-bottom: 28px;
}

/* СЕТКИ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 10px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 10px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 10px;
}

/* КАРТОЧКА БЕЗ ФОТО */
.opt-card {
    position: relative;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.22s ease;
    background: #fff;
    text-align: center;
    user-select: none;
}

.opt-card:hover {
    border-color: #c4a882;
    box-shadow: 0 4px 16px rgba(155, 123, 79, 0.13);
    transform: translateY(-2px);
}

.opt-card:active {
    border-color: #da2424;
    box-shadow: 0 4px 16px rgba(155, 123, 79, 0.13);
}

.opt-card.selected {
    border-color: #9b7b4f;
    background: #fdf6ee;
    box-shadow: 0 4px 20px rgba(155, 123, 79, 0.22);
}

.opt-card input[type="checkbox"],
.opt-card input[type="radio"] {
    display: none;
}

.opt-card .card-icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.opt-card .card-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.opt-card .check-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #9b7b4f;
    color: #fff;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.opt-card.selected .check-mark {
    display: flex;
}

/* КАРТОЧКА С ФОТО */
.opt-card-photo {
    position: relative;
    border: 2px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.22s ease;
    background: #fff;
    user-select: none;
}

.opt-card-photo:hover {
    border-color: #c4a882;
    box-shadow: 0 4px 16px rgba(155, 123, 79, 0.15);
    transform: translateY(-2px);
}

.opt-card-photo.selected {
    border-color: #9b7b4f;
    background: #fdf6ee;
    box-shadow: 0 4px 20px rgba(155, 123, 79, 0.25);
}

.opt-card-photo input[type="checkbox"],
.opt-card-photo input[type="radio"] {
    display: none;
}

.photo-wrap {
    width: 100%;
    height: 130px;
    overflow: hidden;
    background: #f0ece6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-title {
    padding: 10px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.3;
}

.opt-card-photo .check-mark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #9b7b4f;
    color: #fff;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.opt-card-photo.selected .check-mark {
    display: flex;
}

/* ВАРИАНТ "НЕ ЗНАЮ" */
.opt-card.unknown,
.opt-card-photo.unknown {
    border-style: dashed;
    border-color: #ccc;
    background: #fafafa;
}

.opt-card.unknown.selected,
.opt-card-photo.unknown.selected {
    border-style: solid;
    border-color: #9b7b4f;
    background: #fdf6ee;
}

/* РАЗМЕРЫ - ИНПУТЫ */
.size-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.size-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.size-field label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.size-field input {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border 0.2s;
    width: 100%;
}

.size-field input:focus {
    border-color: #9b7b4f;
}

.size-field .unit {
    font-size: 12px;
    color: #aaa;
    text-align: center;
}

/* СЛАЙДЕР БЮДЖЕТА */
.budget-display {
    font-size: 40px;
    font-weight: 800;
    color: #9b7b4f;
    text-align: center;
    margin: 20px 0 24px;
    letter-spacing: -1px;
}

.budget-display span {
    font-size: 22px;
    font-weight: 500;
}

.budget-slider-wrap {
    padding: 0 8px;
    margin-bottom: 24px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 5px;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #9b7b4f;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(155, 123, 79, 0.45);
    transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaa;
    margin-top: 8px;
}

.budget-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.budget-btn {
    border: 2px solid #e8e8e8;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}

.budget-btn:hover,
.budget-btn.active {
    border-color: #9b7b4f;
    color: #9b7b4f;
    background: #fdf6ee;
}

/* НАВИГАЦИЯ */
.calc-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-back {
    border: 2px solid #333;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    background: #fff;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    background: #f5f5f3;
    border-color: #9b7b4f;
    color: #9b7b4f;
}

.btn-back.hidden {
    visibility: hidden;
}

.btn-next {
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #9b7b4f;
    cursor: pointer;
    letter-spacing: 0.8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-next:hover {
    background: #7d6240;
    box-shadow: 0 4px 16px rgba(155, 123, 79, 0.35);
    transform: translateY(-1px);
}

/* ФИНАЛЬНЫЙ ЭКРАН */
.result-screen {
    text-align: center;
    padding: 10px 0;
}

.result-emoji {
    font-size: 52px;
    margin-bottom: 16px;
}

.result-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 10px;
}

.result-price-label {
    font-size: 15px;
    color: #888;
    margin-bottom: 8px;
}

.result-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--colot-black);
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.result-price-sub {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 28px;
}

.result-form {
    max-width: 400px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-form input {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border 0.2s;
    width: 100%;
}

.result-form input:focus {
    border-color: #9b7b4f;
}

.btn-submit {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #9b7b4f;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    margin-top: 4px;
}

.btn-submit:hover {
    background: #7d6240;
    box-shadow: 0 6px 20px rgba(155, 123, 79, 0.4);
    transform: translateY(-1px);
}

.result-bonuses {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.bonus-badge {
    background: #f5f5f3;
    border: 1px solid #e0d6c8;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* КОЛИЧЕСТВО */
.qty-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.qty-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #9b7b4f;
    background: #fff;
    color: #9b7b4f;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #9b7b4f;
    color: #fff;
}

.qty-display {
    font-size: 36px;
    font-weight: 700;
    color: #1e1e1e;
    min-width: 60px;
    text-align: center;
}

.qty-label {
    font-size: 14px;
    color: #aaa;
    text-align: center;
    margin-top: 4px;
}

/* ЦВЕТ СВОТЧ */
.color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 10px;
}

.color-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.color-swatch {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-card.selected .color-swatch {
    border-color: #9b7b4f;
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(155, 123, 79, 0.35);
}

.color-card .color-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.color-card.selected .color-label {
    color: #9b7b4f;
}

/* АДАПТИВ */
@media (max-width: 700px) {
    .calc-body {
        padding: 24px 16px 20px;
    }

    .calc-top-bar {
        padding: 18px 20px 16px;
    }

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

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

    .size-row {
        grid-template-columns: 1fr;
    }

    .calc-header h2 {
        font-size: 26px;
    }

    .result-price {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* РАЗДЕЛИТЕЛЬ */
.section-sep {
    font-size: 13px;
    font-weight: 700;
    color: #bbb;
    letter-spacing: 1px;
    margin: 20px 0 12px;
    text-transform: uppercase;
}

/* ТЕКСТОВОЕ ПОЛЕ */
.note-textarea {
    width: 100%;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    color: #333;
    outline: none;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    transition: border 0.2s;
    margin-top: 8px;
}

.note-textarea:focus {
    border-color: #9b7b4f;
}













/* ===================== */
/* 📱 АДАПТИВ */
/* ===================== */

/* Планшеты */
@media (max-width: 1024px) {

    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

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

    .section__about-us {
        flex-direction: column;
        gap: 40px;
    }

    .contact-forms {
        flex-direction: column;
        gap: 40px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* 📱 МОБИЛКА */
@media (max-width: 768px) {

    header {
        gap: 10px;
        padding: 15px;
    }

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    .hero-content {
        padding: 20px;
    }

    .filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        gap: 15px;
    }
    .btnAll {
        width: 100%;
        grid-column: 1 / -1;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .section__about-cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-width: 150px;
        min-height: 100px;
        justify-content: center;
    }

    .contact-forms {
        flex-direction: column;
        padding: 40px 0;
    }

    .contact-form {
        width: 100%;
    }

    .btnContacts {
        flex-direction: column;
    }

    .section__contact {
        padding: 5vh 0;
    }

    .section__project {
        padding: 50px 0а;
    }
    .modal-content {
    text-align: left;
 
    padding: 0;
}

.modal-image {
     width: 100%;
    height: 400px;
    object-fit: cover;
    padding: 0;
}

    /* КАЛЬКУЛЯТОР */
    .calculator-card {
        border-radius: 12px;
    }

    .calc-body {
        padding: 20px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .size-row {
        flex-direction: column;
        gap: 10px;
    }

    .qty-wrap {
        flex-direction: column;
        gap: 10px;
    }

    .calc-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .btn-next,
    .btn-back {
        width: 100%;
    }
}


/* 📱 МАЛЕНЬКИЕ ТЕЛЕФОНЫ */
@media (max-width: 480px) {

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .progress-bar {
        height: 4px;
    }

    .calc-top-bar {
        padding: 16px;
    }
}