

.cm-card {
    position: relative;
    border-radius: 20px;
    padding: 28px 20px;
    background: linear-gradient(135deg, rgba(110, 42, 48, 0.1) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 1) 100%);
}

.cm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(110, 42, 48, 1) 0%, rgba(110, 42, 48, 0) 50%),
                linear-gradient(315deg, rgba(110, 42, 48, 1) 0%, rgba(110, 42, 48, 0) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cm-card-dark {
    position: relative;
    border-radius: 20px;
    padding: 28px 20px;
    background: linear-gradient(135deg, rgba(110, 42, 48, 0.15) 0%, rgba(40, 40, 40, 0.9) 50%, rgba(34, 32, 32, 1) 100%);
}

.cm-card-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(110, 42, 48, 0.8) 0%, rgba(110, 42, 48, 0) 50%),
                linear-gradient(315deg, rgba(110, 42, 48, 0.8) 0%, rgba(110, 42, 48, 0) 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}


.cm-gallery-item {
    flex: 1;
    transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cm-gallery-item.active {
    flex: 1.57;
}

.cm-gallery-item img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cm-gallery-item.active img {
    transform: scale(1.02);
}


.cm-accordion-item {
    border-bottom: 1px solid rgba(110, 42, 48, 0.2);
}

.cm-accordion-header {
    width: 100%;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
}

.cm-accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.cm-accordion-content.active {
    max-height: 2000px;
}

.cm-accordion-icon {
    transition: transform 0.3s ease;
}

.cm-accordion-item.active .cm-accordion-icon {
    transform: rotate(180deg);
}


.cm-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: cm-float 6s ease-in-out infinite;
}

@keyframes cm-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}

.cm-particle:nth-child(2n) {
    animation-delay: -2s;
    animation-duration: 8s;
}

.cm-particle:nth-child(3n) {
    animation-delay: -4s;
    animation-duration: 7s;
}


.cm-value-card {
    position: relative;
    border-radius: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(110, 42, 48, 0.3);
    transition: all 0.3s ease;
}

.cm-value-card:hover {
    background: rgba(110, 42, 48, 0.1);
    border-color: rgba(110, 42, 48, 0.5);
    transform: translateY(-2px);
}


.cm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 9999px;
    background: #6e2a30;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #6e2a30;
}

.cm-btn-primary:hover {
    background: #8a363d;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(110, 42, 48, 0.3);
}

.cm-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 9999px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


.cm-section-gradient {
    background: linear-gradient(180deg, #222020 0%, #1a1818 100%);
}

.cm-section-gradient-reverse {
    background: linear-gradient(180deg, #1a1818 0%, #222020 100%);
}
