/* Banner Asesoría */
.asesoria-banner {
    background: linear-gradient(135deg, #2d8f3c 0%, #359444 100%);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 0;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.banner-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    flex: 1;
}

.banner-contact {
    text-align: right;
}

.banner-contact p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Contenido Principal */
.asesoria-main {
    background-color: #f5f5f5;
    padding: 2rem 1rem;
    min-height: 60vh;
}

.asesoria-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Sidebar */
.asesoria-sidebar {
    background-color: #f8f9fa;
    border-right: 1px solid #e0e0e0;
}

.tabs-menu {
    display: flex;
    flex-direction: column;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: #e9ecef;
    color: #333;
}

.tab-button.active {
    background-color: white;
    color: #2d8f3c;
    border-left-color: #2d8f3c;
    font-weight: 600;
}

.tab-text {
    flex: 1;
}

/* Contenido */
.asesoria-content {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.content-wrapper-full {
    max-width: 100%;
}

.funciones-section h2,
.content-wrapper-full h2 {
    color: #2d8f3c;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #2d8f3c;
    display: inline-block;
}

.funciones-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.funciones-list li {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.6;
    color: #555;
}

.funciones-list li:before {
    content: "•";
    color: #2d8f3c;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
}

/* Agenda Section */
.agenda-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    height: fit-content;
}

.agenda-title {
    color: #2d8f3c;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.agenda-content {
    text-align: center;
}

.no-eventos {
    color: #666;
    margin: 1rem 0;
    font-style: italic;
}

.calendario-link {
    margin-top: 1rem;
}

.calendario-link a {
    color: #2d8f3c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.calendario-link a:hover {
    color: #1f6b2a;
}

.content-wrapper-full h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
}

.content-wrapper-full p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .asesoria-container {
        grid-template-columns: 240px 1fr;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .banner-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .asesoria-container {
        grid-template-columns: 1fr;
    }

    .asesoria-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .tabs-menu {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-button {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .tab-button.active {
        border-left: none;
        border-bottom-color: #2d8f3c;
    }

    .banner-container {
        flex-direction: column;
        text-align: center;
    }

    .banner-container h1 {
        font-size: 1.8rem;
    }

    .banner-contact {
        text-align: center;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .banner-container h1 {
        font-size: 1.5rem;
    }

    .asesoria-content {
        padding: 1rem;
    }

    .content-wrapper-full h2,
    .funciones-section h2 {
        font-size: 1.5rem;
    }
}
