:root {
    --main-background: #121212;
    --secondary-background: #1c1c1c;
    --accent-color: #d4af37;
    --primary-text: #ffffff;
    --secondary-text: #a0a0a0;
    --card-background: #1e1e1e;
    --border-color: #333333;
    --font-family: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--main-background);
    color: var(--primary-text);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

button:active {
    transform: scale(0.98);
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-white {
    color: var(--primary-text);
}

.text-gray-400 {
    color: var(--secondary-text);
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

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

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    body {
        font-size: 14px;
    }

    .mobile-break-word {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-all;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 16px;
    }
}

/* ===== header ===== */
#main-header {
    overflow: hidden;
}

.js-mobile-menu {
    transition: opacity 0.3s ease-in-out;
}

#main-header a {
    hyphens: auto;
    line-height: 1.2;
}

.js-mobile-menu a {
    line-height: 1.3;
}

#main-header nav {
    min-height: 70px;
}

/* ===== hero_section ===== */
#hero h1,
#hero h2,
#hero h3 {
    color: var(--primary-text);
    line-height: 1.2
}

#hero p {
    color: var(--secondary-text);
    line-height: 1.5
}

.js-smooth-scroll {
    text-decoration: none
}

/* ===== interior_collections ===== */
#collections {
    background-color: var(--main-background);
    color: var(--primary-text);
}

.js-collection-card {
    transition: box-shadow 0.3s ease-in-out;
}

.js-collection-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h2,
h3 {
    hyphens: auto;
}

/* ===== product_catalog ===== */
h2 {
    line-height: 1.2;
    hyphens: auto;
}

h3 {
    line-height: 1.3;
    hyphens: auto;
}

.js-order-scroll {
    transition: all 0.3s ease;
}

/* ===== ai_designer ===== */
.js-smooth-scroll {
    transition: all 0.3s ease-in-out;
}

#designer {
    color-scheme: dark;
}

/* ===== work_process ===== */
#process h2 {
    line-height: 1.2
}

#process p {
    line-height: 1.5
}

.js-process-item {
    height: 100%
}

@media (min-width: 1024px) {
    .js-process-item {
        min-height: 320px
    }
}

/* ===== trends_2026 ===== */
#trends {
    overflow: hidden;
}

#trends .hyphens-auto {
    hyphens: auto;
}

#trends .js-trend-card {
    height: 100%;
}

#trends .js-trend-card img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#trends .js-trend-card:hover img {
    transform: scale(1.05);
}

/* ===== eco_production ===== */
#ecology {
    hyphens: auto;
}

#ecology .container {
    max-width: 1200px;
}

/* ===== special_offers ===== */
#promotions {
    hyphens: auto;
}

#promotions .container {
    max-width: 1200px;
}

/* ===== delivery_payment_info ===== */
#info {
    hyphens: auto;
}

#info h2,
#info h3 {
    line-height: 1.2;
}

@media (max-width: 767px) {
    #info h2 {
        font-size: 16px;
    }

    #info h3 {
        font-size: 14px;
    }

    #info p {
        font-size: 12px;
    }
}

/* ===== main_order_form ===== */
#order-form input::placeholder,
#order-form textarea::placeholder {
    color: #555555;
}

#order-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

#order-form label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#order-form iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* ===== footer ===== */
#main-footer .js-smooth-link:hover {
    color: var(--accent-color);
}

#main-footer h2,
#main-footer h3 {
    hyphens: auto;
}

#main-footer a {
    text-decoration: none;
    display: inline-block;
}

#main-footer .logo-wrapper img {
    width: 70px;
    height: auto;
}