.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/backgr-catalog/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: repeat-y;
    background-color: #0f0f0f;
}
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}
.main-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
}
.hero-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}
.hero-elements {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.4s ease;
}
.hero-text-wrapper {
    margin-top: -100px;
}

.hero-title {
    font-family: 'TildaSans', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 18px;
    margin-left: -350px;
    user-select: none;
    text-shadow: 0 4px 25px rgba(0, 0, 0, .6);
    opacity: 1;
    transform: translateX(0);
    transition:
        transform 0.55s cubic-bezier(.22, 1, .36, 1),
        opacity 0.35s ease;
}

.hero-subtitle {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 55px;
    margin-left: -900px;
    user-select: none;
    text-shadow: 0 2px 15px rgba(0, 0, 0, .5);
    opacity: 1;
    transform: translateX(0);
    transition:
        transform 0.55s cubic-bezier(.22, 1, .36, 1),
        opacity 0.35s ease;
    transition-delay: 0.05s;
}

.btn-catalog {
    display: inline-block;
    padding: 28px 68px;
    font-family: 'TildaSans', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #00c853, #00b140);
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 200, 83, .4);
    cursor: pointer;
    letter-spacing: .6px;
    user-select: none;
    margin-top: 45px;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        transform 0.45s cubic-bezier(.22, 1, .36, 1),
        opacity 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
	z-index: 2000;
	-webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-catalog:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 200, 83, .45);
}

.hero-elements.hero-hidden {
    pointer-events: none;
    opacity: 0;
}
.hero-elements.hero-hidden .hero-title {
    opacity: 0;
    transform: translateX(-260px);
}
.hero-elements.hero-hidden .hero-subtitle {
    opacity: 0;
    transform: translateX(-240px);
}
.hero-elements.hero-hidden .btn-catalog {
    opacity: 0;
    transform: translateY(90px) scale(.88);
}

.catalog-modal {
    position: fixed;
	margin-top: 30px;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 24px 24px;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        visibility 0.28s ease,
        background 0.35s ease;
}
.catalog-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.55);
}
.catalog-modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(60px) scale(0.97);
    opacity: 0;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.3s ease;
}
.catalog-modal.active .catalog-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.catalog-modal.closing .catalog-modal-content {
    transform: translateY(60px) scale(0.97);
    opacity: 0;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    cursor: pointer;
    color: #222;
    font-size: 1.7rem;
    z-index: 30;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.modal-close:hover {
    background: #ffebee;
    color: #e53935;
    transform: rotate(90deg);
}
.modal-telegram {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #229ED9;
    color: #fff;
    text-decoration: none;
    z-index: 30;
    box-shadow: 0 6px 16px rgba(34, 158, 217, 0.4);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.modal-telegram:hover {
    background: #1b8bc4;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(34, 158, 217, 0.5);
}
.modal-telegram svg {
    width: 26px;
    height: 26px;
    display: block;
}

.catalog-modal-body {
    display: flex;
    height: 100%;
    min-height: 620px;
    max-height: 90vh;
    overflow: hidden;
}

.catalog-sidebar {
    width: 26%;
    min-width: 230px;
    display: flex;
    flex-direction: column;
    background: #111;
    flex-shrink: 0;
}
.catalog-nav-btn {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 22px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    text-align: center;
    font-family: 'TildaSans', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.25s ease;
}
.catalog-nav-btn:last-child {
    border-bottom: none;
}
.catalog-nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.catalog-nav-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 1;
    transition: background 0.3s ease;
}
.catalog-nav-text {
    position: relative;
    z-index: 2;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    padding: 8px 0;
}
.catalog-nav-btn.active::after {
    background: rgba(0, 0, 0, 0.92);
}
.catalog-nav-btn:hover::after {
    background: rgba(0, 0, 0, 0.72);
}
.catalog-nav-btn.active .catalog-nav-text {
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.catalog-divider {
    width: 1px;
    background: #000;
    flex-shrink: 0;
}

.catalog-main {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    background: #fff;
}
.catalog-drum-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    perspective: 1400px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}
.catalog-drum {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}
.catalog-drum.fast {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.catalog-panel {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 40px;
    box-sizing: border-box;
    backface-visibility: hidden;
    overflow-y: auto;
}
.panel-content {
    font-family: 'TildaSans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #1a1a1a;
    text-align: left;
    width: 100%;
    max-width: 580px;
}

.panel-solar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-top: 4px;
    gap: 14px;
}
.solar-intro {
    font-size: 0.88rem;
    line-height: 1.45;
    color: #333;
    margin: 0;
    max-width: 560px;
}
.solar-services {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    background: #f2f2f2;
    border-radius: 14px;
    max-width: 520px;
}
.solar-services li {
    position: relative;
    padding: 4px 0 4px 18px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #1a1a1a;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.solar-services li:last-child {
    border-bottom: none;
}
.solar-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #00c853;
    border-radius: 50%;
}
.solar-faq {
    margin-top: 2px;
    max-width: 520px;
}
.solar-faq-question {
    font-size: 0.86rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 4px;
}
.solar-faq-answer {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #555;
    margin: 0;
}

.panel-shield {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 16px;
    padding-top: 6px;
}
.shield-intro {
    font-size: 0.87rem;
    line-height: 1.48;
    color: #2c2c2c;
    margin: 0;
    max-width: 560px;
}
.shield-services-block {
    max-width: 530px;
}
.shield-services-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
    letter-spacing: 0.3px;
}
.shield-services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
}
.shield-services li {
    position: relative;
    padding: 7px 12px 7px 28px;
    font-size: 0.84rem;
    line-height: 1.35;
    color: #1a1a1a;
    border-bottom: 1px solid #ebebeb;
    border-right: 1px solid #ebebeb;
}
.shield-services li:nth-child(even) {
    border-right: none;
}
.shield-services li:nth-last-child(-n+2) {
    border-bottom: none;
}
.shield-services li::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border: 2px solid #1565c0;
    border-radius: 2px;
    background: transparent;
}
.shield-faq {
    margin-top: 2px;
    max-width: 530px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    border-radius: 12px;
    border-left: 4px solid #1565c0;
}
.shield-faq-question {
    font-size: 0.86rem;
    font-weight: 600;
    color: #0d47a1;
    margin: 0 0 5px;
}
.shield-faq-answer {
    font-size: 0.83rem;
    line-height: 1.42;
    color: #333;
    margin: 0;
}

.panel-design {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 12px;
    padding: 8px 0;
    box-sizing: border-box;
}
.design-intro {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #222;
    margin: 0;
    max-width: 540px;
}
.design-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.design-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
    font-size: 0.82rem;
    line-height: 1.3;
    color: #1a1a1a;
    border-bottom: 1px dashed #ddd;
}
.design-list li:last-child {
    border-bottom: none;
}
.design-list li span {
    flex-shrink: 0;
    width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: #37474f;
    border-radius: 4px;
}
.design-faq {
    max-width: 540px;
    padding: 10px 14px;
    background: #f5f3f0;
    border-radius: 8px;
    border-top: 3px solid #37474f;
}
.design-faq-question {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 4px;
}
.design-faq-answer {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.panel-montage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 12px;
    padding: 8px 0;
    box-sizing: border-box;
}
.montage-intro {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #222;
    margin: 0;
    max-width: 540px;
}
.montage-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 18px;
    max-width: 540px;
    position: relative;
}
.montage-list::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(to bottom, #ff8f00, #ffb74d);
    border-radius: 2px;
}
.montage-list li {
    position: relative;
    padding: 4px 0 4px 16px;
    font-size: 0.82rem;
    line-height: 1.3;
    color: #1a1a1a;
}
.montage-list li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2.5px solid #ff8f00;
    border-radius: 50%;
    box-sizing: border-box;
}
.montage-faq {
    max-width: 540px;
    padding: 10px 14px 10px 16px;
    background: #fff8f0;
    border-radius: 8px;
    border-left: 4px solid #ff8f00;
}
.montage-faq-question {
    font-size: 0.82rem;
    font-weight: 600;
    color: #e65100;
    margin: 0 0 4px;
}
.montage-faq-answer {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.panel-cctv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 13px;
    padding: 8px 0;
    box-sizing: border-box;
}
.cctv-intro {
    font-size: 0.82rem;
    line-height: 1.42;
    color: #222;
    margin: 0;
    max-width: 540px;
}
.cctv-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.cctv-list li {
    position: relative;
    padding: 5px 0 5px 26px;
    font-size: 0.82rem;
    line-height: 1.32;
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
}
.cctv-list li:last-child {
    border-bottom: none;
}
.cctv-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #e0f7fa 0%, #00acc1 55%, #006064 100%);
    box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #00acc1;
}
.cctv-faq {
    max-width: 540px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fafb 0%, #e0f7fa 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.cctv-faq::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 172, 193, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.cctv-faq-question {
    font-size: 0.83rem;
    font-weight: 600;
    color: #006064;
    margin: 0 0 5px;
}
.cctv-faq-answer {
    font-size: 0.78rem;
    line-height: 1.42;
    color: #333;
    margin: 0;
}

@media (max-width: 1570px) {
    .hero-title {
        font-size: 2.35rem;
        margin-left: -220px;
    }
    .hero-subtitle {
        font-size: 1.2rem;
        margin-left: -580px;
        margin-bottom: 45px;
    }
    .btn-catalog {
        padding: 24px 58px;
        font-size: 1.7rem;
        margin-top: 35px;
    }
    .hero-text-wrapper {
        margin-top: -80px;
    }
}

@media (max-width: 1400px) {
    .hero-title {
        font-size: 2.15rem;
        margin-left: -120px;
    }
    .hero-subtitle {
        font-size: 1.15rem;
        margin-left: -380px;
    }
    .btn-catalog {
        padding: 22px 52px;
        font-size: 1.55rem;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 2rem;
        margin-left: -40px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-left: -180px;
        margin-bottom: 40px;
    }
    .btn-catalog {
        padding: 20px 48px;
        font-size: 1.4rem;
        margin-top: 30px;
    }
    .hero-text-wrapper {
        margin-top: -60px;
    }
    .catalog-modal {
        padding: 70px 20px 20px;
    }
    .catalog-modal-content {
        max-width: 920px;
        border-radius: 24px;
    }
    .catalog-modal-body {
        min-height: 560px;
    }
    .catalog-sidebar {
        width: 28%;
        min-width: 200px;
    }
    .catalog-nav-btn {
        font-size: 1.1rem;
        padding: 0 16px;
    }
    .catalog-panel {
        padding: 28px 30px;
    }
    .panel-content {
        max-width: 520px;
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 1.95rem;
        margin-left: 0;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-left: 0;
        margin-bottom: 35px;
    }
    .btn-catalog {
        padding: 18px 48px;
        font-size: 1.3rem;
    }
    .catalog-modal {
        padding: 60px 16px 16px;
    }
    .catalog-modal-content {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px;
    }
    .catalog-modal-body {
        min-height: 520px;
        max-height: 92vh;
    }
    .catalog-sidebar {
        width: 32%;
        min-width: 180px;
    }
    .catalog-nav-btn {
        font-size: 1rem;
        padding: 0 14px;
    }
    .catalog-panel {
        padding: 24px 22px;
    }
    .panel-content {
        max-width: 100%;
        font-size: 1.05rem;
    }
    .modal-close,
    .modal-telegram {
        width: 46px;
        height: 46px;
    }
}

body.modal-open {
    overflow: hidden !important;
}

.catalog-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        clamp(12px, 3vh, 40px)
        clamp(12px, 2vw, 24px);
    overflow: hidden;
    z-index: 1000;
}

.catalog-modal-content {
    position: relative;
    width: min(1100px, 100%);
    height: min(90dvh, 760px);
    min-height: 0;
    max-height: calc(100dvh - 24px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .35);
    transform: translateY(50px) scale(.97);
    opacity: 0;
    transition:
        transform .5s cubic-bezier(.22, 1, .36, 1),
        opacity .3s ease;
}
.catalog-modal.active .catalog-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.catalog-modal.closing .catalog-modal-content {
    transform: translateY(40px) scale(.97);
    opacity: 0;
}

.catalog-modal-body {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
}

.catalog-sidebar {
    width: 27%;
    min-width: 210px;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
    background: #111;
}
.catalog-nav-btn {
    min-height: 0;
    height: auto;
    flex: 1 1 0;
    box-sizing: border-box;
    overflow: hidden;
}

.catalog-main {
    min-width: 0;
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
}

.catalog-drum-viewport {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

.catalog-drum {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    transform-style: preserve-3d;
    will-change: transform;
}

.catalog-panel {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 30px 36px;
    backface-visibility: hidden;
}

.panel-solar,
.panel-shield,
.panel-design,
.panel-montage,
.panel-cctv {
    height: auto !important;
    min-height: 0;
    box-sizing: border-box;
    justify-content: center;
}

.panel-content {
    width: 100%;
    max-width: 580px;
    height: auto !important;
    min-height: 0;
    max-height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: thin;
}

.panel-content p,
.panel-content ul,
.panel-content div {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .catalog-modal-content {
        width: 100%;
        height: min(92dvh, 720px);
        max-height: calc(100dvh - 20px);
        border-radius: 22px;
    }
    .catalog-sidebar {
        width: 29%;
        min-width: 185px;
    }
    .catalog-panel {
        padding: 26px 28px;
    }
    .panel-content {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .catalog-modal {
        padding: 12px;
    }
    .catalog-modal-content {
        height: calc(100dvh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 18px;
    }
    .catalog-sidebar {
        width: 31%;
        min-width: 165px;
    }
    .catalog-nav-btn {
        padding-left: 12px;
        padding-right: 12px;
    }
    .catalog-nav-text {
        font-size: .95rem;
    }	
    .catalog-panel {
        padding: 24px 22px;
    }
    .panel-content {
        font-size: 1rem;
    }
	.hero-text-wrapper {
        margin-top: -40px;
        padding: 0 12px;
    }

    .btn-catalog {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 56px;      
        min-width: 220px;
        padding: 16px 36px;
        font-size: 1.25rem;
        margin-top: 28px;
        border-radius: 40px;
    }
}

@media (max-width: 600px) {
    .btn-catalog {
        min-height: 52px;
        min-width: 200px;
        padding: 14px 28px;
        font-size: 1.15rem;
        width: 100%;
        max-width: 320px;
    }
}

@media (max-height: 650px) and (min-width: 769px) {
    .catalog-modal {
        padding: 8px 16px;
    }
    .catalog-modal-content {
        height: calc(100dvh - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 18px;
    }
    .catalog-panel {
        padding: 20px 24px;
    }
    .panel-content {
        font-size: .95rem;
    }
}

@media (max-width: 675px) {
    .catalog-nav-btn {
        font-size: 0.95rem;
    }

    .catalog-nav-text {
        font-size: 0.9rem;
    }

    .panel-content {
        font-size: 1rem;
    }

    .solar-intro {
        font-size: 0.78rem;
    }
    .solar-services li {
        font-size: 0.82rem;
    }
    .solar-faq-question {
        font-size: 0.78rem;
    }
    .solar-faq-answer {
        font-size: 0.74rem;
    }

    .shield-intro {
        font-size: 0.75rem;
    }
    .shield-services-title {
        font-size: 0.8rem;
    }
    .shield-services li {
        font-size: 0.74rem;
    }
    .shield-faq-question {
        font-size: 0.74rem;
    }
    .shield-faq-answer {
        font-size: 0.7rem;
    }

    .design-intro {
        font-size: 0.74rem;
    }
    .design-list li {
        font-size: 0.74rem;
    }
    .design-list li span {
        font-size: 0.6rem;
    }
    .design-faq-question {
        font-size: 0.74rem;
    }
    .design-faq-answer {
        font-size: 0.7rem;
    }

    .montage-intro {
        font-size: 0.74rem;
    }
    .montage-list li {
        font-size: 0.71rem;
    }
    .montage-faq-question {
        font-size: 0.7rem;
    }
    .montage-faq-answer {
        font-size: 0.7rem;
    }

    .cctv-intro {
        font-size: 0.74rem;
    }
    .cctv-list li {
        font-size: 0.74rem;
    }
    .cctv-faq-question {
        font-size: 0.74rem;
    }
    .cctv-faq-answer {
        font-size: 0.7rem;
    }
}

@media (max-width: 560px) {
    .catalog-drum-viewport {
        perspective: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    .catalog-drum {
        transform-style: flat !important;
        transform: none !important;
        transition: none !important;
    }

    .catalog-panel {
        position: absolute !important;
        inset: 0 !important;
        transform: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        backface-visibility: visible !important;
        transition: opacity 0.25s ease, visibility 0.25s ease !important;
    }

    .catalog-panel.active-panel {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 2;
    }
}

.catalog-modal {
    z-index: -1; 
    pointer-events: none !important;
}

.catalog-modal.active {
    z-index: 1000;    
    pointer-events: auto !important;
}

.hero-content {
    z-index: 10;
}

.btn-catalog {
    position: relative;  
    z-index: 20;
}

