.twf-oficinas-cards-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.twf-oficinas-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.twf-oficinas-card {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.twf-oficinas-card-image {
    width: 50%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    margin-right: 30px;
}

.twf-oficinas-card-content {
    width: 50%;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.twf-oficinas-card-category {
    color: #00C9DB;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.twf-oficinas-card-title {
    color: #1F4965;
    font-size: 32px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.2;
}

.twf-oficinas-card-section {
    margin-bottom: 10px;
}

.twf-oficinas-card-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #0193D5;
    margin-bottom: 5px;
    font-size: 20px;
}

.twf-oficinas-card-address, 
.twf-oficinas-card-schedule,
.twf-oficinas-card-contact-info {
    color: #848483;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.twf-oficinas-card-contact-info span { 
    font-weight: 600; 
    color: #848483;
}

.twf-oficinas-card-schedule { line-height: 1.5; }

.twf-oficinas-card-contact {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.twf-oficinas-card-contact-icon {
    width: 54px;
    height: 54px;
    background-color: #00C9DB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.twf-oficinas-card-contact-icon img {
    filter: brightness(0) invert(1);
    width: 32px;
    height: 32px;
}

.twf-oficinas-card-contact-icon svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.twf-oficinas-card-services { margin-bottom: 10px; }

.twf-oficinas-card-services-title {
    font-weight: 800;
    margin-bottom: 15px;
    color: #E4A92C;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
}

.twf-oficinas-card-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.twf-oficinas-card-services-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #848483;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

.twf-service-icon-box {
    background-color: var(--service-color);
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.twf-service-icon-box svg {
    width: 12px;
    height: 12px;
    fill: white;
}

.twf-oficinas-card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00C9DB;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    width: 250px;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.3s;
}

.twf-oficinas-card-button:hover {
    background-color: #0193D5;
    color: #ffffff;
}

/* Paginación */
.twf-oficinas-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.twf-oficinas-pagination-item, .twf-oficinas-pagination-arrow {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #a1a1a1;
    font-family: 'Montserrat', sans-serif;
}

.twf-oficinas-pagination-item:hover, .twf-oficinas-pagination-arrow:hover {
    color: #0193d5;
}

.twf-oficinas-pagination-item.active {
    color: #0193d5;
    font-weight: 800;
}

.twf-oficinas-pagination-arrow.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.twf-oficinas-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

@media (max-width: 1024px) {
    .twf-oficinas-card {
        flex-direction: column;
        padding: 30px;
    }
    .twf-oficinas-card-image {
        width: 100%;
        height: 300px;
        aspect-ratio: unset;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .twf-oficinas-card-content { width: 100%; }
}

@media (max-width: 767px) {
    .twf-oficinas-card {
        padding: 10px;
    }
}