
/* ЖЕСТКИЙ ФИКС ВИДИМОСТИ TILDA (Решает проблему пустой страницы и анти-мерцания) */
div.t-records, #allrecords, .t-rec { opacity: 1 !important; visibility: visible !important; }
@media screen and (min-width: 980px) {
    .t-records {opacity: 0;}
    .t-records_animated {transition: opacity ease-in-out .2s;}
    .t-records.t-records_visible {opacity: 1;}
}

/* Технические фиксы секций */
#rec1623317591 { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
#rec1623317541, #rec1628221081 { display: none !important; }
@media screen and (min-width: 961px) { #rec1623317541 { display: block !important; opacity: 1 !important; visibility: visible !important; } }
@media screen and (max-width: 960px) { #rec1628221081 { display: block !important; opacity: 1 !important; visibility: visible !important; } }

/* ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ И БАЗА DECORTIS */
:root { 
    --dec-orange: #f87000; --dec-bg-orange: #fff5eb; --dec-black: #111827; 
    --dec-gray: #4b5563; --dec-whatsapp: #25D366; --msg-primary: #3b82f6; 
    --msg-wa: #25D366; --msg-wa-hover: #20bd5a; --msg-tg: #2CA5E0; 
    --msg-tg-hover: #259cd6; --msg-black: #000000; --msg-dark-hover: #1f2937; 
}
.dec-wrap { font-family: 'Manrope', sans-serif; color: var(--dec-black); line-height: 1.2; width: 100%; box-sizing: border-box; background: white; overflow: hidden; }
.dec-wrap * { box-sizing: border-box; }
.dec-wrap a { text-decoration: none; color: inherit; transition: 0.2s; }
.dec-heavy { font-weight: 900 !important; } .dec-bold { font-weight: 800 !important; } .dec-upper { text-transform: uppercase; }
.dec-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.text-orange { color: var(--dec-orange); }

/* БАЗОВЫЕ КОМПОНЕНТЫ И СЕТКА */
@media (min-width: 961px) { .dec-grid { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 24px; align-items: stretch; } }
@media (max-width: 960px) { .dec-grid { display: flex; flex-direction: column; gap: 24px; } }
.dec-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #e5e7eb; margin-bottom: 32px; contain: layout paint; }
.dec-nav { display: flex; gap: 36px; } .dec-nav a:hover { color: var(--dec-orange); }
.dec-h1 { font-size: 48px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; }
.dec-tag { display: inline-block; background: var(--dec-bg-orange); color: var(--dec-orange); padding: 8px 12px; border-left: 4px solid var(--dec-orange); border-radius: 0 4px 4px 0; font-size: 14px; letter-spacing: 0.05em; }
.dec-btn { display: flex; justify-content: center; align-items: center; width: 100%; height: 56px; background: var(--dec-orange); color: white !important; font-size: 18px; letter-spacing: 0.05em; border-radius: 8px; margin-top: 24px; cursor: pointer; } 
.dec-btn:hover { background: #e66500; }

/* ГЕРОЙ БЛОК И КАРТОЧКИ */
.dec-hero-container { position: relative; border-radius: 16px; overflow: hidden; height: 600px; width: 100%; background-color: #f3f4f6; contain: layout paint; }
.dec-hero-img-tag { width: 100%; height: 100%; object-fit: cover; display: block; }
.dec-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.1); z-index: 10; }
.dec-overlay-text { font-size: 60px; color: var(--dec-orange); text-shadow: 2px 4px 8px rgba(0,0,0,0.6); letter-spacing: 0.1em; text-align: center; margin: 0; }
.dec-img-bg { background-size: cover; background-position: center; border-radius: 16px; overflow: hidden; position: relative; }
.dec-grid-small { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.dec-card-sq { aspect-ratio: 1; } .dec-card-wide { aspect-ratio: 2/1; }
.dec-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); display: flex; align-items: flex-end; padding: 12px; }
.dec-card-title { color: white; font-size: 11px; letter-spacing: 0.05em; line-height: 1.2; }
.dec-card-center { align-items: center; justify-content: center; background: rgba(0,0,0,0.4); } .dec-card-center .dec-card-title { font-size: 16px; text-align: center; }
.dec-designer { background: #f9fafb; border: 1px solid #f3f4f6; padding: 24px; border-radius: 12px; text-align: center; margin-top: auto; }

/* БАЗОВЫЕ СЕКЦИИ (КАТЕГОРИИ, УСЛУГИ, СТАНДАРТЫ, ЖУРНАЛ, ДОСТАВКА) */
.cat-section { padding: 40px 0 0 0; text-align: center; contain: content; }
.cat-title { font-size: 36px; margin-bottom: 48px; text-align: center; letter-spacing: 0.02em; }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; margin-bottom: 60px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 16px; cursor: default; }
.cat-img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.1); background-color: #f3f4f6; }
.cat-name { font-size: 16px; font-weight: 600; color: #222; text-align: center; }
.cat-banner-text { font-size: 32px; margin-top: 40px; }
.cat-highlight { position: relative; display: inline-block; z-index: 1; } 
.cat-highlight::after { content: ''; position: absolute; bottom: 2px; left: -4px; right: -4px; height: 12px; background: var(--dec-orange); opacity: 0.4; z-index: -1; transform: rotate(-1deg); }

.srv-section { padding: 0 !important; contain: content; }
.srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.srv-card { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.srv-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; } 
@media (hover: hover) { .srv-card:hover .srv-img { transform: scale(1.05); } }
.srv-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.srv-card-title { color: white; font-size: 18px; line-height: 1.2; margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.srv-card-desc { color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 400; text-shadow: 0 2px 8px rgba(0,0,0,0.7); margin: 0; }
@media (min-width: 961px) { .srv-card:first-child { border-radius: 24px 0 0 24px; } .srv-card:last-child { border-radius: 0 24px 24px 0; } }

.delivery-wrap { margin-top: 0px; padding-top: 10px; contain: content; }
.delivery-title { text-align: center; font-size: 24px; font-weight: 900; text-transform: uppercase; margin-bottom: 30px; color: #111827; }
.delivery-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; width: 100%; }
.del-item { flex: 1; min-width: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.del-icon-box { display: flex; align-items: center; justify-content: center; width: 100%; height: 80px; transition: transform 0.3s; }
.del-icon-box:hover { transform: scale(1.05); }
.del-icon-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.del-text { margin-top: 4px; font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; text-align: center; white-space: nowrap; }

.std-section { padding: 40px 0 !important; background: #fff; contain: content; }
.std-sep { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.std-line { width: 40px; height: 6px; border-radius: 4px; }
.std-line-1 { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.std-line-2 { background: linear-gradient(90deg, #6366f1, #a855f7); }
.std-line-3 { background: linear-gradient(90deg, #10b981, #059669); }
.std-title { font-size: 36px; text-align: center; margin-bottom: 24px; line-height: 1.2; letter-spacing: 0.02em; color: var(--dec-black); font-family: 'Manrope', sans-serif; font-weight: 900 !important; text-transform: uppercase !important; }
.std-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 20px; max-width: 960px; margin: 0 auto; }
.std-card { padding: 16px; border-radius: 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 15px rgba(0,0,0,0.15); border: 1px solid rgba(0,0,0,0.05); box-sizing: border-box; }
.std-card:hover { transform: rotate(0deg) scale(1.05) !important; z-index: 2; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.std-card-light { background: #fff; transform: rotate(-2deg); }
.std-card-dark { background: #374151; color: white; transform: rotate(1.5deg); }
.std-card-green { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; transform: rotate(-1deg); }
.std-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.std-label { font-size: 13px; font-weight: 900; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; font-family: 'Plus Jakarta Sans', sans-serif; }
.std-val { font-size: 90px; font-weight: 900; background: linear-gradient(135deg, #fbbf24, #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-align: center; line-height: 1; font-family: 'Plus Jakarta Sans', sans-serif; }
.std-icon { width: 36px; height: 36px; opacity: 1; }
.std-bar { height: 10px; border-radius: 5px; background: linear-gradient(90deg, #8b5cf6, #3b82f6, #10b981, #fbbf24, #ef4444); margin: 10px auto 16px; width: 90%; display: block !important; }
.std-desc { font-size: 14px; font-weight: 900; text-align: center; color: #6b7280; text-transform: uppercase; line-height: 1.2; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.05em; }
.std-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; gap: 12px; }
.std-img-iso, .std-img-oeko { width: 100px; height: auto; }
.std-img-iso { filter: brightness(0) invert(1); margin-bottom: 8px; }
.std-text-main { font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.2; }
.std-text-sub { font-size: 12px; font-weight: 800; color: var(--dec-orange); text-transform: uppercase; }
.std-text-green { font-size: 14px; font-weight: 800; text-transform: uppercase; line-height: 1.3; }

.magazine-section { padding: 40px 0 !important; background: #fff; contain: content; }
.section-title { text-align: center; font-weight: 900 !important; color: #111827 !important; margin: 0 0 30px 0; text-transform: uppercase !important; font-size: 30px; line-height: 1.3; font-family: 'Manrope', sans-serif; letter-spacing: 0.02em !important; }
.magazine-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.magazine-page { background: white; border: none; border-radius: 1rem; overflow: hidden; position: relative; min-height: 300px; }
.page-number { position: absolute; bottom: 0.5rem; right: 0.5rem; background: #f87000; color: #000000; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: bold; z-index: 20; }
.magazine-content { padding: 1.5rem; height: 100%; display: flex; flex-direction: column; position: relative; z-index: 10; }
.magazine-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; line-height: 1.2; text-transform: uppercase; letter-spacing: -0.02em; color: white; text-align: left; }
.magazine-subtitle { font-size: 0.875rem; color: rgba(255,255,255,0.9); margin-bottom: 1rem; font-weight: 500; text-align: left; }
.feature-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; text-align: left; }
.feature-item { display: flex; align-items: flex-start; margin-bottom: 0.75rem; font-size: 0.875rem; line-height: 1.4; color: white; text-align: left; justify-content: flex-start; }
.feature-item:before { content: "■"; color: #D4AF37; margin-right: 0.5rem; font-size: 0.75rem; margin-top: 0.125rem; flex-shrink: 0; }
.tech-badge { background: #f87000; color: #000000; padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-bottom: 1rem; border: 1px solid #f87000; position: relative; z-index: 10; text-align: left; align-self: flex-start; }
.image-container { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.bg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease-in-out; }
.image-overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%); }
.magazine-page:hover .bg-image { transform: scale(1.05); }
.full-width-page { grid-column: 1 / -1; background: #000000; color: white; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 1rem; margin-bottom: 1.5rem !important; }
.service-item { background: #f87000; color: #000000; padding: 0.75rem; border-radius: 0.5rem; text-align: center; font-size: 0.75rem; font-weight: 500; }
.feature-list-spacing { margin-top: 1.5rem !important; }

/* ФУТЕР */
.footer-section { background: #000000 !important; color: #ffffff !important; padding: 40px 0; text-align: center; contain: content; }
.footer-logo { font-size: 24px; font-weight: 900; margin-bottom: 16px; letter-spacing: -0.02em; color: #f87000 !important; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 30px; font-size: 14px; }
.footer-nav a { color: #ffffff !important; font-weight: 600; text-transform: uppercase; text-decoration: none; transition: 0.2s; }
.footer-nav a:hover { color: #f87000 !important; }
.footer-contacts { color: #ffffff !important; font-size: 14px; margin-bottom: 20px; }
.footer-contacts p { margin: 4px 0; }
.footer-link-bold { color: #ffffff !important; font-weight: 800; text-decoration: none; }
.footer-socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 30px; }
.footer-social-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.footer-social-icon:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.footer-copy { color: #ffffff !important; font-size: 12px; opacity: 0.5; }

/* АДАПТИВНОСТЬ ГЛОБАЛЬНЫХ БЛОКОВ */
@media (max-width: 960px) { 
    .dec-h1 { font-size: 32px; } 
    .dec-hero-container { height: auto; aspect-ratio: 4/3; } 
    .dec-overlay-text { font-size: 36px; } 
    .dec-header { padding: 12px 0; margin-bottom: 24px; } 
    .dec-nav { display: none; } 
    .dec-card-wide { aspect-ratio: 2.5/1; }
    .cat-title { font-size: 28px; margin-bottom: 32px; } 
    .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } 
    .cat-img { width: 100px; height: 100px; } 
    .cat-name { font-size: 14px; } 
    .cat-banner-text { font-size: 24px; }
    .srv-card { border-radius: 16px; } 
    .srv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } 
    .srv-card-title { font-size: 14px; } 
    .srv-card-desc { font-size: 12px; }
    .delivery-row { flex-wrap: nowrap !important; justify-content: space-between !important; gap: 2px !important; overflow: hidden !important; width: 100% !important; } 
    .del-item { flex: 1 1 0px !important; width: 20% !important; min-width: 0 !important; margin: 0 !important; } 
    .del-icon-box { width: 100%; height: 45px; padding: 0; } 
    .del-icon-img { max-height: 30px !important; max-width: 80% !important; } 
    .del-text { font-size: 8px !important; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) { .std-card { width: 208px; height: 240px; } .std-val { font-size: 70px; } .std-img-iso, .std-img-oeko { width: 80px; } }
@media (min-width: 640px) and (max-width: 767px) { .std-card { width: 176px; height: 200px; } .std-val { font-size: 50px; } .std-img-iso, .std-img-oeko { width: 60px; } }
@media (max-width: 768px) { 
    .magazine-layout { grid-template-columns: 1fr; } 
    .service-grid { grid-template-columns: 1fr; margin-bottom: 1rem !important; } 
    .magazine-title { font-size: 1.25rem; } 
    .magazine-content { padding: 1rem; } 
    .footer-nav { flex-direction: column; gap: 12px; }
}
@media (max-width: 639px) { 
    .std-title { font-size: 24px; margin-bottom: 20px; } .std-sep { margin-bottom: 30px; } .std-line { width: 30px; height: 4px; } 
    .std-grid { display: flex !important; flex-direction: row !important; overflow-x: auto !important; justify-content: flex-start !important; gap: 6px; padding: 10px; max-width: 100%; } 
    .std-card { width: 32%; flex-shrink: 0; min-width: 105px; transform: rotate(0deg) !important; padding: 6px !important; height: 130px; justify-content: center; gap: 4px; box-shadow: none !important; border: 1px solid #eee !important; } 
    .std-head, .std-bar, .std-text-sub { display: none; } 
    .std-val { font-size: 48px; margin: 0; text-align: center; } 
    .std-img-iso, .std-img-oeko { width: 55px; margin-bottom: 2px; } 
    .std-desc, .std-text-main, .std-text-green { font-size: 7px; line-height: 1.1; margin-top: 4px; } 
}
@media (max-width: 480px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } .cat-img { width: 80px; height: 80px; } .cat-name { font-size: 12px; } }
</style>