.demo-complejo-ribbon {
    background: linear-gradient(90deg, #1B4332 0%, #2D6A4F 100%);
    color: #FFFFFF;
    padding: 10px 16px;
    font-size: 0.85rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.demo-complejo-ribbon strong {
    color: #FFC107;
}

.demo-complejo-form-hero {
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 50%, #40916C 100%);
    color: #FFFFFF;
    padding: 60px 0 40px;
    text-align: center;
}

.demo-complejo-form-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.demo-complejo-form-hero .lead {
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.demo-complejo-form-card {
    border: none;
    border-radius: 12px;
}

.demo-complejo-form-card .form-control:focus,
.demo-complejo-form-card .form-select:focus {
    border-color: #2D6A4F;
    box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.15);
}

.demo-complejo-cta-card {
    background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 100%) !important;
    color: #FFFFFF;
    border: none !important;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.demo-complejo-cta-inner {
    text-align: center;
    padding: 16px;
}

.demo-complejo-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #FFC107;
}

.demo-complejo-cta-card h3 {
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 8px;
}

.demo-complejo-cta-card p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.demo-complejo-cta-card .btn-outline-secondary {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.4);
}

.demo-complejo-cta-card .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .demo-complejo-form-hero {
        padding: 40px 0 30px;
    }

    .demo-complejo-form-hero h1 {
        font-size: 1.5rem;
    }

    .demo-complejo-cta-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .demo-complejo-form-hero h1 {
        font-size: 1.3rem;
    }

    .demo-complejo-cta-card {
        padding: 1rem;
    }

    .demo-complejo-cta-card h3 {
        font-size: 1.1rem;
    }
}
