:root {
    --primary-bg: #f7fbf7;
    --primary-text: #1b2e1b;
    --accent-bg: #dcfce7;
    --accent-text: #166534;
    --secondary-bg: #ffffff;
    --secondary-text: #4b634b;
    --btn-bg: #22c55e;
    --btn-text: #ffffff;
    --border-color: #e2e8f0;
    --main-font: 'Inter', sans-serif;
    --main-radius: 0.75rem;
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    font-family: var(--main-font);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

button:active {
    transform: translateY(1px);
}

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

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

ul,
ol {
    list-style: none;
}

@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: 0.9375rem;
    }

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

.container-custom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

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

.js-mobile-menu.flex {
    display: flex;
}

.js-mobile-menu.hidden {
    display: none;
}

@media (max-width: 767px) {

    #main-header a,
    #main-header button {
        hyphens: auto;
    }
}

/* ===== hero_section ===== */
#hero {
    hyphens: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#hero h1 {
    word-break: break-word;
}

/* ===== concept_block ===== */
#concept {
    background-color: var(--primary-bg);
    color: var(--primary-text);
}

#concept h2,
#concept h3 {
    color: var(--primary-text);
    line-height: 1.2;
    hyphens: auto;
}

#concept p {
    color: var(--secondary-text);
}

.container {
    width: 100%;
}

/* ===== product_catalog ===== */
.hyphens-auto {
    hyphens: auto
}

.tracking-tighter {
    letter-spacing: -0.05em
}

/* ===== seo_articles ===== */
#articles {
    background-color: var(--primary-bg);
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1280px;
}

img {
    width: 100%;
    border: 1px solid var(--border-color);
}

article {
    width: 100%;
}

h2,
p {
    hyphens: auto;
}

/* ===== interior_gallery ===== */
.js-gallery-item img {
    transition: transform 0.5s ease;
}

.js-gallery-item:hover img {
    transform: scale(1.05);
}

.js-gallery-item {
    cursor: default;
}

/* ===== stats_infographic ===== */
#stats {
    overflow-x: hidden;
}

.hyphens-auto {
    hyphens: auto;
}

.js-counter {
    display: inline-block;
    min-width: 1ch;
}

/* ===== service_info ===== */
#service h2,
#service h3 {
    hyphens: auto;
    line-height: 1.2;
}

#service img {
    transition: transform 0.5s ease;
}

#service img:hover {
    transform: scale(1.05);
}

/* ===== faq_section ===== */
.js-faq-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.js-faq-item.is-active {
    border-color: var(--btn-bg);
}

.js-faq-item.is-active .js-faq-trigger {
    background-color: var(--accent-bg);
}

/* ===== customer_reviews ===== */
#reviews {
    background-color: var(--primary-bg);
}

.js-review-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#reviews p {
    hyphens: auto;
    -webkit-hyphens: auto;
}

#reviews h2,
#reviews h3 {
    color: var(--primary-text);
}

#reviews p {
    color: var(--secondary-text);
}

/* ===== order_form ===== */
.js-product-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--secondary-text);
    opacity: 0.6;
}

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

#main-footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

#main-footer h3 {
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

#main-footer p {
    line-height: 1.5;
}

@media (max-width: 767px) {
    #main-footer h3 {
        font-size: 14px;
    }

    #main-footer .text-[0.8rem] {
        font-size: 0.7rem;
    }
}