
:root {
    --primary-blue: #0169b3;
    --dark-blue: #133482;
    --accent-orange: #ff9800;
    --light-gray: #f8f9fa;
    --border-color: #e2e8f0;
}

/* Hero Section Mejorado */
#hero_in.contacts:before {
    background: url('/static/images/banners/balcon1.jpg') center / cover no-repeat !important;
    height: 400px;
    transition: all 0.3s ease;
}

#hero_in.contacts .wrapper {
    background-color: rgba(0, 0, 0, 0.3) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#hero_in h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mejoras en el Contenedor Principal */
.main_title_2 {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.main_title_2 h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.main_title_2 span {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    margin: 0 auto;
    border-radius: 2px;
}

/* Sidebar Mejorado */
#sidebar h4 {
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-orange);
}

.box_style_cat {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

#cat_nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cat_nav li {
    margin-bottom: 0.5rem;
}

#cat_nav li a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #444;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

#cat_nav li a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    transform: translateX(5px);
}

#cat_nav li a i {
    margin-right: 0.75rem;
    color: var(--primary-blue);
}

/* Select Mejorado para Móvil */
#procesos-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: white;
    margin-bottom: 1.5rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em 1.5em;
}

/* Modal Mejorado */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: var(--primary-blue);
    color: white;
    border-radius: 1rem 1rem 0 0;
    padding: 1.5rem;
}

.modal-header h4 {
    margin: 0;
    font-weight: 600;
}

.btn-cerrar-modal {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.btn-cerrar-modal:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 1500px) {
    #hero_in.contacts:before {
        background-position: center !important;
    }
}

@media (max-width: 992px) {
    #hero_in h1 {
        font-size: 2rem;
    }

    .main_title_2 h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    #hero_in.contacts:before {
        height: 300px;
    }

    #hero_in h1 {
        font-size: 1.75rem;
    }

    .main_title_2 h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    #hero_in h1 {
        font-size: 1.5rem;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}