:root {
    --main-bg: #FDF8F5;
    --main-text: #2D2424;
    --secondary-bg: #E2876A;
    --accent-btn: #C9684C;
    --accent-btn-hover: #B2583D;
    --accent-btn-text: #FFFFFF;
    --accent-badge: #A44A3F;
    --muted-text-light: #7D6E6E;
    --muted-bg: #F1EBE4;
    --container-max: 1280px;
    --radius: 12px;
    --transition: 0.3s ease-in-out;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--main-bg);
    color: var(--main-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover,
a:focus {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

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

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

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

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

    h3 {
        font-size: 1.25rem;
    }

    .cookie-consent-banner {
        width: calc(100% - 32px) !important;
        max-width: none !important;
        left: 16px !important;
        right: 16px !important;
        bottom: 16px !important;
        transform: none !important;
        padding: 1.25rem !important;
        max-height: calc(100vh - 32px);
        overflow-y: auto;
        box-sizing: border-box;
    }
    .cookie-consent-banner .cookie-actions {
        flex-direction: column;
    }
    .cookie-consent-banner .cookie-actions button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        bottom: env(safe-area-inset-bottom, 16px) !important;
        padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
    }
}

.cookie-consent-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
}

.cookie-consent-content h3 {
    margin-bottom: 1rem;
    color: var(--secondary-bg);
}

.cookie-consent-content p {
    font-size: 0.9rem;
    color: var(--muted-text-light);
    margin-bottom: 1.5rem;
}

.cookie-settings {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--muted-bg);
    border-radius: 8px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.cookie-actions button {
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.btn-accept {
    background: var(--accent-btn);
    color: var(--accent-btn-text);
}

.btn-accept:hover {
    background: var(--accent-btn-hover);
}

.btn-reject {
    background: var(--muted-bg);
    color: var(--main-text);
}

.btn-customize {
    background: transparent;
    border: 1px solid var(--muted-text-light);
    color: var(--muted-text-light);
}

.btn-save {
    background: var(--secondary-bg);
    color: #FFFFFF;
}

.cookie-policy-link {
    margin-top: 1rem;
    font-size: 0.8rem;
}

.cookie-policy-link a {
    color: var(--secondary-bg);
    text-decoration: underline;
}

/* ===== header ===== */
#header {
    position: relative;
}

.mobile-menu-overlay {
    transition: all 0.3s ease-in-out;
}

.js-mobile-menu a {
    display: block;
    min-height: 44px;
    line-height: 44px;
    hyphens: auto;
}

/* ===== hero_section ===== */
#hero {
    hyphens: auto;
    -webkit-hyphens: auto;
}

#hero h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#hero p {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.js-scroll-link:active {
    transform: scale(0.98);
}

#js-share-btn:active {
    transform: scale(0.98);
}

/* ===== design_details ===== */
.js-feature-item {
    transition: transform 0.3s ease-in-out;
}

.js-feature-item:hover {
    transform: translateX(8px);
}

#features h2,
#features h3 {
    hyphens: auto;
    word-break: break-word;
}

#features i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== product_catalog ===== */
#catalog {
    hyphens: auto;
}

#catalog h2 {
    line-height: 1.2;
}

#catalog h3 {
    line-height: 1.3;
}

.group:hover {
    transform: translateY(-5px);
}

.js-scroll-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== style_philosophy ===== */
#philosophy {
    overflow: hidden;
}

.hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}

h2,
h3 {
    color: var(--main-text);
}

p {
    color: var(--muted-text-light);
}

/* ===== material_quality ===== */
#quality {
    hyphens: auto;
}

.js-quality-card {
    border: 1px solid transparent;
}

.js-quality-card:hover {
    border-color: var(--secondary-bg);
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

/* ===== inspiration_gallery ===== */
.js-gallery-item {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.js-gallery-item.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.js-gallery-item:nth-child(2) {
    transition-delay: 0.1s;
}

.js-gallery-item:nth-child(3) {
    transition-delay: 0.2s;
}

.js-gallery-item:nth-child(4) {
    transition-delay: 0.3s;
}

/* ===== interior_usage ===== */
#usage {
    hyphens: auto;
}

.js-usage-section i {
    line-height: 1;
}

.js-usage-section p {
    hyphens: auto;
}

/* ===== interior_effect ===== */
#results {
    overflow: hidden;
}

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

#results img {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#results img:hover {
    transform: scale(1.03);
}

/* ===== service_reliability ===== */
#service {
    background-color: var(--main-bg);
}

h2 {
    color: var(--main-text);
    hyphens: auto;
}

p {
    color: var(--muted-text-light);
}

.ph-seal-check,
.ph-truck {
    color: var(--accent-badge);
}

/* ===== order_form_section ===== */
#contact_order input::placeholder,
#contact_order textarea::placeholder {
    color: var(--muted-text-light)
}

#contact_order select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%237D6E6E'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpolyline%20points='6%209%2012%2015%2018%209'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 1em;
    padding-right: 44px;
}

#contact_order iframe {
    filter: sepia(20%) hue-rotate(-15deg) saturate(90%)
}

/* ===== footer ===== */
#footer {
    hyphens: auto;
    -webkit-hyphens: auto;
}

#footer .hyphens-auto {
    hyphens: auto;
    -webkit-hyphens: auto;
}

#footer a {
    display: inline-block;
}

#footer i {
    display: flex;
    align-items: center;
    justify-content: center;
}